[coreboot-gerrit] New patch to review for coreboot: 78749ab ck804: make Message Signaled Interrupts work

Jonathan A. Kollasch (jakllsch@kollasch.net) gerrit at coreboot.org
Sun Jan 25 19:59:43 CET 2015


Jonathan A. Kollasch (jakllsch at kollasch.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8276

-gerrit

commit 78749aba4b7fabe5ef230b8d0cb1b899ebfcd025
Author: Jonathan A. Kollasch <jakllsch at kollasch.net>
Date:   Sun Jan 25 12:57:43 2015 -0600

    ck804: make Message Signaled Interrupts work
    
    Change-Id: I5e0dc8b352f3d04e3b16b899af11d2b908a82850
    Signed-off-by: Jonathan A. Kollasch <jakllsch at kollasch.net>
---
 src/southbridge/nvidia/ck804/ht.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/southbridge/nvidia/ck804/ht.c b/src/southbridge/nvidia/ck804/ht.c
index 41e2998..b7a4826 100644
--- a/src/southbridge/nvidia/ck804/ht.c
+++ b/src/southbridge/nvidia/ck804/ht.c
@@ -52,11 +52,20 @@ unsigned long acpi_fill_mcfg(unsigned long current)
 
 #endif
 
+static void ht_init(struct device *dev)
+{
+	u32 htmsi;
+
+	htmsi = pci_read_config32(dev, 0xe0);
+	htmsi |= (1<<16);
+	pci_write_config32(dev, 0xe0, htmsi);
+}
+
 static struct device_operations ht_ops = {
 	.read_resources   = pci_dev_read_resources,
 	.set_resources    = pci_dev_set_resources,
 	.enable_resources = pci_dev_enable_resources,
-	.init             = 0,
+	.init             = ht_init,
 	.scan_bus         = 0,
 	.ops_pci          = &ck804_pci_ops,
 };



More information about the coreboot-gerrit mailing list