Re: [PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-28 Thread Lorenzo Stoakes
On Thu, Feb 27, 2025 at 04:04:03PM -0800, Jeff Xu wrote: > On Tue, Feb 25, 2025 at 10:04 PM Lorenzo Stoakes > wrote: > > > > On Tue, Feb 25, 2025 at 05:33:24PM -0800, Jeff Xu wrote: > > > On Mon, Feb 24, 2025 at 10:05 PM Lorenzo Stoakes > > > wrote: > > > > > +config ARCH_HAS_MSEAL_SYSTEM_MAPPING

Re: [PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-27 Thread Jeff Xu
On Tue, Feb 25, 2025 at 10:04 PM Lorenzo Stoakes wrote: > > On Tue, Feb 25, 2025 at 05:33:24PM -0800, Jeff Xu wrote: > > On Mon, Feb 24, 2025 at 10:05 PM Lorenzo Stoakes > > wrote: > > > > +config ARCH_HAS_MSEAL_SYSTEM_MAPPINGS > > > > + bool > > > > + help > > > > + Control MSEAL_S

Re: [PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-25 Thread Lorenzo Stoakes
On Tue, Feb 25, 2025 at 05:33:24PM -0800, Jeff Xu wrote: > On Mon, Feb 24, 2025 at 10:05 PM Lorenzo Stoakes > wrote: > > > +config ARCH_HAS_MSEAL_SYSTEM_MAPPINGS > > > + bool > > > + help > > > + Control MSEAL_SYSTEM_MAPPINGS access based on architecture. > > > + > > > + A 64-b

Re: [PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-25 Thread Jeff Xu
On Mon, Feb 24, 2025 at 10:05 PM Lorenzo Stoakes wrote: > > +config ARCH_HAS_MSEAL_SYSTEM_MAPPINGS > > + bool > > + help > > + Control MSEAL_SYSTEM_MAPPINGS access based on architecture. > > + > > + A 64-bit kernel is required for the memory sealing feature. > > + No spec

Re: [PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-25 Thread Jeff Xu
On Tue, Feb 25, 2025 at 7:23 AM Liam R. Howlett wrote: > > * jef...@chromium.org [250224 17:52]: > > From: Jeff Xu > > > > Provide infrastructure to mseal system mappings. Establish > > two kernel configs (CONFIG_MSEAL_SYSTEM_MAPPINGS, > > ARCH_HAS_MSEAL_SYSTEM_MAPPINGS) and VM_SEALED_SYSMAP > >

Re: [PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-25 Thread Lorenzo Stoakes
On Tue, Feb 25, 2025 at 10:22:56AM -0500, Liam R. Howlett wrote: > * jef...@chromium.org [250224 17:52]: > > From: Jeff Xu > > > > Provide infrastructure to mseal system mappings. Establish > > two kernel configs (CONFIG_MSEAL_SYSTEM_MAPPINGS, > > ARCH_HAS_MSEAL_SYSTEM_MAPPINGS) and VM_SEALED_SYS

Re: [PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-25 Thread Liam R. Howlett
* jef...@chromium.org [250224 17:52]: > From: Jeff Xu > > Provide infrastructure to mseal system mappings. Establish > two kernel configs (CONFIG_MSEAL_SYSTEM_MAPPINGS, > ARCH_HAS_MSEAL_SYSTEM_MAPPINGS) and VM_SEALED_SYSMAP > macro for future patches. > > Signed-off-by: Jeff Xu > --- > includ

Re: [PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-24 Thread Lorenzo Stoakes
On Mon, Feb 24, 2025 at 10:52:40PM +, jef...@chromium.org wrote: > From: Jeff Xu > > Provide infrastructure to mseal system mappings. Establish > two kernel configs (CONFIG_MSEAL_SYSTEM_MAPPINGS, > ARCH_HAS_MSEAL_SYSTEM_MAPPINGS) and VM_SEALED_SYSMAP > macro for future patches. > > Signed-off-

[PATCH v7 1/7] mseal, system mappings: kernel config and header change

2025-02-24 Thread jeffxu
From: Jeff Xu Provide infrastructure to mseal system mappings. Establish two kernel configs (CONFIG_MSEAL_SYSTEM_MAPPINGS, ARCH_HAS_MSEAL_SYSTEM_MAPPINGS) and VM_SEALED_SYSMAP macro for future patches. Signed-off-by: Jeff Xu --- include/linux/mm.h | 10 ++ init/Kconfig | 18 +