Re: [RFC PATCH v8 00/13] Add audio support in v4l2 framework

2023-10-29 Thread Shengjiu Wang
On Fri, Oct 27, 2023 at 7:18 PM Hans Verkuil wrote: > > Hi Shengjiu, > > Is there a reason why this series is still marked RFC? > > Just wondering about that. In the very beginning I started this series with RFC, So I still use RFC now... Best regards Wang shengjiu > > Regards, > > Hans

Re: [PATCH v12 6/6] powerpc: add crash memory hotplug support

2023-10-29 Thread kernel test robot
us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Sourabh-Jain/crash-forward-memory_notify-arg-to-arch-crash-hotplug-handler/20231

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

2023-10-29 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 ch

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

2023-10-29 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 (known as second/fadump kernel), becomes outdated. Consequently, attempting dump collection wit

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

2023-10-29 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 (known as second/fadump kernel), becomes outdated. Consequently, attempting d

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

2023-10-29 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 moni

[PATCH v12 3/6] crash: add a new kexec flag for FDT update

2023-10-29 Thread Sourabh Jain
The commit a72bbec70da2 ("crash: hotplug support for kexec_load()") introduced a new kexec flag, `KEXEC_UPDATE_ELFCOREHDR`. Kexec tool uses this flag to indicate kernel that it is safe to modify the elfcorehdr of kdump image loaded using kexec_load system call. Similarly, add a new kexec flag, `KE

[PATCH v12 4/6] powerpc/kexec: turn some static helper functions public

2023-10-29 Thread Sourabh Jain
Move the functions update_cpus_node and get_crash_memory_ranges from kexec/file_load_64.c to kexec/core_64.c to make these functions usable by other kexec components. Later in the series, these functions are utilized for in-kernel updates to kdump image during CPU/Memory hotplug or online/offline

[PATCH v12 0/6] powerpc/crash: Kernel handling of CPU and memory hotplug

2023-10-29 Thread Sourabh Jain
Commit 247262756121 ("crash: add generic infrastructure for crash hotplug support") added a generic infrastructure that allows architectures to selectively update the kdump image component during CPU or memory add/remove events within the kernel itself. This patch series adds crash hotplug handler

[PATCH v12 6/6] powerpc: add crash memory hotplug support

2023-10-29 Thread Sourabh Jain
Extend the arch crash hotplug handler, as introduced by the patch title ("powerpc: add crash CPU hotplug support"), to also support memory add/remove events. Elfcorehdr describes the memory of the crash kernel to capture the kernel; hence, it needs to be updated if memory resources change due to m

[PATCH v12 5/6] powerpc: add crash CPU hotplug support

2023-10-29 Thread Sourabh Jain
Due to CPU/Memory hotplug or online/offline events the elfcorehdr (which describes the CPUs and memory of the crashed kernel) and FDT (Flattened Device Tree) of kdump image becomes outdated. Consequently, attempting dump collection with an outdated elfcorehdr or FDT can lead to failed or inaccurate

[PATCH v12 1/6] crash: forward memory_notify arg to arch crash hotplug handler

2023-10-29 Thread Sourabh Jain
In the event of memory hotplug or online/offline events, the crash memory hotplug notifier `crash_memhp_notifier()` receives a `memory_notify` object but doesn't forward that object to the generic and architecture-specific crash hotplug handler. The `memory_notify` object contains the starting PFN

[PATCH v12 2/6] crash: make CPU and Memory hotplug support reporting flexible

2023-10-29 Thread Sourabh Jain
Architectures' specific functions `arch_crash_hotplug_cpu_support()` and `arch_crash_hotplug_memory_support()` advertise the kernel's capability to update the kdump image on CPU and Memory hotplug events to userspace via the sysfs interface. These architecture-specific functions need to access vari