diff options
| author | Lukas Beckmann <lbckmnn@mailbox.org> | 2026-08-22 18:05:00 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-09-04 08:44:17 +0200 |
| commit | 94235414a0568f260b60b89ec584ff4829d5e8c9 (patch) | |
| tree | 8dc018afaaec3db58d8cf0a72ea066545dc4fbb8 /scripts/Makefile.thinlto | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-next-94235414a0568f260b60b89ec584ff4829d5e8c9.tar.gz linux-next-94235414a0568f260b60b89ec584ff4829d5e8c9.zip | |
genirq: Discard cpumask of irqaffinity= boot parameter if parsing fails
irq_affinity_setup() ignores the return value of cpulist_parse(). This
can result in using a "half parsed" cpulist. E.g. on a system with 8
cores, the parameter "irqaffinity=0,1,6-10,4" would result in using only
CPU 0 and 1, since the parsing fails at 6-10. Other boot parameters
which take a cpulist (e.g. isolcpus=, workqueue.unbound_cpus=) already
handle this by falling back to a default.
Check the return value of cpulist_parse() and let
init_irq_default_affinity() set the default in early_irq_init()
later, if parsing fails.
Signed-off-by: Lukas Beckmann <lbckmnn@mailbox.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Radu Rendec <radu@rendec.net>
Link: https://patch.msgid.link/20260822160502.4665-1-lbckmnn@mailbox.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
