Re: [PATCH v7 0/4] Add perf interface to expose nvdimm

2022-03-07 Thread kajoljain
Hi Dan, Can you take this patch-set if it looks fine to you. Thanks, Kajol Jain On 2/25/22 20:00, Kajol Jain wrote: > Patchset adds performance stats reporting support for nvdimm. > Added interface includes support for pmu register/unregister > functions. A structure is added called nvdimm_pm

[PATCH] tty: hvc: fix return value of __setup handler

2022-03-07 Thread Randy Dunlap
hvc_iucv.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux-next-20220307.orig/drivers/tty/hvc/hvc_iucv.c +++ linux-next-20220307/drivers/tty/hvc/hvc_iucv.c @@ -1417,7 +1417,9 @@ out_error: */ static int __init hvc_iucv_config(char *val) { -return kstrto

[powerpc:fixes-test] BUILD SUCCESS 48015b632f770c401f3816f144499a39f2884677

2022-03-07 Thread kernel test robot
debian-10.3 mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-20220307 i386

Re: [PATCH 2/6] KVM: PPC: Book3S HV P9: Inject pending xive interrupts at guest entry

2022-03-07 Thread Fabiano Rosas
Nicholas Piggin writes: > If there is a pending xive interrupt, inject it at guest entry (if > MSR[EE] is enabled) rather than take another interrupt when the guest > is entered. If xive is enabled then LPCR[LPES] is set so this behaviour > should be expected. > > Signed-off-by: Nicholas Piggin

[PATCH v3] powerpc: declare unmodified attribute_group usages const

2022-03-07 Thread Rohan McLure
Inspired by (bd75b4ef4977: Constify static attribute_group structs), accepted by linux-next, reported: https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220210202805.7750-4-rikard.falkeb...@gmail.com/ Nearly all singletons of type struct attribute_group are never modified, and so are candi

[powerpc:merge] BUILD SUCCESS 782b30d101f6d0a4bfe76ae2359698cfd91b8fff

2022-03-07 Thread kernel test robot
fconfig shsh7757lcr_defconfig arm h3600_defconfig arm randconfig-c002-20220307 ia64 allmodconfig ia64defconfig ia64 allyesconfig m68k allyesc

[powerpc:topic/ppc-kvm] BUILD SUCCESS e40b38a41ce916d6a3a4751d59a01b6c0c03afd0

2022-03-07 Thread kernel test robot
klondike_defconfig arm vf610m4_defconfig arm exynos_defconfig arm randconfig-c002-20220307 ia64 allmodconfig ia64defconfig ia64

[PATCH 3/4] ASoC: wm8904: extend device tree support

2022-03-07 Thread Alifer Moraes
From: Pierluigi Passaro The platform_data structure is not populated when using device trees. This patch adds optional dts properties to allow populating it: - gpio-cfg - mic-cfg - num-drc-cfgs - drc-cfg-regs - drc-cfg-names - num-retune-mobile-cfgs - retune-mobile-cfg-regs - retune-mobile-cfg-na

[PATCH 4/4] ASoC: wm8904: add DMIC support

2022-03-07 Thread Alifer Moraes
From: Pierluigi Passaro The WM8904 codec supports both ADC and DMIC inputs. Add dedicated controls to support the additional routing. Signed-off-by: Pierluigi Passaro Signed-off by: Alifer Moraes --- sound/soc/codecs/wm8904.c | 34 ++ 1 file changed, 34 inserti

[PATCH 2/4] ASoC: bindings: fsl-asoc-card: Add compatible string for wm8904

2022-03-07 Thread Alifer Moraes
Add compatible string for the wm8904 codec. Signed-off-by: Alifer Moraes --- Documentation/devicetree/bindings/sound/fsl-asoc-card.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt b/Documentation/devicetree/bindings/sound/fsl-as

[PATCH 1/4] ASoC: fsl-asoc-card: add WM8904 support

2022-03-07 Thread Alifer Moraes
From: Pierluigi Passaro The codec WM8904 can use internal FLL as PLL source. Whenever the PLL source is not an external MCLK, this source must be setup during hw_params callback otherwise the BCLK could be wrongly evaluated. The SND_SOC_BIAS_PREPARE event is raised after the hw_params callback, s

[PATCH 1/2] powerpc/64: Bump SIGSTKSZ and MINSIGSTKSZ

2022-03-07 Thread Nicholas Piggin
The sad tale of SIGSTKSZ and MINSIGSTKSZ is documented in glibc.git commit f7c399cff5bd ("PowerPC SIGSTKSZ"), which explains why glibc does not use the kernel defines for these constants. Since then in fact there has been a further expansion of the signal stack frame size on little-endian with linu

[PATCH 2/2] powerpc/signal: Report minimum signal frame size to userspace via AT_MINSIGSTKSZ

2022-03-07 Thread Nicholas Piggin
Implement the AT_MINSIGSTKSZ AUXV entry, allowing userspace to dynamically size stack allocations in a manner forward-compatible with new processor state saved in the signal frame For now these statically find the maximum signal frame size rather than doing any runtime testing of features to minim

Re: [PATCH] pkeys: Make pkey unsigned in arch_set_user_pkey_access()

2022-03-07 Thread Ira Weiny
On Mon, Mar 07, 2022 at 12:30:03PM +0530, Aneesh Kumar K.V wrote: > ira.we...@intel.com writes: > > > From: Ira Weiny > > > > The WARN_ON check in arch_set_user_pkey_access() in the x86 architecture > > fails to check for an invalid negative value. > > > > A simple check for less than 0 would fix

Re: [PATCH 4/4] ASoC: wm8904: add DMIC support

2022-03-07 Thread Mark Brown
On Mon, Mar 07, 2022 at 11:10:41AM -0300, Alifer Moraes wrote: > +static const char *cin_text[] = { > + "ADC", "DMIC" > +}; > + > +static SOC_ENUM_SINGLE_DECL(cin_enum, > + WM8904_DIGITAL_MICROPHONE_0, 12, cin_text); Why would this be runtime selectable? I'd expect th

Re: [PATCH 3/4] ASoC: wm8904: extend device tree support

2022-03-07 Thread Mark Brown
On Mon, Mar 07, 2022 at 11:10:40AM -0300, Alifer Moraes wrote: > + - num-drc-cfgs: Number of available DRC modes from drc-cfg-regs property > + > + - drc-cfg-regs: Default registers value for R40/41/42/43 (DRC) > +The list must be (4 x num-drc-cfgs) entries long. > +If absent or incomple

Re: [PATCH V7 00/20] riscv: compat: Add COMPAT mode support for rv64

2022-03-07 Thread Heiko Stübner
Hi, Am Sonntag, 27. Februar 2022, 17:28:11 CET schrieb guo...@kernel.org: > From: Guo Ren > > Currently, most 64-bit architectures (x86, parisc, powerpc, arm64, > s390, mips, sparc) have supported COMPAT mode. But they all have > history issues and can't use standard linux unistd.h. RISC-V would

RE: [PATCH 0/6] Remove usage of list iterator past the loop body

2022-03-07 Thread David Laight
From: Dan Carpenter > Sent: 07 March 2022 15:01 > > Updating this API is risky because some places rely on the old behavior > and not all of them have been updated. Here are some additional places > you might want to change. I really can't help thinking that trying to merge this patch is actuall

Re: [RFC PATCH] KVM: PPC: Book3s HV: Allow setting GTSE for the nested guest

2022-03-07 Thread Fabiano Rosas
"Aneesh Kumar K.V" writes: > Fabiano Rosas writes: > >> We're currently getting a Program Interrupt inside the nested guest >> kernel when running with GTSE disabled in the nested hypervisor. We >> allow any guest a cmdline override of GTSE for migration purposes. The >> nested guest does not kn

Re: [PATCH 0/6] Remove usage of list iterator past the loop body

2022-03-07 Thread Dan Carpenter
Updating this API is risky because some places rely on the old behavior and not all of them have been updated. Here are some additional places you might want to change. drivers/usb/host/uhci-q.c:466 link_async() warn: iterator used outside loop: 'pqh' drivers/infiniband/core/mad.c:968 ib_get_rmp

[5.17.0-rc6][DLPAR][SRIOV/mlx5]EEH errors and WARNING: CPU: 7 PID: 30505 at include/rdma/ib_verbs.h:3688 mlx5_ib_dev_res_cleanup

2022-03-07 Thread Abdul Haleem
Greeting's HMC DLPAR hotplug of SRIOV logical device backed with Everglade melanox adapter results in EEH error messages followed by WARNINGS on my PowerPC P10 LPAR running latest 5.17-rc6 kernel from hmc dlpar remove and than add the SRIOV device $ chhwres -r sriov -m ltcden11 --rsubtype log

[PATCH] powerpc/64/interrupt: Fix return to masked context after hard-mask irq becomes pending

2022-03-07 Thread Nicholas Piggin
When a synchronous interrupt[1] is taken in a local_irq_disable() region which has MSR[EE]=1, the interrupt handler will enable MSR[EE] as part of enabling MSR[RI], for peformance and profiling reasons. [1] Typically a hash fault, but in error cases this could be a page fault or facility unava

Re: [PATCH -next] powerpc/spufs: Fix build warning when CONFIG_PROC_FS=n

2022-03-07 Thread Christophe Leroy
Le 07/03/2022 à 14:10, Arnd Bergmann a écrit : > On Sun, Mar 6, 2022 at 9:04 PM Christophe Leroy > wrote: >> Le 05/03/2022 à 13:31, YueHaibing a écrit : >>> arch/powerpc/platforms/cell/spufs/sched.c:1055:12: warning: >>> ‘show_spu_loadavg’ defined but not used [-Wunused-function] >>>static

Re: [PATCH -next] powerpc/spufs: Fix build warning when CONFIG_PROC_FS=n

2022-03-07 Thread Arnd Bergmann
On Sun, Mar 6, 2022 at 9:04 PM Christophe Leroy wrote: > Le 05/03/2022 à 13:31, YueHaibing a écrit : > > arch/powerpc/platforms/cell/spufs/sched.c:1055:12: warning: > > ‘show_spu_loadavg’ defined but not used [-Wunused-function] > > static int show_spu_loadavg(struct seq_file *s, void *private)

Re: Build regressions/improvements in v5.17-rc7

2022-03-07 Thread Geert Uytterhoeven
On Mon, Mar 7, 2022 at 10:21 AM Geert Uytterhoeven wrote: > JFYI, when comparing v5.17-rc7[1] to v5.17-rc6[3], the summaries are: > - build errors: +4/-1 + /kisskb/src/arch/powerpc/kernel/stacktrace.c: error: implicit declaration of function 'nmi_cpu_backtrace' [-Werror=implicit-function-decl

Re: [RFC PATCH 6/7] serial: General support for multipoint addresses

2022-03-07 Thread Ilpo Järvinen
On Sun, 6 Mar 2022, Lukas Wunner wrote: > On Wed, Mar 02, 2022 at 11:56:05AM +0200, Ilpo Järvinen wrote: > > > This change is necessary for supporting devices with RS485 > > multipoint addressing [*]. > > If this is only used with RS485, why can't we just store the > addresses in struct serial_r

Re: [PATCH] powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E

2022-03-07 Thread Arnd Bergmann
On Fri, Mar 4, 2022 at 7:12 AM Michael Ellerman wrote: > > Since the IBM A2 CPU support was removed, see commit > fb5a515704d7 ("powerpc: Remove platforms/wsp and associated pieces"), > the only 64-bit Book3E CPUs we support are Freescale (NXP) ones. > > However our Kconfig still allows configurat