[PATCH 1/2] arm: KVM: Do not update PC if the trap handler has updated it

Peter Maydell peter.maydell at linaro.org
Tue Dec 22 06:50:15 PST 2015


On 22 December 2015 at 14:39, Christoffer Dall
<christoffer.dall at linaro.org> wrote:
> On Tue, Dec 22, 2015 at 11:08:10AM +0000, Peter Maydell wrote:
>> Won't this result in our incorrectly skipping the first insn
>> in the fault handler if the original offending instruction
>> was itself the first insn in the fault handler?
>>
> Wouldn't that then loop with the exception forever?

Yes, but so would real hardware...

thanks
-- PMM



More information about the linux-arm-kernel mailing list