[U-Boot] [PATCH 7/9] x86: ivybridge: Fix car_uninit() to correctly set run state

Simon Glass sjg at chromium.org
Thu Oct 22 01:24:37 CEST 2015


On 18 October 2015 at 20:27, Simon Glass <sjg at chromium.org> wrote:
> Hi Bin,
>
> On 18 October 2015 at 20:23, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Hi Simon,
>>
>> On Mon, Oct 19, 2015 at 5:55 AM, Simon Glass <sjg at chromium.org> wrote:
>>> At present a missing $ causes this code to hang when using the MRC cache/
>>> Fix it.
>>>
>>> Signed-off-by: Simon Glass <sjg at chromium.org>
>>
>> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>>
>>> ---
>>>
>>>  arch/x86/cpu/ivybridge/car.S | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/x86/cpu/ivybridge/car.S b/arch/x86/cpu/ivybridge/car.S
>>> index 770ef17..b75c2a5 100644
>>> --- a/arch/x86/cpu/ivybridge/car.S
>>> +++ b/arch/x86/cpu/ivybridge/car.S
>>> @@ -188,7 +188,7 @@ car_uninit:
>>>         wrmsr
>>>
>>>         /* Disable the no-eviction run state */
>>> -       movl    NOEVICTMOD_MSR, %ecx
>>> +       movl    $NOEVICTMOD_MSR, %ecx
>>
>> I am wondering why compiler does not complain this.
>>
>
> I suppose it just uses the value at that address.
>
>>>         rdmsr
>>>         andl    $~2, %eax
>>>         wrmsr
>>> --
>
> Regards,
> Simon

Applied to u-boot-x86.


More information about the U-Boot mailing list