summary refs log tree commit diff stats
path: root/hw/usb/dev-audio.c
diff options
context:
space:
mode:
authorShahab Vahedi <shahab.vahedi@gmail.com>2019-04-20 09:22:37 +0200
committerRichard Henderson <richard.henderson@linaro.org>2019-04-25 10:40:06 -0700
commitef5dae6805cce7b59d129d801bdc5db71bcbd60d (patch)
tree97b548ec3c78e5e1b12efbf534cc5610bae1b021 /hw/usb/dev-audio.c
parentb4b82d7e9caff7ccca5c621817b5a4b8e95eb9b1 (diff)
downloadfocaccia-qemu-ef5dae6805cce7b59d129d801bdc5db71bcbd60d.tar.gz
focaccia-qemu-ef5dae6805cce7b59d129d801bdc5db71bcbd60d.zip
cputlb: Fix io_readx() to respect the access_type
This change adapts io_readx() to its input access_type. Currently
io_readx() treats any memory access as a read, although it has an
input argument "MMUAccessType access_type". This results in:

1) Calling the tlb_fill() only with MMU_DATA_LOAD
2) Considering only entry->addr_read as the tlb_addr

Buglink: https://bugs.launchpad.net/qemu/+bug/1825359
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Shahab Vahedi <shahab.vahedi@gmail.com>
Message-Id: <20190420072236.12347-1-shahab.vahedi@gmail.com>
[rth: Remove assert; fix expression formatting.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/usb/dev-audio.c')
0 files changed, 0 insertions, 0 deletions