Skip to contentSkip to conversation

kexec: Consolidate machine_kexec_mask_interrupts() implementation

PATCH Farber, Eliav 2 participants 2 messages Dec 3, 2024 RISC-V

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Thomas Gleixner

Review

Quoted 3 lines
(quoted diff) +3 -0
+
+config GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD
+     bool "Clear forwarded VM interrupts during kexec"

This should not be user selectable. Just keep it as:

config GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD
bool

which defaults to 'n'. Just add a comment what this is about like it's done with the other options in that file which are only selectable.

Question: Should this new configuration option be placed inside or outside the following section:

```
menu "IRQ subsystem"


endmenu
```

In my patch, I have added the new configuration option at the end of the file, outside the "IRQ subsystem" section.

#1 lore raw
Quoted 14 lines · Eliav Farber
Quoted 11 lines · Thomas Gleixner

Review

Quoted 3 lines
(quoted diff) +3 -0
+
+config GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD
+     bool "Clear forwarded VM interrupts during kexec"

This should not be user selectable. Just keep it as:

config GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD
bool

which defaults to 'n'. Just add a comment what this is about like it's done with the other options in that file which are only selectable.

Question: Should this new configuration option be placed inside or outside the following section:

Quoted 8 lines
```
menu "IRQ subsystem"


endmenu
```

In my patch, I have added the new configuration option at the end of the file, outside the "IRQ subsystem" section.

It does not really matter when the option is silent, but keeping it in the menu section as the others is the most intuitive IMO.

Thanks,

tglx