summary refs log tree commit diff stats
path: root/hw/intc/grlib_irqmp.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2023-06-05 12:54:43 +1000
committerDaniel Henrique Barboza <danielhb413@gmail.com>2023-06-10 10:19:24 -0300
commit392d328abe7534a6e852151740913e2cd50426bc (patch)
tree3463b632508105e414561b71a2c51257e8ffd01c /hw/intc/grlib_irqmp.c
parente025e8f5a8a7e32409bb4c7c509d752486113188 (diff)
downloadfocaccia-qemu-392d328abe7534a6e852151740913e2cd50426bc.tar.gz
focaccia-qemu-392d328abe7534a6e852151740913e2cd50426bc.zip
target/ppc: Ensure stcx size matches larx
Differently-sized larx/stcx. pairs can succeed if the starting address
matches. Add a check to require the size of stcx. exactly match the larx
that established the reservation. Use the term "reserve_length" for this
state, which matches the terminology used in the ISA.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20230605025445.161932-2-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'hw/intc/grlib_irqmp.c')
0 files changed, 0 insertions, 0 deletions