18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef ARCH_PERF_BOOK3S_HV_HCALLS_H 38c2ecf20Sopenharmony_ci#define ARCH_PERF_BOOK3S_HV_HCALLS_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* 68c2ecf20Sopenharmony_ci * PowerPC HCALL codes : hcall code to name mapping 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#define kvm_trace_symbol_hcall \ 98c2ecf20Sopenharmony_ci {0x4, "H_REMOVE"}, \ 108c2ecf20Sopenharmony_ci {0x8, "H_ENTER"}, \ 118c2ecf20Sopenharmony_ci {0xc, "H_READ"}, \ 128c2ecf20Sopenharmony_ci {0x10, "H_CLEAR_MOD"}, \ 138c2ecf20Sopenharmony_ci {0x14, "H_CLEAR_REF"}, \ 148c2ecf20Sopenharmony_ci {0x18, "H_PROTECT"}, \ 158c2ecf20Sopenharmony_ci {0x1c, "H_GET_TCE"}, \ 168c2ecf20Sopenharmony_ci {0x20, "H_PUT_TCE"}, \ 178c2ecf20Sopenharmony_ci {0x24, "H_SET_SPRG0"}, \ 188c2ecf20Sopenharmony_ci {0x28, "H_SET_DABR"}, \ 198c2ecf20Sopenharmony_ci {0x2c, "H_PAGE_INIT"}, \ 208c2ecf20Sopenharmony_ci {0x30, "H_SET_ASR"}, \ 218c2ecf20Sopenharmony_ci {0x34, "H_ASR_ON"}, \ 228c2ecf20Sopenharmony_ci {0x38, "H_ASR_OFF"}, \ 238c2ecf20Sopenharmony_ci {0x3c, "H_LOGICAL_CI_LOAD"}, \ 248c2ecf20Sopenharmony_ci {0x40, "H_LOGICAL_CI_STORE"}, \ 258c2ecf20Sopenharmony_ci {0x44, "H_LOGICAL_CACHE_LOAD"}, \ 268c2ecf20Sopenharmony_ci {0x48, "H_LOGICAL_CACHE_STORE"}, \ 278c2ecf20Sopenharmony_ci {0x4c, "H_LOGICAL_ICBI"}, \ 288c2ecf20Sopenharmony_ci {0x50, "H_LOGICAL_DCBF"}, \ 298c2ecf20Sopenharmony_ci {0x54, "H_GET_TERM_CHAR"}, \ 308c2ecf20Sopenharmony_ci {0x58, "H_PUT_TERM_CHAR"}, \ 318c2ecf20Sopenharmony_ci {0x5c, "H_REAL_TO_LOGICAL"}, \ 328c2ecf20Sopenharmony_ci {0x60, "H_HYPERVISOR_DATA"}, \ 338c2ecf20Sopenharmony_ci {0x64, "H_EOI"}, \ 348c2ecf20Sopenharmony_ci {0x68, "H_CPPR"}, \ 358c2ecf20Sopenharmony_ci {0x6c, "H_IPI"}, \ 368c2ecf20Sopenharmony_ci {0x70, "H_IPOLL"}, \ 378c2ecf20Sopenharmony_ci {0x74, "H_XIRR"}, \ 388c2ecf20Sopenharmony_ci {0x78, "H_MIGRATE_DMA"}, \ 398c2ecf20Sopenharmony_ci {0x7c, "H_PERFMON"}, \ 408c2ecf20Sopenharmony_ci {0xdc, "H_REGISTER_VPA"}, \ 418c2ecf20Sopenharmony_ci {0xe0, "H_CEDE"}, \ 428c2ecf20Sopenharmony_ci {0xe4, "H_CONFER"}, \ 438c2ecf20Sopenharmony_ci {0xe8, "H_PROD"}, \ 448c2ecf20Sopenharmony_ci {0xec, "H_GET_PPP"}, \ 458c2ecf20Sopenharmony_ci {0xf0, "H_SET_PPP"}, \ 468c2ecf20Sopenharmony_ci {0xf4, "H_PURR"}, \ 478c2ecf20Sopenharmony_ci {0xf8, "H_PIC"}, \ 488c2ecf20Sopenharmony_ci {0xfc, "H_REG_CRQ"}, \ 498c2ecf20Sopenharmony_ci {0x100, "H_FREE_CRQ"}, \ 508c2ecf20Sopenharmony_ci {0x104, "H_VIO_SIGNAL"}, \ 518c2ecf20Sopenharmony_ci {0x108, "H_SEND_CRQ"}, \ 528c2ecf20Sopenharmony_ci {0x110, "H_COPY_RDMA"}, \ 538c2ecf20Sopenharmony_ci {0x114, "H_REGISTER_LOGICAL_LAN"}, \ 548c2ecf20Sopenharmony_ci {0x118, "H_FREE_LOGICAL_LAN"}, \ 558c2ecf20Sopenharmony_ci {0x11c, "H_ADD_LOGICAL_LAN_BUFFER"}, \ 568c2ecf20Sopenharmony_ci {0x120, "H_SEND_LOGICAL_LAN"}, \ 578c2ecf20Sopenharmony_ci {0x124, "H_BULK_REMOVE"}, \ 588c2ecf20Sopenharmony_ci {0x130, "H_MULTICAST_CTRL"}, \ 598c2ecf20Sopenharmony_ci {0x134, "H_SET_XDABR"}, \ 608c2ecf20Sopenharmony_ci {0x138, "H_STUFF_TCE"}, \ 618c2ecf20Sopenharmony_ci {0x13c, "H_PUT_TCE_INDIRECT"}, \ 628c2ecf20Sopenharmony_ci {0x14c, "H_CHANGE_LOGICAL_LAN_MAC"}, \ 638c2ecf20Sopenharmony_ci {0x150, "H_VTERM_PARTNER_INFO"}, \ 648c2ecf20Sopenharmony_ci {0x154, "H_REGISTER_VTERM"}, \ 658c2ecf20Sopenharmony_ci {0x158, "H_FREE_VTERM"}, \ 668c2ecf20Sopenharmony_ci {0x15c, "H_RESET_EVENTS"}, \ 678c2ecf20Sopenharmony_ci {0x160, "H_ALLOC_RESOURCE"}, \ 688c2ecf20Sopenharmony_ci {0x164, "H_FREE_RESOURCE"}, \ 698c2ecf20Sopenharmony_ci {0x168, "H_MODIFY_QP"}, \ 708c2ecf20Sopenharmony_ci {0x16c, "H_QUERY_QP"}, \ 718c2ecf20Sopenharmony_ci {0x170, "H_REREGISTER_PMR"}, \ 728c2ecf20Sopenharmony_ci {0x174, "H_REGISTER_SMR"}, \ 738c2ecf20Sopenharmony_ci {0x178, "H_QUERY_MR"}, \ 748c2ecf20Sopenharmony_ci {0x17c, "H_QUERY_MW"}, \ 758c2ecf20Sopenharmony_ci {0x180, "H_QUERY_HCA"}, \ 768c2ecf20Sopenharmony_ci {0x184, "H_QUERY_PORT"}, \ 778c2ecf20Sopenharmony_ci {0x188, "H_MODIFY_PORT"}, \ 788c2ecf20Sopenharmony_ci {0x18c, "H_DEFINE_AQP1"}, \ 798c2ecf20Sopenharmony_ci {0x190, "H_GET_TRACE_BUFFER"}, \ 808c2ecf20Sopenharmony_ci {0x194, "H_DEFINE_AQP0"}, \ 818c2ecf20Sopenharmony_ci {0x198, "H_RESIZE_MR"}, \ 828c2ecf20Sopenharmony_ci {0x19c, "H_ATTACH_MCQP"}, \ 838c2ecf20Sopenharmony_ci {0x1a0, "H_DETACH_MCQP"}, \ 848c2ecf20Sopenharmony_ci {0x1a4, "H_CREATE_RPT"}, \ 858c2ecf20Sopenharmony_ci {0x1a8, "H_REMOVE_RPT"}, \ 868c2ecf20Sopenharmony_ci {0x1ac, "H_REGISTER_RPAGES"}, \ 878c2ecf20Sopenharmony_ci {0x1b0, "H_DISABLE_AND_GET"}, \ 888c2ecf20Sopenharmony_ci {0x1b4, "H_ERROR_DATA"}, \ 898c2ecf20Sopenharmony_ci {0x1b8, "H_GET_HCA_INFO"}, \ 908c2ecf20Sopenharmony_ci {0x1bc, "H_GET_PERF_COUNT"}, \ 918c2ecf20Sopenharmony_ci {0x1c0, "H_MANAGE_TRACE"}, \ 928c2ecf20Sopenharmony_ci {0x1d4, "H_FREE_LOGICAL_LAN_BUFFER"}, \ 938c2ecf20Sopenharmony_ci {0x1d8, "H_POLL_PENDING"}, \ 948c2ecf20Sopenharmony_ci {0x1e4, "H_QUERY_INT_STATE"}, \ 958c2ecf20Sopenharmony_ci {0x244, "H_ILLAN_ATTRIBUTES"}, \ 968c2ecf20Sopenharmony_ci {0x250, "H_MODIFY_HEA_QP"}, \ 978c2ecf20Sopenharmony_ci {0x254, "H_QUERY_HEA_QP"}, \ 988c2ecf20Sopenharmony_ci {0x258, "H_QUERY_HEA"}, \ 998c2ecf20Sopenharmony_ci {0x25c, "H_QUERY_HEA_PORT"}, \ 1008c2ecf20Sopenharmony_ci {0x260, "H_MODIFY_HEA_PORT"}, \ 1018c2ecf20Sopenharmony_ci {0x264, "H_REG_BCMC"}, \ 1028c2ecf20Sopenharmony_ci {0x268, "H_DEREG_BCMC"}, \ 1038c2ecf20Sopenharmony_ci {0x26c, "H_REGISTER_HEA_RPAGES"}, \ 1048c2ecf20Sopenharmony_ci {0x270, "H_DISABLE_AND_GET_HEA"}, \ 1058c2ecf20Sopenharmony_ci {0x274, "H_GET_HEA_INFO"}, \ 1068c2ecf20Sopenharmony_ci {0x278, "H_ALLOC_HEA_RESOURCE"}, \ 1078c2ecf20Sopenharmony_ci {0x284, "H_ADD_CONN"}, \ 1088c2ecf20Sopenharmony_ci {0x288, "H_DEL_CONN"}, \ 1098c2ecf20Sopenharmony_ci {0x298, "H_JOIN"}, \ 1108c2ecf20Sopenharmony_ci {0x2a4, "H_VASI_STATE"}, \ 1118c2ecf20Sopenharmony_ci {0x2b0, "H_ENABLE_CRQ"}, \ 1128c2ecf20Sopenharmony_ci {0x2b8, "H_GET_EM_PARMS"}, \ 1138c2ecf20Sopenharmony_ci {0x2d0, "H_SET_MPP"}, \ 1148c2ecf20Sopenharmony_ci {0x2d4, "H_GET_MPP"}, \ 1158c2ecf20Sopenharmony_ci {0x2ec, "H_HOME_NODE_ASSOCIATIVITY"}, \ 1168c2ecf20Sopenharmony_ci {0x2f4, "H_BEST_ENERGY"}, \ 1178c2ecf20Sopenharmony_ci {0x2fc, "H_XIRR_X"}, \ 1188c2ecf20Sopenharmony_ci {0x300, "H_RANDOM"}, \ 1198c2ecf20Sopenharmony_ci {0x304, "H_COP"}, \ 1208c2ecf20Sopenharmony_ci {0x314, "H_GET_MPP_X"}, \ 1218c2ecf20Sopenharmony_ci {0x31c, "H_SET_MODE"}, \ 1228c2ecf20Sopenharmony_ci {0xf000, "H_RTAS"} \ 1238c2ecf20Sopenharmony_ci 1248c2ecf20Sopenharmony_ci#endif 125