* [PATCH] Fix fallout from PCI: PCIE ASPM support
[not found] <200802020506.m1256gXG027547@hera.kernel.org>
@ 2008-02-02 5:26 ` Olof Johansson
2008-02-02 5:59 ` H. Peter Anvin
2008-02-02 20:04 ` Greg KH
0 siblings, 2 replies; 4+ messages in thread
From: Olof Johansson @ 2008-02-02 5:26 UTC (permalink / raw)
To: Linux Kernel Mailing List, torvalds; +Cc: git-commits-head, gregkh
On Sat, Feb 02, 2008 at 05:06:42AM +0000, Linux Kernel Mailing List wrote:
> PCI: PCIE ASPM support
This one broke almost all defconfigs on powerpc, since they enable
CONFIG_EXPERIMENTAL and CONFIG_PCI, and this option defaults to y.
Make it default to 'n' like most other options, and make it depend on
ACPI. Take out the unneccessary default 'n' from the debug option as well.
Signed-off-by: Olof Johansson <olof@lixom.net>
diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig
index 60104cf..4393bb3 100644
--- a/drivers/pci/pcie/Kconfig
+++ b/drivers/pci/pcie/Kconfig
@@ -32,8 +32,7 @@ source "drivers/pci/pcie/aer/Kconfig"
#
config PCIEASPM
bool "PCI Express ASPM support(Experimental)"
- depends on PCI && EXPERIMENTAL
- default y
+ depends on PCI && ACPI && EXPERIMENTAL
help
This enables PCI Express ASPM (Active State Power Management) and
Clock Power Management. ASPM supports state L0/L0s/L1.
@@ -42,7 +41,6 @@ config PCIEASPM
config PCIEASPM_DEBUG
bool "Debug PCI Express ASPM"
depends on PCIEASPM
- default n
help
This enables PCI Express ASPM debug support. It will add per-device
interface to control ASPM.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Fix fallout from PCI: PCIE ASPM support
2008-02-02 5:26 ` [PATCH] Fix fallout from PCI: PCIE ASPM support Olof Johansson
@ 2008-02-02 5:59 ` H. Peter Anvin
2008-02-02 15:39 ` Olof Johansson
2008-02-02 20:04 ` Greg KH
1 sibling, 1 reply; 4+ messages in thread
From: H. Peter Anvin @ 2008-02-02 5:59 UTC (permalink / raw)
To: Olof Johansson
Cc: Linux Kernel Mailing List, torvalds, git-commits-head, gregkh
Olof Johansson wrote:
> On Sat, Feb 02, 2008 at 05:06:42AM +0000, Linux Kernel Mailing List wrote:
>
>> PCI: PCIE ASPM support
>
> This one broke almost all defconfigs on powerpc, since they enable
> CONFIG_EXPERIMENTAL and CONFIG_PCI, and this option defaults to y.
>
> Make it default to 'n' like most other options, and make it depend on
> ACPI. Take out the unneccessary default 'n' from the debug option as well.
>
Is this actually ACPI-dependent?
-hpa
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Fix fallout from PCI: PCIE ASPM support
2008-02-02 5:59 ` H. Peter Anvin
@ 2008-02-02 15:39 ` Olof Johansson
0 siblings, 0 replies; 4+ messages in thread
From: Olof Johansson @ 2008-02-02 15:39 UTC (permalink / raw)
To: H. Peter Anvin
Cc: Linux Kernel Mailing List, torvalds, git-commits-head, gregkh
On Fri, Feb 01, 2008 at 09:59:21PM -0800, H. Peter Anvin wrote:
> Olof Johansson wrote:
>> On Sat, Feb 02, 2008 at 05:06:42AM +0000, Linux Kernel Mailing List wrote:
>>
>>> PCI: PCIE ASPM support
>>
>> This one broke almost all defconfigs on powerpc, since they enable
>> CONFIG_EXPERIMENTAL and CONFIG_PCI, and this option defaults to y.
>>
>> Make it default to 'n' like most other options, and make it depend on
>> ACPI. Take out the unneccessary default 'n' from the debug option as well.
>>
>
> Is this actually ACPI-dependent?
It shouldn't be, but it seems like it's currently entangled a bit with
the acpi include files. OSC_ACTIVE_STATE_PWR_SUPPORT comes from
linux/pci-acpi.h.
I can't include acpi/acpi_bus.h though, since that ends up pulling in
asm/ files that don't exist on powerpc.
So if the probing is fixed, no, it's not ACPI-dependent. Seems like
something that's just as well to mask behind it until someone's actually
used and tested it on a non-ACPI platform though, no?
I would experiment with it but I believe our firmware turns off empty
links before the kernel is booted, we don't support hotplug at this time.
-Olof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Fix fallout from PCI: PCIE ASPM support
2008-02-02 5:26 ` [PATCH] Fix fallout from PCI: PCIE ASPM support Olof Johansson
2008-02-02 5:59 ` H. Peter Anvin
@ 2008-02-02 20:04 ` Greg KH
1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2008-02-02 20:04 UTC (permalink / raw)
To: Olof Johansson; +Cc: Linux Kernel Mailing List, torvalds, git-commits-head
On Fri, Feb 01, 2008 at 11:26:28PM -0600, Olof Johansson wrote:
> On Sat, Feb 02, 2008 at 05:06:42AM +0000, Linux Kernel Mailing List wrote:
>
> > PCI: PCIE ASPM support
>
> This one broke almost all defconfigs on powerpc, since they enable
> CONFIG_EXPERIMENTAL and CONFIG_PCI, and this option defaults to y.
>
> Make it default to 'n' like most other options, and make it depend on
> ACPI. Take out the unneccessary default 'n' from the debug option as well.
>
>
> Signed-off-by: Olof Johansson <olof@lixom.net>
I'm just going to revert this, it's caused too many problems, sorry.
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-02 20:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200802020506.m1256gXG027547@hera.kernel.org>
2008-02-02 5:26 ` [PATCH] Fix fallout from PCI: PCIE ASPM support Olof Johansson
2008-02-02 5:59 ` H. Peter Anvin
2008-02-02 15:39 ` Olof Johansson
2008-02-02 20:04 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox