RE: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2

2021-12-15 Thread Michael Kelley (LINUX)
From: Thomas Gleixner Sent: Wednesday, December 15, 2021 8:36 AM > > On Wed, Dec 15 2021 at 17:18, Thomas Gleixner wrote: > > > On Tue, Dec 14 2021 at 22:19, Thomas Gleixner wrote: > >> On Tue, Dec 14 2021 at 14:56, Nishanth Menon wrote: > >> > >> thanks for trying. I'll have a look again with

Re: [next] powerpc: book3s_hv.c:4591:27: error: 'struct kvm_vcpu' has no member named 'wait'

2021-12-15 Thread Michael Ellerman
t;wait); >^~ > make[3]: *** [scripts/Makefile.build:289: arch/powerpc/kvm/book3s_hv.o] Error > 1 > > meta data: > --- > git describe: next-20211214 Should be fixed in next-20211215 by: 63fa47ba886b ("KVM: PPC: Book3S HV P9: Use kvm_arch_vcpu_get_wait() to get rcuwait object") cheers

Re: [PATCH v4] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-15 Thread Michael Ellerman
Rob Herring writes: > Use of the of_scan_flat_dt() function predates libfdt and is discouraged > as libfdt provides a nicer set of APIs. Rework > early_init_dt_scan_memory() to be called directly and use libfdt. > > Cc: John Crispin > Cc: Thomas Bogendoerfer > Cc: Michael Ellerman > Cc: Benjami

Re: [PATCH v3 0/5] rtc: nintendo: Add a RTC driver for the GameCube, Wii and Wii U

2021-12-15 Thread Michael Ellerman
Emmanuel Gil Peyrot writes: > These three consoles share a device, the MX23L4005, which contains a > clock and 64 bytes of SRAM storage, and is exposed on the EXI bus > (similar to SPI) on channel 0, device 1. This driver allows it to be > used as a Linux RTC device, where time can be read and se

[Bug 215285] power9 le: amdgpu: *ERROR* hw_init of IP block failed -22

2021-12-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215285 --- Comment #1 from R0b0t1 (s...@aeam.us) --- Probable cause: missing dependencies (https://bugs.gentoo.org/736994). For PPC64, unsure of fix, see https://bugs.gentoo.org/829209 -- is there really a hard dependency on X86_64 and ACPI? -- You may

Re: [PATCH 0/7] Cleanup after removal of configs

2021-12-15 Thread Arnd Bergmann
On Fri, Dec 10, 2021 at 9:38 PM Alexandre Ghiti wrote: > > On Fri, Nov 5, 2021 at 4:56 PM Arnd Bergmann wrote: > > > > On Fri, Nov 5, 2021 at 4:43 PM Alexandre Ghiti > > wrote: > > > > > > While bumping from 5.13 to 5.15, I found that a few deleted configs had > > > left some pieces here and the

Re: [PATCH v5 07/11] powerpc/mm: Use generic_get_unmapped_area() and call it from arch_get_unmapped_area()

2021-12-15 Thread kernel test robot
. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/Convert-powerpc-to-default-topdown-mmap-layout/20211215-144700 base: https://git.kernel.org/pub/scm/li

Re: [PATCH 1/2] sizes.h: Add SZ_1T macro

2021-12-15 Thread Bjorn Helgaas
On Wed, Dec 08, 2021 at 02:32:42PM +, Christophe Leroy wrote: > Today drivers/pci/controller/pci-xgene.c defines SZ_1T > > Move it into linux/sizes.h so that it can be re-used elsewhere. > > Cc: Toan Le > Cc: linux-...@vger.kernel.org > Signed-off-by: Christophe Leroy I guess this needs to

Re: [PATCH kernel v3] KVM: PPC: Merge powerpc's debugfs entry content into generic entry

2021-12-15 Thread Cédric Le Goater
On 12/15/21 02:33, Alexey Kardashevskiy wrote: At the moment KVM on PPC creates 3 types of entries under the kvm debugfs: 1) "%pid-%fd" per a KVM instance (for all platforms); 2) "vm%pid" (for PPC Book3s HV KVM); 3) "vm%u_vcpu%u_timing" (for PPC Book3e KVM). The problem with this is that multipl

Re: [PATCH v2 2/5] rtc: gamecube: Report low battery as invalid data

2021-12-15 Thread Emmanuel Gil Peyrot
On Tue, Nov 30, 2021 at 11:45:18PM +0100, Alexandre Belloni wrote: > Hello, Hi, > > On 28/10/2021 00:35:12+0200, Emmanuel Gil Peyrot wrote: > > I haven’t been able to test this patch as all of my consoles have a > > working RTC battery, but according to the documentation it should work > > like

[PATCH v3 5/5] powerpc: wii_defconfig: Enable the RTC driver

2021-12-15 Thread Emmanuel Gil Peyrot
This selects the rtc-gamecube driver, which provides a real-time clock on this platform. Signed-off-by: Emmanuel Gil Peyrot --- arch/powerpc/configs/wii_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/configs/wii_defconfig b/arch/powerpc/configs/wii_de

[PATCH v3 4/5] powerpc: gamecube_defconfig: Enable the RTC driver

2021-12-15 Thread Emmanuel Gil Peyrot
This selects the rtc-gamecube driver, which provides a real-time clock on this platform. Signed-off-by: Emmanuel Gil Peyrot --- arch/powerpc/configs/gamecube_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/configs/gamecube_defconfig b/arch/powerpc/conf

[PATCH v3 3/5] powerpc: wii.dts: Expose HW_SRNPROT on this platform

2021-12-15 Thread Emmanuel Gil Peyrot
This Hollywood register isn’t properly understood, but can allow or reject access to the SRAM, which we need to set for RTC usage if it isn’t previously set correctly beforehand. See https://wiibrew.org/wiki/Hardware/Hollywood_Registers#HW_SRNPROT Signed-off-by: Emmanuel Gil Peyrot --- arch/pow

[PATCH v3 2/5] rtc: gamecube: Report low battery as invalid data

2021-12-15 Thread Emmanuel Gil Peyrot
I haven’t been able to test this patch as all of my consoles have a working RTC battery, but according to the documentation it should work like that. Signed-off-by: Emmanuel Gil Peyrot --- drivers/rtc/rtc-gamecube.c | 30 ++ 1 file changed, 30 insertions(+) diff --gi

[PATCH v3 1/5] rtc: gamecube: Add a RTC driver for the GameCube, Wii and Wii U

2021-12-15 Thread Emmanuel Gil Peyrot
These three consoles share a device, the MX23L4005, which contains a clock and 64 bytes of SRAM storage, and is exposed on the EXI bus (similar to SPI) on channel 0, device 1. This driver allows it to be used as a Linux RTC device, where time can be read and set. The hardware also exposes two tim

[PATCH v3 0/5] rtc: nintendo: Add a RTC driver for the GameCube, Wii and Wii U

2021-12-15 Thread Emmanuel Gil Peyrot
These three consoles share a device, the MX23L4005, which contains a clock and 64 bytes of SRAM storage, and is exposed on the EXI bus (similar to SPI) on channel 0, device 1. This driver allows it to be used as a Linux RTC device, where time can be read and set. The hardware also exposes two tim

Re: [patch V4 09-02/35] PCI/MSI: Allocate MSI device data on first use

2021-12-15 Thread Greg Kroah-Hartman
On Wed, Dec 15, 2021 at 06:19:49PM +0100, Thomas Gleixner wrote: > Allocate MSI device data on first use, i.e. when a PCI driver invokes one > of the PCI/MSI enablement functions. > > Add a wrapper function to ensure that the ordering vs. pcim_msi_release() > is correct. > > Signed-off-by: Thomas

Re: [patch V4 09-01/35] PCI/MSI: Decouple MSI[-X] disable from pcim_release()

2021-12-15 Thread Greg Kroah-Hartman
On Wed, Dec 15, 2021 at 06:16:44PM +0100, Thomas Gleixner wrote: > The MSI core will introduce runtime allocation of MSI related data. This > data will be devres managed and has to be set up before enabling > PCI/MSI[-X]. This would introduce an ordering issue vs. pcim_release(). > > The setup ord

[patch V4 09-02/35] PCI/MSI: Allocate MSI device data on first use

2021-12-15 Thread Thomas Gleixner
Allocate MSI device data on first use, i.e. when a PCI driver invokes one of the PCI/MSI enablement functions. Add a wrapper function to ensure that the ordering vs. pcim_msi_release() is correct. Signed-off-by: Thomas Gleixner --- V4: Adopted to ensure devres ordering --- drivers/pci/msi/msi.c

[patch V4 09-01/35] PCI/MSI: Decouple MSI[-X] disable from pcim_release()

2021-12-15 Thread Thomas Gleixner
The MSI core will introduce runtime allocation of MSI related data. This data will be devres managed and has to be set up before enabling PCI/MSI[-X]. This would introduce an ordering issue vs. pcim_release(). The setup order is: pcim_enable_device() devres_alloc(pcim_release...);

Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2

2021-12-15 Thread Thomas Gleixner
On Wed, Dec 15 2021 at 17:18, Thomas Gleixner wrote: > On Tue, Dec 14 2021 at 22:19, Thomas Gleixner wrote: >> On Tue, Dec 14 2021 at 14:56, Nishanth Menon wrote: >> >> thanks for trying. I'll have a look again with brain awake tomorrow >> morning. > > Morning was busy with other things, but I fou

Re: [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2

2021-12-15 Thread Thomas Gleixner
On Tue, Dec 14 2021 at 22:19, Thomas Gleixner wrote: > On Tue, Dec 14 2021 at 14:56, Nishanth Menon wrote: > > thanks for trying. I'll have a look again with brain awake tomorrow > morning. Morning was busy with other things, but I found what my sleepy brain managed to do wrong yesterday evening.

[powerpc:next] BUILD SUCCESS 708da3ff1d67392500bdb8789d5635cd98f9ea92

2021-12-15 Thread kernel test robot
onfig i386 randconfig-c001-20211214 mips randconfig-c004-20211214 i386 randconfig-c001-20211215 sh kfr2r09-romimage_defconfig xtensaxip_kc705_defconfig powerpcklondike_de

[powerpc:topic/ppc-kvm] BUILD SUCCESS 63fa47ba886b86cbd58f03b3b01b04bd57a1f233

2021-12-15 Thread kernel test robot
allmodconfig i386 randconfig-c001-20211214 mips randconfig-c004-20211214 i386 randconfig-c001-20211215 sh kfr2r09-romimage_defconfig powerpcklondike_defconfig xtensa

[PATCH v4] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-15 Thread Rob Herring
Use of the of_scan_flat_dt() function predates libfdt and is discouraged as libfdt provides a nicer set of APIs. Rework early_init_dt_scan_memory() to be called directly and use libfdt. Cc: John Crispin Cc: Thomas Bogendoerfer Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras

Re: [PATCH v3] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-15 Thread Rob Herring
On Wed, Dec 15, 2021 at 4:13 AM Michael Ellerman wrote: > > Rob Herring writes: > > diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c > > index 5e216555fe4f..97d7607625ec 100644 > > --- a/drivers/of/fdt.c > > +++ b/drivers/of/fdt.c > > @@ -1078,49 +1078,50 @@ u64 __init dt_mem_next_cell(int s, con

[next] powerpc: book3s_hv.c:4591:27: error: 'struct kvm_vcpu' has no member named 'wait'

2021-12-15 Thread Naresh Kamboju
[ Please ignore this email if it is already reported ] While building Linux next 20211214 powerpc defconfig with gcc-8/9/10/11 following warnings / errors noticed. make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu-

Re: [RFC PATCH] powerpc/signal: sanitise PT_NIP and sa_handler low bits

2021-12-15 Thread Sachin Sant
> Reported-by: Sachin Sant > Signed-off-by: Nicholas Piggin > --- > I'm not entirely sure about the 32-bit / compat part. Or the 64-bit for > that matter except that it does seem to fix the bug caused by the test > program. > > Thanks, > Nick > > arch/powerpc/kernel/signal_32.c | 23 +

Re: [PATCH kernel v3] KVM: PPC: Merge powerpc's debugfs entry content into generic entry

2021-12-15 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Alexey-Kardashevskiy/KVM-PPC-Merge-powerpc-s-debugfs-entry-content-into-generic-entry/20211215-094051 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc

Re: [PATCH v2] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-15 Thread Michael Ellerman
Rob Herring writes: > On Tue, Dec 14, 2021 at 5:18 AM Michael Ellerman wrote: >> >> Rob Herring writes: >> > On Mon, Dec 13, 2021 at 6:47 AM Michael Ellerman >> > wrote: >> >> Rob Herring writes: >> >> > Use of the of_scan_flat_dt() function predates libfdt and is discouraged >> >> > as libfd

Re: [PATCH v3] of/fdt: Rework early_init_dt_scan_memory() to call directly

2021-12-15 Thread Michael Ellerman
Rob Herring writes: > diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c > index 5e216555fe4f..97d7607625ec 100644 > --- a/drivers/of/fdt.c > +++ b/drivers/of/fdt.c > @@ -1078,49 +1078,50 @@ u64 __init dt_mem_next_cell(int s, const __be32 > **cellp) > /* > * early_init_dt_scan_memory - Look for

Re: [PATCH misc-next] drivers/misc: remove redundant rc variable

2021-12-15 Thread Andrew Donnellan
On 15/12/21 5:04 pm, cgel@gmail.com wrote: From: Minghao Chi Return value from ocxl_context_attach() directly instead of taking this in another redundant variable. Reported-by: Zeal Robot Signed-off-by: Minghao Chi Acked-by: Andrew Donnellan -- Andrew Donnellan OzLabs, A