diff options
author | Joelle van Dyne <j@getutm.app> | 2025-02-24 10:41:23 -0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-02-25 15:32:58 +0000 |
commit | 12c365315ab25d364cff24dfeea8d7ff1e752b9f (patch) | |
tree | 7e0c5771146397c97b0e5f90f893f22aeb42ad6e /rust/qemu-api | |
parent | fd207677a83087454b8afef31651985a1df0d2dd (diff) | |
download | qemu-12c365315ab25d364cff24dfeea8d7ff1e752b9f.zip qemu-12c365315ab25d364cff24dfeea8d7ff1e752b9f.tar.gz qemu-12c365315ab25d364cff24dfeea8d7ff1e752b9f.tar.bz2 |
target/arm/hvf: sign extend the data for a load operation when SSE=1
In the syndrome value for a data abort, bit 21 is SSE, which is
set to indicate that the abort was on a sign-extending load. When
we handle the data abort from the guest via address_space_read(),
we forgot to handle this and so would return the wrong value if
the guest did a sign-extending load to an MMIO region. Add the
sign-extension of the returned data.
Cc: qemu-stable@nongnu.org
Signed-off-by: Joelle van Dyne <j@getutm.app>
Message-id: 20250224184123.50780-1-j@getutm.app
[PMM: Drop an unnecessary check on 'len'; expand commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions