[Bug 217947] WARNING at drivers/acpi/platform_profile.c:74 in platform_profile_show()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=217947

--- Comment #4 from Jiri Slaby (jirislaby@xxxxxxxxx) ---
(In reply to Jiri Slaby from comment #3)
> > As a quick test could you try adding:
> > 
> >  /* Check if we are PSC mode, or have AMT enabled */
> >  funcmode = (output >> DYTC_GET_FUNCTION_BIT) & 0xF;
> > +if (funcmode == DYTC_FUNCTION_STD)
> > +  funcmode = DYTC_FUNCTION_PSC;
> > 
> > To see if it behaves correctly please?
> 
> Will try.

It only changes the error to EINVAL. 0xf is not handled as a correct state in
PSC.

BTW the first (bad) log:
thinkpad_acpi: dytc_profile_refresh: err=-22 mmc=0 psc=1 mmc_get=0 funcmode=13
output=0x1f001 perfmode=15

subsequent refreshes (good):
thinkpad_acpi: dytc_profile_refresh: err=0 mmc=0 psc=1 mmc_get=0 funcmode=13
output=0x20013d01 perfmode=3

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux