Skip to content

Commit f0f2f9f

Browse files
Fenghua Yusuryasaimadhu
authored andcommitted
x86/msr-index: Define an IA32_PASID MSR
The IA32_PASID MSR (0xd93) contains the Process Address Space Identifier (PASID), a 20-bit value. Bit 31 must be set to indicate the value programmed in the MSR is valid. Hardware uses the PASID to identify a process address space and direct responses to the right address space. Signed-off-by: Fenghua Yu <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Tony Luck <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent b454feb commit f0f2f9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/x86/include/asm/msr-index.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@
257257
#define MSR_IA32_LASTINTFROMIP 0x000001dd
258258
#define MSR_IA32_LASTINTTOIP 0x000001de
259259

260+
#define MSR_IA32_PASID 0x00000d93
261+
#define MSR_IA32_PASID_VALID BIT_ULL(31)
262+
260263
/* DEBUGCTLMSR bits (others vary by model): */
261264
#define DEBUGCTLMSR_LBR (1UL << 0) /* last branch recording */
262265
#define DEBUGCTLMSR_BTF_SHIFT 1

0 commit comments

Comments
 (0)