lkml.org 
[lkml]   [2016]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] drivers/clocksource/pistachio: fix memory corruption in init
From
Date
On 08/17/2016 12:22 PM, Marcin Nowakowski wrote:
> Driver init code incorrectly uses the block base address and as a result
> clears clocksource structure's fields instead of the hardware registers.
>
> Commit 09a998201649 ("timekeeping: Lift clocksource cacheline
> restriction") has changed the offsets within pistachio_clocksource
> structure and what has previously gone unnoticed now leads to a kernel
> panic during boot.
>
> Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
> ---

Ok, I applied this patch as an urgent fix.

-- Daniel


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.381 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site