[tesla-dev] Code review for 6716347
Mark Haywood
Mark.Haywood at Sun.COM
Thu Jun 19 11:33:38 PDT 2008
Hi,
An OpenSolaris user reported a problem with SpeedStep support on his
laptop. His problem was that OpenSolaris was not finding the supported
P-states. After a few email exchanges, we found that his _PSS table had
a strangely defined set of P-states (see the attached stbl.dsl). There
are 10 P-states returned by the _PSS, but the first 9 are duplicates.
So, really there are only 2 uniquely defined P-states. The current
P-state parsing code in Solaris doesn't allow for duplicates in the
middle of the table (it does handle them at the end of the table since
we've seen that case before). Though I consider this to be a
questionable _PSS defintion, I think we can support it easy enough by
ignoring consecutive duplicates altogether.
I placed a webrev of the fix at:
http://cr.opensolaris.org/~mhaywood/6716347/
And I welcome any comments.
Thanks!
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stbl.dsl
Type: text/x-dsl
Size: 7387 bytes
Desc: not available
URL: <http://mail.opensolaris.org/pipermail/tesla-dev/attachments/20080619/678c4d38/attachment.bin>
More information about the tesla-dev
mailing list