Re: [PATCH 00/23] binfmt_elf,arch/*: Use elf.h for coredump note names

2025-07-08 Thread Akihiko Odaki
On 2025/07/01 22:55, Dave Martin wrote: This series aims to clean up an aspect of coredump generation: ELF coredumps contain a set of notes describing the state of machine registers and other information about the dumped process. Notes are identified by a numeric identifier n_type and a "name"

[PATCH 0/4] um: Minor fixes and cleanups

2025-07-08 Thread Tiwei Bie
From: Tiwei Bie Tiwei Bie (4): um: Make unscheduled_userspace_iterations static um: Make mm_list and mm_list_lock static um: Avoid redefining ARCH_HAS_CACHE_LINE_SIZE um: rtc: Avoid shadowing err in uml_rtc_start() arch/um/Kconfig | 4 +--- arch/um/drivers/rtc_user.c

[PATCH 3/4] um: Avoid redefining ARCH_HAS_CACHE_LINE_SIZE

2025-07-08 Thread Tiwei Bie
From: Tiwei Bie There is a generic ARCH_HAS_CACHE_LINE_SIZE option introduced by commit c2280be81de4 ("mm: generalize ARCH_HAS_CACHE_LINE_SIZE") in mm/Kconfig. Select that instead. Signed-off-by: Tiwei Bie --- arch/um/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 2/4] um: Make mm_list and mm_list_lock static

2025-07-08 Thread Tiwei Bie
From: Tiwei Bie They are only used within mmu.c. Make them static. Signed-off-by: Tiwei Bie --- arch/um/kernel/skas/mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/um/kernel/skas/mmu.c b/arch/um/kernel/skas/mmu.c index 849fafa4b54f..afe9a2f251ef 100644 --- a/

[PATCH 4/4] um: rtc: Avoid shadowing err in uml_rtc_start()

2025-07-08 Thread Tiwei Bie
From: Tiwei Bie Remove the declaration of 'err' inside the 'if (timetravel)' block, as it would otherwise be unavailable outside that block, potentially leading to uml_rtc_start() returning an uninitialized value. Fixes: dde8b58d5127 ("um: add a pseudo RTC") Signed-off-by: Tiwei Bie --- arch/u

[PATCH 1/4] um: Make unscheduled_userspace_iterations static

2025-07-08 Thread Tiwei Bie
From: Tiwei Bie It's only used within process.c. Make it static. Signed-off-by: Tiwei Bie --- arch/um/os-Linux/skas/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c index e42ffac23e3c..d3dd4fb559cf 1

[PATCH] um: vfio: Support adding devices via mconsole

2025-07-08 Thread Tiwei Bie
From: Tiwei Bie It can be used when we want to pass through PCI devices to UML while it's up and running. PCI devices can be passed through to UML using the same syntax as the command line option: (mconsole) config vfio_uml.device= Signed-off-by: Tiwei Bie --- arch/um/drivers/vfio_kern.c | 62