Re: [PATCH v2] acpi: Fix regression where _PPC is not read at boot even when ignore_ppc=0

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Darrick J. Wong
Date: Thursday, April 16, 2009 - 10:42 am

On Thu, Apr 16, 2009 at 12:01:11PM +0200, Thomas Renninger wrote:

So long as T60 owners boot with ignore_ppc=1, they should still be fine.


I put a printk just before the call to acpi_evaluate_integer in
acpi_processor_get_platform_limit.  The printk did not appear unless (a)
I triggered the Notify event to get the kernel to reevaluate _PPC or (b)
I took a CPU offline and online.

An alternate way to describe the situation, I think, is that ignore_ppc
doesn't go from -1 to 0 until acpi_processor_ppc_notifier gets called,
and that only seems to happen during an ACPI Notify event.


Yes, but the particular machine I have didn't exist until a couple of
weeks ago, and before that our BIOSes were written so that _PPC always
returned zero, which masked the problem.

The _PPC method in this (preproduction) machine's BIOS also sets a flag
that enables the sending of _PPC Notify events.  I'm not sure if that's
the proper way to do such things, though it seems logical that if an OS
never reads _PPC then sending Notify events for it is pointless.


I recall that on the T60 BIOS, the _PPC was programmed to read the value
out of some register in the embedded controller, but I'll have to go
find a T60 to see what the latest BIOSes do.  There's nothing in the T60
BIOS update changelogs to indicate that they found and corrected a
problem with _PPC... but that doesn't eliminate the possibility that
they "forgot" to document one.

Though I do recall seeing some weird bug with that T60 where putting the
machine to sleep would confuse it into "1ghz only" mode, though I never
noticed this symptom after a fresh boot.



Yes, but preserving the ignore_ppc=1 override.

--D
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2] acpi: Fix regression where _PPC is not read ..., Darrick J. Wong, (Thu Apr 16, 10:42 am)
Re: [PATCH v2] acpi: Fix regression where _PPC is not read ..., Thomas Renninger, (Thu Apr 16, 11:49 am)
Re: [PATCH v2] acpi: Fix regression where _PPC is not read ..., Henrique de Moraes H ..., (Mon Apr 20, 3:18 pm)