prom_init.c (af2771493a1bf79cd9a1ab4f30327c428b5bd67c) | prom_init.c (9ee820fa005254dfc816330f6654f14dcb2beee1) |
---|---|
1/* 2 * Procedures for interfacing to Open Firmware. 3 * 4 * Paul Mackerras August 1996. 5 * Copyright (C) 1996-2005 Paul Mackerras. 6 * 7 * Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner. 8 * {engebret|bergner}@us.ibm.com --- 686 unchanged lines hidden (view full) --- 695/* PCIe/MSI support. Without MSI full PCIe is not supported */ 696#ifdef CONFIG_PCI_MSI 697#define OV5_MSI 0x01 /* PCIe/MSI support */ 698#else 699#define OV5_MSI 0x00 700#endif /* CONFIG_PCI_MSI */ 701#ifdef CONFIG_PPC_SMLPAR 702#define OV5_CMO 0x80 /* Cooperative Memory Overcommitment */ | 1/* 2 * Procedures for interfacing to Open Firmware. 3 * 4 * Paul Mackerras August 1996. 5 * Copyright (C) 1996-2005 Paul Mackerras. 6 * 7 * Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner. 8 * {engebret|bergner}@us.ibm.com --- 686 unchanged lines hidden (view full) --- 695/* PCIe/MSI support. Without MSI full PCIe is not supported */ 696#ifdef CONFIG_PCI_MSI 697#define OV5_MSI 0x01 /* PCIe/MSI support */ 698#else 699#define OV5_MSI 0x00 700#endif /* CONFIG_PCI_MSI */ 701#ifdef CONFIG_PPC_SMLPAR 702#define OV5_CMO 0x80 /* Cooperative Memory Overcommitment */ |
703#define OV5_XCMO 0x40 /* Page Coalescing */ |
|
703#else 704#define OV5_CMO 0x00 | 704#else 705#define OV5_CMO 0x00 |
706#define OV5_XCMO 0x00 |
|
705#endif 706#define OV5_TYPE1_AFFINITY 0x80 /* Type 1 NUMA affinity */ 707 708/* Option Vector 6: IBM PAPR hints */ 709#define OV6_LINUX 0x02 /* Linux is our OS */ 710 711/* 712 * The architecture vector has an array of PVR mask/value pairs, --- 38 unchanged lines hidden (view full) --- 751 0, /* don't halt */ 752 753 /* option vector 5: PAPR/OF options */ 754 13 - 2, /* length */ 755 0, /* don't ignore, don't halt */ 756 OV5_LPAR | OV5_SPLPAR | OV5_LARGE_PAGES | OV5_DRCONF_MEMORY | 757 OV5_DONATE_DEDICATE_CPU | OV5_MSI, 758 0, | 707#endif 708#define OV5_TYPE1_AFFINITY 0x80 /* Type 1 NUMA affinity */ 709 710/* Option Vector 6: IBM PAPR hints */ 711#define OV6_LINUX 0x02 /* Linux is our OS */ 712 713/* 714 * The architecture vector has an array of PVR mask/value pairs, --- 38 unchanged lines hidden (view full) --- 753 0, /* don't halt */ 754 755 /* option vector 5: PAPR/OF options */ 756 13 - 2, /* length */ 757 0, /* don't ignore, don't halt */ 758 OV5_LPAR | OV5_SPLPAR | OV5_LARGE_PAGES | OV5_DRCONF_MEMORY | 759 OV5_DONATE_DEDICATE_CPU | OV5_MSI, 760 0, |
759 OV5_CMO, | 761 OV5_CMO | OV5_XCMO, |
760 OV5_TYPE1_AFFINITY, 761 0, 762 0, 763 0, 764 /* WARNING: The offset of the "number of cores" field below 765 * must match by the macro below. Update the definition if 766 * the structure layout changes. 767 */ --- 1920 unchanged lines hidden --- | 762 OV5_TYPE1_AFFINITY, 763 0, 764 0, 765 0, 766 /* WARNING: The offset of the "number of cores" field below 767 * must match by the macro below. Update the definition if 768 * the structure layout changes. 769 */ --- 1920 unchanged lines hidden --- |