Re: [RFC][PATCH] sched: Rename DIE domain

2023-07-16 Thread Gautham R. Shenoy
On Wed, Jul 12, 2023 at 04:10:56PM +0200, Peter Zijlstra wrote: > Hi > > Thomas just tripped over the x86 topology setup creating a 'DIE' domain > for the package mask :-) > > Since these names are SCHED_DEBUG only, rename them. > I don't think anybody *should* be relying on this, but who knows.

Re: [PATCH] KVM: ppc64: Enable ring-based dirty memory tracking

2023-07-16 Thread Kautuk Consul
Hi Jordan, On 2023-07-06 14:15:13, Jordan Niethe wrote: > > > On 8/6/23 10:34 pm, Kautuk Consul wrote: > > Need at least a little context in the commit message itself: > > "Enable ring-based dirty memory tracking on ppc64:" Sure will take this in the v2 patch. > > > - Enable CONFIG_HAVE_KVM_D

Re: [PATCH v5] Revert "powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() with asm goto"

2023-07-16 Thread Michael Ellerman
Christophe Leroy writes: > Le 12/07/2023 à 15:45, Michael Ellerman a écrit : >> From: Christophe Leroy >> >> This partly reverts commit 1e688dd2a3d6759d416616ff07afc4bb836c4213. >> >> That commit aimed at optimising the code around generation of >> WARN_ON/BUG_ON but this leads to a lot of dead

[PATCH V5 3/3] skiboot: Update IMC PMU node names for power10

2023-07-16 Thread Athira Rajeev
The nest IMC (In Memory Collection) Performance Monitoring Unit(PMU) node names are saved as "struct nest_pmus_struct" in the "hw/imc.c" IMC code. Not all the IMC PMUs listed in the device tree may be available. Nest IMC PMU names along with their bit values is represented in imc availability vecto

[PATCH V5 2/3] skiboot: Update IMC code to use dt_find_by_name_before_addr for checking dt nodes

2023-07-16 Thread Athira Rajeev
The nest IMC (In Memory Collection) Performance Monitoring Unit(PMU) node names are saved in nest_pmus[] array in the "hw/imc.c" IMC code. Not all the IMC PMUs listed in the device tree may be available. Nest IMC PMU names along with their bit values is represented in imc availability vector. The n

[PATCH V5 1/3] core/device: Add function to return child node using name at substring "@"

2023-07-16 Thread Athira Rajeev
Add a function dt_find_by_name_before_addr() that returns the child node if it matches till first occurrence at "@" of a given name, otherwise NULL. This is helpful for cases with node name like: "name@addr". In scenarios where nodes are added with "name@addr" format and if the value of "addr" is n

RE: [PATCH] net: Explicitly include correct DT includes

2023-07-16 Thread Wei Fang
> -Original Message- > From: Rob Herring > Sent: 2023年7月15日 1:48 > To: Dario Binacchi ; Wolfgang > Grandegger ; Marc Kleine-Budde > ; David S. Miller ; Eric > Dumazet ; Jakub Kicinski ; Paolo > Abeni ; Chandrasekar Ramakrishnan > ; Chen-Yu Tsai ; Jernej Skrabec > ; Samuel Holland ; Florian

Re: [PATCH] powerpc/64e: Fix obtool warnings in exceptions-64e.S

2023-07-16 Thread Michael Ellerman
On Thu, 22 Jun 2023 21:24:51 +1000, Michael Ellerman wrote: > Since commit aec0ba7472a7 ("powerpc/64: Use -mprofile-kernel for big > endian ELFv2 kernels"), this file is checked by objtool. Fix warnings > such as: > > arch/powerpc/kernel/idle_64e.o: warning: objtool: .text+0x20: unannotated > i

Re: [PATCH] powerpc/mm/book3s64/hash/4k: Add pmd_same callback for 4K page size

2023-07-16 Thread Michael Ellerman
On Thu, 06 Jul 2023 07:54:05 +0530, Aneesh Kumar K.V wrote: > With commit 0d940a9b270b ("mm/pgtable: allow pte_offset_map[_lock]() to > fail") the kernel is now using pmd_same to compare pmd values that are > pointing to a level 4 page table page. Move the functions out of #ifdef > CONFIG_TRANSPARE

Re: [PATCH] powerpc/security: Fix Speculation_Store_Bypass reporting on Power10

2023-07-16 Thread Michael Ellerman
On Wed, 17 May 2023 17:49:45 +1000, Michael Ellerman wrote: > Nageswara reported that /proc/self/status was showing "vulnerable" for > the Speculation_Store_Bypass feature on Power10, eg: > > $ grep Speculation_Store_Bypass: /proc/self/status > Speculation_Store_Bypass: vulnerable > > B

Re: [PATCH] powerpc/64s: Fix native_hpte_remove() to be irq-safe

2023-07-16 Thread Michael Ellerman
On Wed, 17 May 2023 22:30:33 +1000, Michael Ellerman wrote: > Lockdep warns that the use of the hpte_lock in native_hpte_remove() is > not safe against an IRQ coming in: > > > WARNING: inconsistent lock state > 6.4.0-rc2-g0c54f4d30ecc #1 Not tainted > -

Re: [PATCH] net: Explicitly include correct DT includes

2023-07-16 Thread Marc Kleine-Budde
On 14.07.2023 11:48:00, Rob Herring wrote: > The DT of_device.h and of_platform.h date back to the separate > of_platform_bus_type before it as merged into the regular platform bus. > As part of that merge prepping Arm DT support 13 years ago, they > "temporarily" include each other. They also incl

[PATCH 6.1 336/591] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-07-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 6.1 219/591] soc/fsl/qe: fix usb.c build errors

2023-07-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

[PATCH 6.4 501/800] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-07-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 6.4 473/800] perf tests task_analyzer: Skip tests if no libtraceevent support

2023-07-16 Thread Greg Kroah-Hartman
From: Aditya Gupta [ Upstream commit c3ac3b0779770acd3ad7eecb5099ab4419ef2e2e ] Test "perf script task-analyzer tests" fails in environment with missing libtraceevent support, as perf record fails to create the perf.data file, which further tests depend on. Instead, when perf is not compiled wi

[PATCH 6.4 472/800] perf tests task_analyzer: Fix bad substitution ${$1}

2023-07-16 Thread Greg Kroah-Hartman
From: Aditya Gupta [ Upstream commit 5c4396efb53ef07d046a2e9456b240880e0c3076 ] ${$1} gives bad substitution error on sh, bash, and zsh. This seems like a typo, and this patch modifies it to $1, since that is what it's usage looks like from wherever `check_exec_0` is called. This issue due to $

[PATCH 6.4 336/800] soc/fsl/qe: fix usb.c build errors

2023-07-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.5-3 tag

2023-07-16 Thread pr-tracker-bot
The pull request you sent on Sun, 16 Jul 2023 14:49:09 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.5-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/20edcec23f92db47ca1ab33b4c6025bb8b3db7d7 Thank you! -- Deet-doot-do

Re: [PATCH v10 4/4] arm64: support batched/deferred tlb shootdown during page reclamation/migration

2023-07-16 Thread Catalin Marinas
On Mon, Jul 10, 2023 at 04:39:14PM +0800, Yicong Yang wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 7856c3a3e35a..f0ce8208c57f 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -96,6 +96,7 @@ config ARM64 > select ARCH_SUPPORTS_NUMA_BALANCING > se

[PATCH v2] powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close

2023-07-16 Thread Haren Myneni
Commit 8ef7b9e1765a ("powerpc/pseries/vas: Close windows with DLPAR core removal") unmaps the window paste address and issues HCALL to close window in the hypervisor for migration or DLPAR core removal events. So holds mmap_mutex and then mmap lock before unmap the paste address. But if the user sp