Re: [PATCH 3/4] PCI/AER: Expose AER panic state via pci_aer_panic_enabled()

2025-05-16 Thread Sathyanarayanan Kuppuswamy
On 5/16/25 9:55 AM, Hans Zhang wrote: From: Hans Zhang Add pci_aer_panic_enabled() to check if aer_panic is enabled system-wide. Export the function for use in error recovery logic. Signed-off-by: Hans Zhang --- drivers/pci/pci.h | 2 ++ drivers/pci/pcie/aer.c | 12 2

[v2 PATCH] powerpc: Add gcc 128-bit shift helpers

2025-05-16 Thread Herbert Xu
On Fri, May 16, 2025 at 01:06:54PM +0200, Gabriel Paubert wrote: > > It won't work for big endian, nor for 32 bit obviously. Good catch, I will restrict the Kconfig option to little-endian. The accelerated crypto code which uses this is already restricted to little-endian anyway. The Kconfig opt

Re: [PATCH v2 10/13] arch, mm: set high_memory in free_area_init()

2025-05-16 Thread Pratyush Yadav
Hi Mike, Andrew, On Thu, Mar 13 2025, Mike Rapoport wrote: > From: "Mike Rapoport (Microsoft)" > > high_memory defines upper bound on the directly mapped memory. > This bound is defined by the beginning of ZONE_HIGHMEM when a system has > high memory and by the end of memory otherwise. > > All t

[PATCH V3 06/16] powerpc/perf: Remove driver-specific throttle support

2025-05-16 Thread kan . liang
From: Kan Liang The throttle support has been added in the generic code. Remove the driver-specific throttle support. Besides the throttle, perf_event_overflow may return true because of event_limit. It already does an inatomic event disable. The pmu->stop is not required either. Signed-off-by:

Re: [PATCH 0/4] pci: implement "pci=aer_panic"

2025-05-16 Thread Sathyanarayanan Kuppuswamy
On 5/16/25 9:55 AM, Hans Zhang wrote: The following series introduces a new kernel command-line option aer_panic to enhance error handling for PCIe Advanced Error Reporting (AER) in mission-critical environments. This feature ensures deterministic recover from fatal PCIe errors by triggering a

Re: [PATCH v3 0/9] module: Introduce hash-based integrity checking

2025-05-16 Thread Mimi Zohar
Hi Thomas, On Tue, 2025-04-29 at 15:04 +0200, Thomas Weißschuh wrote: > The current signature-based module integrity checking has some drawbacks > in combination with reproducible builds: > Either the module signing key is generated at build time, which makes > the build unreproducible, or a stati

Re: [PATCH] ASoC: fsl_xcvr: update platform driver name

2025-05-16 Thread Mark Brown
On Fri, 16 May 2025 16:03:34 +0800, Shengjiu Wang wrote: > XCVR driver is not only used for i.MX8MP platform, so update driver name > to make it more generic. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: fsl_xcvr: update plat

[PATCH 2/4] PCI/AER: Introduce aer_panic kernel command-line option

2025-05-16 Thread Hans Zhang
From: Hans Zhang Add a new "aer_panic" kernel parameter to force panic on unrecoverable PCIe errors. This prepares for handling fatal AER errors in systems where bus hangs require immediate reboot. Signed-off-by: Hans Zhang --- drivers/pci/pci.c | 2 ++ drivers/pci/pci.h | 2 ++ driv

[PATCH 2/2] PCI/AER: Use bool for AER disable state tracking

2025-05-16 Thread Hans Zhang
From: Hans Zhang Change pcie_aer_disable variable to bool and update pci_no_aer() to set it to true. Improves code readability and aligns with modern kernel practices. Signed-off-by: Hans Zhang --- drivers/pci/pcie/aer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

Re: [PATCH v2 10/13] arch, mm: set high_memory in free_area_init()

2025-05-16 Thread Mike Rapoport
Hi Pratyush, On Fri, May 16, 2025 at 05:28:17PM +0200, Pratyush Yadav wrote: > Hi Mike, Andrew, > > On Thu, Mar 13 2025, Mike Rapoport wrote: > > > From: "Mike Rapoport (Microsoft)" > > > > high_memory defines upper bound on the directly mapped memory. > > This bound is defined by the beginning

[PATCH 1/4] pci: implement "pci=aer_panic"

2025-05-16 Thread Hans Zhang
Add a new "aer_panic" parameter to force kernel panic on unrecoverable PCIe Advanced Error Reporting (AER) errors. This is designed for systems where unresolved PCIe bus hangs require immediate reboot to maintain service availability. The option can be enabled via "pci=aer_panic" on the kernel com

[PATCH 0/4] pci: implement "pci=aer_panic"

2025-05-16 Thread Hans Zhang
The following series introduces a new kernel command-line option aer_panic to enhance error handling for PCIe Advanced Error Reporting (AER) in mission-critical environments. This feature ensures deterministic recover from fatal PCIe errors by triggering a controlled kernel panic when device recove

[PATCH 3/4] PCI/AER: Expose AER panic state via pci_aer_panic_enabled()

2025-05-16 Thread Hans Zhang
From: Hans Zhang Add pci_aer_panic_enabled() to check if aer_panic is enabled system-wide. Export the function for use in error recovery logic. Signed-off-by: Hans Zhang --- drivers/pci/pci.h | 2 ++ drivers/pci/pcie/aer.c | 12 2 files changed, 14 insertions(+) diff --git

[PATCH 4/4] PCI/AER: Trigger kernel panic on recovery failure if aer_panic is set

2025-05-16 Thread Hans Zhang
From: Hans Zhang Modify pcie_do_recovery() to panic the system when device recovery fails and aer_panic is enabled via kernel command-line. This addresses scenarios where PCIe link errors cause bus hangs requiring forced reboots. Signed-off-by: Hans Zhang --- drivers/pci/pcie/err.c | 8 ++-

[PATCH 0/2] PCI: Convert MSI and AER state tracking variables to bool type

2025-05-16 Thread Hans Zhang
This patch series converts MSI/AER state tracking variables from int to bool type to improve code clarity and align with kernel coding standards. These variables inherently represent boolean states (enabled/disabled). Existing code already treats them as truth values in condition checks. Explicit

[PATCH 1/2] PCI/MSI: Use bool for MSI enable state tracking

2025-05-16 Thread Hans Zhang
From: Hans Zhang Convert pci_msi_enable and pci_msi_enabled() to use bool type for clarity. No functional changes, only code cleanup. Signed-off-by: Hans Zhang --- drivers/pci/msi/api.c | 2 +- drivers/pci/msi/msi.c | 4 ++-- drivers/pci/msi/msi.h | 2 +- include/linux/pci.h | 4 ++-- 4 file

[PATCH] KVM: PPC: Book3S HV: Add H_VIRT mapping for tracing exits

2025-05-16 Thread Gautam Menghani
The macro kvm_trace_symbol_exit is used for providing the mappings for the trap vectors and their names. Add mapping for H_VIRT so that trap reason is displayed as string instead of a vector number when using the kvm_guest_exit tracepoint. Signed-off-by: Gautam Menghani --- arch/powerpc/kvm/trac

Re: [PATCH] ASoC: fsl_xcvr: update platform driver name

2025-05-16 Thread Daniel Baluta
On Fri, May 16, 2025 at 11:06 AM Shengjiu Wang wrote: > > XCVR driver is not only used for i.MX8MP platform, so update driver name > to make it more generic. > > Signed-off-by: Shengjiu Wang Reviewed-by: Daniel Baluta

Re: [PATCH] powerpc: Add gcc 128-bit shift helpers

2025-05-16 Thread Gabriel Paubert
On Fri, May 16, 2025 at 04:46:17PM +0800, Herbert Xu wrote: > On Thu, May 15, 2025 at 08:06:09PM +0800, kernel test robot wrote: > > tree: > > https://urldefense.com/v3/__https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git__;!!D9dNQwwGXtA!TSuOAutxjuD3Hp-RC0Fw9dTNuagdCKeNLTN71tv_O

[PATCH] powerpc: Add gcc 128-bit shift helpers

2025-05-16 Thread Herbert Xu
On Thu, May 15, 2025 at 08:06:09PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > master > head: 484803582c77061b470ac64a634f25f89715be3f > commit: c66d7ebbe2fa14e41913adb421090a7426f59786 [10914/11408] crypto: > powerpc/poly1305

[PATCH] ASoC: fsl_xcvr: update platform driver name

2025-05-16 Thread Shengjiu Wang
XCVR driver is not only used for i.MX8MP platform, so update driver name to make it more generic. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_xcvr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c index 83aea341c1b6..