Re: [PATCH v3 3/5] powerpc/64: Convert patch_instruction() to patch_u32()

2024-05-13 Thread Christophe Leroy
Le 14/05/2024 à 04:59, Benjamin Gray a écrit : > On Tue, 2024-04-23 at 15:09 +0530, Naveen N Rao wrote: >> On Mon, Mar 25, 2024 at 04:53:00PM +1100, Benjamin Gray wrote: >>> This use of patch_instruction() is working on 32 bit data, and can >>> fail >>> if the data looks like a prefixed

[PATCH v2 2/2] ASoC: fsl_xcvr: Add support for i.MX95 platform

2024-05-13 Thread Shengjiu Wang
On i.MX95, the XCVR uses a new PLL in the PHY, which is General Purpose (GP) PLL. Add GP PLL configuration support in the driver and add the 'pll_ver' flag to distinguish different PLL on different platforms. The XCVR also use PHY but limited for SPDIF only case Add 'use_phy' flag to distinguish

[PATCH v2 1/2] ASoC: dt-bindings: fsl,xcvr: Add compatible string for i.MX95

2024-05-13 Thread Shengjiu Wang
Add compatible string "fsl,imx95-xcvr" for i.MX95 platform. The difference between each platform is in below table. +-++--++ | SOC| PHY | eARC/ARC | SPDIF | +-++--++ | i.MX8MP | V1| Yes | Yes |

[PATCH v2 0/2] ASoC: fsl_xcvr: Support i.MX95 platform

2024-05-13 Thread Shengjiu Wang
On i.MX95 wakeup domain, there is one instance of Audio XCVR supporting SPDIF mode with a connection to the Audio XCVR physical interface. changes in v2: - Merge patch 1&2, 3&4 from v1 together. - Add more comments in commit message - Add constaint for clocks used on i.mx95 - Add 'select

Re: [PATCH v3 3/5] powerpc/64: Convert patch_instruction() to patch_u32()

2024-05-13 Thread Benjamin Gray
On Tue, 2024-04-23 at 15:09 +0530, Naveen N Rao wrote: > On Mon, Mar 25, 2024 at 04:53:00PM +1100, Benjamin Gray wrote: > > This use of patch_instruction() is working on 32 bit data, and can > > fail > > if the data looks like a prefixed instruction and the extra write > > crosses a page boundary.

[powerpc:next-test] BUILD SUCCESS 7b090b6ff51b9a9f002139660672f662b95f0630

2024-05-13 Thread kernel test robot
allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc randconfig-001-20240513 gcc arc randconfig-002-20240513 gcc arm allmodconfig gcc arm

[powerpc:next] BUILD SUCCESS e789d4499abdb488dd9cabce4f95c74dac6bcbe5

2024-05-13 Thread kernel test robot
allmodconfig gcc i386 allnoconfig gcc i386 allyesconfig gcc i386 buildonly-randconfig-001-20240513 clang i386 buildonly-randconfig-002-20240513 clang i386 buildonly-randconfig-003

[PATCH] powerpc/pseries/iommu: Split Dynamic DMA Window to be used in Hybrid mode

2024-05-13 Thread Gaurav Batra
Dynamic DMA Window (DDW) supports TCEs that are backed by 2MB page size. In most configurations, DDW is big enough to pre-map all of LPAR memory for IO. Pre-mapping of memory for DMA results in improvements in IO performance. Persistent memory, vPMEM, can be assigned to an LPAR as well. vPMEM is

Re: [PATCH bpf v3] powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH

2024-05-13 Thread Michael Ellerman
Puranjay Mohan writes: > Naveen N Rao writes: >> On Mon, May 13, 2024 at 10:02:48AM GMT, Puranjay Mohan wrote: >>> The Linux Kernel Memory Model [1][2] requires RMW operations that have a >>> return value to be fully ordered. >>> >>> BPF atomic operations with BPF_FETCH (including BPF_XCHG and

Re: [PATCH] powerpc/perf: set cpumode flags using sample address in the PPMU_ARCH_31 case

2024-05-13 Thread Anjali K
On 12/05/24 07:52, kernel test robot wrote: Hi Anjali, kernel test robot noticed the following build warnings: [auto build test WARNING on dd5a440a31fae6e459c0d627162825505361]

Re: [PATCH bpf v3] powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH

2024-05-13 Thread Puranjay Mohan
Naveen N Rao writes: > On Mon, May 13, 2024 at 10:02:48AM GMT, Puranjay Mohan wrote: >> The Linux Kernel Memory Model [1][2] requires RMW operations that have a >> return value to be fully ordered. >> >> BPF atomic operations with BPF_FETCH (including BPF_XCHG and >> BPF_CMPXCHG) return a value

Re: [PATCH bpf v3] powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH

2024-05-13 Thread Naveen N Rao
On Mon, May 13, 2024 at 10:02:48AM GMT, Puranjay Mohan wrote: > The Linux Kernel Memory Model [1][2] requires RMW operations that have a > return value to be fully ordered. > > BPF atomic operations with BPF_FETCH (including BPF_XCHG and > BPF_CMPXCHG) return a value back so they need to be JITed

Re: [PATCH v2 0/3] powerpc/fadump: pass additional args to dump capture kernel

2024-05-13 Thread Michael Ellerman
On Thu, 09 May 2024 17:27:52 +0530, Hari Bathini wrote: > While fadump is a more reliable alternative to kdump dump capturing > method, it doesn't support passing additional parameters. Having > such support is desirable for two major reasons: > > 1. It helps minimize the memory consumption of

Re: [PATCH] powerpc/fadump: update documentation about bootargs_append

2024-05-13 Thread Michael Ellerman
On Fri, 10 May 2024 13:51:14 +0530, Hari Bathini wrote: > Update ABI documentation about the introduction of the new sysfs > entry bootargs_append. This sysfs entry will be used to setup the > additional parameters to be passed to dump capture kernel. > > Applied to powerpc/next. [1/1]

Re: [PATCH] powerpc/85xx: fix compile error without CONFIG_CRASH_DUMP

2024-05-13 Thread Michael Ellerman
On Fri, 10 May 2024 13:37:57 +0530, Hari Bathini wrote: > Since commit 5c4233cc0920 ("powerpc/kdump: Split KEXEC_CORE and > CRASH_DUMP dependency"), crashing_cpu is not available without > CONFIG_CRASH_DUMP. Fix compile error on 64-BIT 85xx owing to this > change. > > Applied to powerpc/next.

Re: [PATCH v15 00/16] Add audio support in v4l2 framework

2024-05-13 Thread Jaroslav Kysela
On 09. 05. 24 13:13, Jaroslav Kysela wrote: On 09. 05. 24 12:44, Shengjiu Wang wrote: mem2mem is just like the decoder in the compress pipeline. which is one of the components in the pipeline. I was thinking of loopback with endpoints using compress streams, without physical endpoint,

Re: [PATCH bpf v3] powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH

2024-05-13 Thread Christophe Leroy
Le 13/05/2024 à 12:02, Puranjay Mohan a écrit : > The Linux Kernel Memory Model [1][2] requires RMW operations that have a > return value to be fully ordered. > > BPF atomic operations with BPF_FETCH (including BPF_XCHG and > BPF_CMPXCHG) return a value back so they need to be JITed to fully >

[PATCH bpf v3] powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH

2024-05-13 Thread Puranjay Mohan
The Linux Kernel Memory Model [1][2] requires RMW operations that have a return value to be fully ordered. BPF atomic operations with BPF_FETCH (including BPF_XCHG and BPF_CMPXCHG) return a value back so they need to be JITed to fully ordered operations. POWERPC currently emits relaxed operations

Re: [PATCH 2/2] arch/powerpc: hotplug driver bridge support

2024-05-13 Thread Sourabh Jain
Hello Krishna, Is "arch" in commit title really required? On 09/05/24 17:35, Krishna Kumar wrote: There is an issue with the hotplug operation when it's done on the bridge/switch slot. The bridge-port and devices behind the bridge, which become offline by hot-unplug operation, don't get

Re: [PATCH V2 0/9] Add data type profiling support for powerpc

2024-05-13 Thread Athira Rajeev
> On 7 May 2024, at 10:09 AM, Namhyung Kim wrote: > > Hello, > > On Mon, May 6, 2024 at 5:19 AM Athira Rajeev > wrote: >> >> The patchset from Namhyung added support for data type profiling >> in perf tool. This enabled support to associate PMU samples to data >> types they refer using

Re: [PATCH bpf v2] powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH

2024-05-13 Thread Christophe Leroy
Le 08/05/2024 à 13:54, Puranjay Mohan a écrit : > [Vous ne recevez pas souvent de courriers de puran...@kernel.org. Découvrez > pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] > > The Linux Kernel Memory Model [1][2] requires RMW operations that have a > return

Re: [PATCH bpf] powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH

2024-05-13 Thread Christophe Leroy
Le 08/05/2024 à 07:05, Michael Ellerman a écrit : > Puranjay Mohan writes: >> The Linux Kernel Memory Model [1][2] requires RMW operations that have a >> return value to be fully ordered. >> >> BPF atomic operations with BPF_FETCH (including BPF_XCHG and >> BPF_CMPXCHG) return a value back so