]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/tcg: Fix start page passed to tb_invalidate_phys_page_range__locked
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 29 Jun 2023 08:25:21 +0000 (09:25 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 2 Jul 2023 19:09:17 +0000 (22:09 +0300)
commit78e8c9c1a12551b6c8e8909310b9250fcc86830d
tree97eba152ee0ce7ec10a634e796021dbbd766363e
parent477ab906d18cd9afbddef3d1f2d3945dbf8bc9da
accel/tcg: Fix start page passed to tb_invalidate_phys_page_range__locked

Due to a copy-paste error in tb_invalidate_phys_range, the wrong
start address was passed to tb_invalidate_phys_page_range__locked.
Correct is to use the start of each page in turn.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fixes: e506ad6a05 ("accel/tcg: Pass last not end to tb_invalidate_phys_range")
Message-Id: <20230629082522.606219-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 3307e08c6f142bb3d2406cfbc0ee19359748b51a)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
accel/tcg/tb-maint.c