• D
    [SPARC64]: Sun4v interrupt handling. · 5b0c0572
    David S. Miller 提交于
    Sun4v has 4 interrupt queues: cpu, device, resumable errors,
    and non-resumable errors.  A set of head/tail offset pointers
    help maintain a work queue in physical memory.  The entries
    are 64-bytes in size.
    
    Each queue is allocated then registered with the hypervisor
    as we bring cpus up.
    
    The two error queues each get a kernel side buffer that we
    use to quickly empty the main interrupt queue before we
    call up to C code to log the event and possibly take evasive
    action.
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    5b0c0572
cpudata.h 6.1 KB