Re: [PATCH 1/3] core/device: Add function to return child node using name at substring "@"

2023-09-24 Thread Athira Rajeev
> On 18-Sep-2023, at 7:42 PM, Reza Arbab wrote: > > On Thu, Sep 14, 2023 at 10:02:04PM +0530, Athira Rajeev wrote: >> Add a function dt_find_by_name_before_addr() that returns the child node if >> it matches till first occurrence at "@" of a given name, otherwise NULL. >> This is helpful for

[PATCH v2 3/3] Documentation/powerpc: update fadump implementation details

2023-09-24 Thread Sourabh Jain
The patch titled ("powerpc: make fadump resilient with memory add/remove events") has made significant changes to the implementation of fadump, particularly on elfcorehdr creation and fadump crash info header structure. Therefore, updating the fadump implementation documentation to reflect those

[PATCH v2 2/3] powerpc/fadump: add hotplug_ready sysfs interface

2023-09-24 Thread Sourabh Jain
The elfcorehdr describes the CPUs and memory of the crashed kernel to the kernel that captures the dump, known as the second or fadump kernel. The elfcorehdr needs to be updated if the system's memory changes due to memory hotplug or online/offline events. Currently, memory hotplug events are

[PATCH v2 1/3] powerpc: make fadump resilient with memory add/remove events

2023-09-24 Thread Sourabh Jain
Due to changes in memory resources caused by either memory hotplug or online/offline events, the elfcorehdr, which describes the CPUs and memory of the crashed kernel to the kernel that collects the dump (knows as second/fadump kernel), becomes outdated. Consequently, attempting dump collection

[PATCH v2 0/3] powerpc: make fadump resilient with memory add/remove events

2023-09-24 Thread Sourabh Jain
Problem: Due to changes in memory resources caused by either memory hotplug or online/offline events, the elfcorehdr, which describes the cpus and memory of the crashed kernel to the kernel that collects the dump (knows as second/fadump kernel), becomes outdated. Consequently, attempting

Re: [RFC v3 0/2] CPU-Idle latency selftest framework

2023-09-24 Thread Aboorva Devarajan
On Mon, 2023-09-11 at 11:06 +0530, Aboorva Devarajan wrote: CC'ing CPUidle lists and maintainers, Patch Summary: The patchset introduces a kernel module and userspace driver designed for estimating the wakeup latency experienced when waking up from various CPU idle states. It primarily measures

Re: Questions: Should kernel panic when PCIe fatal error occurs?

2023-09-24 Thread Oliver O'Halloran
On Fri, Sep 22, 2023 at 8:23 AM David Laight wrote: > > > It would be nice if they worked the same, but I suspect that vendors > > may rely on the fact that CPER_SEV_FATAL forces a restart/panic as > > part of their system integrity story. > > The file system errors created by a panic (especially

[powerpc:merge] BUILD SUCCESS 2048fdba5ebe7e010a32b98a2ba4a4e0547334d7

2023-09-24 Thread kernel test robot
randconfig-001-20230922 gcc arm randconfig-001-20230923 gcc arm randconfig-001-20230924 gcc arm s3c6400_defconfig gcc arm sama7_defconfig clang arm

[PATCH 2/2] ASoC: imx-rpmsg: Force codec power on in low power audio mode

2023-09-24 Thread Chancel Liu
Low power audio mode requires binding codec still power on while Acore enters into suspend so Mcore can continue playback music. ASoC machine driver acquires DAPM endpoints through reading "fsl,lpa-widgets" property from DT and then forces the path between these endpoints ignoring suspend. If

[PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: List DAPM endpoints ignoring suspend

2023-09-24 Thread Chancel Liu
Add a property to list DAPM endpoints which mark paths between these endpoints ignoring suspend. These DAPM paths can still be power on when system enters into suspend. Signed-off-by: Chancel Liu --- Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 6 ++ 1 file changed, 6

Re: [PATCH 3/8] iommu/vt-d: Use ops->blocked_domain

2023-09-24 Thread Baolu Lu
On 9/23/23 1:07 AM, Jason Gunthorpe wrote: Trivially migrate to the ops->blocked_domain for the existing global static. Signed-off-by: Jason Gunthorpe --- drivers/iommu/intel/iommu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Lu Baolu P.S. We can further do the

Re: [PATCH 2/8] iommu/vt-d: Update the definition of the blocking domain

2023-09-24 Thread Baolu Lu
On 9/23/23 1:07 AM, Jason Gunthorpe wrote: The global static should pre-define the type and the NOP free function can be now left as NULL. Signed-off-by: Jason Gunthorpe --- drivers/iommu/intel/iommu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Lu Baolu Best

Re: [PATCH 1/8] iommu: Move IOMMU_DOMAIN_BLOCKED global statics to ops->blocked_domain

2023-09-24 Thread Baolu Lu
On 9/23/23 1:07 AM, Jason Gunthorpe wrote: Following the pattern of identity domains, just assign the BLOCKED domain global statics to a value in ops. Update the core code to use the global static directly. Update powerpc to use the new scheme and remove its empty domain_alloc callback.

[powerpc:fixes-test] BUILD SUCCESS 58b33e78a31782ffe25d404d5eba9a45fe636e27

2023-09-24 Thread kernel test robot
hsdk_defconfig gcc arcnsim_700_defconfig gcc arc nsimosci_hs_defconfig gcc arc randconfig-001-20230922 gcc arc randconfig-001-20230923 gcc arc randconfig-001-20230924 gcc

Re: Questions: Should kernel panic when PCIe fatal error occurs?

2023-09-24 Thread Shuai Xue
On 2023/9/21 21:20, David Laight wrote: > ... > I've got a target to generate AER errors by generating read cycles > that are inside the address range that the bridge forwards but > outside of any BAR because there are 2 different sized BARs. > (Pretty easy to setup.) > On the system I was