Re: [PATCH v3 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-14 Thread Pratik Sampat
Hello, On 12/07/21 9:13 pm, Fabiano Rosas wrote: "Pratik R. Sampat" writes: Hi, have you seen Documentation/core-api/kobject.rst, particularly the part that says: "When you see a sysfs directory full of other directories, generally each of those directories corresponds to a kobject in the

RE: [EXT] [ppc][dlpar] WARNING: CPU: 2 PID: 1131623 at drivers/scsi/qla2xxx/qla_init.c:498 qla2x00_async_adisc_sp_done+0x294/0x2b0

2021-07-14 Thread Quinn Tran
Abdul, For this test case, the warning can be treated as cometic. During this port disable / driver unload path, driver flush all command but fail to set the proper error code in this path. A recent patch does a warning if the error code is not part of the error code list. Regardless, the sa

Re: [PATCH v3 2/5] dt-bindings: nintendo-otp: Document the Wii and Wii U OTP support

2021-07-14 Thread Rob Herring
On Fri, Jul 02, 2021 at 12:57:40AM +0200, Emmanuel Gil Peyrot wrote: > Both of these consoles use the exact same two registers, even at the > same address, but the Wii U has eight banks of 128 bytes memory while > the Wii only has one, hence the two compatible strings. > > Signed-off-by: Emmanuel

Re: [PATCH] soc: fsl: qe: convert QE interrupt controller to platform_device

2021-07-14 Thread Li Yang
On Mon, Jul 5, 2021 at 6:12 AM Maxim Kochetkov wrote: > > Since 5.13 QE's ucc nodes can't get interrupts from devicetree: > > ucc@2000 { > cell-index = <1>; > reg = <0x2000 0x200>; > interrupts = <32>; > interrupt-parent = <&q

Re: [PATCH v1 2/4] mm/memory_hotplug: remove nid parameter from arch_remove_memory()

2021-07-14 Thread Pankaj Gupta
> The parameter is unused, let's remove it. > > Acked-by: Catalin Marinas > Acked-by: Michael Ellerman (powerpc) > Acked-by: Heiko Carstens (s390) > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Heiko Carstens > Cc: Vas

Re: [PATCH v4 10/11] powerpc/pseries/iommu: Make use of DDW for indirect mapping

2021-07-14 Thread Leonardo Brás
On Wed, 2021-07-14 at 18:38 +1000, Alexey Kardashevskiy wrote: > >   for (i = 0; i < > > > > ARRAY_SIZE(pci->phb->mem_resources); > > > > i++) { > > > > +   const unsigned long mask = > > > > IORESOURCE_MEM_64 > > > > > IORESOURCE_MEM; > > > > + > > > > +

[Bug 210749] sysfs: cannot create duplicate filename '/bus/nvmem/devices/module-vpd'

2021-07-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=210749 Erhard F. (erhar...@mailbox.org) changed: What|Removed |Added Attachment #295621|0 |1 is obsolete|

[Bug 210749] sysfs: cannot create duplicate filename '/bus/nvmem/devices/module-vpd'

2021-07-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=210749 --- Comment #9 from Erhard F. (erhar...@mailbox.org) --- Created attachment 297867 --> https://bugzilla.kernel.org/attachment.cgi?id=297867&action=edit dmesg (kernel 5.14-rc1 w. 61f764c307f6, 4e302c3b568e reverted, Talos II) Yes, I can confirm

Re: [PATCH v4 07/11] powerpc/pseries/iommu: Reorganize iommu_table_setparms*() with new helper

2021-07-14 Thread Leonardo Brás
On Wed, 2021-07-14 at 18:32 +1000, Alexey Kardashevskiy wrote: > > > On 13/07/2021 14:47, Leonardo Brás wrote: > > Hello Alexey, > > > > On Fri, 2021-06-18 at 19:26 -0300, Leonardo Brás wrote: > > > > > > > > > +    unsigned long liobn, > > > > > unsigned lon

[Bug 213733] Kernel NULL pointer dereference on read (Oops: Kernel access of bad area, sig: 7 [#1]) at systemctl poweroff

2021-07-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=213733 --- Comment #1 from Erhard F. (erhar...@mailbox.org) --- Created attachment 297859 --> https://bugzilla.kernel.org/attachment.cgi?id=297859&action=edit kernel .config (kernel 5.14-rc1, Talos II) -- You may reply to this email to add a comment.

[Bug 213733] New: Kernel NULL pointer dereference on read (Oops: Kernel access of bad area, sig: 7 [#1]) at systemctl poweroff

2021-07-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=213733 Bug ID: 213733 Summary: Kernel NULL pointer dereference on read (Oops: Kernel access of bad area, sig: 7 [#1]) at systemctl poweroff Product: Platform Specific/Hardware Version: 2.5

Re: [PATCH v2] powerpc/rtas_flash: fix a potential buffer overflow

2021-07-14 Thread Christophe Leroy
Yi Zhuang a écrit : Since snprintf() returns the possible output size instead of the actual output size, the available flash_msg length returned by get_validate_flash_msg may exceed the given buffer limit when simple_read_from_buffer calls copy_to_user Reported-by: kernel test robot Fixes: a9

[PATCH] powerpc/kexec: blacklist functions called in real mode for kprobe

2021-07-14 Thread Hari Bathini
As kprobe does not handle events happening in real mode, blacklist the functions that only get called in real mode or in kexec sequence with MMU turned off. Signed-off-by: Hari Bathini --- arch/powerpc/kernel/head_64.S|2 ++ arch/powerpc/kexec/core_64.c |6 --

Re: [RFC PATCH 10/43] powerpc/64s: Always set PMU control registers to frozen/disabled when not in use

2021-07-14 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of July 12, 2021 12:41 pm: > Excerpts from Athira Rajeev's message of July 10, 2021 12:50 pm: >> >> >>> On 22-Jun-2021, at 4:27 PM, Nicholas Piggin wrote: >>> >>> KVM PMU management code looks for particular frozen/disabled bits in >>> the PMU registers s

[PATCH v2] powerpc/rtas_flash: fix a potential buffer overflow

2021-07-14 Thread Yi Zhuang
Since snprintf() returns the possible output size instead of the actual output size, the available flash_msg length returned by get_validate_flash_msg may exceed the given buffer limit when simple_read_from_buffer calls copy_to_user Reported-by: kernel test robot Fixes: a94a14720eaf5 powerpc/rtas

Re: [PATCH v4 5/5] bus: Make remove callback return void

2021-07-14 Thread Sudeep Holla
On Tue, Jul 13, 2021 at 09:35:22PM +0200, Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also re

Re: [PATCH v4 5/5] bus: Make remove callback return void

2021-07-14 Thread Geert Uytterhoeven
On Tue, Jul 13, 2021 at 9:35 PM Uwe Kleine-König wrote: > The driver core ignores the return value of this callback because there > is only little it can do when a device disappears. > > This is the final bit of a long lasting cleanup quest where several > buses were converted to also return void

Re: [PATCH v4 10/11] powerpc/pseries/iommu: Make use of DDW for indirect mapping

2021-07-14 Thread Alexey Kardashevskiy
On 13/07/2021 14:36, Leonardo Brás wrote: On Tue, 2021-05-11 at 17:57 +1000, Alexey Kardashevskiy wrote: On 01/05/2021 02:31, Leonardo Bras wrote: [...]   pmem_present = dn != NULL; @@ -1218,8 +1224,12 @@ static bool enable_ddw(struct pci_dev *dev, struct device_node *pdn)   

Re: [PATCH v4 07/11] powerpc/pseries/iommu: Reorganize iommu_table_setparms*() with new helper

2021-07-14 Thread Alexey Kardashevskiy
On 13/07/2021 14:47, Leonardo Brás wrote: Hello Alexey, On Fri, 2021-06-18 at 19:26 -0300, Leonardo Brás wrote: +    unsigned long liobn, unsigned long win_addr, +    unsigned long window_size, unsigned long page_shift