RE: [PATCH V4 0/9] x86/hyperv: Add AMD sev-snp enlightened guest support on hyperv
From: Dexuan Cui
Date: Sat Aug 05 2023 - 21:53:35 EST
> From: Dexuan Cui
> Sent: Saturday, August 5, 2023 4:37 PM
> [...]
> > From: Wei Liu <wei.liu@xxxxxxxxxx>
> > Sent: Friday, August 4, 2023 4:35 PM
> > To: Tianyu Lan <ltykernel@xxxxxxxxx>
> > [...]
> > On Fri, Aug 04, 2023 at 11:22:44AM -0400, Tianyu Lan wrote:
> > > From: Tianyu Lan <tiala@xxxxxxxxxxxxx>
> > [...]
> > > Tianyu Lan (9):
> [...]
> > > x86/hyperv: Use vmmcall to implement Hyper-V hypercall in sev-snp ...
>
> Unluckily this commit causes a crash on Intel CPUs (see the below call-trace).
>
> I made a fix here:
> https://github.com/dcui/linux/commit/c4db45f6256248435b2a303b264ecbb
> 41320c41d
> I guess Wei can squash the fix into Tianyu's commit in the hyperv-next
> branch?
I also made a patch to fix the ARM64 build:
https://github.com/dcui/linux/commit/a559709c612de2a212e288ef1a8b0abfabb168e5