[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 02/11] target/hppa: fix TLB handling for page 0
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 02/11] target/hppa: fix TLB handling for page 0 |
Date: |
Mon, 11 Mar 2019 20:24:47 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 3/11/19 12:15 PM, Sven Schnelle wrote:
> Assume the following sequence:
>
> pitlbe r0(sr0,r0)
> iitlba r4,(sr0,r0)
> ldil L%3000000,r5
> iitlbp r5,(sr0,r0)
>
> This will purge the whole TLB and add an entry for page 0. However
> the current TLB implementation in helper_iitlba() will store to
> the last empty TLB entry, while helper_iitlbp() will write to the
> first empty entry. That is because an empty entry will match address
> 0 in helper_iitlba()
>
> Signed-off-by: Sven Schnelle <address@hidden>
> ---
> target/hppa/mem_helper.c | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- Re: [Qemu-devel] [PATCH 06/11] target/hppa: ignore DIAG opcode, (continued)
- [Qemu-devel] [PATCH 10/11] target/hppa: exit TB if either Data or Instruction TLB changes, Sven Schnelle, 2019/03/11
- [Qemu-devel] [PATCH 07/11] target/hppa: fix b,gate instruction, Sven Schnelle, 2019/03/11
- [Qemu-devel] [PATCH 05/11] target/hppa: remove PSW I/R/Q bit check, Sven Schnelle, 2019/03/11
- [Qemu-devel] [PATCH 01/11] target/hppa: fix overwriting source reg in addb, Sven Schnelle, 2019/03/11
- [Qemu-devel] [PATCH 02/11] target/hppa: fix TLB handling for page 0, Sven Schnelle, 2019/03/11
- Re: [Qemu-devel] [PATCH 02/11] target/hppa: fix TLB handling for page 0,
Richard Henderson <=
- [Qemu-devel] [PATCH 03/11] target/hppa: report ITLB_EXCP_MISS for ITLB misses, Sven Schnelle, 2019/03/11
- [Qemu-devel] [PATCH 04/11] target/hppa: add TLB trace events, Sven Schnelle, 2019/03/11
- [Qemu-devel] [PATCH 08/11] target/hppa: allow multiple itlbp without itlba, Sven Schnelle, 2019/03/11
- Re: [Qemu-devel] [PATCH 00/11] target/hppa patches, no-reply, 2019/03/11
- Re: [Qemu-devel] [PATCH 00/11] target/hppa patches, Richard Henderson, 2019/03/12