Re: [PATCH v2 1/1] mseal: remove can_do_mseal()

2024-12-06 Thread Jeff Xu
On Fri, Dec 6, 2024 at 11:57 AM Lorenzo Stoakes wrote: > > On Fri, Dec 06, 2024 at 07:48:39PM +, jef...@chromium.org wrote: > > From: Jeff Xu > > > > No code logic change. > > > > can_do_mseal() is called exclusively by mseal.c, and mseal.c is compiled > > only when CONFIG_64BIT flag is set i

Re: [PATCH v2 1/1] mseal: remove can_do_mseal()

2024-12-06 Thread Lorenzo Stoakes
On Fri, Dec 06, 2024 at 07:48:39PM +, jef...@chromium.org wrote: > From: Jeff Xu > > No code logic change. > > can_do_mseal() is called exclusively by mseal.c, and mseal.c is compiled > only when CONFIG_64BIT flag is set in makefile. Therefore, it is > unnecessary to have 32 bit stub function

[PATCH v2 1/1] mseal: remove can_do_mseal()

2024-12-06 Thread jeffxu
From: Jeff Xu No code logic change. can_do_mseal() is called exclusively by mseal.c, and mseal.c is compiled only when CONFIG_64BIT flag is set in makefile. Therefore, it is unnecessary to have 32 bit stub function in the header file, remove this function and merge the logic into do_mseal(). L