Re: [PATCH v2 12/12] dt-bindings: mtd: raw-nand-chip: Relax node name pattern

2025-02-10 Thread Miquel Raynal
Hello, On 07/02/2025 at 22:30:29 +01, J. Neuschäfer via B4 Relay wrote: > From: "J. Neuschäfer" > > In some scenarios, such as under the Freescale eLBC bus, there are raw > NAND chips with a unit address that has a comma in it (cs,offset). > Relax the $nodename pattern in raw-nand-chip.yaml to

Re: [kvm-unit-tests PATCH v2 03/18] scripts: Refuse to run the tests if not configured for qemu

2025-02-10 Thread Alexandru Elisei
Hi Drew, On Tue, Jan 21, 2025 at 03:48:55PM +0100, Andrew Jones wrote: > On Mon, Jan 20, 2025 at 04:43:01PM +, Alexandru Elisei wrote: > > --- > > arm/efi/run | 8 > > arm/run | 9 + > > run_tests.sh| 8 > > scripts/mkstandalo

Re: [PATCH v3 5/9] powerpc: Use preempt_model_str().

2025-02-10 Thread Sebastian Andrzej Siewior
On 2025-02-08 13:05:57 [+0530], Shrikanth Hegde wrote: > > > On 2/4/25 13:52, Sebastian Andrzej Siewior wrote: > > Use preempt_model_str() instead of manually conducting the preemption > > model. Use pr_emerg() instead of printk() to pass a loglevel. > > even on powerpc, i see __die ends up call

Re: [PATCH 1/9] of: Add warpper function of_find_node_by_name_balanced()

2025-02-10 Thread Laurent Pinchart
Hi Zekun, On Mon, Feb 10, 2025 at 02:47:28PM +0800, zhangzekun (A) wrote: > > I think we all agree that of_find_node_by_name() is miused, and that it > > shows the API isn't optimal. What we have different opinions on is how > > to make the API less error-prone. I think adding a new > > of_find_no

[PATCH] powerpc/mm/fault: Use str_write_read() helper function

2025-02-10 Thread Thorsten Blum
Remove hard-coded strings by using the str_write_read() helper function. Signed-off-by: Thorsten Blum --- arch/powerpc/mm/fault.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c index c156fe0d53c3..806c74e0d5ab 100644 ---

Re: [PATCH v2 00/12] YAML conversion of several Freescale/PowerPC DT bindings

2025-02-10 Thread Mark Brown
On Sat, Feb 08, 2025 at 02:20:47AM +, J. Neuschäfer wrote: > On Fri, Feb 07, 2025 at 09:38:05PM +, Mark Brown wrote: > > What's the story with dependencies here - why is all this stuff in one > > series? > The patches are independent of each other, except for the four elbc/nand > patches.

Re: [PATCH v3 5/9] powerpc: Use preempt_model_str().

2025-02-10 Thread Sebastian Andrzej Siewior
On 2025-02-10 11:59:50 [+0100], To Shrikanth Hegde wrote: > Thank you for noticing. I did remove it on other architectures, I > somehow missed it here. Will remove it from from the arch code. This is what I have for powerpc now. I'm going to repost the series, currently waiting for arm/x86. -

Re: [PATCH v2 00/12] YAML conversion of several Freescale/PowerPC DT bindings

2025-02-10 Thread J . Neuschäfer
On Mon, Feb 10, 2025 at 12:59:35PM +, Mark Brown wrote: > On Sat, Feb 08, 2025 at 02:20:47AM +, J. Neuschäfer wrote: > > On Fri, Feb 07, 2025 at 09:38:05PM +, Mark Brown wrote: > > > > What's the story with dependencies here - why is all this stuff in one > > > series? > > > The patch

Re: [PATCH v3 5/9] powerpc: Use preempt_model_str().

2025-02-10 Thread Shrikanth Hegde
On 2/10/25 19:53, Sebastian Andrzej Siewior wrote: On 2025-02-10 11:59:50 [+0100], To Shrikanth Hegde wrote: Thank you for noticing. I did remove it on other architectures, I somehow missed it here. Will remove it from from the arch code. This is what I have for powerpc now. I'm going to re

Re: [PATCH v2 00/12] YAML conversion of several Freescale/PowerPC DT bindings

2025-02-10 Thread Mark Brown
On Mon, Feb 10, 2025 at 03:57:42PM +, J. Neuschäfer wrote: > On Mon, Feb 10, 2025 at 12:59:35PM +, Mark Brown wrote: > > Please don't do this, it just makes it harder to merge things since it > > makes it look like there's cross tree merges needed when that's not the > > case, complicating

Re: [PATCH v2 0/4] seccomp: remove the 'sd' argument from __secure_computing()

2025-02-10 Thread Kees Cook
On Tue, 28 Jan 2025 16:02:28 +0100, Oleg Nesterov wrote: > Link to v1: https://lore.kernel.org/all/20250120134409.ga21...@redhat.com/ > Only 2/4 was changed, please see interdiff at the end. > > I've included the acks I got on 1/4, 3/4, and 4/4 (thanks!). > > Oleg. > > [...] Applied to for-next

[powerpc:fixes-test] BUILD SUCCESS 61bcc752d1b81fde3cae454ff20c1d3c359df500

2025-02-10 Thread kernel test robot
configs have been built successfully. More configs may be tested in the coming days. tested configs: alpha allnoconfiggcc-14.2.0 arc allnoconfiggcc-14.2.0 arc randconfig-001-20250210clang-21 arc randconfig-002-20250210clang

Re: [PATCH v2 09/12] dt-bindings: memory-controllers: Convert fsl,elbc to YAML

2025-02-10 Thread J . Neuschäfer
On Sun, Feb 09, 2025 at 02:31:34PM -0600, Crystal Wood wrote: > On Fri, Feb 07, 2025 at 10:30:26PM +0100, J. Neuschäfer via B4 Relay wrote: > > From: "J. Neuschäfer" > > > > Convert the Freescale localbus controller bindings from text form to > > YAML. The updated list of compatible strings refle

[PATCH v5 0/7] ptrace: introduce PTRACE_SET_SYSCALL_INFO API

2025-02-10 Thread Dmitry V. Levin
PTRACE_SET_SYSCALL_INFO is a generic ptrace API that complements PTRACE_GET_SYSCALL_INFO by letting the ptracer modify details of system calls the tracee is blocked in. This API allows ptracers to obtain and modify system call details in a straightforward and architecture-agnostic way, providing a

[PATCH v5 3/7] syscall.h: add syscall_set_arguments()

2025-02-10 Thread Dmitry V. Levin
This function is going to be needed on all HAVE_ARCH_TRACEHOOK architectures to implement PTRACE_SET_SYSCALL_INFO API. This partially reverts commit 7962c2eddbfe ("arch: remove unused function syscall_set_arguments()") by reusing some of old syscall_set_arguments() implementations. Signed-off-by:

[PATCH v5 4/7] syscall.h: introduce syscall_set_nr()

2025-02-10 Thread Dmitry V. Levin
Similar to syscall_set_arguments() that complements syscall_get_arguments(), introduce syscall_set_nr() that complements syscall_get_nr(). syscall_set_nr() is going to be needed along with syscall_set_arguments() on all HAVE_ARCH_TRACEHOOK architectures to implement PTRACE_SET_SYSCALL_INFO API. S

Re: [PATCH] powerpc/mm/fault: Use str_write_read() helper function

2025-02-10 Thread Christophe Leroy
Le 10/02/2025 à 11:06, Thorsten Blum a écrit : Remove hard-coded strings by using the str_write_read() helper function. Signed-off-by: Thorsten Blum Reviewed-by: Christophe Leroy Not sure you saw it, there's also one in: linus/master:arch/powerpc/platforms/ps3/device-init.c:727: const

Re: [kvm-unit-tests PATCH v2 03/18] scripts: Refuse to run the tests if not configured for qemu

2025-02-10 Thread Andrew Jones
On Mon, Feb 10, 2025 at 10:41:53AM +, Alexandru Elisei wrote: > Hi Drew, > > On Tue, Jan 21, 2025 at 03:48:55PM +0100, Andrew Jones wrote: > > On Mon, Jan 20, 2025 at 04:43:01PM +, Alexandru Elisei wrote: > > > > --- > > > arm/efi/run | 8 > > > arm/run

[PATCH] powerpc/ps3: Use str_write_read() in ps3_notification_read_write()

2025-02-10 Thread Thorsten Blum
Remove hard-coded strings by using the str_write_read() helper function. Signed-off-by: Thorsten Blum Suggested-by: Christophe Leroy --- arch/powerpc/platforms/ps3/device-init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/ps3/device-init.c b/arc

Re: [kvm-unit-tests PATCH v2 03/18] scripts: Refuse to run the tests if not configured for qemu

2025-02-10 Thread Alexandru Elisei
Hi Drew, On Mon, Feb 10, 2025 at 02:56:25PM +0100, Andrew Jones wrote: > On Mon, Feb 10, 2025 at 10:41:53AM +, Alexandru Elisei wrote: > > Hi Drew, > > > > On Tue, Jan 21, 2025 at 03:48:55PM +0100, Andrew Jones wrote: > > > On Mon, Jan 20, 2025 at 04:43:01PM +, Alexandru Elisei wrote: > >

[PATCH v3 1/2] printf: convert self-test to KUnit

2025-02-10 Thread Tamir Duberstein
Convert the printf() self-test to a KUnit test. In the interest of keeping the patch reasonably-sized this doesn't refactor the tests into proper parameterized tests - it's all one big test case. Signed-off-by: Tamir Duberstein --- Documentation/core-api/printk-formats.rst | 2 +- MAINTAINERS

[PATCH v3 0/2] printf: convert self-test to KUnit

2025-02-10 Thread Tamir Duberstein
This is one of just 3 remaining "Test Module" kselftests (the others being bitmap and scanf), the rest having been converted to KUnit. I tested this using: $ tools/testing/kunit/kunit.py run --arch arm64 --make_options LLVM=1 printf I have also sent out a series converting scanf[0]. Link: http

[PATCH v3 2/2] printf: break kunit into test cases

2025-02-10 Thread Tamir Duberstein
Move all tests into `printf_test_cases`. This gives us nicer output in the event of a failure. Combine `plain_format` and `plain_hash` into `hash_pointer` since they're testing the same scenario. Signed-off-by: Tamir Duberstein --- lib/printf_kunit.c | 331 --

Re: [PATCH v7 13/20] mm/memory: Add vmf_insert_page_mkwrite()

2025-02-10 Thread David Hildenbrand
On 04.02.25 23:48, Alistair Popple wrote: Currently to map a DAX page the DAX driver calls vmf_insert_pfn. This creates a special devmap PTE entry for the pfn but does not take a reference on the underlying struct page for the mapping. This is because DAX page refcounts are treated specially, as

Re: [PATCH v7 15/20] huge_memory: Add vmf_insert_folio_pud()

2025-02-10 Thread David Hildenbrand
On 04.02.25 23:48, Alistair Popple wrote: Currently DAX folio/page reference counts are managed differently to normal pages. To allow these to be managed the same as normal pages introduce vmf_insert_folio_pud. This will map the entire PUD-sized folio and take references as it would for a normall

[PATCH v4 1/1] powerpc: enable dynamic preemption

2025-02-10 Thread Shrikanth Hegde
Once the lazy preemption is supported, it would be desirable to change the preemption models at runtime. So add support for dynamic preemption using DYNAMIC_KEY. ::Tested lightly on Power10 LPAR Performance numbers indicate that, preempt=none(no dynamic) and preempt=none(dynamic) are close. cat /

Re: [PATCH v7 12/20] mm/memory: Enhance insert_page_into_pte_locked() to create writable mappings

2025-02-10 Thread David Hildenbrand
On 04.02.25 23:48, Alistair Popple wrote: In preparation for using insert_page() for DAX, enhance insert_page_into_pte_locked() to handle establishing writable mappings. Recall that DAX returns VM_FAULT_NOPAGE after installing a PTE which bypasses the typical set_pte_range() in finish_fault. Si

[PATCH v4 0/1] powerpc: Enable dynamic preemption

2025-02-10 Thread Shrikanth Hegde
Now that preempt=lazy patches are merged upstream, sending out the patch to support dynamic preemption based on DYNAMIC_KEY. Once the arch supports static inline calls, it would be needed to evaluate to see if that gives better performance. This makes the same code for arm64 and powerpc. Will be

Re: [PATCH v7 16/20] huge_memory: Add vmf_insert_folio_pmd()

2025-02-10 Thread David Hildenbrand
On 04.02.25 23:48, Alistair Popple wrote: Currently DAX folio/page reference counts are managed differently to normal pages. To allow these to be managed the same as normal pages introduce vmf_insert_folio_pmd. This will map the entire PMD-sized folio and take references as it would for a normall

Re: [PATCH v2 08/12] dt-bindings: spi: Convert Freescale SPI bindings to YAML

2025-02-10 Thread Frank Li
On Fri, Feb 07, 2025 at 10:30:25PM +0100, J. Neuschäfer via B4 Relay wrote: > From: "J. Neuschäfer" > > fsl-spi.txt contains the bindings for the fsl,spi and fsl,espi > contollers. Convert them to YAML. > > Signed-off-by: J. Neuschäfer > --- > > V2: > - add missing end-of-document ("...") markers

Re: [PATCH v2 03/12] dt-bindings: crypto: Convert fsl,sec-2.0 to YAMLy

2025-02-10 Thread Frank Li
On Fri, Feb 07, 2025 at 10:30:20PM +0100, J. Neuschäfer via B4 Relay wrote: > From: "J. Neuschäfer" > > Convert the Freescale security engine (crypto accelerator) binding from > text form to YAML. The list of compatible strings reflects what was > previously described in prose; not all combination

Re: distro support for CONFIG_KUNIT: [PATCH 0/3] bitmap: convert self-test to KUnit

2025-02-10 Thread Yury Norov
On Mon, Feb 10, 2025 at 11:35:48AM -0800, John Hubbard wrote: > On 2/9/25 11:54 PM, Geert Uytterhoeven wrote: > > On Sat, 8 Feb 2025 at 18:53, Yury Norov wrote: > > > On Fri, Feb 07, 2025 at 03:14:01PM -0500, Tamir Duberstein wrote: > > > > On 7/27/24 12:35 AM, Shuah Khan wrote: > ... > > > > The

Re: distro support for CONFIG_KUNIT: [PATCH 0/3] bitmap: convert self-test to KUnit

2025-02-10 Thread John Hubbard
On 2/10/25 3:10 PM, Nico Pache wrote: ... Fedora has it. CS-10 has it (-> RHEL-10): redhat/configs/common/generic/CONFIG_KUNIT:CONFIG_KUNIT=m https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/blob/main/redhat/configs/common/generic/CONFIG_KUNIT?ref_type=heads CS-9 has it (

Re: [PATCH v2 11/12] dt-bindings: nand: Add fsl,elbc-fcm-nand

2025-02-10 Thread Rob Herring
On Fri, Feb 07, 2025 at 10:30:28PM +0100, J. Neuschäfer wrote: > Formalize the binding already supported by the fsl_elbc_nand.c driver > and used in several device trees in arch/powerpc/boot/dts/. > > Signed-off-by: J. Neuschäfer > --- > > V2: > - split out from fsl,elbc binding patch > - constr

Re: distro support for CONFIG_KUNIT: [PATCH 0/3] bitmap: convert self-test to KUnit

2025-02-10 Thread David Hildenbrand
On 10.02.25 20:35, John Hubbard wrote: On 2/9/25 11:54 PM, Geert Uytterhoeven wrote: On Sat, 8 Feb 2025 at 18:53, Yury Norov wrote: On Fri, Feb 07, 2025 at 03:14:01PM -0500, Tamir Duberstein wrote: On 7/27/24 12:35 AM, Shuah Khan wrote: ... The crux of the argument seems to be that the conf

Re: [PATCH v2 06/12] dt-bindings: pci: Convert fsl,mpc83xx-pcie to YAML

2025-02-10 Thread Rob Herring
On Sun, Feb 09, 2025 at 12:06:59AM +, J. Neuschäfer wrote: > On Fri, Feb 07, 2025 at 10:30:23PM +0100, J. Neuschäfer via B4 Relay wrote: > > From: "J. Neuschäfer" > > > > Formalise the binding for the PCI controllers in the Freescale MPC8xxx > > chip family. Information about PCI-X-specific p

Re: [PATCH v7 14/20] rmap: Add support for PUD sized mappings to rmap

2025-02-10 Thread David Hildenbrand
On 04.02.25 23:48, Alistair Popple wrote: The rmap doesn't currently support adding a PUD mapping of a folio. This patch adds support for entire PUD mappings of folios, primarily to allow for more standard refcounting of device DAX folios. Currently DAX is the only user of this and it doesn't req

Re: [PATCH v7 19/20] fs/dax: Properly refcount fs dax pages

2025-02-10 Thread David Hildenbrand
-static inline unsigned long dax_page_share_put(struct page *page) +static inline unsigned long dax_folio_put(struct folio *folio) { - WARN_ON_ONCE(!page->share); - return --page->share; + unsigned long ref; + + if (!dax_folio_is_shared(folio)) + ref =

Re: [PATCH v2 10/12] dt-bindings: memory-controllers: Add fsl,elbc-gpcm-uio

2025-02-10 Thread Frank Li
On Fri, Feb 07, 2025 at 10:30:27PM +0100, J. Neuschäfer via B4 Relay wrote: > From: "J. Neuschäfer" > > Formalize the binding already supported by the uio_fsl_elbc_gpcm.c > driver. > > Signed-off-by: J. Neuschäfer Reviewed-by: Frank Li > --- > > V2: > - split out from fsl,elbc patch > - add de

Re: [PATCH v2 05/12] dt-bindings: dma: Convert fsl,elo*-dma to YAML

2025-02-10 Thread Frank Li
On Fri, Feb 07, 2025 at 10:30:22PM +0100, J. Neuschäfer via B4 Relay wrote: > From: "J. Neuschäfer" > > The devicetree bindings for Freescale DMA engines have so far existed as > a text file. This patch converts them to YAML, and specifies all the > compatible strings currently in use in arch/powe

Re: [PATCH v5 0/6] elf: Define note name macros

2025-02-10 Thread Kees Cook
On Wed, 15 Jan 2025 14:47:57 +0900, Akihiko Odaki wrote: > elf.h had a comment saying: > > Notes used in ET_CORE. Architectures export some of the arch register > > sets using the corresponding note types via the PTRACE_GETREGSET and > > PTRACE_SETREGSET requests. > > The note name for these types

[PATCH] powerpc/iommu: Use str_disabled_enabled() helper

2025-02-10 Thread Thorsten Blum
Remove hard-coded strings by using the str_disabled_enabled() helper. Signed-off-by: Thorsten Blum --- arch/powerpc/kernel/iommu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c index 0ebae6e4c19d..244eb4857e7f 1

Re: [PATCH v2 11/12] dt-bindings: nand: Add fsl,elbc-fcm-nandy

2025-02-10 Thread Frank Li
On Fri, Feb 07, 2025 at 10:30:28PM +0100, J. Neuschäfer via B4 Relay wrote: > From: "J. Neuschäfer" > > Formalize the binding already supported by the fsl_elbc_nand.c driver > and used in several device trees in arch/powerpc/boot/dts/. > > Signed-off-by: J. Neuschäfer > --- > > V2: > - split out

Re: [PATCH v2 09/12] dt-bindings: memory-controllers: Convert fsl,elbc to YAML

2025-02-10 Thread Rob Herring
On Sun, Feb 09, 2025 at 02:31:34PM -0600, Crystal Wood wrote: > On Fri, Feb 07, 2025 at 10:30:26PM +0100, J. Neuschäfer via B4 Relay wrote: > > From: "J. Neuschäfer" > > > > Convert the Freescale localbus controller bindings from text form to > > YAML. The updated list of compatible strings refle

Re: distro support for CONFIG_KUNIT: [PATCH 0/3] bitmap: convert self-test to KUnit

2025-02-10 Thread Tamir Duberstein
On Mon, Feb 10, 2025 at 3:20 PM Yury Norov wrote: > > On Mon, Feb 10, 2025 at 11:35:48AM -0800, John Hubbard wrote: > > On 2/9/25 11:54 PM, Geert Uytterhoeven wrote: > > > On Sat, 8 Feb 2025 at 18:53, Yury Norov wrote: > > > > On Fri, Feb 07, 2025 at 03:14:01PM -0500, Tamir Duberstein wrote: > >

[PATCH 1/2] ASoC: dt-bindings: imx-card: Add playback-only and capture-only property

2025-02-10 Thread Shengjiu Wang
Refer to audio graph card, add playback-only and capture-only property for imx-audio-card.yaml for the case that only playback or capture is supported. Signed-off-by: Shengjiu Wang --- .../devicetree/bindings/sound/imx-audio-card.yaml | 8 1 file changed, 8 insertions(+) diff -

[PATCH 2/2] ASoC: imx-card: Add playback_only or capture_only support

2025-02-10 Thread Shengjiu Wang
With the DPCM case, the backend only support capture or playback, then the linked frontend can only support capture or playback, but frontend can't automatically enable only capture or playback, it needs the input from dt-binding. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/imx-card.c | 5 +++

Re: distro support for CONFIG_KUNIT: [PATCH 0/3] bitmap: convert self-test to KUnit

2025-02-10 Thread David Gow
On Tue, 11 Feb 2025 at 04:20, Yury Norov wrote: > > On Mon, Feb 10, 2025 at 11:35:48AM -0800, John Hubbard wrote: > > On 2/9/25 11:54 PM, Geert Uytterhoeven wrote: > > > On Sat, 8 Feb 2025 at 18:53, Yury Norov wrote: > > > > On Fri, Feb 07, 2025 at 03:14:01PM -0500, Tamir Duberstein wrote: > > >

[PATCH 0/2] ASoC: imx-card: support playback or capture only

2025-02-10 Thread Shengjiu Wang
Be similar to audio graph card, support playback or capture only for imx-audio-card. Shengjiu Wang (2): ASoC: dt-bindings: imx-card: Add playback-only and capture-only property ASoC: imx-card: Add playback_only or capture_only support .../devicetree/bindings/sound/imx-audio-card.yaml

Re: distro support for CONFIG_KUNIT: [PATCH 0/3] bitmap: convert self-test to KUnit

2025-02-10 Thread Nico Pache
On Mon, Feb 10, 2025 at 12:46 PM David Hildenbrand wrote: > > On 10.02.25 20:35, John Hubbard wrote: > > On 2/9/25 11:54 PM, Geert Uytterhoeven wrote: > >> On Sat, 8 Feb 2025 at 18:53, Yury Norov wrote: > >>> On Fri, Feb 07, 2025 at 03:14:01PM -0500, Tamir Duberstein wrote: > On 7/27/24 12:3

Re: [PATCH] powerpc/crash: Fix non-smp kexec preparation

2025-02-10 Thread Christophe Leroy
Le 10/02/2025 à 20:52, Eddie James a écrit : [Vous ne recevez pas souvent de courriers de eaja...@linux.ibm.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] In non-smp configurations, crash_kexec_prepare is never called in the crash shutdown path.

Re: [PATCH v3 2/4] powerpc/fadump: fix additional param memory reservation for HASH MMU

2025-02-10 Thread Sourabh Jain
On 10/02/25 12:48, Hari Bathini wrote: Hi Sourabh, On 23/01/25 5:12 pm, Sourabh Jain wrote: Commit 683eab94da75bc ("powerpc/fadump: setup additional parameters for dump capture kernel") introduced the additional parameter feature in fadump for HASH MMU with the understanding that GRUB does

distro support for CONFIG_KUNIT: [PATCH 0/3] bitmap: convert self-test to KUnit

2025-02-10 Thread John Hubbard
On 2/9/25 11:54 PM, Geert Uytterhoeven wrote: On Sat, 8 Feb 2025 at 18:53, Yury Norov wrote: On Fri, Feb 07, 2025 at 03:14:01PM -0500, Tamir Duberstein wrote: On 7/27/24 12:35 AM, Shuah Khan wrote: ... The crux of the argument seems to be that the config help text is taken to describe the au

[PATCH] powerpc/crash: Fix non-smp kexec preparation

2025-02-10 Thread Eddie James
In non-smp configurations, crash_kexec_prepare is never called in the crash shutdown path. One result of this is that the crashing_cpu variable is never set, preventing crash_save_cpu from storing the NT_PRSTATUS elf note in the core dump. Fixes: c7255058b543 ("powerpc/crash: save cpu register dat