[PATCH v7 2/4] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-05-11 Thread Coiby Xu
commit 278311e417be ("kexec, KEYS: Make use of platform keyring for signature verify") adds platform keyring support on x86 kexec but not arm64. The code in bzImage64_verify_sig makes use of system keyrings including .buitin_trusted_keys, .secondary_trusted_keys and .platform keyring to verify sig

Re: [PATCH v7 2/4] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-05-11 Thread Baoquan He
On 05/12/22 at 10:34am, Coiby Xu wrote: > commit 278311e417be ("kexec, KEYS: Make use of platform keyring for > signature verify") adds platform keyring support on x86 kexec but not > arm64. > > The code in bzImage64_verify_sig makes use of system keyrings including > .buitin_trusted_keys, .second

Re: [PATCH v7 2/4] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-05-11 Thread Baoquan He
On 05/12/22 at 10:46am, Baoquan He wrote: > On 05/12/22 at 10:34am, Coiby Xu wrote: > > commit 278311e417be ("kexec, KEYS: Make use of platform keyring for > > signature verify") adds platform keyring support on x86 kexec but not > > arm64. > > > > The code in bzImage64_verify_sig makes use of sys

Re: [PATCH v7 2/4] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-05-11 Thread Coiby Xu
On Thu, May 12, 2022 at 11:52:09AM +0800, Baoquan He wrote: On 05/12/22 at 10:46am, Baoquan He wrote: On 05/12/22 at 10:34am, Coiby Xu wrote: > commit 278311e417be ("kexec, KEYS: Make use of platform keyring for > signature verify") adds platform keyring support on x86 kexec but not > arm64. > >

Re: [PATCH v7 2/4] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-05-11 Thread Baoquan He
On 05/12/22 at 12:33pm, Coiby Xu wrote: > On Thu, May 12, 2022 at 11:52:09AM +0800, Baoquan He wrote: > > On 05/12/22 at 10:46am, Baoquan He wrote: > > > On 05/12/22 at 10:34am, Coiby Xu wrote: > > > > commit 278311e417be ("kexec, KEYS: Make use of platform keyring for > > > > signature verify") ad

Re: [PATCH v7 2/4] kexec, KEYS: make the code in bzImage64_verify_sig generic

2022-05-11 Thread Coiby Xu
On Thu, May 12, 2022 at 02:22:57PM +0800, Baoquan He wrote: On 05/12/22 at 12:33pm, Coiby Xu wrote: [...] > Just to make clear , is this patch fixing an issue, or it's just an > preparation for later patch's use? > > Or I should ask in another way, any problem is solved with this patch? At lea