Re: [6.0-rc1] Kernel crash while running MCE tests

2022-08-22 Thread Ganesh
On 8/22/22 11:19, Michael Ellerman wrote: So I guess the compiler has decided not to inline it (why?!), and it is not marked noinstr, so it gets KASAN instrumentation which crashes in real mode. We'll have to make sure everything get_pseries_errorlog() is either forced inline, or marked noinstr

Re: [6.0-rc1] Kernel crash while running MCE tests

2022-08-22 Thread Ganesh
On 8/22/22 11:01, Sachin Sant wrote: On 19-Aug-2022, at 10:12 AM, Ganesh wrote We'll have to make sure everything get_pseries_errorlog() is either forced inline, or marked noinstr. Making the following functions always_inline and noinstr is fixing the issue. __always_inline pseries_errorlo

Re: [PATCH] i2c: pasemi: Add IRQ support for Apple Silicon

2022-08-22 Thread Dan Carpenter
: parisc-randconfig-m031-20220821 (https://download.01.org/0day-ci/archive/20220822/202208220231.f88sizqa-...@intel.com/config) compiler: hppa-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Reported-by: Dan Carpenter smatch

Re: [PATCH] powerpc: export cpu_smallcore_map for modules

2022-08-22 Thread Christoph Hellwig
On Mon, Aug 22, 2022 at 01:40:23PM +1000, Michael Ellerman wrote: > Randy Dunlap writes: > > drivers/gpu/drm/amd/amdkfd/kfd_device.c calls cpu_smt_mask(). > > This is an inline function on powerpc which references > > cpu_smallcore_map. > > > > Fixes: 425752c63b6f ("powerpc: Detect the presence of

Re: [PATCH 1/3] dt-bindings: reset: syscon-reboot: Add priority property

2022-08-22 Thread Rob Herring
On Sat, Aug 20, 2022 at 12:29:23PM +0200, Pali Rohár wrote: > This new optional priority property allows to specify custom priority level > of reset device. Default level was always 192. Why do we need/want this? What problem does it solve? > Signed-off-by: Pali Rohár > --- > .../devicetree/bin

Re: [PATCH] powerpc: export cpu_smallcore_map for modules

2022-08-22 Thread Alex Deucher
On Mon, Aug 22, 2022 at 9:16 AM Christoph Hellwig wrote: > > On Mon, Aug 22, 2022 at 01:40:23PM +1000, Michael Ellerman wrote: > > Randy Dunlap writes: > > > drivers/gpu/drm/amd/amdkfd/kfd_device.c calls cpu_smt_mask(). > > > This is an inline function on powerpc which references > > > cpu_smallc

Re: [PATCH 1/3] dt-bindings: reset: syscon-reboot: Add priority property

2022-08-22 Thread Pali Rohár
On Monday 22 August 2022 07:47:28 Rob Herring wrote: > On Sat, Aug 20, 2022 at 12:29:23PM +0200, Pali Rohár wrote: > > This new optional priority property allows to specify custom priority level > > of reset device. Default level was always 192. > > Why do we need/want this? What problem does it s

Re: [PATCH net-next] Remove DECnet support from kernel

2022-08-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller : On Wed, 17 Aug 2022 17:43:21 -0700 you wrote: > DECnet is an obsolete network protocol that receives more attention > from kernel janitors than users. It belongs in computer protocol > history museum not in Linux k

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-22 Thread Christophe Leroy
Le 20/08/2022 à 00:34, Randy Dunlap a écrit : > Hi-- > > On 8/19/22 14:12, Pali Rohár wrote: >> Currently powerpc early debugging contains lot of platform specific >> options, but does not support standard UART / serial 16550 console. >> >> Later legacy_serial.c code supports registering UART as

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-22 Thread Christophe Leroy
Le 20/08/2022 à 00:38, Pali Rohár a écrit : > On Friday 19 August 2022 15:34:14 Randy Dunlap wrote: >> Hi-- >> >> On 8/19/22 14:12, Pali Rohár wrote: >>> Currently powerpc early debugging contains lot of platform specific >>> options, but does not support standard UART / serial 16550 console. >>>

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-22 Thread Christophe Leroy
Le 20/08/2022 à 00:43, Randy Dunlap a écrit : > > > On 8/19/22 15:38, Pali Rohár wrote: >> On Friday 19 August 2022 15:34:14 Randy Dunlap wrote: >>> Hi-- >>> >>> On 8/19/22 14:12, Pali Rohár wrote: Currently powerpc early debugging contains lot of platform specific options, but does n

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-22 Thread Christophe Leroy
Le 19/08/2022 à 23:12, Pali Rohár a écrit : > Currently powerpc early debugging contains lot of platform specific > options, but does not support standard UART / serial 16550 console. > > Later legacy_serial.c code supports registering UART as early debug console > from device tree but it is not

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-22 Thread Pali Rohár
On Monday 22 August 2022 14:13:30 Christophe Leroy wrote: > >> CONFIG_PPC_EARLY_DEBUG_16550=y > >> # CONFIG_PPC_EARLY_DEBUG_MEMCONS is not set > >> CONFIG_PPC_EARLY_DEBUG_16550_PHYSADDR= > >> CONFIG_PPC_EARLY_DEBUG_16550_STRIDE=1 > >> > >> which then causes a kconfig prompt when starting > >> the b

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-22 Thread Pali Rohár
On Monday 22 August 2022 14:25:57 Christophe Leroy wrote: > Le 19/08/2022 à 23:12, Pali Rohár a écrit : > > Currently powerpc early debugging contains lot of platform specific > > options, but does not support standard UART / serial 16550 console. > > > > Later legacy_serial.c code supports regist

Re: [PATCH v3 1/4] Make place for common balloon code

2022-08-22 Thread Nadav Amit
On Aug 22, 2022, at 4:37 AM, Alexander Atanasov wrote: > mm/balloon_compaction.c -> mm/balloon.c > File already contains code that is common along balloon > drivers so rename it to reflect its contents. > > include/linux/balloon_compaction.h -> include/linux/balloon.h > Remove it from files whi

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-22 Thread Gabriel Paubert
On Mon, Aug 22, 2022 at 05:33:35PM +0200, Pali Rohár wrote: > On Monday 22 August 2022 14:25:57 Christophe Leroy wrote: > > Le 19/08/2022 à 23:12, Pali Rohár a écrit : > > > Currently powerpc early debugging contains lot of platform specific > > > options, but does not support standard UART / seria

Re: [PATCH] powerpc/85xx: DTS: Add CPLD definitions for P1021RDB Combo Board CPL Design

2022-08-22 Thread Rob Herring
On Fri, Aug 19, 2022 at 10:44:33AM +0200, Pali Rohár wrote: > P1021RDB Combo Board CPLD Design is used on following Freescale boards: > P1021RDB-PC, P1020RDB-PD, P1020MBG-PC, P1020UTM-PC and P2020RDB-PCA. > > Add CPLD definitions for all these boards for which already exist DTS file. > > CPLD has

Re: [PATCH net-next v4 2/8] dt-bindings: net: fman: Add additional interface properties

2022-08-22 Thread Rob Herring
On Thu, 04 Aug 2022 15:46:59 -0400, Sean Anderson wrote: > At the moment, mEMACs are configured almost completely based on the > phy-connection-type. That is, if the phy interface is RGMII, it assumed > that RGMII is supported. For some interfaces, it is assumed that the > RCW/bootloader has set up

Re: [PATCH v7 6/6] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2022-08-22 Thread Rob Herring
On Fri, 12 Aug 2022 12:43:05 -0400, Stefan Berger wrote: > The memory area of the TPM measurement log is currently not properly > duplicated for carrying it across kexec when an Open Firmware > Devicetree is used. Therefore, the contents of the log get corrupted. > Fix this for the kexec_file_load(

Re: [PATCH] powerpc/85xx: DTS: Add CPLD definitions for P1021RDB Combo Board CPL Design

2022-08-22 Thread Pali Rohár
On Monday 22 August 2022 12:00:56 Rob Herring wrote: > On Fri, Aug 19, 2022 at 10:44:33AM +0200, Pali Rohár wrote: > > P1021RDB Combo Board CPLD Design is used on following Freescale boards: > > P1021RDB-PC, P1020RDB-PD, P1020MBG-PC, P1020UTM-PC and P2020RDB-PCA. > > > > Add CPLD definitions for a

[PATCH 4/5] ASoC: fsl: fsl-utils: remove useless assignment

2022-08-22 Thread Pierre-Louis Bossart
cppcheck warning: sound/soc/fsl/fsl_utils.c:127:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] int ret = 0; ^ Signed-off-by: Pierre-Louis Bossart Reviewed-by: Bard Liao Reviewed-by: Kai Vehmanen Reviewed-by: Chao Song --- sound/soc/fsl/fsl_utils.

[PATCH v2] powerpc: Add support for early debugging via Serial 16550 console

2022-08-22 Thread Pali Rohár
Currently powerpc early debugging contains lot of platform specific options, but does not support standard UART / serial 16550 console. Later legacy_serial.c code supports registering UART as early debug console from device tree but it is not early during booting, but rather later after machine de

[PATCH] powerpc: udbg: Remove extern function prototypes

2022-08-22 Thread Pali Rohár
'extern' keywork is pointless and deprecated for function prototypes. Signed-off-by: Pali Rohár Suggested-by: Gabriel Paubert --- Depends on patch: https://lore.kernel.org/linuxppc-dev/20220819211254.22192-1-p...@kernel.org/ --- arch/powerpc/include/asm/udbg.h | 56 -

Re: [PATCH] net: move from strlcpy with unused retval to strscpy

2022-08-22 Thread Jakub Kicinski
On Thu, 18 Aug 2022 23:00:34 +0200 Wolfram Sang wrote: > 261 files changed, 568 insertions(+), 568 deletions(-) Unfortunately looks like patchwork was unable to ingest this change :( Not sure why. Would you mind splitting it into 3 chunks - wireless, ethernet, everything else, and resending? Let

Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-22 Thread Zhouyi Zhou
On Mon, Aug 22, 2022 at 2:04 PM Christophe Leroy wrote: > > > > Le 21/08/2022 à 03:00, Zhouyi Zhou a écrit : > > In ppc, compiler based sanitizer will generate instrument instructions > > around statement WRITE_ONCE(local_paca->irq_soft_mask, mask): > > > > 0xc0295cb0 <+0>: addis r2

Re: [PATCH] i2c: pasemi: Add IRQ support for Apple Silicon

2022-08-22 Thread Michael Ellerman
Arminder Singh writes: > This is the first time I'm interacting with the Linux mailing lists, so > please don't eviscerate me *too much* if I get the formatting wrong. > Of course I'm always willing to take criticism and improve my formatting > in the future. > > This patch adds support for IRQs

Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-22 Thread Christophe Leroy
Le 23/08/2022 à 03:43, Zhouyi Zhou a écrit : > On Mon, Aug 22, 2022 at 2:04 PM Christophe Leroy > wrote: >> >> >> >> Le 21/08/2022 à 03:00, Zhouyi Zhou a écrit : >>> In ppc, compiler based sanitizer will generate instrument instructions >>> around statement WRITE_ONCE(local_paca->irq_soft_mask,

Re: [PATCH 4/5] ASoC: fsl: fsl-utils: remove useless assignment

2022-08-22 Thread Shengjiu Wang
On Tue, Aug 23, 2022 at 2:43 AM Pierre-Louis Bossart < pierre-louis.boss...@linux.intel.com> wrote: > cppcheck warning: > > sound/soc/fsl/fsl_utils.c:127:10: style: Variable 'ret' is assigned a > value that is never used. [unreadVariable] > int ret = 0; > ^ > > Signed-off-by: Pierre-Loui