Re: [PATCH] ACPI/ CPPC: Fix invalid PCC channel status errors

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

 



On Wednesday, April 25, 2018 1:10:02 AM CEST Prashanth Prakash wrote:
> Replace the faulty PCC status register polling code with a iopoll.h
> macro to fix incorrect reporting of PCC check errors("PCC check
> channel failed").
> 
> There were potential codepaths where we could incorrectly return
> PCC channel status as busy even without checking the PCC status
> register once or not checking the status register before breaking
> out of the polling loop. For example, if the thread polling PCC
> status register was preempted and scheduled back after we have
> crossed the deadline then we can report that the channel is busy
> even without checking the status register.
> 
> Signed-off-by: Prashanth Prakash <pprakash@xxxxxxxxxxxxxx>
> Cc: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx>

Applied, thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux