Re: [RFC v4 PATCH 2/5] powerpc/crash hp: introduce a new config option CRASH_HOTPLUG

2022-04-25 Thread Sourabh Jain
On 21/04/22 20:59, Eric DeVolder wrote: On 4/21/22 06:34, Michael Ellerman wrote: Sourabh Jain writes: The option CRASH_HOTPLUG enables, in kernel update to kexec segments on hotplug events. All the updates needed on the capture kernel load path in the kernel for both kexec_load and

Re: [RFC v4 PATCH 2/5] powerpc/crash hp: introduce a new config option CRASH_HOTPLUG

2022-04-25 Thread Sourabh Jain
On 21/04/22 17:04, Michael Ellerman wrote: Sourabh Jain writes: The option CRASH_HOTPLUG enables, in kernel update to kexec segments on hotplug events. All the updates needed on the capture kernel load path in the kernel for both kexec_load and kexec_file_load system will be kept under this

Re: [PATCH v5] PCI hotplug: rpaphp: Error out on busy status from get-sensor-state

2022-04-25 Thread Michael Ellerman
Nathan Lynch writes: > Mahesh Salgaonkar writes: >> When certain PHB HW failure causes phyp to recover PHB, it marks the PE >> state as temporarily unavailable until recovery is complete. This also >> triggers an EEH handler in Linux which needs to notify drivers, and perform >> recovery. But

Re: [PATCH v5] PCI hotplug: rpaphp: Error out on busy status from get-sensor-state

2022-04-25 Thread Nathan Lynch
Mahesh Salgaonkar writes: > When certain PHB HW failure causes phyp to recover PHB, it marks the PE > state as temporarily unavailable until recovery is complete. This also > triggers an EEH handler in Linux which needs to notify drivers, and perform > recovery. But before notifying the driver

Re: [PATCH v4 2/2] PCI/PM: Fix pci_pm_suspend_noirq() to disable PTM

2022-04-25 Thread David E. Box
On Sat, 2022-04-23 at 10:01 -0500, Bjorn Helgaas wrote: > On Sat, Apr 23, 2022 at 12:43:14AM +, Jingar, Rajvi wrote: > > > -Original Message- > > > From: Bjorn Helgaas > > > On Thu, Apr 14, 2022 at 07:54:02PM +0200, Rafael J. Wysocki wrote: > > > > On 3/25/2022 8:50 PM, Rajvi Jingar

Re: [PATCH v2 1/2] dt-bindings: interrupt-controller: fsl, ls-extirq: convert to YAML

2022-04-25 Thread Michael Walle
Am 2022-04-25 20:36, schrieb Krzysztof Kozlowski: On 25/04/2022 16:02, Michael Walle wrote: Convert the fsl,ls-extirq binding to the new YAML format. (...) diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.yaml

Re: [PATCH 0/7] Remove unused SLOW_DOWN_IO

2022-04-25 Thread Bjorn Helgaas
On Fri, Apr 22, 2022 at 10:48:28AM -0700, Jakub Kicinski wrote: > On Fri, 15 Apr 2022 14:08:10 -0500 Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > Only alpha, ia64, powerpc, and sh define SLOW_DOWN_IO, and there are no > > actual uses of it. The few references to it are in situations

Re: [PATCH] powerpc/pci: Remove useless null check before call of_node_put()

2022-04-25 Thread Tyrel Datwyler
On 4/23/22 07:32, Michael Ellerman wrote: > Tyrel Datwyler writes: >> On 4/20/22 19:52, Haowen Bai wrote: >>> No need to add null check before call of_node_put(), since the >>> implementation of of_node_put() has done it. >>> >>> Signed-off-by: Haowen Bai >>> --- >>>

Re: [PATCH 1/3] perf symbol: Pass is_kallsyms to symbols__fixup_end()

2022-04-25 Thread Namhyung Kim
Hi Ian, On Sat, Apr 16, 2022 at 7:59 AM Ian Rogers wrote: > > On Fri, Apr 15, 2022 at 8:40 PM Namhyung Kim wrote: > > > > The symbol fixup is necessary for symbols in kallsyms since they don't > > have size info. So we use the next symbol's address to calculate the > > size. Now it's also

Re: [PATCH v4 2/2] PCI/PM: Fix pci_pm_suspend_noirq() to disable PTM

2022-04-25 Thread Rafael J. Wysocki
On Mon, Apr 25, 2022 at 8:33 PM David E. Box wrote: > > On Sat, 2022-04-23 at 10:01 -0500, Bjorn Helgaas wrote: > > On Sat, Apr 23, 2022 at 12:43:14AM +, Jingar, Rajvi wrote: > > > > -Original Message- > > > > From: Bjorn Helgaas > > > > On Thu, Apr 14, 2022 at 07:54:02PM +0200,

Re: [PATCH v2 1/2] dt-bindings: interrupt-controller: fsl, ls-extirq: convert to YAML

2022-04-25 Thread Krzysztof Kozlowski
On 25/04/2022 16:02, Michael Walle wrote: > Convert the fsl,ls-extirq binding to the new YAML format. > (...) > diff --git > a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.yaml > b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-extirq.yaml > new file

L2 SRAM on PowerPC e500 and Caching-inhibited bit

2022-04-25 Thread Pali Rohár
Hello! I started playing with PowerPC e500 architecture, it is something really new for me and I suspect that I found a bug in U-Boot code which configures L2 cache as initial SRAM (L2 with locked lines). U-Boot code for the first half of L2 cache sets Caching-inhibited (MAS2_I) in TLB and for

Re: [PATCH v2 2/2] dt-bindings: fsl: convert fsl,layerscape-scfg to YAML

2022-04-25 Thread Krzysztof Kozlowski
On 25/04/2022 16:02, Michael Walle wrote: > Convert the fsl,layerscape-scfg binding to the new YAML format. > > In the device trees, the device node always have a "syscon" > compatible, which wasn't mentioned in the previous binding. > > Also added, compared to the original binding, is the >

[PATCH] kexec_file: Drop pr_err in weak implementations of arch_kexec_apply_relocations[_add]

2022-04-25 Thread Naveen N. Rao
kexec_load_purgatory() can fail for many reasons - there is no need to print an error when encountering unsupported relocations. This solves a build issue on powerpc with binutils v2.36 and newer [1]. Since commit d1bcae833b32f1 ("ELF: Don't generate unused section symbols") [2], binutils started

Re: [PATCH] ASoC: imx-hdmi: remove useless null check before call of_node_put()

2022-04-25 Thread Mark Brown
On Thu, 21 Apr 2022 10:45:20 +0800, Haowen Bai wrote: > No need to add null check before call of_node_put(), since the > implementation of of_node_put() has done it. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: imx-hdmi:

Re: [PATCH] ASoC: fsl_asrc: using pm_runtime_resume_and_get to simplify the code

2022-04-25 Thread Mark Brown
On Wed, 20 Apr 2022 03:04:02 +, cgel@gmail.com wrote: > From: Minghao Chi > > Using pm_runtime_resume_and_get() to replace pm_runtime_get_sync and > pm_runtime_put_noidle. This change is just to simplify the code, no > actual functional changes. > > > [...] Applied to

Re: [PATCH] macintosh: macio_asic: fix resource_size.cocci warnings

2022-04-25 Thread Uwe Kleine-König
Hello Michael, On Fri, Apr 22, 2022 at 04:44:24PM +1000, Michael Ellerman wrote: > Yihao Han writes: > > - if (index == 0 && (res->end - res->start) > 0xfff) > > + if (index == 0 && (resource_size(res)) > 0xfff) > > res->end = res->start + 0xfff; > > -

Re: [PATCH v2] macintosh: macio_asic: fix resource_size.cocci warnings

2022-04-25 Thread Uwe Kleine-König
On Thu, Apr 21, 2022 at 07:18:07AM -0700, Yihao Han wrote: > drivers/macintosh/macio_asic.c:219:26-29: WARNING:Suspicious code. > resource_size is maybe missing with res > drivers/macintosh/macio_asic.c:221:26-29: WARNING:Suspicious code. > resource_size is maybe missing with res > > Use

[PATCH v4 09/13] serial: General support for multipoint addresses

2022-04-25 Thread Ilpo Järvinen
Add generic support for serial multipoint addressing. Two new ioctls are added. TIOCSADDR is used to indicate the destination/receive address. TIOCGADDR returns the current address in use. The driver should implement set_addr and get_addr to support addressing mode. Adjust ADDRB clearing to

[PATCH v4 08/13] serial: termbits: ADDRB to indicate 9th bit addressing mode

2022-04-25 Thread Ilpo Järvinen
Add ADDRB to termbits to indicate 9th bit addressing mode. This change is necessary for supporting devices with RS485 multipoint addressing [*]. A later patch in the patch series adds support for Synopsys Designware UART capable for 9th bit addressing mode. In this mode, 9th bit is used to

[PATCH] KVM: PPC: Book3S HV: Initialize AMOR in nested entry

2022-04-25 Thread Fabiano Rosas
The hypervisor always sets AMOR to ~0, but let's ensure we're not passing stale values around. Signed-off-by: Fabiano Rosas --- arch/powerpc/kvm/book3s_hv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index

[PATCH v2 2/2] dt-bindings: fsl: convert fsl,layerscape-scfg to YAML

2022-04-25 Thread Michael Walle
Convert the fsl,layerscape-scfg binding to the new YAML format. In the device trees, the device node always have a "syscon" compatible, which wasn't mentioned in the previous binding. Also added, compared to the original binding, is the interrupt-controller subnode as used in

[PATCH v2 1/2] dt-bindings: interrupt-controller: fsl, ls-extirq: convert to YAML

2022-04-25 Thread Michael Walle
Convert the fsl,ls-extirq binding to the new YAML format. In contrast to the original binding documentation, there are three compatibles which are used in their corresponding device trees which have a specific compatible and the (already documented) fallback compatible: - "fsl,ls1046a-extirq",