public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
       [not found] <200605161559.k4GFx3Mi017163@hera.kernel.org>
@ 2006-05-16 16:17 ` Jeff Garzik
  2006-05-16 17:07   ` Andi Kleen
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Garzik @ 2006-05-16 16:17 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linus Torvalds; +Cc: Andrew Morton, Andi Kleen

Linux Kernel Mailing List wrote:
> commit 5491d0f3e206beb95eeb506510d62a1dab462df1
> tree 5c4aadcfb4a93535e2f6e0f5977e930ccacec0e9
> parent f0fdabf8bf187c9aafeb139a828c530ef45cf022
> author Andi Kleen <ak@suse.de> Mon, 15 May 2006 18:19:41 +0200
> committer Linus Torvalds <torvalds@g5.osdl.org> Tue, 16 May 2006 21:59:31 -0700
> 
> [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
> 
> This is needed to see all devices.
> 
> The system has multiple PCI segments and we don't handle that properly
> yet in PCI and ACPI. Short term before this is fixed blacklist it to
> pci=noacpi.
> 
> Acked-by: len.brown@intel.com
> Cc: gregkh@suse.de
> Signed-off-by: Andi Kleen <ak@suse.de>
> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
> 
>  arch/i386/kernel/acpi/boot.c |    8 ++++++++
>  1 files changed, 8 insertions(+)
> 
> diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
> index 40e5aba..daee695 100644
> --- a/arch/i386/kernel/acpi/boot.c
> +++ b/arch/i386/kernel/acpi/boot.c
> @@ -1066,6 +1066,14 @@ static struct dmi_system_id __initdata a
>  		     DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"),
>  		     },
>  	 },
> +	{
> +	 .callback = disable_acpi_pci,
> +	 .ident = "HP xw9300",
> +	 .matches = {
> +		    DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> +		    DMI_MATCH(DMI_PRODUCT_NAME, "HP xw9300 Workstation"),

Strong NAK.  Please revert.  This majorly screws my primary workstation, 
and many other users with this workstation.

At a minimum, you should test to see if the BIOS has activated PCI 
domain support first!

	Jeff



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
  2006-05-16 16:17 ` [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300 Jeff Garzik
@ 2006-05-16 17:07   ` Andi Kleen
  2006-05-16 17:12     ` Jeff Garzik
  0 siblings, 1 reply; 8+ messages in thread
From: Andi Kleen @ 2006-05-16 17:07 UTC (permalink / raw)
  To: Jeff Garzik, Deguara, Joachim
  Cc: Linux Kernel Mailing List, Linus Torvalds, Andrew Morton

On Tuesday 16 May 2006 18:17, Jeff Garzik wrote:
> Linux Kernel Mailing List wrote:
> > commit 5491d0f3e206beb95eeb506510d62a1dab462df1
> > tree 5c4aadcfb4a93535e2f6e0f5977e930ccacec0e9
> > parent f0fdabf8bf187c9aafeb139a828c530ef45cf022
> > author Andi Kleen <ak@suse.de> Mon, 15 May 2006 18:19:41 +0200
> > committer Linus Torvalds <torvalds@g5.osdl.org> Tue, 16 May 2006 21:59:31 -0700
> > 
> > [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
> > 
> > This is needed to see all devices.
> > 
> > The system has multiple PCI segments and we don't handle that properly
> > yet in PCI and ACPI. Short term before this is fixed blacklist it to
> > pci=noacpi.
> > 
> > Acked-by: len.brown@intel.com
> > Cc: gregkh@suse.de
> > Signed-off-by: Andi Kleen <ak@suse.de>
> > Signed-off-by: Linus Torvalds <torvalds@osdl.org>
> > 
> >  arch/i386/kernel/acpi/boot.c |    8 ++++++++
> >  1 files changed, 8 insertions(+)
> > 
> > diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
> > index 40e5aba..daee695 100644
> > --- a/arch/i386/kernel/acpi/boot.c
> > +++ b/arch/i386/kernel/acpi/boot.c
> > @@ -1066,6 +1066,14 @@ static struct dmi_system_id __initdata a
> >  		     DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"),
> >  		     },
> >  	 },
> > +	{
> > +	 .callback = disable_acpi_pci,
> > +	 .ident = "HP xw9300",
> > +	 .matches = {
> > +		    DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> > +		    DMI_MATCH(DMI_PRODUCT_NAME, "HP xw9300 Workstation"),
> 
> Strong NAK.  Please revert.  This majorly screws my primary workstation, 
> and many other users with this workstation.

Did you test that? I had two persons with that workstation test all combinations
and it worked for them. 

Wait - you have a engineering sample haven't you? I don't think i care about
those. Maybe they behave differently. Use pci=acpi

[Don't try to update the BIOS either - it can be deadly]

> At a minimum, you should test to see if the BIOS has activated PCI 
> domain support first!

It worked in both cases on the production system. Without pci=noacpi
the PCI-X bus couldn't be seen.

-Andi
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
  2006-05-16 17:07   ` Andi Kleen
@ 2006-05-16 17:12     ` Jeff Garzik
  2006-05-16 17:23       ` Andi Kleen
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Garzik @ 2006-05-16 17:12 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Deguara, Joachim, Linux Kernel Mailing List, Linus Torvalds,
	Andrew Morton

Andi Kleen wrote:
> Did you test that? I had two persons with that workstation test all combinations
> and it worked for them. 

Not yet, it's queued for my next test run.


> Wait - you have a engineering sample haven't you? I don't think i care about
> those. Maybe they behave differently. Use pci=acpi
> 
> [Don't try to update the BIOS either - it can be deadly]

Well, its a free sample of a production machine, not a pre-production 
machine.  And the BIOS updates just fine :)

	Jeff



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
  2006-05-16 17:12     ` Jeff Garzik
@ 2006-05-16 17:23       ` Andi Kleen
  2006-05-16 17:25         ` Jeff Garzik
  0 siblings, 1 reply; 8+ messages in thread
From: Andi Kleen @ 2006-05-16 17:23 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Deguara, Joachim, Linux Kernel Mailing List, Linus Torvalds,
	Andrew Morton

On Tuesday 16 May 2006 19:12, Jeff Garzik wrote:
> Andi Kleen wrote:
> > Did you test that? I had two persons with that workstation test all combinations
> > and it worked for them. 
> 
> Not yet, it's queued for my next test run.

You complained without testing anything? 

-Andi

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
  2006-05-16 17:23       ` Andi Kleen
@ 2006-05-16 17:25         ` Jeff Garzik
  0 siblings, 0 replies; 8+ messages in thread
From: Jeff Garzik @ 2006-05-16 17:25 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Deguara, Joachim, Linux Kernel Mailing List, Linus Torvalds,
	Andrew Morton

Andi Kleen wrote:
> On Tuesday 16 May 2006 19:12, Jeff Garzik wrote:
>> Andi Kleen wrote:
>>> Did you test that? I had two persons with that workstation test all combinations
>>> and it worked for them. 
>> Not yet, it's queued for my next test run.
> 
> You complained without testing anything? 

When I first got the box, pci=noacpi made mmconfig space go away, or 
some other breakage.  If your patch forces that, then logically that 
condition should reappear by default.

	Jeff




^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
@ 2006-05-16 18:33 Deguara, Joachim
  2006-05-16 19:04 ` Andi Kleen
  2006-05-17  9:21 ` Andi Kleen
  0 siblings, 2 replies; 8+ messages in thread
From: Deguara, Joachim @ 2006-05-16 18:33 UTC (permalink / raw)
  To: Jeff Garzik, Andi Kleen
  Cc: Linux Kernel Mailing List, Linus Torvalds, Andrew Morton

> -----Original Message-----
> From: Jeff Garzik [mailto:jeff@garzik.org] 
> Sent: 16 May 2006 19:25
> To: Andi Kleen
> Cc: Deguara, Joachim; Linux Kernel Mailing List; Linus 
> Torvalds; Andrew Morton
> Subject: Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
> 
> Andi Kleen wrote:
> > On Tuesday 16 May 2006 19:12, Jeff Garzik wrote:
> >> Andi Kleen wrote:
> >>> Did you test that? I had two persons with that 
> workstation test all 
> >>> combinations and it worked for them.
> >> Not yet, it's queued for my next test run.
> > 
> > You complained without testing anything? 
> 
> When I first got the box, pci=noacpi made mmconfig space go 
> away, or some other breakage.  If your patch forces that, 
> then logically that condition should reappear by default.
> 
> 	Jeff
> 

The fix worked for me.  But as I noted, the lspci output changed and
going back I see the PCI-X bridge went AWOL, though the the SCSI
controller (part of that bug) is PCI-X non-bridge anyway.  Also I tested
this with the SLES kernel which IIRC has mmconfig off by default.  So
Jeff, I am interested to hear how your testing goes.

-joachim


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
  2006-05-16 18:33 Deguara, Joachim
@ 2006-05-16 19:04 ` Andi Kleen
  2006-05-17  9:21 ` Andi Kleen
  1 sibling, 0 replies; 8+ messages in thread
From: Andi Kleen @ 2006-05-16 19:04 UTC (permalink / raw)
  To: Deguara, Joachim
  Cc: Jeff Garzik, Linux Kernel Mailing List, Linus Torvalds,
	Andrew Morton

On Tuesday 16 May 2006 20:33, Deguara, Joachim wrote:
> > -----Original Message-----
> > From: Jeff Garzik [mailto:jeff@garzik.org] 
> > Sent: 16 May 2006 19:25
> > To: Andi Kleen
> > Cc: Deguara, Joachim; Linux Kernel Mailing List; Linus 
> > Torvalds; Andrew Morton
> > Subject: Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
> > 
> > Andi Kleen wrote:
> > > On Tuesday 16 May 2006 19:12, Jeff Garzik wrote:
> > >> Andi Kleen wrote:
> > >>> Did you test that? I had two persons with that 
> > workstation test all 
> > >>> combinations and it worked for them.
> > >> Not yet, it's queued for my next test run.
> > > 
> > > You complained without testing anything? 
> > 
> > When I first got the box, pci=noacpi made mmconfig space go 
> > away, or some other breakage.  If your patch forces that, 
> > then logically that condition should reappear by default.
> > 
> > 	Jeff
> > 
> 
> The fix worked for me.  But as I noted, the lspci output changed and
> going back I see the PCI-X bridge went AWOL, though the the SCSI
> controller (part of that bug) is PCI-X non-bridge anyway.  Also I tested
> this with the SLES kernel which IIRC has mmconfig off by default.  So
> Jeff, I am interested to hear how your testing goes.

But PCI-X reappears when you disable the PCI segmentation in the BIOS
right?

-Andi


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300
  2006-05-16 18:33 Deguara, Joachim
  2006-05-16 19:04 ` Andi Kleen
@ 2006-05-17  9:21 ` Andi Kleen
  1 sibling, 0 replies; 8+ messages in thread
From: Andi Kleen @ 2006-05-17  9:21 UTC (permalink / raw)
  To: Deguara, Joachim
  Cc: Jeff Garzik, Linux Kernel Mailing List, Linus Torvalds,
	Andrew Morton


> The fix worked for me.  But as I noted, the lspci output changed and
> going back I see the PCI-X bridge went AWOL, though the the SCSI
> controller (part of that bug) is PCI-X non-bridge anyway.  Also I tested
> this with the SLES kernel which IIRC has mmconfig off by default.  So
> Jeff, I am interested to hear how your testing goes.

Didn't you guys tell me earlier the machine doesn't boot without
pci=noacpi and segmentation enabled? And now it suddenly does again?

If it works without that option in all cases the patch can be of course 
dropped.

-Andi (confused) 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-05-17 10:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200605161559.k4GFx3Mi017163@hera.kernel.org>
2006-05-16 16:17 ` [PATCH] i386/x86_64: Force pci=noacpi on HP XW9300 Jeff Garzik
2006-05-16 17:07   ` Andi Kleen
2006-05-16 17:12     ` Jeff Garzik
2006-05-16 17:23       ` Andi Kleen
2006-05-16 17:25         ` Jeff Garzik
2006-05-16 18:33 Deguara, Joachim
2006-05-16 19:04 ` Andi Kleen
2006-05-17  9:21 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox