Re: [PATCH linux-next 3/3] powerpc/kdump: Split KEXEC_CORE and CRASH_DUMP dependency

2024-02-25 Thread Hari Bathini
On 23/02/24 1:05 pm, Sourabh Jain wrote: Hello Hari, Hi Sourabh, Build failure detected. Thanks for trying out the patches. On 13/02/24 17:01, Hari Bathini wrote: Remove CONFIG_CRASH_DUMP dependency on CONFIG_KEXEC. CONFIG_KEXEC_CORE was used at places where CONFIG_CRASH_DUMP or

[PATCH 1/1] powerpc/eeh: Enable PHBs to recovery in parallel

2024-02-25 Thread Ganesh Goudar
Currnetly, With a single event queue EEH recovery is entirely serialized and takes place within a single kernel thread. This can cause recovery to take a long time when there are many devices. Have the recovery event queue per PHB and allow the recovery to happen independently from other PHBs.

[PATCH 0/1] Parallel EEH recovery between PHBs

2024-02-25 Thread Ganesh Goudar
This change is based on Sam Bobroff's patches which aimed to allow recovery to happen in parallel between PHBs and PEs, Due to various reasons the patches did not get in. But having parallel recovery between PHBs is fairly simple and gives significant improvement on powervm, Since powervm

Re: [PATCH 1/2] powerpc/pseries: Add a clear modifier to ibm,pa/pi-features parser

2024-02-25 Thread Michael Ellerman
On Wed, 07 Feb 2024 13:52:18 +1000, Nicholas Piggin wrote: > When a new ibm,pa/pi-features bit is introduced that is intended to > apply to existing systems and features, it may have an "inverted" > meaning (i.e., bit clear => feature available; bit set => unavailable). > Depending on the nature

Re: [PATCH 0/3] powerpc/ps3: Fixes for lv1 hcall assembly

2024-02-25 Thread Michael Ellerman
On Wed, 27 Dec 2023 17:24:02 +1000, Nicholas Piggin wrote: > This (hopefully) fixes the ELFv2 bug that Geoff reported, with patch > 1. And a couple of other possible improvements I noticed. > > I don't have a PS3 setup[*] so I have only compile tested these, I'm > sorry. > > [*] Is RPCS3 usable

Re: [PATCH 0/6] powerpc: Convert to platform remove callback returning void

2024-02-25 Thread Michael Ellerman
On Wed, 21 Feb 2024 16:40:14 +0100, Uwe Kleine-König wrote: > this series converts all platform drivers below drivers/powerpc to > struct platform_driver::remove_new(). See commit 5c5a7680e67b > ("platform: Provide a remove callback that returns no value") for an > extended explanation and the

Re: [PATCH 0/4] powerpc/ps3 Add ELFv2 support

2024-02-25 Thread Michael Ellerman
On Fri, 19 Jan 2024 10:27:51 +, Geoff Levand wrote: > The following changes since commit 44a1aad2fe6c10bfe0589d8047057b10a4c18a19: > > Merge branch 'topic/ppc-kvm' into next (2023-12-29 15:30:45 +1100) > > are available in the Git repository at: > >

[PATCHv10 4/4] watchdog/softlockup: report the most frequent interrupts

2024-02-25 Thread Bitao Hu
When the watchdog determines that the current soft lockup is due to an interrupt storm based on CPU utilization, reporting the most frequent interrupts could be good enough for further troubleshooting. Below is an example of interrupt storm. The call tree does not provide useful information, but

[PATCHv10 3/4] genirq: Avoid summation loops for /proc/interrupts

2024-02-25 Thread Bitao Hu
We could use the irq_desc::tot_count member to avoid the summation loop for interrupts which are not marked as 'PER_CPU' interrupts in 'show_interrupts'. This could reduce the time overhead of reading /proc/interrupts. Originally-by: Thomas Gleixner Signed-off-by: Bitao Hu ---

[PATCHv10 2/4] genirq: Provide a snapshot mechanism for interrupt statistics

2024-02-25 Thread Bitao Hu
The soft lockup detector lacks a mechanism to identify interrupt storms as root cause of a lockup. To enable this the detector needs a mechanism to snapshot the interrupt count statistics on a CPU when the detector observes a potential lockup scenario and compare that against the interrupt count

[PATCHv10 1/4] watchdog/softlockup: low-overhead detection of interrupt storm

2024-02-25 Thread Bitao Hu
The following softlockup is caused by interrupt storm, but it cannot be identified from the call tree. Because the call tree is just a snapshot and doesn't fully capture the behavior of the CPU during the soft lockup. watchdog: BUG: soft lockup - CPU#28 stuck for 23s! [fio:83921] ... Call

[PATCHv10 0/4] *** Detect interrupt storm in softlockup ***

2024-02-25 Thread Bitao Hu
Hi, guys. I have implemented a low-overhead method for detecting interrupt storm in softlockup. Please review it, all comments are welcome. Changes from v9 to v10: - The two patches related to 'watchdog/softlockup' remain unchanged. - The majority of the work related to 'genirq' is contributed

[powerpc:merge] BUILD SUCCESS 84d800298e66ce2f01a270151bbf3bf4d5d224fa

2024-02-25 Thread kernel test robot
allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc randconfig-001-20240225 gcc arc randconfig-002-20240225 gcc arm

Re: [PATCH v5 0/6] DCP as trusted keys backend

2024-02-25 Thread Richard Weinberger
Mimi, James, Jarkko, David, you remained silent for a whole release cycle. Is there anything we can do to get this forward? Thanks, //richard Am Dienstag, 13. Februar 2024, 10:59:56 CET schrieb Richard Weinberger: > Am Montag, 5. Februar 2024, 09:39:07 CET schrieb David Gstir: > > Hi, > > > >

[RFC PATCH] selftest/powerpc: Add rule file to address sub-folder test fail

2024-02-25 Thread Madhavan Srinivasan
When running `make -C powerpc/pmu run_tests` from top level selftests directory, currently this error is being reported make: Entering directory '/home/maddy/linux/tools/testing/selftests/powerpc/pmu' Makefile:40: warning: overriding recipe for target 'emit_tests' ../../lib.mk:111: warning:

Kernel WARNING at lib/vsprintf.c:2721 while running ftrace kernel selftests

2024-02-25 Thread Sachin Sant
While running ftrace specific kernel selftests following warning is seen on a Power10 logical partition (LPAR) booted with latest mainline kernel. [ cut here ] precision 63492 too large WARNING: CPU: 15 PID: 2538829 at lib/vsprintf.c:2721 set_precision+0x68/0xa4 Modules

[powerpc:next] BUILD SUCCESS a3e1820186b5ed3703e690eb064ad7c6c7477cfb

2024-02-25 Thread kernel test robot
arc allnoconfig gcc arc allyesconfig gcc arc axs103_smp_defconfig gcc arc defconfig gcc arc randconfig-001-20240225 gcc arc

[powerpc:fixes-test] BUILD SUCCESS fad87dbd48156ab940538f052f1820f4b6ed2819

2024-02-25 Thread kernel test robot
gcc arc allnoconfig gcc arc allyesconfig gcc arc axs103_smp_defconfig gcc arc defconfig gcc arc randconfig-001-20240225 gcc arc

[powerpc:next-test] BUILD SUCCESS 362c297127ccc2838da19a0a098cbe24a34d7708

2024-02-25 Thread kernel test robot
allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc randconfig-001-20240225 gcc arc randconfig-002-20240225 gcc arm allmodconfig gcc arm