All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-arm] [PATCH 0/2] target-arm: ESR IL bit fixes
@ 2016-05-17 12:14 ` Peter Maydell
  0 siblings, 0 replies; 14+ messages in thread
From: Peter Maydell @ 2016-05-17 12:14 UTC (permalink / raw)
  To: qemu-arm, qemu-devel; +Cc: Edgar E. Iglesias, Laurent Desnogues, patches

These patches fix some problems with setting the IL bit in
ESR syndrome register values:
 * we were not setting IL for insn abort, watchpoint or swstep
   (which should all always have IL==1)
 * we were trying to set the IL bit in arm_cpu_do_interrupt_aarch64()
   if doing a 32->64 bit exception entry, which was wrong in
   several ways; instead we should just rely on exception.syndrome
   already having the correct IL bit value

The patches are intended to apply on top of target-arm.next:
 https://git.linaro.org/people/peter.maydell/qemu-arm.git target-arm.next
(which has Edgar's patch which gets us correct IL bit values for
data abort exceptions).

Peter Maydell (2):
  target-arm: Set IL bit in syndromes for insn abort, watchpoint, swstep
  target-arm: Don't try to set ESR IL bit in
    arm_cpu_do_interrupt_aarch64()

 target-arm/helper.c    | 3 ---
 target-arm/internals.h | 6 +++---
 2 files changed, 3 insertions(+), 6 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-05-17 13:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 12:14 [Qemu-arm] [PATCH 0/2] target-arm: ESR IL bit fixes Peter Maydell
2016-05-17 12:14 ` [Qemu-devel] " Peter Maydell
2016-05-17 12:14 ` [Qemu-arm] [PATCH 1/2] target-arm: Set IL bit in syndromes for insn abort, watchpoint, swstep Peter Maydell
2016-05-17 12:14   ` [Qemu-devel] " Peter Maydell
2016-05-17 12:50   ` Edgar E. Iglesias
2016-05-17 12:50     ` Edgar E. Iglesias
2016-05-17 13:06     ` [Qemu-arm] " Peter Maydell
2016-05-17 13:06       ` [Qemu-devel] " Peter Maydell
2016-05-17 13:12       ` Edgar E. Iglesias
2016-05-17 13:12         ` Edgar E. Iglesias
2016-05-17 12:14 ` [Qemu-arm] [PATCH 2/2] target-arm: Don't try to set ESR IL bit in arm_cpu_do_interrupt_aarch64() Peter Maydell
2016-05-17 12:14   ` [Qemu-devel] " Peter Maydell
2016-05-17 12:51   ` Edgar E. Iglesias
2016-05-17 12:51     ` Edgar E. Iglesias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.