[GIT PULL] Please pull powerpc/linux.git powerpc-6.16-2 tag

2025-06-09 Thread Madhavan Srinivasan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull powerpc fixes for 6.16: The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494: Linux 6.16-rc1 (2025-06-08 13:44:43 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linu

[PATCH 1/2] powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap

2025-06-09 Thread Madhavan Srinivasan
From: "Ritesh Harjani (IBM)" memtrace mmap issue has an out of bounds issue. This patch fixes the by checking that the requested mapping region size should stay within the allocated region size. Reported-by: Jonathan Greental Fixes: 08a022ad3dfa ("powerpc/powernv/memtrace: Allow mmaping trace b

[PATCH 2/2] powerpc/vas: Return -EINVAL if the offset is non-zero in mmap()

2025-06-09 Thread Madhavan Srinivasan
The user space calls mmap() to map VAS window paste address and the kernel returns the complete mapped page for each window. So return -EINVAL if non-zero is passed for offset parameter to mmap(). See Documentation/arch/powerpc/vas-api.rst for mmap() restrictions. Co-developed-by: Jonathan Greent

Re: [PATCH 0/8] ASoC: codecs: More const and unused member cleanups

2025-06-09 Thread Mark Brown
On Wed, 28 May 2025 21:59:54 +0200, Krzysztof Kozlowski wrote: > Make static data const for code safety and drop some unused fields in > structs. > > This is based on for-v6.16 branch in ASoC tree for context in wcd938x > driver. > > Best regards, > Krzysztof > > [...] Applied to https://gi

Re: [PATCH bpf-next v4 0/9] bpf: Mitigate Spectre v1 using barriers

2025-06-09 Thread Kumar Kartikeya Dwivedi
On Tue, 3 Jun 2025 at 23:04, Luis Gerhorst wrote: > > This improves the expressiveness of unprivileged BPF by inserting > speculation barriers instead of rejecting the programs. > > The approach was previously presented at LPC'24 [1] and RAID'24 [2]. > > To mitigate the Spectre v1 (PHT) vulnerabil

Re: [PATCH v2 00/12] lib/crc: improve how arch-optimized code is integrated

2025-06-09 Thread Eric Biggers
On Tue, Jun 10, 2025 at 08:36:39AM +1000, Julian Calaby wrote: > Hi Eric, > > On Tue, Jun 10, 2025 at 5:49 AM Eric Biggers wrote: > > > > On Mon, Jun 09, 2025 at 06:15:24PM +1000, Julian Calaby wrote: > > > Hi Eric, > > > > > > On Sun, Jun 8, 2025 at 6:07 AM Eric Biggers wrote: > > > > > > > > T

Re: [PATCH v2 00/12] lib/crc: improve how arch-optimized code is integrated

2025-06-09 Thread Julian Calaby
Hi Eric, On Tue, Jun 10, 2025 at 5:49 AM Eric Biggers wrote: > > On Mon, Jun 09, 2025 at 06:15:24PM +1000, Julian Calaby wrote: > > Hi Eric, > > > > On Sun, Jun 8, 2025 at 6:07 AM Eric Biggers wrote: > > > > > > This series is also available at: > > > > > > git fetch > > > https://git.kerne

Re: [PATCH v3] docs: powerpc: Add htm.rst to table of contents

2025-06-09 Thread Jonathan Corbet
Brigham Campbell writes: > Fix the following documentation build error, which was introduced when > Documentation/arch/powerpc/htm.rst was added to the repository without > any reference to the document. > > Documentation/arch/powerpc/htm.rst: WARNING: document isn't included in any > toctree [t

Re: [PATCH bpf-next v4 0/9] bpf: Mitigate Spectre v1 using barriers

2025-06-09 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Tue, 3 Jun 2025 22:57:51 +0200 you wrote: > This improves the expressiveness of unprivileged BPF by inserting > speculation barriers instead of rejecting the programs. > > The approach was previously presente

Re: [PATCH] powerpc/vdso: Fix build of VDSO32 with pcrel

2025-06-09 Thread Christophe Leroy
Hi Maddy, ping ? Christophe Le 12/05/2025 à 20:14, Christophe Leroy a écrit : Building vdso32 on power10 with pcrel leads to following errors: VDSO32A arch/powerpc/kernel/vdso/gettimeofday-32.o arch/powerpc/kernel/vdso/gettimeofday.S: Assembler messages: arch/powerpc

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.16-2 tag

2025-06-09 Thread pr-tracker-bot
The pull request you sent on Tue, 10 Jun 2025 08:09:06 +0530: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.16-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f09079bd04a924c72d555cd97942d5f8d7eca98c Thank you! -- Deet-doot-d

Re: [PATCH] powerpc/vdso: Fix build of VDSO32 with pcrel

2025-06-09 Thread Madhavan Srinivasan
On 6/10/25 11:33 AM, Christophe Leroy wrote: > Hi Maddy, > > ping ? Yes, its not lost :) . Will add it for the next fixes PR. Maddy > > Christophe > > Le 12/05/2025 à 20:14, Christophe Leroy a écrit : >> Building vdso32 on power10 with pcrel leads to following errors: >> >>   VDSO32A a

Re: [PATCH] dt-bindings: soc: fsl,ls1028a-reset: Drop extra "/" in $id

2025-06-09 Thread Frank Li
On Sat, Jun 07, 2025 at 04:28:13PM -0500, Rob Herring (Arm) wrote: > The $id value has a double "//". Drop it. > > Signed-off-by: Rob Herring (Arm) Reviewed-by: Frank Li > --- > .../devicetree/bindings/soc/fsl/fsl,ls1028a-reset.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH v2 00/12] lib/crc: improve how arch-optimized code is integrated

2025-06-09 Thread Eric Biggers
On Mon, Jun 09, 2025 at 09:40:40AM +0200, Ingo Molnar wrote: > > * Eric Biggers wrote: > > > This series is also available at: > > > > git fetch > > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git > > lib-crc-arch-v2 > > > > This series improves how lib/crc supports ar

Re: [PATCH v2 00/12] lib/crc: improve how arch-optimized code is integrated

2025-06-09 Thread Eric Biggers
On Mon, Jun 09, 2025 at 06:15:24PM +1000, Julian Calaby wrote: > Hi Eric, > > On Sun, Jun 8, 2025 at 6:07 AM Eric Biggers wrote: > > > > This series is also available at: > > > > git fetch > > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git > > lib-crc-arch-v2 > > > > Thi

Re: [PATCH v2 00/12] lib/crc: improve how arch-optimized code is integrated

2025-06-09 Thread Martin K. Petersen
Eric, > This series improves how lib/crc supports arch-optimized code. First, > instead of the arch-optimized CRC code being in arch/$(SRCARCH)/lib/, > it will now be in lib/crc/$(SRCARCH)/. Second, the API functions (e.g. > crc32c()), arch-optimized functions (e.g. crc32c_arch()), and generic >

Re: [PATCH bpf-next v4 9/9] bpf: Fall back to nospec for sanitization-failures

2025-06-09 Thread Alexei Starovoitov
On Tue, Jun 3, 2025 at 2:32 PM Luis Gerhorst wrote: > > ALU sanitization was introduced to ensure that a subsequent ptr access > can never go OOB, even under speculation. This is required because we > currently allow speculative scalar confusion. Spec. scalar confusion is > possible because Spectr

Re: [PATCH v2] ALSA: pcm: Convert multiple {get/put}_user to user_access_begin/user_access_end()

2025-06-09 Thread Christophe Leroy
Le 09/06/2025 à 10:10, Takashi Iwai a écrit : On Mon, 09 Jun 2025 10:00:38 +0200, Christophe Leroy wrote: With user access protection (Called SMAP on x86 or KUAP on powerpc) each and every call to get_user() or put_user() performs heavy operations to unlock and lock kernel access to userspac

Re: [PATCH v2 00/12] lib/crc: improve how arch-optimized code is integrated

2025-06-09 Thread Ingo Molnar
* Eric Biggers wrote: > This series is also available at: > > git fetch > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git > lib-crc-arch-v2 > > This series improves how lib/crc supports arch-optimized code. First, > instead of the arch-optimized CRC code being in arc

Re: [PATCH v2] ALSA: pcm: Convert multiple {get/put}_user to user_access_begin/user_access_end()

2025-06-09 Thread Takashi Iwai
On Mon, 09 Jun 2025 12:02:00 +0200, Christophe Leroy wrote: > > > > Le 09/06/2025 à 10:10, Takashi Iwai a écrit : > > On Mon, 09 Jun 2025 10:00:38 +0200, > > Christophe Leroy wrote: > >> > >> With user access protection (Called SMAP on x86 or KUAP on powerpc) > >> each and every call to get_use

[PATCH v2] ALSA: pcm: Convert multiple {get/put}_user to user_access_begin/user_access_end()

2025-06-09 Thread Christophe Leroy
With user access protection (Called SMAP on x86 or KUAP on powerpc) each and every call to get_user() or put_user() performs heavy operations to unlock and lock kernel access to userspace. To avoid that, perform user accesses by blocks using user_access_begin/user_access_end() and unsafe_get_user(

Re: [PATCH v2 00/12] lib/crc: improve how arch-optimized code is integrated

2025-06-09 Thread Julian Calaby
Hi Eric, On Sun, Jun 8, 2025 at 6:07 AM Eric Biggers wrote: > > This series is also available at: > > git fetch > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git > lib-crc-arch-v2 > > This series improves how lib/crc supports arch-optimized code. First, > instead of the

Re: [PATCH 2/2] powerpc/fprobe: fix updated fprobe for function-graph tracer

2025-06-09 Thread Google
On Wed, 28 May 2025 19:18:20 +0530 Aditya Bodkhe wrote: > From: Hari Bathini > > Since commit 4346ba160409 ("fprobe: Rewrite fprobe on function-graph > tracer"), FPROBE depends on HAVE_FUNCTION_GRAPH_FREGS. With previous > patch adding HAVE_FUNCTION_GRAPH_FREGS for powerpc, FPROBE can be > enab

Re: [PATCH] (powerpc/512) Fix possible `dma_unmap_single()` on uninitialized pointer

2025-06-09 Thread Christophe Leroy
Le 05/06/2025 à 18:37, Thomas Fourier a écrit : [Vous ne recevez pas souvent de courriers de fourier.tho...@gmail.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] If the device configuration fails (if `dma_dev->device_config()`), `sg_dma_address(&

Re: [PATCH] ALSA: pcm: Rewrite recalculate_boundary() to avoid costly loop

2025-06-09 Thread Takashi Iwai
On Fri, 06 Jun 2025 11:44:02 +0200, Christophe Leroy wrote: > > At the time being recalculate_boundary() is implemented with a > loop which shows up as costly in a perf profile, as depicted by > the annotate below: > > 0.00 : c057e934: 3d 40 7f ff lis r10,32767 > 0.03 :

Re: [PATCH v2] ALSA: pcm: Convert multiple {get/put}_user to user_access_begin/user_access_end()

2025-06-09 Thread Takashi Iwai
On Mon, 09 Jun 2025 10:00:38 +0200, Christophe Leroy wrote: > > With user access protection (Called SMAP on x86 or KUAP on powerpc) > each and every call to get_user() or put_user() performs heavy > operations to unlock and lock kernel access to userspace. > > To avoid that, perform user accesses

[Fixup PATCH] drivers/base/node: Restored the removed extra line

2025-06-09 Thread Donet Tom
Re-added the extra blank line at the end of the memory.h that was removed by the commit 'commit d61861e3bb35 ("drivers/base/node: optimize memory block registration to reduce boot time")' Signed-off-by: Donet Tom --- include/linux/memory.h | 1 + 1 file changed, 1 insertion(+) diff --git a/incl