Files
linux/arch/x86/kernel
Andrew Cooper 07e8f88568 x86/apic: Drop apic::delivery_mode
This field is set to APIC_DELIVERY_MODE_FIXED in all cases, and is read
exactly once.  Fold the constant in uv_program_mmr() and drop the field.

Searching for the origin of the stale HyperV comment reveals commit
a31e58e129 ("x86/apic: Switch all APICs to Fixed delivery mode") which
notes:

  As a consequence of this change, the apic::irq_delivery_mode field is
  now pointless, but this needs to be cleaned up in a separate patch.

6 years is long enough for this technical debt to have survived.

  [ bp: Fold in
    https://lore.kernel.org/r/20231121123034.1442059-1-andrew.cooper3@citrix.com
  ]

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Link: https://lore.kernel.org/r/20231102-x86-apic-v1-1-bf049a2a0ed6@citrix.com
2023-11-21 16:58:54 +01:00
..
2023-11-21 16:58:54 +01:00
2023-08-17 17:07:09 +02:00
2022-09-26 10:13:16 -07:00
2022-04-19 17:14:09 -07:00
2023-08-09 11:58:34 -07:00
2023-06-19 16:19:10 -07:00
2023-09-19 07:04:49 +02:00
2023-08-02 15:01:51 -07:00
2022-12-10 10:33:11 -06:00
2023-01-06 04:22:34 +01:00
2023-07-11 14:12:19 -07:00
2022-09-26 19:46:16 -07:00
2022-04-14 14:09:43 +02:00
2023-10-10 14:38:19 +02:00