Re: arm64 hitting BUG in arch_timer.h
From: Mark Salter
Date: Thu Dec 11 2014 - 14:20:24 EST
On Thu, 2014-12-11 at 22:00 +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 12/10/2014 11:56 PM, Mark Salter wrote:
>
> > Using Linus' tree from this morning, I am hitting:
>
> > [ 0.000000] BUG: failure at ./arch/arm64/include/asm/arch_timer.h:112/arch_counter_get_cntpct!
>
> > This is triggered by commit 0b46b8a718 ("clocksource: arch_timer: Fix
> > code to use physical timers when requested") which addresses an armv7
> > problem. Arm64 wants to always use a virtual timer. I used this to avoid
> > the BUG and get a booting kernel:
>
> You didn't sign off on the patch, so it can't be applied.
>
> [...]
>
> WBR, Sergei
>
Right. That was more for discussion. I wasn't sure if that was the best
way to fix the problem so I just included what I did to work around it.
As it turns out, I wasn't the first to spot the problem or come up with
a patch. So, the first patch will go in without my further involvement.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/