Re: [Qemu-devel] [PATCH] sparc: fix leon3 casa instruction when MMU is disabled

2018-03-07 Thread Mark Cave-Ayland
On 02/03/18 09:59, KONRAD Frederic wrote: From: KONRAD Frederic Since the commit af7a06bac7d3abb2da48ef3277d2a415772d2ae8: `casa [..](10), .., ..` (and probably others alternate space instructions) triggers a data access exception when the MMU is disabled. When we enter get_asi(...) dc->mem_i

Re: [Qemu-devel] [PATCH] sparc: fix leon3 casa instruction when MMU is disabled

2018-03-06 Thread Richard Henderson
On 03/05/2018 09:56 PM, Mark Cave-Ayland wrote: > Thanks for reviewing the patch Richard. Do you want me to take this one via my > qemu-sparc branch? Yes, please. r~

Re: [Qemu-devel] [PATCH] sparc: fix leon3 casa instruction when MMU is disabled

2018-03-05 Thread Mark Cave-Ayland
On 02/03/18 19:04, Richard Henderson wrote: On 03/02/2018 01:59 AM, KONRAD Frederic wrote: From: KONRAD Frederic Since the commit af7a06bac7d3abb2da48ef3277d2a415772d2ae8: `casa [..](10), .., ..` (and probably others alternate space instructions) triggers a data access exception when the MMU i

Re: [Qemu-devel] [PATCH] sparc: fix leon3 casa instruction when MMU is disabled

2018-03-05 Thread KONRAD Frederic
On 03/02/2018 08:04 PM, Richard Henderson wrote: On 03/02/2018 01:59 AM, KONRAD Frederic wrote: From: KONRAD Frederic Since the commit af7a06bac7d3abb2da48ef3277d2a415772d2ae8: `casa [..](10), .., ..` (and probably others alternate space instructions) triggers a data access exception when th

Re: [Qemu-devel] [PATCH] sparc: fix leon3 casa instruction when MMU is disabled

2018-03-02 Thread Richard Henderson
On 03/02/2018 01:59 AM, KONRAD Frederic wrote: > From: KONRAD Frederic > > Since the commit af7a06bac7d3abb2da48ef3277d2a415772d2ae8: > `casa [..](10), .., ..` (and probably others alternate space instructions) > triggers a data access exception when the MMU is disabled. > > When we enter get_as

[Qemu-devel] [PATCH] sparc: fix leon3 casa instruction when MMU is disabled

2018-03-02 Thread KONRAD Frederic
From: KONRAD Frederic Since the commit af7a06bac7d3abb2da48ef3277d2a415772d2ae8: `casa [..](10), .., ..` (and probably others alternate space instructions) triggers a data access exception when the MMU is disabled. When we enter get_asi(...) dc->mem_idx is set to MMU_PHYS_IDX when the MMU is dis