[haiku-commits] haiku: hrev44541 - src/system/kernel/arch/x86

  • From: mmlr@xxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 16 Aug 2012 00:55:21 +0200 (CEST)

hrev44541 adds 1 changeset to branch 'master'
old head: 1026b0a1a76dc88927bb8175c470f638dc5464ee
new head: c936a02360c7a18c49d2da5e8b8e38b6b666ead6

----------------------------------------------------------------------------

c936a02: Move MSI initialization before IO-APIC to fix missing init.
  
  Initializing the IO-APIC will initialize the PCI module, which does
  read the MSI config of the devices only when MSIs are available.
  Since we initialized them only after that, that condition wasn't met.
  Later, due to the uninitialized arch info, MSIs were still marked as
  available (0xcc = 204 MSIs). Due to the also uninitialized configured
  count, they were always deemed busy however, in effect just breaking
  MSI support whereever IO-APICs were available.

                                            [ Michael Lotz <mmlr@xxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44541
Commit:      c936a02360c7a18c49d2da5e8b8e38b6b666ead6
URL:         http://cgit.haiku-os.org/haiku/commit/?id=c936a02
Author:      Michael Lotz <mmlr@xxxxxxxx>
Date:        Wed Aug 15 21:17:47 2012 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/system/kernel/arch/x86/arch_int.cpp |    2 +-

----------------------------------------------------------------------------

diff --git a/src/system/kernel/arch/x86/arch_int.cpp 
b/src/system/kernel/arch/x86/arch_int.cpp
index 123f575..c83b6ae 100644
--- a/src/system/kernel/arch/x86/arch_int.cpp
+++ b/src/system/kernel/arch/x86/arch_int.cpp
@@ -893,8 +893,8 @@ arch_int_init_post_vm(struct kernel_args *args)
 status_t
 arch_int_init_io(kernel_args* args)
 {
-       ioapic_init(args);
        msi_init();
+       ioapic_init(args);
        return B_OK;
 }
 


Other related posts:

  • » [haiku-commits] haiku: hrev44541 - src/system/kernel/arch/x86 - mmlr