Messages in this thread | | | From | Andy Lutomirski <> | Date | Tue, 25 Feb 2020 21:13:36 -0800 | Subject | Re: [patch 01/15] x86/irq: Convey vector as argument and not in ptregs |
| |
On Tue, Feb 25, 2020 at 3:26 PM Thomas Gleixner <tglx@linutronix.de> wrote: > > Device interrupts which go through do_IRQ() or the spurious interrupt > handler have their separate entry code on 64 bit for no good reason. > > Both 32 and 64 bit transport the vector number through ORIG_[RE]AX in > pt_regs. Further the vector number is forced to fit into an u8 and is > complemented and offset by 0x80 for historical reasons. > > Push the vector number into the error code slot instead and hand the plain > vector number to the C functions.
Reviewed-by: Andy Lutomirski <luto@kernel.org>
| |