Re: [PATCHv13 3/9] efi/libstub: Implement support for unaccepted memory

From: Kirill A. Shutemov
Date: Fri Jun 02 2023 - 08:20:52 EST


On Fri, Jun 02, 2023 at 02:10:05PM +0200, Borislav Petkov wrote:
> On Thu, Jun 01, 2023 at 09:25:37PM +0300, Kirill A. Shutemov wrote:
> > diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig
> > index 043ca31c114e..231f1c70d1db 100644
> > --- a/drivers/firmware/efi/Kconfig
> > +++ b/drivers/firmware/efi/Kconfig
> > @@ -269,6 +269,20 @@ config EFI_COCO_SECRET
> > virt/coco/efi_secret module to access the secrets, which in turn
> > allows userspace programs to access the injected secrets.
> >
> > +config UNACCEPTED_MEMORY
>
> Why is this Kconfig symbol in this file?
>
> I'm thinking this needs to be somewhere generic, like in mm/Kconfig or
> so...

Unaccepted memory is an EFI feature. We can move it somewhere else, if
other firmware/platform would support anything like it.

--
Kiryl Shutsemau / Kirill A. Shutemov