aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/hp/pavilion_m6_1035dx/mptable.c
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-12-06 03:29:25 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-12-22 16:33:29 +0100
commit6d5657d620e941f419d252e53ad79f2c1b41ea08 (patch)
tree0992075fbadbd903d072e15589e2b1296047170c /src/mainboard/hp/pavilion_m6_1035dx/mptable.c
parentafe6a69b3384c073140e883ecaa2c3c88f0be9e7 (diff)
hp/pavilion_m6_1035dx: Enable IOMMU
Change-Id: Ia14490c9074d35b7dde99e38b4ee169d4e4589a4 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/7678 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/hp/pavilion_m6_1035dx/mptable.c')
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/mptable.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/mptable.c b/src/mainboard/hp/pavilion_m6_1035dx/mptable.c
index f47b9d9495..65b1279e47 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/mptable.c
+++ b/src/mainboard/hp/pavilion_m6_1035dx/mptable.c
@@ -118,6 +118,12 @@ static void *smp_write_config_table(void *v)
#define PCI_INT(bus, dev, int_sign, pin) \
smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, (bus), (((dev)<<2)|(int_sign)), ioapic_id, (pin))
+ /* IOMMU */
+ PCI_INT(0x0, 0x00, 0x0, 0x10);
+ PCI_INT(0x0, 0x00, 0x1, 0x11);
+ PCI_INT(0x0, 0x00, 0x2, 0x12);
+ PCI_INT(0x0, 0x00, 0x3, 0x13);
+
/* Internal VGA */
PCI_INT(0x0, 0x01, 0x0, intr_data[0x02]);
PCI_INT(0x0, 0x01, 0x1, intr_data[0x03]);