diff options
author | LIU Zhiwei <zhiwei_liu@linux.alibaba.com> | 2024-08-02 15:24:17 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2024-08-06 14:18:41 +1000 |
commit | 5e54b439f5be1e604453d9b02d85685a266121da (patch) | |
tree | 6f87d0eef0dfb4a767a0305bf58fdf08d38fd0b5 /hw/scsi/scsi-disk.c | |
parent | 30d24145da72dc3f64d9d720ac2befad28e1daa2 (diff) | |
download | qemu-5e54b439f5be1e604453d9b02d85685a266121da.zip qemu-5e54b439f5be1e604453d9b02d85685a266121da.tar.gz qemu-5e54b439f5be1e604453d9b02d85685a266121da.tar.bz2 |
target/riscv: Relax fld alignment requirement
According to the risc-v specification:
"FLD and FSD are only guaranteed to execute atomically if the effective
address is naturally aligned and XLEN≥64."
We currently implement fld as MO_ATOM_IFALIGN when XLEN < 64, which does
not violate the rules. But it will hide some problems. So relax it to
MO_ATOM_NONE.
Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240802072417.659-4-zhiwei_liu@linux.alibaba.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/scsi/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions