git: x86_64/ioapic: Allow GSI's target CPU to be configured

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Oct 29 07:53:22 PDT 2011


commit 95874ffdec65823430464b7869d8f0acf75cc226
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Oct 29 21:13:43 2011 +0800

    x86_64/ioapic: Allow GSI's target CPU to be configured
    
    - Tuneable hw.ioapic.gsi.X.cpu is added, which could be used to specify
      the GSI X's target CPU id
    - If hw.ioapic.gsi.X is not set, then GSI X will be target to CPU Y,
      Y = X % ncpus

Summary of changes:
 sys/dev/acpica5/acpi_sci_var.h        |    1 +
 sys/platform/pc64/acpica5/acpi_fadt.c |    6 +++
 sys/platform/pc64/apic/ioapic.c       |   17 ++++---
 sys/platform/pc64/apic/ioapic.h       |    2 +-
 sys/platform/pc64/apic/ioapic_abi.c   |   79 +++++++++++++++++++++++++++++----
 5 files changed, 87 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95874ffdec65823430464b7869d8f0acf75cc226


-- 
DragonFly BSD source repository





More information about the Commits mailing list