[coreboot] Patch merged into coreboot/master: 95acbc4 pirq_routing: Allow routing with more than 4 PIRQ links
gerrit at coreboot.org
gerrit at coreboot.org
Thu Oct 4 04:27:30 CEST 2012
the following patch was just integrated into master:
commit 95acbc47a70d04d13f1165fdb89a6f54fc06d90e
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date: Thu Aug 23 02:32:58 2012 -0500
pirq_routing: Allow routing with more than 4 PIRQ links
pirq_routing_irqs assumed that only four links are available for PIRQ
routing, INTA to INTD. Some chipsets provide more, up to INTH.
When pirq_routing_irqs found a link number greater than 4 in the pirq table,
it would not assign that IRQ. This is a shame, as it limits the flexibility
of routing IRQs.
Make the maximum number of links a Kconfig variable, and modify the code to
respect it. This works beatifully on the VX900, which provides 8 routable
interrupts.
While we're at it, also refactor pirq_routing_irqs, and add some much
needed comments.
Rename pirq_routing_irqs to pirq_route_irqs to demistify the role of this
function.
The copyrights added were determined from git log filename.
Change-Id: I4b565315404c65b871406f616474e2cc9e6e013e
Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Build-Tested: build bot (Jenkins) at Thu Oct 4 04:26:30 2012, giving +1
Reviewed-By: Alexandru Gagniuc <mr.nuke.me at gmail.com> at Thu Oct 4 04:27:29 2012, giving +2
See http://review.coreboot.org/1482 for details.
-gerrit
More information about the coreboot
mailing list