Lines Matching +full:32 +full:- +full:63
1 /* SPDX-License-Identifier: GPL-2.0 */
13 #define GHCB_MSR_INFO_MASK (BIT_ULL(GHCB_DATA_LOW) - 1)
23 /* GHCBData[63:48] */ \
25 /* GHCBData[47:32] */ \
26 (((_min) & 0xffff) << 32) | \
33 #define GHCB_MSR_PROTO_MIN(v) (((v) >> 32) & 0xffff)
38 #define GHCB_MSR_CPUID_FUNC_POS 32
40 #define GHCB_MSR_CPUID_VALUE_POS 32
53 /* GHCBData[63:32] */ \
54 (((unsigned long)fn) << 32))
73 /* GHCBData[63:12] */ \
80 /* GHCBData[63:12] */ \
81 (((u64)(v) & GENMASK_ULL(63, 12)) >> 12)
86 * GHCBData[55:52] - Page operation:
109 /* GHCBData[63:32] */ \
110 (((u64)(val) & GENMASK_ULL(63, 32)) >> 32)
113 #define GHCB_MSR_PSC_RESP_ERROR (BIT_ULL(63) | GHCB_MSR_PSC_RESP)
118 /* GHCBData[39:32] */ \
119 (((u64)(v) & GENMASK_ULL(7, 0) << 32) | \
125 /* GHCBData[63:32] */ \
126 (((u64)(v) & GENMASK_ULL(63, 32)) >> 32)
134 /* GHCBData[63:12] */ \
135 (((u64)(v) & GENMASK_ULL(63, 12)) >> 12)
147 * Use VMGEXIT_PSC_MAX_COUNT in cases where the actual GHCB-defined max value
153 #define VMGEXIT_PSC_ERROR_GENERIC (0x100UL << 32)
154 #define VMGEXIT_PSC_ERROR_INVALID_HDR ((1UL << 32) | 1)
155 #define VMGEXIT_PSC_ERROR_INVALID_ENTRY ((1UL << 32) | 2)
197 /* Linux-specific reason codes (used with reason set 1) */
202 #define GHCB_TERM_NOT_VMPL0 3 /* SNP guest is not running at VMPL-0 */
203 #define GHCB_TERM_CPUID 4 /* CPUID-validation failure */
214 * by setting the lower 32-bits of the GHCB SW_EXITINFO1 field to 2.