Messages in this thread | | | Subject | Re: [PATCH 1/2] drivers/clocksource/pistachio: fix memory corruption in init | From | Daniel Lezcano <> | Date | Tue, 23 Aug 2016 17:31:31 +0200 |
| |
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
| |