summary refs log tree commit diff stats
path: root/scripts/undefsym.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-09-13 13:18:52 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-21 13:34:04 +0200
commit1bd6fd8ed5933bfba53e5f5eadebd845094c3707 (patch)
treec2dc09ff8cb728a89cdbb3bab8dd5131657ae04f /scripts/undefsym.py
parentc8c8b3f1c179e1b8d21c2e636dc893ebfc522874 (diff)
downloadfocaccia-qemu-1bd6fd8ed5933bfba53e5f5eadebd845094c3707.tar.gz
focaccia-qemu-1bd6fd8ed5933bfba53e5f5eadebd845094c3707.zip
hw/sd/sdcard: Do not attempt to erase out of range addresses
While the Spec v3 is not very clear, v6 states:

  If the host provides an out of range address as an argument
  to CMD32 or CMD33, the card shall indicate OUT_OF_RANGE error
  in R1 (ERX) for CMD38.

If an address is out of range, do not attempt to erase it:
return R1 with the error bit set.

Buglink: https://bugs.launchpad.net/qemu/+bug/1895310
Reported-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20201015063824.212980-6-f4bug@amsat.org>
Diffstat (limited to 'scripts/undefsym.py')
0 files changed, 0 insertions, 0 deletions