Re: [PATCH v1 04/13] cputlb: ensure we save the IOTLB data in case of reset

2020-07-12 Thread Alex Bennée
Emilio G. Cota writes: > On Fri, Jul 10, 2020 at 14:03:27 -0700, Richard Henderson wrote: >> On 7/9/20 7:13 AM, Alex Bennée wrote: >> > Any write to a device might cause a re-arrangement of memory >> > triggering a TLB flush and potential re-size of the TLB invalidating >> > previous entries.

Re: [PATCH v1 04/13] cputlb: ensure we save the IOTLB data in case of reset

2020-07-11 Thread Emilio G. Cota
On Fri, Jul 10, 2020 at 14:03:27 -0700, Richard Henderson wrote: > On 7/9/20 7:13 AM, Alex Bennée wrote: > > Any write to a device might cause a re-arrangement of memory > > triggering a TLB flush and potential re-size of the TLB invalidating > > previous entries. This would cause users of

Re: [PATCH v1 04/13] cputlb: ensure we save the IOTLB data in case of reset

2020-07-11 Thread Emilio G. Cota
On Thu, Jul 09, 2020 at 15:13:18 +0100, Alex Bennée wrote: > Any write to a device might cause a re-arrangement of memory > triggering a TLB flush and potential re-size of the TLB invalidating > previous entries. This would cause users of qemu_plugin_get_hwaddr() > to see the warning: > >

Re: [PATCH v1 04/13] cputlb: ensure we save the IOTLB data in case of reset

2020-07-10 Thread Richard Henderson
On 7/9/20 7:13 AM, Alex Bennée wrote: > Any write to a device might cause a re-arrangement of memory > triggering a TLB flush and potential re-size of the TLB invalidating > previous entries. This would cause users of qemu_plugin_get_hwaddr() > to see the warning: > > invalid use of

[PATCH v1 04/13] cputlb: ensure we save the IOTLB data in case of reset

2020-07-09 Thread Alex Bennée
Any write to a device might cause a re-arrangement of memory triggering a TLB flush and potential re-size of the TLB invalidating previous entries. This would cause users of qemu_plugin_get_hwaddr() to see the warning: invalid use of qemu_plugin_get_hwaddr because of the failed tlb_lookup