[powerpc:next] BUILD SUCCESS 4958b3a7bb0f6669e569684e3cd90e413f450ba8

2023-11-24 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next branch HEAD: 4958b3a7bb0f6669e569684e3cd90e413f450ba8 powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu elapsed time: 2113m configs tested: 53 configs skipped: 1 The following configs

[powerpc:next-test] BUILD SUCCESS 5a0756654f337bc86a5a85e50bcf8a3a070ade42

2023-11-24 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test branch HEAD: 5a0756654f337bc86a5a85e50bcf8a3a070ade42 powerpc/lib: Avoid array bounds warnings in vec ops elapsed time: 2068m configs tested: 63 configs skipped: 1 The following configs have been built

Re: [PATCH 0/8] devm_led_classdev_register() usage problem

2023-11-24 Thread George Stark
Hello Andy Thanks for the review. On 11/24/23 18:28, Andy Shevchenko wrote: On Wed, Oct 25, 2023 at 04:07:29PM +0300, George Stark wrote: Lots of drivers use devm_led_classdev_register() to register their led objects and let the kernel free those leds at the driver's remove stage. It can lead

Re: [PATCH v1] powerpc: Add PVN support for HeXin C2000 processor

2023-11-24 Thread Nicholas Piggin
On Thu Nov 23, 2023 at 7:36 PM AEST, Zhao Ke wrote: > HeXin Tech Co. has applied for a new PVN from the OpenPower Community > for its new processor C2000. The OpenPower has assigned a new PVN > and this newly assigned PVN is 0x0066, add pvr register related > support for this PVN. > >

Re: [RFC] UBUNTU: [Config] y2038: Disable COMPAT and COMPAT_32BIT_TIME on ppc64le

2023-11-24 Thread Dimitri John Ledkov
On Fri, 24 Nov 2023 at 04:59, Michael Ellerman wrote: > > Dimitri John Ledkov writes: > > BugLink: https://bugs.launchpad.net/bugs/2038587 > > > > ppc64le is exclusively little endian and 64-bit, thus there is no need > > for COMPAT_32BIT_TIME, nor COMPAT. > > To be pedantic, the ppc64le kernel

Re: [PATCH] powerpc/85xx: Fix typo in code comment

2023-11-24 Thread Dario Binacchi
On Fri, Nov 24, 2023 at 2:08 PM Christophe Leroy wrote: > > > > Le 24/11/2023 à 11:02, Dario Binacchi a écrit : > > s/singals/signals/ > > Is that really worth it to spend time on such a change ? > > By sending such a patch, you require people to spend time reviewing your > patch, then maintainer

Re: [PATCH 15/22] arch: vdso: consolidate gettime prototypes

2023-11-24 Thread Mark Brown
On Wed, Nov 08, 2023 at 01:58:36PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The VDSO functions are defined as globals in the kernel sources but intended > to be called from userspace, so there is no need to declare them in a kernel > side header. This is in -next as commit

[PATCH] powerpc/85xx: Fix typo in code comment

2023-11-24 Thread Dario Binacchi
s/singals/signals/ Fixes: 04e358d896a7 ("powerpc/85xx: Add Quicc Engine support for p1025rdb") Signed-off-by: Dario Binacchi --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c

Re: [PATCH v2 0/4] eventfd: simplify signal helpers

2023-11-24 Thread Christian Brauner
On Wed, 22 Nov 2023 13:48:21 +0100, Christian Brauner wrote: > Hey everyone, > > This simplifies the eventfd_signal() and eventfd_signal_mask() helpers > significantly. They can be made void and not take any unnecessary > arguments. > > I've added a few more simplifications based on Sean's

Re: [PATCH v3] powerpc: Adjust config HOTPLUG_CPU dependency

2023-11-24 Thread Vishal Chourasia
On 24/11/23 8:09 am, Michael Ellerman wrote: > Hi Vishal, > > I think our wires got crossed here somewhere :) > > Vishal Chourasia writes: >> Changed HOTPLUG_CPU dependency to SMP and either ARCH_HIBERNATION_POSSIBLE or >> ARCH_SUSPEND_POSSIBLE, aligning with systems' suspend/hibernation >>

Re: [PATCH RFC 06/12] mm/gup: Drop folio_fast_pin_allowed() in hugepd processing

2023-11-24 Thread Peter Xu
Hi, Christophe, Michael, Aneesh, [I'll reply altogether here] On Fri, Nov 24, 2023 at 07:03:11AM +, Christophe Leroy wrote: > I added that code with commit e17eae2b8399 ("mm: pagewalk: fix walk for > hugepage tables") because I was getting crazy displays when dumping >

Re: [PATCH v5 4/5] tty: Add SBI debug console support to HVC SBI driver

2023-11-24 Thread Andrew Jones
On Fri, Nov 24, 2023 at 12:39:04PM +0530, Anup Patel wrote: > From: Atish Patra > > RISC-V SBI specification supports advanced debug console > support via SBI DBCN extension. > > Extend the HVC SBI driver to support it. > > Signed-off-by: Atish Patra > Signed-off-by: Anup Patel > --- >

Re: [PATCH RFC 06/12] mm/gup: Drop folio_fast_pin_allowed() in hugepd processing

2023-11-24 Thread Peter Xu
On Fri, Nov 24, 2023 at 09:06:01AM +, Ryan Roberts wrote: > I don't have any micro-benchmarks for GUP though, if that's your question. Is > there an easy-to-use test I can run to get some numbers? I'd be happy to try > it out. Thanks Ryan. Then nothing is needed to be tested if gup is not

Re: Please backport feea65a338e5 ("powerpc/powernv: Fix fortify source warnings in opal-prd.c")

2023-11-24 Thread Greg KH
On Mon, Nov 20, 2023 at 10:20:13AM +1100, Michael Ellerman wrote: > Hi, > > Please backport feea65a338e5 ("powerpc/powernv: Fix fortify source > warnings in opal-prd.c") to the 6.5, 6.1, 5.15, 5.10 stable trees. Now queued up, thanks. greg k-h

Re: [PATCH] powerpc/mm: Fix null-pointer dereference in pgtable_cache_add

2023-11-24 Thread Christophe Leroy
Le 22/11/2023 à 10:00, Kunwu Chan a écrit : > [Vous ne recevez pas souvent de courriers de chen...@kylinos.cn. Découvrez > pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] > > kasprintf() returns a pointer to dynamically allocated memory > which can be NULL upon

Re: [PATCH 0/8] devm_led_classdev_register() usage problem

2023-11-24 Thread Andy Shevchenko
On Wed, Oct 25, 2023 at 04:07:29PM +0300, George Stark wrote: > Lots of drivers use devm_led_classdev_register() to register their led objects > and let the kernel free those leds at the driver's remove stage. > It can lead to a problem due to led_classdev_unregister() > implementation calls

Re: [PATCH 0/8] devm_led_classdev_register() usage problem

2023-11-24 Thread Andy Shevchenko
On Sat, Nov 4, 2023 at 9:17 AM George Stark wrote: > > Hello Andy > > Could you please take a look at this patch series? > > I've just found your post on habr about devres API misusing and I think > this is just another case. Just had a look, sorry for the delay. By quickly reading it seems to

[powerpc:merge] BUILD SUCCESS 9a15ae60f2c9707433b01e55815cd9142be102b2

2023-11-24 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git merge branch HEAD: 9a15ae60f2c9707433b01e55815cd9142be102b2 Automatic merge of 'master' into merge (2023-11-22 00:21) elapsed time: 4375m configs tested: 239 configs skipped: 3 The following configs have been

Re: [RFC] UBUNTU: [Config] y2038: Disable COMPAT and COMPAT_32BIT_TIME on ppc64le

2023-11-24 Thread Dimitri John Ledkov
On Fri, 24 Nov 2023 at 08:25, Michal Suchánek wrote: > > On Fri, Nov 24, 2023 at 03:59:04PM +1100, Michael Ellerman wrote: > > Dimitri John Ledkov writes: > > > BugLink: https://bugs.launchpad.net/bugs/2038587 > > > > > > ppc64le is exclusively little endian and 64-bit, thus there is no need > >

Re: [PATCH] powerpc/85xx: Fix typo in code comment

2023-11-24 Thread Christophe Leroy
Le 24/11/2023 à 11:02, Dario Binacchi a écrit : > s/singals/signals/ Is that really worth it to spend time on such a change ? By sending such a patch, you require people to spend time reviewing your patch, then maintainer has to spend time handling your patch. Furthermore, as you added a

Re: [PATCH] powerpc/lib: Avoid array bounds warnings in vec ops

2023-11-24 Thread Naveen N Rao
On Thu, Nov 23, 2023 at 09:17:54AM -0600, Gustavo A. R. Silva wrote: > > > > To be honest I don't know how paranoid we want to get, we could end up > > > putting WARN's all over the kernel :) > > > > > > In this case I guess if the size is too large we overflow the buffer on > > > the kernel

[PATCH v2 03/10] i2c: pasemi: Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON

2023-11-24 Thread Heiner Kallweit
After removal of the legacy eeprom driver the only remaining I2C client device driver supporting I2C_CLASS_SPD is jc42. Because this driver also supports I2C_CLASS_HWMON, adapters don't have to declare support for I2C_CLASS_SPD if they support I2C_CLASS_HWMON. It's one step towards getting rid of

[PATCH v2 00/10] Don't let i2c adapters declare I2C_CLASS_SPD support if they support I2C_CLASS_HWMON

2023-11-24 Thread Heiner Kallweit
After removal of the legacy eeprom driver the only remaining I2C client device driver supporting I2C_CLASS_SPD is jc42. Because this driver also supports I2C_CLASS_HWMON, adapters don't have to declare support for I2C_CLASS_SPD if they support I2C_CLASS_HWMON. It's one step towards getting rid of

[PATCH 2/6] powerpc/fsl-pci: Use PCI_HEADER_TYPE_MASK instead of literal

2023-11-24 Thread Ilpo Järvinen
Replace 0x7f literals with PCI_HEADER_TYPE_MASK. Signed-off-by: Ilpo Järvinen --- arch/powerpc/sysdev/fsl_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 3868483fbe29..ef7707ea0db7 100644 ---

Re: [PATCH RFC 06/12] mm/gup: Drop folio_fast_pin_allowed() in hugepd processing

2023-11-24 Thread Ryan Roberts
On 23/11/2023 19:46, Peter Xu wrote: > On Thu, Nov 23, 2023 at 07:11:19PM +, Ryan Roberts wrote: >> Hi, >> >> I'm not sure I've 100% understood the crossover between this series and my >> work >> to support arm64's contpte mappings generally for anonymous and file-backed >> memory. > > No

Re: [powerpc] Lockups seen during/just after boot (bisected)

2023-11-24 Thread Sachin Sant
> On 24-Nov-2023, at 2:25 PM, Vlastimil Babka wrote: > > On 11/23/23 15:35, Chengming Zhou wrote: >> On 2023/11/23 19:27, Sachin Sant wrote: >>> While booting recent -next kernel on IBM Power server, I have observed >>> lockups >>> either during boot or just after. >>> >>> [ 3631.015775]

Re: [powerpc] Lockups seen during/just after boot (bisected)

2023-11-24 Thread Vlastimil Babka
On 11/23/23 15:35, Chengming Zhou wrote: > On 2023/11/23 19:27, Sachin Sant wrote: >> While booting recent -next kernel on IBM Power server, I have observed >> lockups >> either during boot or just after. >> >> [ 3631.015775] watchdog: CPU 3 self-detected hard LOCKUP @ >>

Re: [PATCH v1] powerpc: Add PVN support for HeXin C2000 processor

2023-11-24 Thread Zhao Ke 赵 可
Hi Michael and Greg, On 2023/11/23 19:02, Michael Ellerman wrote: Greg KH writes: On Thu, Nov 23, 2023 at 05:36:11PM +0800, Zhao Ke wrote: HeXin Tech Co. has applied for a new PVN from the OpenPower Community for its new processor C2000. The OpenPower has assigned a new PVN and this newly

Re: [PATCH v2 2/7] kexec_file: print out debugging message if required

2023-11-24 Thread Baoquan He
On 11/23/23 at 11:16pm, Joe Perches wrote: > On Fri, 2023-11-24 at 11:36 +0800, Baoquan He wrote: > > Replace pr_debug() with the newly added kexec_dprintk() in kexec_file > > loading related codes. > > trivia for pr_debug -> kexec_dprintk conversions for > the entire patch set: OK, will check

Re: [RFC] UBUNTU: [Config] y2038: Disable COMPAT and COMPAT_32BIT_TIME on ppc64le

2023-11-24 Thread Michal Suchánek
On Fri, Nov 24, 2023 at 03:59:04PM +1100, Michael Ellerman wrote: > Dimitri John Ledkov writes: > > BugLink: https://bugs.launchpad.net/bugs/2038587 > > > > ppc64le is exclusively little endian and 64-bit, thus there is no need > > for COMPAT_32BIT_TIME, nor COMPAT. > > To be pedantic, the