Add firmware flags for PCIe/MSI
PATCH 1/4 Add firmware flags for PCIe/MSI
From: Jake Moilanen <[email protected]>
Add firmware flags for PCIe/MSI.
Signed-off-by Jake Moilanen <[email protected]>
---
arch/powerpc/kernel/prom_init.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
arch/powerpc/kernel/prom_init.c +7 -1
@@ -634,6 +634,12 @@ static void __init early_cmdline_parse(v/* ibm,dynamic-reconfiguration-memory property supported */ #define OV5_DRCONF_MEMORY 0x20#define OV5_LARGE_PAGES 0x10/* large pages supported */ +/* PCIe/MSI support. Without MSI full PCIe is not supported */ +#ifdef CONFIG_PCI_MSI +#define OV5_MSI 0x01/* PCIe/MSI supported */ +#else +#define OV5_MSI 0x00 +#endif /* * The architecture vector has an array of PVR mask/value pairs,
@@ -677,7 +683,7 @@ static unsigned char ibm_architecture_ve/* option vector 5: PAPR/OF options */ 3 -1 ,/* length */ 0 ,/* don't ignore, don't halt */ - OV5_LPAR | OV5_SPLPAR | OV5_LARGE_PAGES, + OV5_LPAR | OV5_SPLPAR | OV5_LARGE_PAGES | OV5_MSI, };/* Old method - ELF header with PT_NOTE sections */