Re: [PATCH] powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending

2022-01-18 Thread Athira Rajeev
> On 19-Jan-2022, at 9:54 AM, Nicholas Piggin wrote: > > Excerpts from Athira Rajeev's message of January 15, 2022 5:20 pm: >> Running selftest with CONFIG_PPC_IRQ_SOFT_MASK_DEBUG enabled in kernel >> triggered below warning: >> >> [ 172.851380] [ cut here ] >> [

Re: [PATCH] powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending

2022-01-18 Thread Nicholas Piggin
Excerpts from Athira Rajeev's message of January 15, 2022 5:20 pm: > Running selftest with CONFIG_PPC_IRQ_SOFT_MASK_DEBUG enabled in kernel > triggered below warning: > > [ 172.851380] [ cut here ] > [ 172.851391] WARNING: CPU: 8 PID: 2901 at >

Re: [PATCH v2 3/3] x86: Support huge vmalloc mappings

2022-01-18 Thread Nicholas Piggin
Excerpts from Dave Hansen's message of January 19, 2022 3:28 am: > On 1/17/22 6:46 PM, Nicholas Piggin wrote: >>> This all sounds very fragile to me. Every time a new architecture would >>> get added for huge vmalloc() support, the developer needs to know to go >>> find that architecture's

Re: [PATCH 00/16] Remove usage of the deprecated "pci-dma-compat.h" API

2022-01-18 Thread Martin K. Petersen
On Thu, 6 Jan 2022 22:45:13 +0100, Christophe JAILLET wrote: > This serie axes all the remaining usages of the deprecated "pci-dma-compat.h" > API. > > All these patches have already been posted. > > They have been generated with a coccinelle script. > The tricky parts are patches that use

[powerpc:fixes-test] BUILD SUCCESS aee101d7b95a03078945681dd7f7ea5e4a1e7686

2022-01-18 Thread kernel test robot
eiger_defconfig sh magicpanelr2_defconfig arm randconfig-c002-20220116 arm randconfig-c002-20220117 arm randconfig-c002-20220118 arm randconfig-c002-20220119 ia64 allmodconfig ia64

[PATCH v2 net 3/4] powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses

2022-01-18 Thread Tobias Waldekranz
This block is used in (at least) T1024 and T1040, including their variants like T1023 etc. Fixes: d55ad2967d89 ("powerpc/mpc85xx: Create dts components for the FSL QorIQ DPAA FMan") Signed-off-by: Tobias Waldekranz --- arch/powerpc/boot/dts/fsl/qoriq-fman3l-0.dtsi | 2 ++ 1 file changed, 2

Re: [PATCH net 1/4] net/fsl: xgmac_mdio: Add workaround for erratum A-009885

2022-01-18 Thread Jakub Kicinski
On Mon, 17 Jan 2022 15:00:41 +0100 Andrew Lunn wrote: > > Should I send a v2 even if nothing else > > pops up, or is this more of a if-you're-sending-a-v2-anyway type of > > comment? > > If you reply with a Fixes: patchwork will automagically append it like > it does Reviewed-by, Tested-by etc.

Re: [PATCH v3] powerpc/papr_scm: Implement initial support for injecting smart errors

2022-01-18 Thread Ira Weiny
On Thu, Jan 13, 2022 at 05:32:52PM +0530, Vaibhav Jain wrote: [snip] > > +/* Inject a smart error Add the dirty-shutdown-counter value to the pdsm */ > +static int papr_pdsm_smart_inject(struct papr_scm_priv *p, > + union nd_pdsm_payload *payload) > +{ > + int

Re: [PATCH v2 3/3] x86: Support huge vmalloc mappings

2022-01-18 Thread Dave Hansen
On 1/17/22 6:46 PM, Nicholas Piggin wrote: >> This all sounds very fragile to me. Every time a new architecture would >> get added for huge vmalloc() support, the developer needs to know to go >> find that architecture's module_alloc() and add this flag. > This is documented in the Kconfig. > >

Re: [PATCH v2 2/5] dt-bindings: tlv320aic31xx: Define PLL clock inputs

2022-01-18 Thread Mark Brown
On Mon, Jan 17, 2022 at 10:21:06AM -0300, Ariel D'Alessandro wrote: > Add constants for the different PLL clock inputs in tlv320aic31xx. Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what

Re: Please backport b6b0d883bbb8 to v5.10

2022-01-18 Thread Greg Kroah-Hartman
On Tue, Jan 18, 2022 at 11:44:35PM +1100, Michael Ellerman wrote: > Hi Greg, > > Could you please backport: > > b6b0d883bbb8 ("powerpc/pseries: Get entry and uaccess flush required bits > from H_GET_CPU_CHARACTERISTICS") Do you really mean: 65c7d070850e ("powerpc/pseries: Get entry

Re: [PATCH] powerpc/fsl: fix the schema check errors for fsl,tmu-calibration

2022-01-18 Thread David Heidelberg
Hello, can I ask for review please? Thanks. David Heidelberg On Fri, Oct 29 2021 at 14:17:33 +0200, David Heidelberg wrote: fsl,tmu-calibration is in u32-matrix format. Use matching property syntax. No functional changes. Fixes warnings as: $ make dtbs_check ...

Please backport b6b0d883bbb8 to v5.10

2022-01-18 Thread Michael Ellerman
Hi Greg, Could you please backport: b6b0d883bbb8 ("powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS") to the v5.10 stable kernel. Thanks. cheers

Re: [PATCH v4] powerpc/mce: Avoid using irq_work_queue() in realmode

2022-01-18 Thread kernel test robot
Hi Ganesh, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v5.16 next-20220118] [cannot apply to scottwood/next mpe/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [RFC PATCH 3/3] powerpc/pseries/vas: Use migration_in_progress to disable DLPAR

2022-01-18 Thread Haren Myneni
On Fri, 2022-01-14 at 11:59 -0600, Nathan Lynch wrote: > Haren Myneni writes: > > > Before migration starts, all secondary CPUs will be offline which > > can invoke VAS DLPAR event. > > I don't understand this statement, so I can't evaluate the patch. The > current LPM implementation does not

Re: [PATCH net 3/4] powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses

2022-01-18 Thread Tobias Waldekranz
On Sun, Jan 16, 2022 at 22:15, Tobias Waldekranz wrote: > This block is used in (at least) T1024 and T1040, including their > variants like T1023 etc. > > Signed-off-by: Tobias Waldekranz Fixes: d55ad2967d89 ("powerpc/mpc85xx: Create dts components for the FSL QorIQ DPAA FMan")

Re: [PATCH net 1/4] net/fsl: xgmac_mdio: Add workaround for erratum A-009885

2022-01-18 Thread Tobias Waldekranz
On Sun, Jan 16, 2022 at 22:15, Tobias Waldekranz wrote: > Once an MDIO read transaction is initiated, we must read back the data > register within 16 MDC cycles after the transaction completes. Outside > of this window, reads may return corrupt data. > > Therefore, disable local interrupts in the

Re: [PATCH 2/3] vstatus: Add user space API definitions for VSTATUS, NOKERNINFO and TIOCSTAT

2022-01-18 Thread Arnd Bergmann
On Tue, Jan 18, 2022 at 5:43 AM Walt Drummond wrote: > diff --git a/include/uapi/asm-generic/ioctls.h > b/include/uapi/asm-generic/ioctls.h > index cdc9f4ca8c27..eafb662d6a0e 100644 > --- a/include/uapi/asm-generic/ioctls.h > +++ b/include/uapi/asm-generic/ioctls.h > @@ -97,6 +97,7 @@ > >