cputlb: Fix size operand for tlb_fill on unaligned store
commit8f7cd2ad4acd01242d00807e231097b3de9f0930
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 28 Aug 2019 22:25:28 +0000 (28 15:25 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:30:39 +0000 (3 08:30 -0700)
treedc78181f72c62e17c1e16f9f62e97dca7fa403b2
parent56ad8b007dde7a61e02582e1f2d5c57fc0165a6b
cputlb: Fix size operand for tlb_fill on unaligned store

We are currently passing the size of the full write to
the tlb_fill for the second page.  Instead pass the real
size of the write to that page.

This argument is unused within all tlb_fill, except to be
logged via tracing, so in practice this makes no difference.

But in a moment we'll need the value of size2 for watchpoints,
and if we've computed the value we might as well use it.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c