Re: [PATCH 6.8 271/273] x86/sme: Move early SME kernel encryption handling into .head.text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 10, 2024 at 08:43:24AM +0200, Ard Biesheuvel wrote:
> On Wed, 10 Apr 2024 at 07:46, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Wed, Apr 10, 2024 at 07:34:33AM +0200, Borislav Petkov wrote:
> > > On Tue, Apr 09, 2024 at 06:38:53PM +0200, Pascal Ernster wrote:
> > > > Just to make sure this doesn't get lost: This patch causes the kernel to not
> > > > boot on several x86_64 VMs of mine (I haven't tested it on a bare metal
> > > > machine). For details and a kernel config to reproduce the issue, see https://lore.kernel.org/stable/fd186a2b-0c62-4942-bed3-a27d72930310@xxxxxxxxxxxxxx/
> > >
> > > I see your .config there. How are you booting the VMs? qemu cmdline?
> > >
> > > Ard, anything missing in the backport?
> > >
> > > I'm busy and won't be able to look in the next couple of days...
> >
> > As reverting seems to resolve this, I'll go do that after my morning
> > coffee kicks in...
> 
> Fair enough. I'll look into this today, but I guess you're on a tight
> schedule with this release.
> 
> Please drop the subsequent patch as well:
> 
> x86/efistub: Remap kernel text read-only before dropping NX attribute
> 
> as it assumes that all code reachable from the startup entrypoint is
> in .head.text and this will no longer be the case.

Given this is the only report, and it seems to be with an "odd" linker,
I'll leave it in for now to keep in sync with 6.9-rc.  If this is a
problem, we can revert the commits in a later release at any time.

thanks,

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux