• Jeremy Fitzhardinge's avatar
    xen64: add identity irq->vector map · 0725cbb9
    Jeremy Fitzhardinge authored
    The x86_64 interrupt subsystem is oriented towards vectors, as opposed
    to a flat irq space as it is in x86-32.  This patch adds a simple
    identity irq->vector mapping so that we can continue to feed irqs into
    do_IRQ() and get a good result.
    
    Ideally x86_32 will unify with the 64-bit code and use vectors too.
    At that point we can move to mapping event channels to vectors, which
    will allow us to economise on irqs (so per-cpu event channels can
    share irqs, rather than having to allocte one per cpu, for example).
    Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
    Cc: Stephen Tweedie <sct@redhat.com>
    Cc: Eduardo Habkost <ehabkost@redhat.com>
    Cc: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    0725cbb9
enlighten.c 38.2 KB