Re: [RFC PATCH] Disable Book-E KVM support?

2022-12-05 Thread Nicholas Piggin
On Sun Dec 4, 2022 at 9:33 PM AEST, Christian Zigotzky wrote: > Hi All, > > We regularly use QEMU with KVM HV on our A-EON AmigaOne X5000 machines > (book3e). It works fast and without any problems. > > Screenshot tour of QEMU/KVM HV on our AmigaOnes: > > -

Re: [PATCH] cxl: Remove unnecessary cxl_pci_window_alignment()

2022-12-05 Thread Frederic Barrat
On 05/12/2022 23:32, Bjorn Helgaas wrote: From: Bjorn Helgaas cxl_pci_window_alignment() is referenced only via the struct pci_controller_ops.window_alignment function pointer, and only in the powerpc implementation of pcibios_window_alignment(). pcibios_window_alignment() defaults to

[PATCH] powerpc: qspinlock: Use asm-generic definition for queued_spin_lock

2022-12-05 Thread Rohan McLure
asm-generic/qspinlock.h provides an identical implementation of queued_spin_lock. Remove the variant in asm/qspinlock.h. Signed-off-by: Rohan McLure --- arch/powerpc/include/asm/qspinlock.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/powerpc/include/asm/qspinlock.h

Re: [PATCH] powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1

2022-12-05 Thread Michael Ellerman
Michael Jeanson writes: > On 2022-12-05 15:11, Michael Jeanson wrote: > Michael Jeanson writes: >> In v5.7 the powerpc syscall entry/exit logic was rewritten in C, on >> PPC64_ELF_ABI_V1 this resulted in the symbols in the syscall table >> changing from their dot prefixed variant

[PATCH] cxl: Remove unnecessary cxl_pci_window_alignment()

2022-12-05 Thread Bjorn Helgaas
From: Bjorn Helgaas cxl_pci_window_alignment() is referenced only via the struct pci_controller_ops.window_alignment function pointer, and only in the powerpc implementation of pcibios_window_alignment(). pcibios_window_alignment() defaults to returning 1 if the function pointer is NULL, which

Re: [PATCH] powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1

2022-12-05 Thread Michael Jeanson
On 2022-12-05 15:11, Michael Jeanson wrote: Michael Jeanson writes: In v5.7 the powerpc syscall entry/exit logic was rewritten in C, on PPC64_ELF_ABI_V1 this resulted in the symbols in the syscall table changing from their dot prefixed variant to the non-prefixed ones. Since ftrace prefixes a

Re: [PATCH v2 31/50] KVM: x86: Do CPU compatibility checks in x86 code

2022-12-05 Thread Sean Christopherson
On Mon, Dec 05, 2022, Isaku Yamahata wrote: > On Wed, Nov 30, 2022 at 11:09:15PM +, > > index 66f16458aa97..3571bc968cf8 100644 > > --- a/arch/x86/kvm/x86.c > > +++ b/arch/x86/kvm/x86.c > > @@ -9277,10 +9277,36 @@ static inline void kvm_ops_update(struct > > kvm_x86_init_ops *ops) > >

Re: [PATCH v2 39/50] KVM: x86: Move CPU compat checks hook to kvm_x86_ops (from kvm_x86_init_ops)

2022-12-05 Thread Isaku Yamahata
On Wed, Nov 30, 2022 at 11:09:23PM +, Sean Christopherson wrote: > Move the .check_processor_compatibility() callback from kvm_x86_init_ops > to kvm_x86_ops to allow a future patch to do compatibility checks during > CPU hotplug. > > Do kvm_ops_update() before compat checks so that

Re: [PATCH v2 31/50] KVM: x86: Do CPU compatibility checks in x86 code

2022-12-05 Thread Isaku Yamahata
On Wed, Nov 30, 2022 at 11:09:15PM +, Sean Christopherson wrote: > Move the CPU compatibility checks to pure x86 code, i.e. drop x86's use > of the common kvm_x86_check_cpu_compat() arch hook. x86 is the only > architecture that "needs" to do per-CPU compatibility checks, moving > the logic

Re: [PATCH 2/5] arm: dts: remove label = "cpu" from DSA dt-binding

2022-12-05 Thread Jernej Škrabec
Dne sreda, 30. november 2022 ob 15:10:37 CET je Arınç ÜNAL napisal(a): > This is not used by the DSA dt-binding, so remove it from all devicetrees. > > Signed-off-by: Arınç ÜNAL > --- > arch/arm/boot/dts/armada-370-rd.dts | 1 - >

Re: [PATCH] powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1

2022-12-05 Thread Michael Jeanson
On 2022-12-05 13:56, Christophe Leroy wrote: Le 05/12/2022 à 19:19, Michael Jeanson a écrit : [Vous ne recevez pas souvent de courriers de mjean...@efficios.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] On 2022-12-05 00:34, Michael Ellerman

Re: [PATCH 5/5] powerpc: dts: remove label = "cpu" from DSA dt-binding

2022-12-05 Thread Arınç ÜNAL
On 4.12.2022 21:59, Vladimir Oltean wrote: Hi Pali, On Fri, Dec 02, 2022 at 08:35:52PM +0100, Pali Rohár wrote: On Thursday 01 December 2022 17:44:00 Rob Herring wrote: On Thu, Dec 01, 2022 at 06:39:02PM +0100, Pali Rohár wrote: I was told by Marek (CCed) that DSA port connected to CPU

Re: [PATCH] powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1

2022-12-05 Thread Christophe Leroy
Le 05/12/2022 à 19:19, Michael Jeanson a écrit : > [Vous ne recevez pas souvent de courriers de mjean...@efficios.com. > Découvrez pourquoi ceci est important à > https://aka.ms/LearnAboutSenderIdentification ] > > On 2022-12-05 00:34, Michael Ellerman wrote: >> Michael Jeanson writes: >>>

Re: [PATCH] powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1

2022-12-05 Thread Michael Jeanson
On 2022-12-05 00:34, Michael Ellerman wrote: Michael Jeanson writes: In v5.7 the powerpc syscall entry/exit logic was rewritten in C, on PPC64_ELF_ABI_V1 this resulted in the symbols in the syscall table changing from their dot prefixed variant to the non-prefixed ones. Since ftrace prefixes

[linux-next:master] BUILD REGRESSION ee9bda616d36d2dc864aa294c2656fad88c9efa0

2022-12-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: ee9bda616d36d2dc864aa294c2656fad88c9efa0 Add linux-next specific files for 20221205 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202211242120.mzzvguln-...@intel.com https

[PATCH 1/6] hyperv: Make remove callback of hyperv driver void returned

2022-12-05 Thread Dawei Li
Since commit fc7a6209d571 ("bus: Make remove callback return void") forces bus_type::remove be void-returned, it doesn't make much sense for any bus based driver implementing remove callbalk to return non-void to its caller. This change is for hyperv bus based drivers. Signed-off-by: Dawei Li

[PATCH 6/6] soundbus: make remove callback of soundbus driver void returned

2022-12-05 Thread Dawei Li
Since commit fc7a6209d571 ("bus: Make remove callback return void") forces bus_type::remove be void-returned, it doesn't make much sense for any bus based driver implementing remove callbalk to return non-void to its caller. This change is for soundbus based drivers. Signed-off-by: Dawei Li ---

[PATCH 5/6] ac97: make remove callback of ac97 driver void returned

2022-12-05 Thread Dawei Li
Since commit fc7a6209d571 ("bus: Make remove callback return void") forces bus_type::remove be void-returned, it doesn't make much sense for any bus based driver implementing remove callbalk to return non-void to its caller. This change is for ac97 bus based drivers. Signed-off-by: Dawei Li ---

[PATCH 4/6] xen: make remove callback of xen driver void returned

2022-12-05 Thread Dawei Li
Since commit fc7a6209d571 ("bus: Make remove callback return void") forces bus_type::remove be void-returned, it doesn't make much sense for any bus based driver implementing remove callbalk to return non-void to its caller. This change is for xen bus based drivers. Signed-off-by: Dawei Li ---

[PATCH 3/6] apr: make remove callback of apr driver void returned

2022-12-05 Thread Dawei Li
Since commit fc7a6209d571 ("bus: Make remove callback return void") forces bus_type::remove be void-returned, it doesn't make much sense for any bus based driver implementing remove callbalk to return non-void to its caller. This change is for apr bus based drivers. Signed-off-by: Dawei Li ---

[PATCH 2/6] macio: Make remove callback of macio driver void returned

2022-12-05 Thread Dawei Li
Commit fc7a6209d571 ("bus: Make remove callback return void") forces bus_type::remove be void-returned, it doesn't make much sense for any bus based driver implementing remove callbalk to return non-void to its caller. This change is for macio bus based drivers. Signed-off-by: Dawei Li ---

[PATCH 0/6] Make remove() of any bus based driver void returned

2022-12-05 Thread Dawei Li
For bus-based driver, device removal is implemented as: device_remove() => bus->remove() => driver->remove() Driver core needs no feedback from bus driver about the result of remove callback. In which case, commit fc7a6209d571 ("bus: Make remove callback return void") forces bus_type::remove be

[PATCH] ASoC: imx-audmux: use sysfs_emit() to instead of scnprintf()

2022-12-05 Thread ye.xingchen
From: ye xingchen Follow the advice of the Documentation/filesystems/sysfs.rst and show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: ye xingchen --- sound/soc/fsl/imx-audmux.c | 3 +-- 1 file changed, 1 insertion(+),

Re: [PATCH 2/6] macio: Make remove callback of macio driver void returned

2022-12-05 Thread Greg KH
On Mon, Dec 05, 2022 at 11:36:40PM +0800, Dawei Li wrote: > Commit fc7a6209d571 ("bus: Make remove callback return > void") forces bus_type::remove be void-returned, it doesn't > make much sense for any bus based driver implementing remove > callbalk to return non-void to its caller. > > This

Re: [PATCH 6/6] soundbus: make remove callback of soundbus driver void returned

2022-12-05 Thread Greg KH
On Mon, Dec 05, 2022 at 11:36:44PM +0800, Dawei Li wrote: > Since commit fc7a6209d571 ("bus: Make remove callback return > void") forces bus_type::remove be void-returned, it doesn't > make much sense for any bus based driver implementing remove > callbalk to return non-void to its caller. > >

Re: [PATCH 5/6] ac97: make remove callback of ac97 driver void returned

2022-12-05 Thread Greg KH
On Mon, Dec 05, 2022 at 11:36:43PM +0800, Dawei Li wrote: > Since commit fc7a6209d571 ("bus: Make remove callback return > void") forces bus_type::remove be void-returned, it doesn't > make much sense for any bus based driver implementing remove > callbalk to return non-void to its caller. > >

Re: [PATCH 4/6] xen: make remove callback of xen driver void returned

2022-12-05 Thread Greg KH
On Mon, Dec 05, 2022 at 11:36:42PM +0800, Dawei Li wrote: > Since commit fc7a6209d571 ("bus: Make remove callback return > void") forces bus_type::remove be void-returned, it doesn't > make much sense for any bus based driver implementing remove > callbalk to return non-void to its caller. Please

Re: [PATCH 0/6] Make remove() of any bus based driver void returned

2022-12-05 Thread Greg KH
On Mon, Dec 05, 2022 at 11:36:38PM +0800, Dawei Li wrote: > For bus-based driver, device removal is implemented as: > device_remove() => bus->remove() => driver->remove() > > Driver core needs no feedback from bus driver about the result of > remove callback. In which case, commit fc7a6209d571

Re: [PATCH 4/6] xen: make remove callback of xen driver void returned

2022-12-05 Thread Juergen Gross
On 05.12.22 16:36, Dawei Li wrote: Since commit fc7a6209d571 ("bus: Make remove callback return void") forces bus_type::remove be void-returned, it doesn't make much sense for any bus based driver implementing remove callbalk to return non-void to its caller. This change is for xen bus based

Re: [V3] tools/perf: Fix printing field separator in CSV metrics output

2022-12-05 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 05, 2022 at 09:58:52AM +0530, Athira Rajeev escreveu: > In perf stat with CSV output option, number of fields > in metrics output is not matching with number of fields > in other event output lines. > > Sample output below after applying patch to fix > printing os->prefix. > >

Re: [PATCH v2] soc: fsl: qe: request pins non-exclusively

2022-12-05 Thread Andy Shevchenko
On Sun, Dec 04, 2022 at 03:59:29PM -0800, Dmitry Torokhov wrote: > Commit 84582f9ed090 ("soc: fsl: qe: Avoid using gpio_to_desc()") changed > qe_pin_request() to request and hold GPIO corresponding to a given pin. > Unfortunately this does not work, as fhci-hcd requests these GPIOs > first, befor

Re: [RESEND PATCH] soc: fsl: qe: request pins non-exclusively

2022-12-05 Thread Andy Shevchenko
On Sun, Dec 04, 2022 at 03:55:19PM -0800, Dmitry Torokhov wrote: > On Sun, Dec 04, 2022 at 01:10:19PM +0100, Arnd Bergmann wrote: > > On Sun, Dec 4, 2022, at 05:50, Dmitry Torokhov wrote: > > > > > > SoC team, the problematic patch has been in next for a while and it > > > would be great to get

Re: [PATCH v8 2/3] freezer: refactor pm_freezing into a function.

2022-12-05 Thread Ricardo Ribalda
Hi Rafael On Fri, 2 Dec 2022 at 18:48, Rafael J. Wysocki wrote: > > On Thu, Dec 1, 2022 at 12:08 PM Ricardo Ribalda wrote: > > > > Add a way to let the drivers know if the processes are frozen. > > > > This is needed by drivers that are waiting for processes to end on their > > shutdown path. >

[PATCH] serial: ucc_uart: Add of_node_put() in ucc_uart_remove()

2022-12-05 Thread Liang He
In ucc_uart_probe(), we have added proper of_node_put() in the failure paths. However, we miss it before we free *qe_port* in the remove() function. Signed-off-by: Liang He --- drivers/tty/serial/ucc_uart.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/serial/ucc_uart.c

[PATCH] selftests/powerpc: Fix resource leaks

2022-12-05 Thread Miaoqian Lin
In check_all_cpu_dscr_defaults, opendir() opens the directory stream. Add missing closedir() in the error path to release it. In check_cpu_dscr_default, open() creates an open file descriptor. Add missing close() in the error path to release it. Fixes: ebd5858c904b ("selftests/powerpc: Add test