* Re: suspend order - again
[not found] <1205482960.23855.4.camel@sli10-desk.sh.intel.com>
@ 2008-03-14 11:54 ` Rafael J. Wysocki
2008-03-27 15:43 ` Len Brown
0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2008-03-14 11:54 UTC (permalink / raw)
To: Shaohua Li; +Cc: linux acpi, Len Brown
On Friday, 14 of March 2008, Shaohua Li wrote:
> I just found a system (Asus A6B00VC) suffers a regression of suspend
> order adjust. In the system, if _PTS is called before pci device
> suspend, pci config read of slot 01:01.0 will always return 0xffffffff
> (only this slot, not other devices). Adding acpi_new_pts_ordering fixes
> this. I checked the log, _PTS itself doesn't generate any pci config
> access, it appears _PTS call into SMBIOS and changes something. Note,
> this is ACPI 1.0 table. Should we just blacklist the system or re-think
> the suspend order?
I don't want to change the ordering of code. It's been changed for many times
and it always turned out that some systems didn't work.
If we can implement the blacklisting in a reasonable fashion, I'd prefer to do
just that.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: suspend order - again
2008-03-14 11:54 ` suspend order - again Rafael J. Wysocki
@ 2008-03-27 15:43 ` Len Brown
2008-03-27 16:42 ` Rafael J. Wysocki
0 siblings, 1 reply; 5+ messages in thread
From: Len Brown @ 2008-03-27 15:43 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Shaohua Li, linux acpi
On Friday 14 March 2008, Rafael J. Wysocki wrote:
> On Friday, 14 of March 2008, Shaohua Li wrote:
> > I just found a system (Asus A6B00VC) suffers a regression of suspend
> > order adjust. In the system, if _PTS is called before pci device
> > suspend, pci config read of slot 01:01.0 will always return 0xffffffff
> > (only this slot, not other devices). Adding acpi_new_pts_ordering fixes
> > this. I checked the log, _PTS itself doesn't generate any pci config
> > access, it appears _PTS call into SMBIOS and changes something. Note,
> > this is ACPI 1.0 table. Should we just blacklist the system or re-think
> > the suspend order?
>
> I don't want to change the ordering of code. It's been changed for many times
> and it always turned out that some systems didn't work.
>
> If we can implement the blacklisting in a reasonable fashion, I'd prefer to do
> just that.
It isn't obvious to me why this regression is exempt from the
normal response we have to regressions found during -rc.
Particullarly sinced it was root caused to show that
we did the right thing before and we do the wrong thing now.
-Len
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: suspend order - again
2008-03-27 15:43 ` Len Brown
@ 2008-03-27 16:42 ` Rafael J. Wysocki
2008-03-27 17:06 ` Len Brown
0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2008-03-27 16:42 UTC (permalink / raw)
To: Len Brown; +Cc: Shaohua Li, linux acpi
On Thursday, 27 of March 2008, Len Brown wrote:
> On Friday 14 March 2008, Rafael J. Wysocki wrote:
> > On Friday, 14 of March 2008, Shaohua Li wrote:
> > > I just found a system (Asus A6B00VC) suffers a regression of suspend
> > > order adjust. In the system, if _PTS is called before pci device
> > > suspend, pci config read of slot 01:01.0 will always return 0xffffffff
> > > (only this slot, not other devices). Adding acpi_new_pts_ordering fixes
> > > this. I checked the log, _PTS itself doesn't generate any pci config
> > > access, it appears _PTS call into SMBIOS and changes something. Note,
> > > this is ACPI 1.0 table. Should we just blacklist the system or re-think
> > > the suspend order?
> >
> > I don't want to change the ordering of code. It's been changed for many times
> > and it always turned out that some systems didn't work.
> >
> > If we can implement the blacklisting in a reasonable fashion, I'd prefer to do
> > just that.
>
> It isn't obvious to me why this regression is exempt from the
> normal response we have to regressions found during -rc.
> Particullarly sinced it was root caused to show that
> we did the right thing before and we do the wrong thing now.
Hm, is it a post-2.6.24 one? Ah, it is.
Well, ok. In fact we have examples both ways now, but I really won't be
comfortable with changing the default ordering once again.
OTOH, the "ACPI 2.0" ordering is more logical IMO ...
Thanks,
Rafael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: suspend order - again
2008-03-27 16:42 ` Rafael J. Wysocki
@ 2008-03-27 17:06 ` Len Brown
2008-03-27 17:36 ` Carlos Corbacho
0 siblings, 1 reply; 5+ messages in thread
From: Len Brown @ 2008-03-27 17:06 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Shaohua Li, linux acpi
On Thursday 27 March 2008, Rafael J. Wysocki wrote:
> On Thursday, 27 of March 2008, Len Brown wrote:
> > On Friday 14 March 2008, Rafael J. Wysocki wrote:
> > > On Friday, 14 of March 2008, Shaohua Li wrote:
> > > > I just found a system (Asus A6B00VC) suffers a regression of suspend
> > > > order adjust. In the system, if _PTS is called before pci device
> > > > suspend, pci config read of slot 01:01.0 will always return 0xffffffff
> > > > (only this slot, not other devices). Adding acpi_new_pts_ordering fixes
> > > > this. I checked the log, _PTS itself doesn't generate any pci config
> > > > access, it appears _PTS call into SMBIOS and changes something. Note,
> > > > this is ACPI 1.0 table. Should we just blacklist the system or re-think
> > > > the suspend order?
> > >
> > > I don't want to change the ordering of code. It's been changed for many times
> > > and it always turned out that some systems didn't work.
> > >
> > > If we can implement the blacklisting in a reasonable fashion, I'd prefer to do
> > > just that.
> >
> > It isn't obvious to me why this regression is exempt from the
> > normal response we have to regressions found during -rc.
> > Particullarly sinced it was root caused to show that
> > we did the right thing before and we do the wrong thing now.
>
> Hm, is it a post-2.6.24 one? Ah, it is.
>
> Well, ok. In fact we have examples both ways now, but I really won't be
> comfortable with changing the default ordering once again.
>
> OTOH, the "ACPI 2.0" ordering is more logical IMO ...
Unfortunately logic doesn't rule here -- compatibility
with the installed base is the only thing that matters.
Of course when we've got examples and counter-examples,
it can be quite a puzzle figuring out what
hoops that installed base is asking us to jump through:-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: suspend order - again
2008-03-27 17:06 ` Len Brown
@ 2008-03-27 17:36 ` Carlos Corbacho
0 siblings, 0 replies; 5+ messages in thread
From: Carlos Corbacho @ 2008-03-27 17:36 UTC (permalink / raw)
To: Len Brown; +Cc: Rafael J. Wysocki, Shaohua Li, linux acpi
> Unfortunately logic doesn't rule here -- compatibility
> with the installed base is the only thing that matters.
>
> Of course when we've got examples and counter-examples,
> it can be quite a puzzle figuring out what
> hoops that installed base is asking us to jump through:-)
As one of the 'installed base', I say keep the 1.0 order for .25, because
it fixes a real regression that has been around for three releases.
We currently have more examples of nVidia boards that were broken by the
2.0 ordering, than we have concrete examples of boards broken by the 1.0
ordering (3 to 1).
We had the 1.0 ordering before, and we have a DMI quirk for the one system
shown so far to actually be broken with the 1.0 ordering, and, IIUC, we
also have the infrastructure now to be able to test either order on
systems to gather more information. If we find more systems that break
with the 1.0 ordering than 2.0, then yes, we can review this decision in
.26.
IMHO, we need more concrete data to decide which way we default to (i.e.
are nVidia boards just an abberation here, or is this
1.0-ordering-required problem more wide spread? We may be lucky, and we
only need to switch to the 1.0 order if we detect an nVidia chipset, or
start blacklisting the bad boards/ BIOS's, since I suspect Windows has
some sort of nVidia chipset blacklist as well, although I don't know how
fine grained).
-Carlos
--
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-03-27 17:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1205482960.23855.4.camel@sli10-desk.sh.intel.com>
2008-03-14 11:54 ` suspend order - again Rafael J. Wysocki
2008-03-27 15:43 ` Len Brown
2008-03-27 16:42 ` Rafael J. Wysocki
2008-03-27 17:06 ` Len Brown
2008-03-27 17:36 ` Carlos Corbacho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox