Re: [PATCH 2/3] pci/hotplug/pnv_php: Work around switches with broken presence detection

2025-04-03 Thread Lukas Wunner
[cc += Krishna] On Thu, Apr 03, 2025 at 11:18:09PM -0500, Shawn Anastasio wrote: > The Microsemi Switchtec PM8533 PFX 48xG3 [11f8:8533] PCIe switch system > was observed to incorrectly assert the Presence Detect Set bit in its > capabilities when tested on a Raptor Computing Systems Blackbird syst

[PATCH 3/3] pci/hotplug/pnv_php: Fix refcount underflow on hot unplug

2025-04-03 Thread Shawn Anastasio
When hot unplugging a slot containing a PCIe switch on a PowerNV system, the reference count of the device_node corresponding to the root will underflow. This is due to improper handling of the device_nodes' refcounts in pnv_php_detach_device nodes that occurs on each unplug event. When iterating

[PATCH 0/3] PowerNV PCIe Hotplug Driver Fixes

2025-04-03 Thread Shawn Anastasio
Hello all, This series includes two fixes for bugs in the PowerNV PCIe hotplug driver that were discovered in testing with a Microsemi Switchtec PM8533 PFX 48xG3 PCIe switch on a PowerNV system, as well as one workaround for PCIe switches that don't correctly implement slot presence detection such

[PATCH 2/3] pci/hotplug/pnv_php: Work around switches with broken presence detection

2025-04-03 Thread Shawn Anastasio
The Microsemi Switchtec PM8533 PFX 48xG3 [11f8:8533] PCIe switch system was observed to incorrectly assert the Presence Detect Set bit in its capabilities when tested on a Raptor Computing Systems Blackbird system, resulting in the hot insert path never attempting a rescan of the bus and any downst

[powerpc:merge] BUILD SUCCESS 522742a9ebe774eaf77fdb5c7af1f1cf36965bb1

2025-04-03 Thread kernel test robot
14.2.0 arc allnoconfiggcc-14.2.0 arc allyesconfiggcc-14.2.0 arc randconfig-001-20250403gcc-14.2.0 arc randconfig-002-20250403gcc-12.4.0 arm allmodconfiggcc-

[PATCH AUTOSEL 6.13 07/22] crypto: lib/Kconfig - Fix lib built-in failure when arch is modular

2025-04-03 Thread Sasha Levin
From: Herbert Xu [ Upstream commit 1047e21aecdf17c8a9ab9fd4bd24c6647453f93d ] The HAVE_ARCH Kconfig options in lib/crypto try to solve the modular versus built-in problem, but it still fails when the the LIB option (e.g., CRYPTO_LIB_CURVE25519) is selected externally. Fix this by introducing a

[PATCH AUTOSEL 6.12 06/20] crypto: lib/Kconfig - Fix lib built-in failure when arch is modular

2025-04-03 Thread Sasha Levin
From: Herbert Xu [ Upstream commit 1047e21aecdf17c8a9ab9fd4bd24c6647453f93d ] The HAVE_ARCH Kconfig options in lib/crypto try to solve the modular versus built-in problem, but it still fails when the the LIB option (e.g., CRYPTO_LIB_CURVE25519) is selected externally. Fix this by introducing a

[PATCH AUTOSEL 6.14 07/23] crypto: lib/Kconfig - Fix lib built-in failure when arch is modular

2025-04-03 Thread Sasha Levin
From: Herbert Xu [ Upstream commit 1047e21aecdf17c8a9ab9fd4bd24c6647453f93d ] The HAVE_ARCH Kconfig options in lib/crypto try to solve the modular versus built-in problem, but it still fails when the the LIB option (e.g., CRYPTO_LIB_CURVE25519) is selected externally. Fix this by introducing a

Re: [PATCH bpf-next 11/11] bpf: Fall back to nospec for spec path verification

2025-04-03 Thread Alexei Starovoitov
On Wed, Mar 19, 2025 at 2:06 AM Luis Gerhorst wrote: > > Thank you very much for having a look. Let me know whether the above > resolves your concern. > > In any case, should I separate patches 1-3 into another series? Sorry for the delay. lsfmm was followed by the busy merge window. Please reba

Re: [BUG?] ppc64le: fentry BPF not triggered after live patch (v6.14)

2025-04-03 Thread Song Liu
On Thu, Apr 3, 2025 at 8:30 AM Naveen N Rao wrote: [...] > > We haven't addressed this particular interaction in the powerpc support > for ftrace direct and BPF trampolines. Right now, live patching takes > priority so we call the livepatch'ed function and skip further ftrace > direct calls. > > I

[RFC net-next PATCH 00/13] Add PCS core support

2025-04-03 Thread Sean Anderson
This series adds support for creating PCSs as devices on a bus with a driver (patch 3). As initial users, - The Lynx PCS (and all of its users) is converted to this system (patch 5) - The Xilinx PCS is broken out from the AXI Ethernet driver (patches 6-8) - The Cadence MACB driver is converted to

Re: [RESEND PATCH] powerpc64/bpf: fix JIT code size calculation of bpf trampoline

2025-04-03 Thread Naveen N Rao
On Wed, Mar 26, 2025 at 08:04:22PM +0530, Hari Bathini wrote: > The JIT compile of ldimm instructions can be anywhere between 1-5 > instructions long depending on the value being loaded. > > arch_bpf_trampoline_size() provides JIT size of the BPF trampoline > before the buffer for JIT'ing it is al

Re: [BUG?] ppc64le: fentry BPF not triggered after live patch (v6.14)

2025-04-03 Thread Naveen N Rao
On Tue, Apr 01, 2025 at 02:48:10PM +0200, Jiri Olsa wrote: > On Mon, Mar 31, 2025 at 10:09:40AM -0400, Steven Rostedt wrote: > > On Mon, 31 Mar 2025 21:19:36 +0800 > > Shung-Hsi Yu wrote: > > > > > Hi all, > > > > > > On ppc64le (v6.14, kernel config attached), I've observed that fentry > > > BP