RE: [Regression v5.19-rc1] crash kexec fails to boot the 2nd kernel (Re: [PATCH v12 38/46] x86/sev: Add SEV-SNP feature detection/setup)
From: NOMURA JUNICHI(野村 淳一)
Date: Thu Jun 30 2022 - 04:26:15 EST
From: Michael Roth <michael.roth@xxxxxxx>
> Sorry, I just noticed I had a typo in that patch which made it a no-op
> effectively. Can you give this a shot?
Ah, thank you, that works!
> + kernel_add_identity_map((unsigned long)sd, (unsigned long)(sd + sizeof(*sd) + sd->len));
But I think the cast should be like this and it works for me, too:
kernel_add_identity_map((unsigned long)sd, (unsigned long)sd + sizeof(*sd) + sd->len);
--
Jun'ichi Nomura, NEC Corporation / NEC Solution Innovators, Ltd.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature