[PATCH 5.19 1071/1157] kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification

2022-08-15 Thread Greg Kroah-Hartman
From: Michal Suchanek [ Upstream commit 0828c4a39be57768b8788e8cbd0d84683ea757e5 ] commit e23a8020ce4e ("s390/kexec_file: Signature verification prototype") adds support for KEXEC_SIG verification with keys from platform keyring but the built-in keys and secondary keyring are not used. Add supp

[PATCH 5.18 1004/1095] kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification

2022-08-15 Thread Greg Kroah-Hartman
From: Michal Suchanek [ Upstream commit 0828c4a39be57768b8788e8cbd0d84683ea757e5 ] commit e23a8020ce4e ("s390/kexec_file: Signature verification prototype") adds support for KEXEC_SIG verification with keys from platform keyring but the built-in keys and secondary keyring are not used. Add supp

[PATCH 5.15 719/779] kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification

2022-08-15 Thread Greg Kroah-Hartman
From: Michal Suchanek [ Upstream commit 0828c4a39be57768b8788e8cbd0d84683ea757e5 ] commit e23a8020ce4e ("s390/kexec_file: Signature verification prototype") adds support for KEXEC_SIG verification with keys from platform keyring but the built-in keys and secondary keyring are not used. Add supp

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Greg Kroah-Hartman
On Mon, Aug 08, 2022 at 12:37:46PM -0300, Guilherme G. Piccoli wrote: > Let me clarify / ask something: this series, for example, is composed as > a bunch of patches "centered" around the same idea, panic notifiers > improvements/fixes. But its patches belong to completely different > subsystems, l

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Evan Green
On Tue, Jul 19, 2022 at 12:55 PM Guilherme G. Piccoli wrote: > > Currently the gsmi driver registers a panic notifier as well as > reboot and die notifiers. The callbacks registered are called in > atomic and very limited context - for instance, panic disables > preemption and local IRQs, also all

Re: [PATCH v2 06/13] um: Improve panic notifiers consistency and ordering

2022-08-15 Thread Guilherme G. Piccoli
On 09/08/2022 16:08, Johannes Berg wrote: > [...] >> Perfect, thank you! Let me take the opportunity to ask you something I'm >> asking all the maintainers involved here - do you prefer taking the >> patch through your tree, or to get it landed with the whole series, at >> once, from some maintaine

Re: [PATCH v2 06/13] um: Improve panic notifiers consistency and ordering

2022-08-15 Thread Johannes Berg
On Tue, 2022-08-09 at 16:03 -0300, Guilherme G. Piccoli wrote: > On 09/08/2022 15:09, Johannes Berg wrote: > > [...] > > > > V2: > > > > - Kept the notifier header to avoid implicit usage - thanks > > > > Johannes for the suggestion! > > > > > > > > arch/um/drivers/mconsole_kern.c | 7 +++ > >

Re: [PATCH v2 06/13] um: Improve panic notifiers consistency and ordering

2022-08-15 Thread Guilherme G. Piccoli
On 09/08/2022 15:09, Johannes Berg wrote: > [...] >>> V2: >>> - Kept the notifier header to avoid implicit usage - thanks >>> Johannes for the suggestion! >>> >>> arch/um/drivers/mconsole_kern.c | 7 +++ >>> arch/um/kernel/um_arch.c| 8 >>> 2 files changed, 7 insertions(+), 8

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Guilherme G. Piccoli
On 08/08/2022 12:26, Greg Kroah-Hartman wrote: > [...] >> >> Ard / Greg, do you think you could get this patch through your -next (or >> -fixes) trees? Not sure which tree is the most common for picking GSMI >> stuff. > > Picking out an individual patch from a series with as many responses and > t

Re: [PATCH v2 06/13] um: Improve panic notifiers consistency and ordering

2022-08-15 Thread Johannes Berg
On Sun, 2022-08-07 at 12:40 -0300, Guilherme G. Piccoli wrote: > On 19/07/2022 16:53, Guilherme G. Piccoli wrote: > > Currently the panic notifiers from user mode linux don't follow > > the convention for most of the other notifiers present in the > > kernel (indentation, priority setting, numeric

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Greg Kroah-Hartman
On Mon, Aug 08, 2022 at 12:14:30PM -0300, Guilherme G. Piccoli wrote: > On 08/08/2022 02:07, Evan Green wrote: > > On Tue, Jul 19, 2022 at 12:55 PM Guilherme G. Piccoli > > wrote: > >> > >> Currently the gsmi driver registers a panic notifier as well as > >> reboot and die notifiers. The callbacks

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Guilherme G. Piccoli
On 08/08/2022 02:07, Evan Green wrote: > On Tue, Jul 19, 2022 at 12:55 PM Guilherme G. Piccoli > wrote: >> >> Currently the gsmi driver registers a panic notifier as well as >> reboot and die notifiers. The callbacks registered are called in >> atomic and very limited context - for instance, panic

Re: [PATCH v2 10/13] EDAC/altera: Skip the panic notifier if kdump is loaded

2022-08-15 Thread Guilherme G. Piccoli
On 19/07/2022 16:53, Guilherme G. Piccoli wrote: > The altera_edac panic notifier performs some data collection with > regards errors detected; such code relies in the regmap layer to > perform reads/writes, so the code is abstracted and there is some > risk level to execute that, since the panic p

Re: [PATCH v2 08/13] tracing: Improve panic/die notifiers

2022-08-15 Thread Guilherme G. Piccoli
On 19/07/2022 16:53, Guilherme G. Piccoli wrote: > Currently the tracing dump_on_oops feature is implemented > through separate notifiers, one for die/oops and the other > for panic - given they have the same functionality, let's > unify them. > > Also improve the function comment and change the p

Re: [PATCH v2 06/13] um: Improve panic notifiers consistency and ordering

2022-08-15 Thread Guilherme G. Piccoli
On 19/07/2022 16:53, Guilherme G. Piccoli wrote: > Currently the panic notifiers from user mode linux don't follow > the convention for most of the other notifiers present in the > kernel (indentation, priority setting, numeric return). > More important, the priorities could be improved, since it's

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Guilherme G. Piccoli
On 19/07/2022 16:53, Guilherme G. Piccoli wrote: > Currently the gsmi driver registers a panic notifier as well as > reboot and die notifiers. The callbacks registered are called in > atomic and very limited context - for instance, panic disables > preemption and local IRQs, also all secondary CPUs

Re: [PATCH v2 01/13] ARM: Disable FIQs (but not IRQs) on CPUs shutdown paths

2022-08-15 Thread Guilherme G. Piccoli
On 19/07/2022 16:53, Guilherme G. Piccoli wrote: > Currently the regular CPU shutdown path for ARM disables IRQs/FIQs > in the secondary CPUs - smp_send_stop() calls ipi_cpu_stop(), which > is responsible for that. IRQs are architecturally masked when we > take an interrupt, but FIQs are high prior

Re: [PATCH v7 0/6] tpm: Preserve TPM measurement log across kexec (ppc64)

2022-08-15 Thread Stefan Berger
On 8/15/22 02:48, Coiby Xu wrote: I can confirm this patch set fixes an issue that guest kdump kernel crashes on POWER9 host by applying it to 5.19.1 (there is a conflict when applying this patch set to latest kernel i.e. 6.0.0-rc1) I rebased it. 2 of the borrowed patches disappeared now sin

Patch "arm64: kexec_file: use more system keyrings to verify kernel image signature" has been added to the 5.19-stable tree

2022-08-15 Thread gregkh
This is a note to let you know that I've just added the patch titled arm64: kexec_file: use more system keyrings to verify kernel image signature to the 5.19-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename

Patch "arm64: kexec_file: use more system keyrings to verify kernel image signature" has been added to the 5.18-stable tree

2022-08-15 Thread gregkh
This is a note to let you know that I've just added the patch titled arm64: kexec_file: use more system keyrings to verify kernel image signature to the 5.18-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename

Patch "arm64: kexec_file: use more system keyrings to verify kernel image signature" has been added to the 5.4-stable tree

2022-08-15 Thread gregkh
This is a note to let you know that I've just added the patch titled arm64: kexec_file: use more system keyrings to verify kernel image signature to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename

Patch "arm64: kexec_file: use more system keyrings to verify kernel image signature" has been added to the 5.10-stable tree

2022-08-15 Thread gregkh
This is a note to let you know that I've just added the patch titled arm64: kexec_file: use more system keyrings to verify kernel image signature to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename

Patch "arm64: kexec_file: use more system keyrings to verify kernel image signature" has been added to the 5.15-stable tree

2022-08-15 Thread gregkh
This is a note to let you know that I've just added the patch titled arm64: kexec_file: use more system keyrings to verify kernel image signature to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename

Patch "kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification" has been added to the 5.4-stable tree

2022-08-15 Thread gregkh
This is a note to let you know that I've just added the patch titled kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary