Searched hist:11296 (Results 1 - 4 of 4) sorted by relevance

/gem5/src/dev/arm/
H A Dpci_host.cc11296:fe89fe1d1869 Fri Jan 15 06:30:00 EST 2016 Andreas Sandberg <andreas.sandberg@arm.com> dev, arm: Add support for automatic PCI interrupt routing

Add support for automatic PCI interrupt routing using a device's ID on
the PCI bus. Our current DTBs typically tell the kernel that we do
this or something similar when declaring the PCI controller. This
changeset adds an option to make the simulator behave in the same way.

Interrupt routing can be selected by setting the int_policy parameter
in the GenericArmPciHost. The following values are supported:

* ARM_PCI_INT_STATIC: Use the old static routing policy using the
interrupt line from a device's configurtion space.

* ARM_PCI_INT_DEV: Use device number on the PCI bus to map to an
interrupt in the GIC. The interrupt is computed as:

gic_int = int_base + (pci_dev % int_count)

* ARM_PCI_INT_PIN: Use device interrupt pin on the PCI bus to map to
an interrupt in the GIC. The PCI specification reserves pin ID 0
for devices without interrupts, the interrupt therefore computed
as:

gic_int = int_base + ((pin - 1) % int_count)
H A Dpci_host.hh11296:fe89fe1d1869 Fri Jan 15 06:30:00 EST 2016 Andreas Sandberg <andreas.sandberg@arm.com> dev, arm: Add support for automatic PCI interrupt routing

Add support for automatic PCI interrupt routing using a device's ID on
the PCI bus. Our current DTBs typically tell the kernel that we do
this or something similar when declaring the PCI controller. This
changeset adds an option to make the simulator behave in the same way.

Interrupt routing can be selected by setting the int_policy parameter
in the GenericArmPciHost. The following values are supported:

* ARM_PCI_INT_STATIC: Use the old static routing policy using the
interrupt line from a device's configurtion space.

* ARM_PCI_INT_DEV: Use device number on the PCI bus to map to an
interrupt in the GIC. The interrupt is computed as:

gic_int = int_base + (pci_dev % int_count)

* ARM_PCI_INT_PIN: Use device interrupt pin on the PCI bus to map to
an interrupt in the GIC. The PCI specification reserves pin ID 0
for devices without interrupts, the interrupt therefore computed
as:

gic_int = int_base + ((pin - 1) % int_count)
H A DSConscriptdiff 11296:fe89fe1d1869 Fri Jan 15 06:30:00 EST 2016 Andreas Sandberg <andreas.sandberg@arm.com> dev, arm: Add support for automatic PCI interrupt routing

Add support for automatic PCI interrupt routing using a device's ID on
the PCI bus. Our current DTBs typically tell the kernel that we do
this or something similar when declaring the PCI controller. This
changeset adds an option to make the simulator behave in the same way.

Interrupt routing can be selected by setting the int_policy parameter
in the GenericArmPciHost. The following values are supported:

* ARM_PCI_INT_STATIC: Use the old static routing policy using the
interrupt line from a device's configurtion space.

* ARM_PCI_INT_DEV: Use device number on the PCI bus to map to an
interrupt in the GIC. The interrupt is computed as:

gic_int = int_base + (pci_dev % int_count)

* ARM_PCI_INT_PIN: Use device interrupt pin on the PCI bus to map to
an interrupt in the GIC. The PCI specification reserves pin ID 0
for devices without interrupts, the interrupt therefore computed
as:

gic_int = int_base + ((pin - 1) % int_count)
H A DRealView.pydiff 11296:fe89fe1d1869 Fri Jan 15 06:30:00 EST 2016 Andreas Sandberg <andreas.sandberg@arm.com> dev, arm: Add support for automatic PCI interrupt routing

Add support for automatic PCI interrupt routing using a device's ID on
the PCI bus. Our current DTBs typically tell the kernel that we do
this or something similar when declaring the PCI controller. This
changeset adds an option to make the simulator behave in the same way.

Interrupt routing can be selected by setting the int_policy parameter
in the GenericArmPciHost. The following values are supported:

* ARM_PCI_INT_STATIC: Use the old static routing policy using the
interrupt line from a device's configurtion space.

* ARM_PCI_INT_DEV: Use device number on the PCI bus to map to an
interrupt in the GIC. The interrupt is computed as:

gic_int = int_base + (pci_dev % int_count)

* ARM_PCI_INT_PIN: Use device interrupt pin on the PCI bus to map to
an interrupt in the GIC. The PCI specification reserves pin ID 0
for devices without interrupts, the interrupt therefore computed
as:

gic_int = int_base + ((pin - 1) % int_count)

Completed in 37 milliseconds