Re: [Qemu-devel] [PATCH 02/26] tcg: Add CPUClass::tlb_fill

2019-05-07 Thread Philippe Mathieu-Daudé
On 4/29/19 7:25 PM, Peter Maydell wrote: > On Wed, 3 Apr 2019 at 04:49, Richard Henderson > wrote: >> >> This hook will replace the (user-only mode specific) handle_mmu_fault >> hook, and the (system mode specific) tlb_fill function. >> >> The handle_mmu_fault hook was written as if there was a

Re: [Qemu-devel] [PATCH 02/26] tcg: Add CPUClass::tlb_fill

2019-04-29 Thread Peter Maydell
On Wed, 3 Apr 2019 at 04:49, Richard Henderson wrote: > > This hook will replace the (user-only mode specific) handle_mmu_fault > hook, and the (system mode specific) tlb_fill function. > > The handle_mmu_fault hook was written as if there was a valid > way to recover from an mmu fault, and had 3

[Qemu-devel] [PATCH 02/26] tcg: Add CPUClass::tlb_fill

2019-04-02 Thread Richard Henderson
This hook will replace the (user-only mode specific) handle_mmu_fault hook, and the (system mode specific) tlb_fill function. The handle_mmu_fault hook was written as if there was a valid way to recover from an mmu fault, and had 3 possible return states. In reality, the only valid action is to