[PATCH v14 09/19] x86: Secure Launch kernel early boot stub

Dave Hansen dave.hansen at intel.com
Mon Apr 21 18:18:47 PDT 2025


On 4/21/25 09:27, Ross Philipson wrote:
> +static u64 sl_rdmsr(u32 reg)
> +{
> +	u64 lo, hi;
> +
> +	asm volatile ("rdmsr" : "=a" (lo), "=d" (hi) : "c" (reg));
> +
> +	return (hi << 32) | lo;
> +}

Is there a reason this code doesn't just use boot_rdmsr()?





More information about the kexec mailing list