diff options
author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-05-15 16:09:43 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-05-25 23:39:11 +0200 |
commit | 7b4e588000699701f5906746d1b5b845391705e6 (patch) | |
tree | 77df9b4aa5c3362b613b439fc94a3e9e4b81af49 /python | |
parent | 973fab3b3099aa5f6a4510c4da03056d6baf09a7 (diff) | |
download | qemu-7b4e588000699701f5906746d1b5b845391705e6.zip qemu-7b4e588000699701f5906746d1b5b845391705e6.tar.gz qemu-7b4e588000699701f5906746d1b5b845391705e6.tar.bz2 |
hw/misc/aspeed_hace: Support accumulative mode for direct access mode
Enable accumulative mode for direct access mode operations. In direct access
mode, only a single source buffer is used, so the "iovec" count is set to 1.
If "acc_mode" is enabled:
1. Accumulate "total_req_len" with the current request length ("plen").
2. Check for padding and determine whether this is the final request.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-12-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions