Re: [PATCH v2 2/2] x86/efi: Apply EFI Memory Attributes after kexec

2024-11-29 Thread Nicolas Saenz Julienne
On Fri Nov 29, 2024 at 7:31 AM UTC, Dave Young wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you can confirm the sender and know the > content is safe. > > > > On Fri, 29 Nov 2024 at 15:11, Dave Young wrote: >> >> Hi Nic

Re: [PATCH v4 1/2] kexec: Consolidate machine_kexec_mask_interrupts() implementation

2024-11-29 Thread kernel test robot
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/Eliav-Farber/kexec-Consolidate-machine_kexec_mask_interrupts-implementation/20241129-193342 bas

Re: [PATCH v4 1/2] kexec: Consolidate machine_kexec_mask_interrupts() implementation

2024-11-29 Thread kernel test robot
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/Eliav-Farber/kexec-Consolidate-machine_kexec_mask_interrupts-implementation/20241129-193342 bas

Re: [PATCH v4 2/2] kexec: Prevent redundant IRQ masking by checking state before shutdown

2024-11-29 Thread Thomas Gleixner
On Fri, Nov 29 2024 at 11:31, Eliav Farber wrote: > > This patch addresses the issue by: Again: git grep 'This patch' Documentation/process/

Re: [PATCH v4 1/2] kexec: Consolidate machine_kexec_mask_interrupts() implementation

2024-11-29 Thread Thomas Gleixner
On Fri, Nov 29 2024 at 11:31, Eliav Farber wrote: > Move the machine_kexec_mask_interrupts function to a common location in > kernel/kexec_core.c, removing duplicate implementations from architecture > specific files (arch/arm, arch/arm64, arch/powerpc, and arch/riscv). Can you please move this in

[PATCH v4 1/2] kexec: Consolidate machine_kexec_mask_interrupts() implementation

2024-11-29 Thread Eliav Farber
Move the machine_kexec_mask_interrupts function to a common location in kernel/kexec_core.c, removing duplicate implementations from architecture specific files (arch/arm, arch/arm64, arch/powerpc, and arch/riscv). This consolidation reduces code duplication and improves maintainability. The unif

[PATCH v4 2/2] kexec: Prevent redundant IRQ masking by checking state before shutdown

2024-11-29 Thread Eliav Farber
During machine kexec, the function machine_kexec_mask_interrupts() is responsible for disabling or masking all interrupts. While the irq_disable hook ensures that an already-disabled IRQ is not disabled again, the current implementation unconditionally invokes the irq_mask() function for every inte

[PATCH v4 0/2] Improve interrupt handling during machine kexec

2024-11-29 Thread Eliav Farber
This patch series focuses on improving the machine_kexec_mask_interrupts() function by consolidating its implementation and optimizing its behavior to avoid redundant interrupt masking. Patch Summary: [PATCH v4 1/2] Move machine_kexec_mask_interrupts() to kexec_core.c, removing dupl

Re: [PATCH v1 03/11] fs/proc/vmcore: disallow vmcore modifications after the vmcore was opened

2024-11-29 Thread David Hildenbrand
On 25.11.24 15:41, Baoquan He wrote: On 11/22/24 at 10:30am, David Hildenbrand wrote: On 22.11.24 10:16, Baoquan He wrote: On 10/25/24 at 05:11pm, David Hildenbrand wrote: ..snip... @@ -1482,6 +1470,10 @@ int vmcore_add_device_dump(struct vmcoredd_data *data) return -EINVAL