diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2007-05-07 22:58:35 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-07 23:40:31 -0400 |
commit | 014dad902aad6f5efbd65d0524b2e99304d2b07e (patch) | |
tree | 380265112a91c3f9f917272ee43dc2aa469a493a /arch/powerpc/kernel/prom_init.c | |
parent | 85f2bf9f60f55b6727ed310ebbaa2df7142326e5 (diff) |
[POWERPC] Tell Phyp we support MSI
Tell Phyp we support MSI via the client architecture support mechanism.
Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index eee3555ced7c..d6047c441034 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -635,6 +635,12 @@ static void __init early_cmdline_parse(void) | |||
635 | /* ibm,dynamic-reconfiguration-memory property supported */ | 635 | /* ibm,dynamic-reconfiguration-memory property supported */ |
636 | #define OV5_DRCONF_MEMORY 0x20 | 636 | #define OV5_DRCONF_MEMORY 0x20 |
637 | #define OV5_LARGE_PAGES 0x10 /* large pages supported */ | 637 | #define OV5_LARGE_PAGES 0x10 /* large pages supported */ |
638 | /* PCIe/MSI support. Without MSI full PCIe is not supported */ | ||
639 | #ifdef CONFIG_PCI_MSI | ||
640 | #define OV5_MSI 0x01 /* PCIe/MSI support */ | ||
641 | #else | ||
642 | #define OV5_MSI 0x00 | ||
643 | #endif /* CONFIG_PCI_MSI */ | ||
638 | 644 | ||
639 | /* | 645 | /* |
640 | * The architecture vector has an array of PVR mask/value pairs, | 646 | * The architecture vector has an array of PVR mask/value pairs, |
@@ -679,7 +685,7 @@ static unsigned char ibm_architecture_vec[] = { | |||
679 | /* option vector 5: PAPR/OF options */ | 685 | /* option vector 5: PAPR/OF options */ |
680 | 3 - 2, /* length */ | 686 | 3 - 2, /* length */ |
681 | 0, /* don't ignore, don't halt */ | 687 | 0, /* don't ignore, don't halt */ |
682 | OV5_LPAR | OV5_SPLPAR | OV5_LARGE_PAGES | OV5_DRCONF_MEMORY, | 688 | OV5_LPAR | OV5_SPLPAR | OV5_LARGE_PAGES | OV5_DRCONF_MEMORY | OV5_MSI, |
683 | }; | 689 | }; |
684 | 690 | ||
685 | /* Old method - ELF header with PT_NOTE sections */ | 691 | /* Old method - ELF header with PT_NOTE sections */ |