[PATCH] hwmon: xgene: access mailbox as RAM

Hoan Tran hotran at apm.com
Fri Sep 9 13:51:28 PDT 2016


On Fri, Sep 9, 2016 at 1:50 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Friday, September 9, 2016 1:43:17 PM CEST Hoan Tran wrote:
>>
>> > * Are you sure you don't need any smp_rmb()/smp_wmb() barriers
>> > between the accesses?
>>
>> No, we don't need a strict read/write during access PCC subspace. Just
>> make sure all access is committed before PCC send message to the
>> platform which done by PCC mailbox driver.
>>
>
> Ok, got it. The PCC mailbox driver presumably uses writel() to
> send the message, and that implies the necessary barrier
> (unlike writel_relaxed), right?

Yes,

Hoan
>
>         Arnd
>



More information about the linux-arm-kernel mailing list