PCI access mode on x86_64
Hi!
Is there a reason why "PCI access mode" config option isn't available for x86_64? Due to this, PCIE config options aren't available either.
Piotr Kaczuba
Quoted 4 lines · Piotr Kaczuba
Hi!
Is there a reason why "PCI access mode" config option isn't available for
x86_64? Due to this, PCIE config options aren't available either.
There is no 64bit PCI BIOS, so access is always direct.
I assume you mean mmconfig access with "PCIE config options", that is a separate config option and available.
-Andi
Quoted 8 lines · Andi Kleen
Quoted 2 lines · Piotr Kaczuba
Is there a reason why "PCI access mode" config option isn't available for
x86_64? Due to this, PCIE config options aren't available either.There is no 64bit PCI BIOS, so access is always direct.
I assume you mean mmconfig access with "PCIE config options", that is a separate config option and available.
I mean the PCIEPORTBUS option which depends on PCI_GOMMCONFIG or PCI_GOANY. I assume that due to PCI_MMCONFIG / PCI_GOMMCONFIG mismatch it's not available on x86_64.
Piotr Kaczuba
Quoted 5 lines · Piotr Kaczuba
Quoted 4 lines · Andi Kleen
Quoted 2 lines · Piotr Kaczuba
Is there a reason why "PCI access mode" config option isn't available for
x86_64? Due to this, PCIE config options aren't available either.
Quoted 8 lines
Quoted 4 lines
There is no 64bit PCI BIOS, so access is always direct.
I assume you mean mmconfig access with "PCIE config options", that is a separate config option and available.
I mean the PCIEPORTBUS option which depends on
PCI_GOMMCONFIGorPCI_GOANY. I assume that due toPCI_MMCONFIG/PCI_GOMMCONFIGmismatch it's not available onx86_64.
Ok, that's a bug in PCIEPORTBUS. Best is probably to completely remove the dependency, it doesn't make much sense (the code has to handle the case of mmconfig not being available at runtime anyways)
-Andi
Remove bogus dependency in PCI Express root driver.
drivers/pci/pcie/Kconfig renamed from drivers/pci/pcie/Kconfig-o +0 -1
@@ -3,7 +3,6 @@ # config PCIEPORTBUS bool "PCI Express support" - depends on PCI_GOMMCONFIG || PCI_GOANY default n ---help---
Quoted 31 lines · Andi Kleen
Quoted 5 lines · Piotr Kaczuba
Quoted 4 lines · Andi Kleen
Quoted 2 lines · Piotr Kaczuba
Is there a reason why "PCI access mode" config option isn't available for
x86_64? Due to this, PCIE config options aren't available either.Quoted 8 lines
Quoted 4 lines
There is no 64bit PCI BIOS, so access is always direct.
I assume you mean mmconfig access with "PCIE config options", that is a separate config option and available.
I mean the PCIEPORTBUS option which depends on
PCI_GOMMCONFIGorPCI_GOANY. I assume that due toPCI_MMCONFIG/PCI_GOMMCONFIGmismatch it's not available onx86_64.Ok, that's a bug in PCIEPORTBUS. Best is probably to completely remove the dependency, it doesn't make much sense (the code has to handle the case of mmconfig not being available at runtime anyways)
-Andi
Remove bogus dependency in PCI Express root driver.
Signed-off-by Andi Kleen <[email protected]>diff -u linux-2.6.11rc3/drivers/pci/pcie/Kconfig-o linux-2.6.11rc3/drivers/pci/pcie/Kconfig
drivers/pci/pcie/Kconfig line 8
Quoted 7 lines
drivers/pci/pcie/Kconfig renamed from drivers/pci/pcie/Kconfig-o +0
-1@@ -3,7 +3,6 @@ # config PCIEPORTBUS bool "PCI Express support" - depends on PCI_GOMMCONFIG || PCI_GOANY default n ---help---
This one is needed, too.
Piotr Kaczuba
arch/x86_64/Kconfig 2005-02-14 16:37:18.000000000 +0100 renamed from arch/x86_64/Kconfig 2005-02-14 16:37:33.000000000 +0100 +2 -0
@@ -399,6 +399,8 @@ from i386. Requires that the driver writer used memory barriers properly. +source "drivers/pci/pcie/Kconfig" + source "drivers/pci/Kconfig" source "drivers/pcmcia/Kconfig"
Quoted 1 line
This one is needed, too.
Thanks. Whoever wrote this this didn't care very much about x86-64.
-Andi
Greg KH
AppliedQuoted 15 lines · Andi Kleen
Quoted 5 lines · Piotr Kaczuba
Quoted 4 lines · Andi Kleen
Quoted 2 lines · Piotr Kaczuba
Is there a reason why "PCI access mode" config option isn't available for
x86_64? Due to this, PCIE config options aren't available either.Quoted 8 lines
Quoted 4 lines
There is no 64bit PCI BIOS, so access is always direct.
I assume you mean mmconfig access with "PCIE config options", that is a separate config option and available.
I mean the PCIEPORTBUS option which depends on
PCI_GOMMCONFIGorPCI_GOANY. I assume that due toPCI_MMCONFIG/PCI_GOMMCONFIGmismatch it's not available onx86_64.
Quoted 8 lines
Ok, that's a bug in PCIEPORTBUS. Best is probably to completely remove the dependency, it doesn't make much sense (the code has to handle the case of mmconfig not being available at runtime anyways)
-Andi
Remove bogus dependency in PCI Express root driver.
Applied, thanks.
greg k-h