[GIT PULL] Please pull powerpc/linux.git powerpc-6.1-5 tag

2022-11-19 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull another powerpc fix for 6.1: The following changes since commit 02a771c9a68a9f08cce4ec5e324fb1bc4dce7202: powerpc/32: Select ARCH_SPLIT_ARG64 (2022-11-01 15:27:12 +1100) are available in the git repository at: https://g

Re: [PATCH] powerpc: Fix writable sections being moved into the rodata region

2022-11-19 Thread Michael Ellerman
On Wed, 16 Nov 2022 14:39:53 +1000, Nicholas Piggin wrote: > .data.rel.ro* catches .data.rel.root_cpuacct, and the kernel crashes on > a store in css_clear_dir. At least we know read-only data protection is > working... > > Applied to powerpc/fixes. [1/1] powerpc: Fix writable sections being m

Re: [PATCH v4 01/11] dt-bindings: wiiu: Document the Nintendo Wii U devicetree

2022-11-19 Thread Rob Herring
On Sat, 19 Nov 2022 22:30:31 +1100, Ash Logan wrote: > Adds schema for the various Wii U devicetree nodes used. > > Signed-off-by: Ash Logan > --- > v3->v4: Rework to match expected style and conciceness. > > .../bindings/powerpc/nintendo/wiiu.yaml | 25 + > .../powerpc/nintendo

[PATCH] powerpc/bpf/32: Fix Oops on tail call tests

2022-11-19 Thread Christophe Leroy
test_bpf tail call tests end up as: test_bpf: #0 Tail call leaf jited:1 85 PASS test_bpf: #1 Tail call 2 jited:1 111 PASS test_bpf: #2 Tail call 3 jited:1 145 PASS test_bpf: #3 Tail call 4 jited:1 170 PASS test_bpf: #4 Tail call load/store leaf jited:1 190 PASS test_bpf: #5 Tail call l

Re: build failure in linux-next: offb missing fb helpers

2022-11-19 Thread Randy Dunlap
Hi, On 11/19/22 07:37, Michal Suchánek wrote: > Hello, > > On Sat, Nov 19, 2022 at 10:27:04PM +0900, Masahiro Yamada wrote: >> On Sat, Nov 19, 2022 at 3:20 PM Randy Dunlap wrote: >>> >>> Hi-- >>> >>> [adding Masahiro-san] >>> >>> >>> On 11/18/22 07:03, Michal Suchánek wrote: Hello, >>>

Re: build failure in linux-next: offb missing fb helpers

2022-11-19 Thread Michal Suchánek
Hello, On Sat, Nov 19, 2022 at 10:27:04PM +0900, Masahiro Yamada wrote: > On Sat, Nov 19, 2022 at 3:20 PM Randy Dunlap wrote: > > > > Hi-- > > > > [adding Masahiro-san] > > > > > > On 11/18/22 07:03, Michal Suchánek wrote: > > > Hello, > > > > > > I am seeing these errors: > > > > > > [ 3825s]

Re: [PATCH v5 1/5] drm/ofdrm: Add ofdrm for Open Firmware framebuffers

2022-11-19 Thread Michal Suchánek
Hello, On Tue, Oct 11, 2022 at 05:07:08PM +0200, Thomas Zimmermann wrote: > Open Firmware provides basic display output via the 'display' node. > DT platform code already provides a device that represents the node's > framebuffer. Add a DRM driver for the device. The display mode and > color forma

[PATCH] ocxl: fix pci device refcount leak when calling get_function_0()

2022-11-19 Thread Yang Yingliang
As comment of pci_get_domain_bus_and_slot() says, it returns a pci device with refcount increment, so when finish using it, pci_dev_put() needs be called. In get_dvsec_vendor0(), in normal path, the returned pci device is passed to dev0, so after using dev0 in the callers, it need be put, in error

Re: build failure in linux-next: offb missing fb helpers

2022-11-19 Thread Masahiro Yamada
On Sat, Nov 19, 2022 at 3:20 PM Randy Dunlap wrote: > > Hi-- > > [adding Masahiro-san] > > > On 11/18/22 07:03, Michal Suchánek wrote: > > Hello, > > > > I am seeing these errors: > > > > [ 3825s] AR built-in.a > > [ 3827s] AR vmlinux.a > > [ 3835s] LD vmlinux.o > > [ 3835s]

Re: [PATCH 2/4] fs: define a firmware security filesystem named fwsecurityfs

2022-11-19 Thread Ritesh Harjani (IBM)
Hello Nayna, On 22/11/09 03:10PM, Nayna wrote: > > On 11/9/22 08:46, Greg Kroah-Hartman wrote: > > On Sun, Nov 06, 2022 at 04:07:42PM -0500, Nayna Jain wrote: > > > securityfs is meant for Linux security subsystems to expose policies/logs > > > or any other information. However, there are variou

[PATCH v4 07/11] powerpc: wiiu: espresso interrupt controller support

2022-11-19 Thread Ash Logan
Add support for the "Espresso" interrupt controller in the Nintendo Wii U. Signed-off-by: Ash Logan Co-developed-by: Roberto Van Eeden Signed-off-by: Roberto Van Eeden --- arch/powerpc/platforms/wiiu/Makefile | 1 + arch/powerpc/platforms/wiiu/espresso-pic.c | 183 +

[PATCH v4 08/11] powerpc: wiiu: latte interrupt controller support

2022-11-19 Thread Ash Logan
Add support for the "Latte" interrupt controller in the Nintendo Wii U. This controller is used for the entire SoC and is wired to a cascade interrupt on the Espresso controller. Signed-off-by: Ash Logan Co-developed-by: Roberto Van Eeden Signed-off-by: Roberto Van Eeden --- v2->v3: Make latte_

[PATCH v4 06/11] powerpc: wiiu: udbg support for latteipc

2022-11-19 Thread Ash Logan
Add support for using the Latte chipset IPC for udbg on the Nintendo Wii U console. These messages can then be received by a special firmware running on the "Starbuck" coprocessor. Signed-off-by: Ash Logan --- v2->v3: Fix a missing declaration issue by including latteipc_udbg.h. v3->v4: Add missi

[PATCH v4 05/11] powerpc: wiiu: declare as non-coherent

2022-11-19 Thread Ash Logan
The Nintendo Wii U requires explicit cache handling when interfacing with DMA devices. Signed-off-by: Ash Logan --- arch/powerpc/platforms/Kconfig.cputype | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.

[PATCH v4 02/11] powerpc: wiiu: device tree

2022-11-19 Thread Ash Logan
Add a device tree source file for the Nintendo Wii U video game console. Signed-off-by: Ash Logan Co-developed-by: Roberto Van Eeden Signed-off-by: Roberto Van Eeden Co-developed-by: Emmanuel Gil Peyrot Signed-off-by: Emmanuel Gil Peyrot --- v1->v2: Style and formatting changes suggested by R

[PATCH v4 00/11] powerpc: Nintendo Wii U support

2022-11-19 Thread Ash Logan
The following patches add basic support for the Nintendo Wii U video game console, a PowerPC system somewhat similar to the GameCube and Wii. This includes: - devicetree source - bootwrapper support - udbg console to bootloader - early udbg console - interrupt controllers - platform support - reco

[PATCH v4 03/11] powerpc: wiiu: bootwrapper support

2022-11-19 Thread Ash Logan
Add support for the Nintendo Wii U game console to the powerpc bootwrapper. Signed-off-by: Ash Logan Co-developed-by: Emmanuel Gil Peyrot Signed-off-by: Emmanuel Gil Peyrot --- arch/powerpc/boot/Makefile| 4 ++ arch/powerpc/boot/wiiu-head.S | 103 ++ arch/

[PATCH v4 01/11] dt-bindings: wiiu: Document the Nintendo Wii U devicetree

2022-11-19 Thread Ash Logan
Adds schema for the various Wii U devicetree nodes used. Signed-off-by: Ash Logan --- v3->v4: Rework to match expected style and conciceness. .../bindings/powerpc/nintendo/wiiu.yaml | 25 + .../powerpc/nintendo/wiiu/espresso-pic.yaml | 48 .../bindings/powerpc/n

[PATCH v4 04/11] powerpc: wiiu: introduce wiiu platform

2022-11-19 Thread Ash Logan
Adds empty platforms/wiiu for Nintendo Wii U console Signed-off-by: Ash Logan --- v2->v3: Add help text for CONFIG_WIIU. arch/powerpc/platforms/Kconfig | 1 + arch/powerpc/platforms/Makefile | 1 + arch/powerpc/platforms/wiiu/Kconfig | 8 arch/powerpc/platforms/wiiu/Makefil

[PATCH v4 11/11] powerpc: wiiu: add minimal default config

2022-11-19 Thread Ash Logan
Adds a bare-minimum config to get a kernel compiled. Will need some more interesting options once a storage device to boot from is added. Signed-off-by: Ash Logan --- arch/powerpc/configs/wiiu_defconfig | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 arch/powerpc/configs/wiiu_de

[PATCH v4 10/11] powerpc: wiiu: platform support

2022-11-19 Thread Ash Logan
Add platform support for the Nintendo Wii U console. Signed-off-by: Ash Logan Co-developed-by: Roberto Van Eeden Signed-off-by: Roberto Van Eeden Co-developed-by: Emmanuel Gil Peyrot Signed-off-by: Emmanuel Gil Peyrot --- v2->v3: Use of_platform_default_populate instead of a custom match tabl

[PATCH v4 09/11] powerpc: espresso processor support

2022-11-19 Thread Ash Logan
Adds a cputable entry for the "Espresso" processor found on the Nintendo Wii U, which has a PVR unrelated to other 750CL-like chips. Only this revision has been seen in the wild. Signed-off-by: Roberto Van Eeden Signed-off-by: Ash Logan --- v3->v4: Move to new cpu_specs_*.h file. arch/powerpc/

Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new

2022-11-19 Thread Wolfram Sang
Hi Uwe, > This series completes all drivers to this new callback (unless I missed > something). It's based on current next/master. Thanks for this work, really, but oh my poor inbox... > I don't think it's feasable to apply this series in one go, so I ask the > maintainers of the changed files t

[PATCH] tpm: ibmvtpm: free irq on the error path in tpm_ibmvtpm_probe()

2022-11-19 Thread Gaosheng Cui
In tpm_ibmvtpm_probe(), vio_dev->irq has not been freed on the init_irq_cleanup error path, we need to free it. Fix it. Fixes: 132f76294744 ("drivers/char/tpm: Add new device driver to support IBM vTPM") Signed-off-by: Gaosheng Cui --- drivers/char/tpm/tpm_ibmvtpm.c | 4 +++- 1 file changed, 3

Re: [PATCH 289/606] macintosh: ams/ams-i2c: Convert to i2c's .probe_new()

2022-11-19 Thread Uwe Kleine-König
Hello Christophe, On Sat, Nov 19, 2022 at 07:38:58AM +, Christophe Leroy wrote: > Le 18/11/2022 à 23:40, Uwe Kleine-König a écrit : > > From: Uwe Kleine-König > > > > The probe function doesn't make use of the i2c_device_id * parameter so it > > can be trivially converted. > > > > Signed-of

Re: [PATCH v2] powerpc/cpuidle: Set CPUIDLE_FLAG_POLLING for snooze state

2022-11-19 Thread Vishal Chourasia
On Mon, Nov 14, 2022 at 08:26:11PM +0530, Aboorva Devarajan wrote: > During the comparative study of cpuidle governors, it is noticed that the > menu governor does not select CEDE state in some scenarios even though when > the sleep duration of the CPU exceeds the target residency of the CEDE idle

Re: [PATCH 598/606] ALSA: aoa: tas: Convert to i2c's .probe_new()

2022-11-19 Thread Takashi Iwai
On Fri, 18 Nov 2022 23:45:32 +0100, Uwe Kleine-König wrote: > > From: Uwe Kleine-König > > The probe function doesn't make use of the i2c_device_id * parameter so it > can be trivially converted. > > Signed-off-by: Uwe Kleine-König Applied to for-next branch. thanks, Takashi

Re: [PATCH 597/606] ALSA: aoa: onyx: Convert to i2c's .probe_new()

2022-11-19 Thread Takashi Iwai
On Fri, 18 Nov 2022 23:45:31 +0100, Uwe Kleine-König wrote: > > From: Uwe Kleine-König > > The probe function doesn't make use of the i2c_device_id * parameter so it > can be trivially converted. > > Signed-off-by: Uwe Kleine-König Applied now to for-next branch. thanks, Takashi