lkml.org 
[lkml]   [2020]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [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>

    \
     
     \ /
      Last update: 2020-02-26 06:14    [W:3.866 / U:1.556 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site