Re: [Qemu-devel] [PATCH 2/2] cpu_physical_memory_write_rom() needs to do TB invalidates

2012-10-01 Thread Pavel Hrdina
On 10/01/2012 06:21 PM, Anthony Liguori wrote: Pavel Hrdina writes: On 10/01/2012 04:28 PM, Anthony Liguori wrote: Pavel Hrdina writes: On 09/12/2012 07:57 AM, David Gibson wrote: On Mon, Sep 10, 2012 at 03:27:45PM +0200, Andreas Färber wrote: Am 10.09.2012 04:30, schrieb David Gibson:

Re: [Qemu-devel] [PATCH 2/2] cpu_physical_memory_write_rom() needs to do TB invalidates

2012-10-01 Thread Anthony Liguori
Pavel Hrdina writes: > On 10/01/2012 04:28 PM, Anthony Liguori wrote: >> Pavel Hrdina writes: >> >>> On 09/12/2012 07:57 AM, David Gibson wrote: On Mon, Sep 10, 2012 at 03:27:45PM +0200, Andreas Färber wrote: > Am 10.09.2012 04:30, schrieb David Gibson: >> cpu_physical_memory_write_

Re: [Qemu-devel] [PATCH 2/2] cpu_physical_memory_write_rom() needs to do TB invalidates

2012-10-01 Thread Pavel Hrdina
On 10/01/2012 04:28 PM, Anthony Liguori wrote: Pavel Hrdina writes: On 09/12/2012 07:57 AM, David Gibson wrote: On Mon, Sep 10, 2012 at 03:27:45PM +0200, Andreas Färber wrote: Am 10.09.2012 04:30, schrieb David Gibson: cpu_physical_memory_write_rom(), despite the name, can also be used to w

Re: [Qemu-devel] [PATCH 2/2] cpu_physical_memory_write_rom() needs to do TB invalidates

2012-10-01 Thread Anthony Liguori
Pavel Hrdina writes: > On 09/12/2012 07:57 AM, David Gibson wrote: >> On Mon, Sep 10, 2012 at 03:27:45PM +0200, Andreas Färber wrote: >>> Am 10.09.2012 04:30, schrieb David Gibson: cpu_physical_memory_write_rom(), despite the name, can also be used to write images into RAM - and will of

Re: [Qemu-devel] [PATCH 2/2] cpu_physical_memory_write_rom() needs to do TB invalidates

2012-10-01 Thread Pavel Hrdina
On 09/12/2012 07:57 AM, David Gibson wrote: On Mon, Sep 10, 2012 at 03:27:45PM +0200, Andreas Färber wrote: Am 10.09.2012 04:30, schrieb David Gibson: cpu_physical_memory_write_rom(), despite the name, can also be used to write images into RAM - and will often be used that way if the machine us

Re: [Qemu-devel] [PATCH 2/2] cpu_physical_memory_write_rom() needs to do TB invalidates

2012-09-11 Thread David Gibson
On Mon, Sep 10, 2012 at 03:27:45PM +0200, Andreas Färber wrote: > Am 10.09.2012 04:30, schrieb David Gibson: > > cpu_physical_memory_write_rom(), despite the name, can also be used to > > write images into RAM - and will often be used that way if the machine > > uses load_image_targphys() into RAM

Re: [Qemu-devel] [PATCH 2/2] cpu_physical_memory_write_rom() needs to do TB invalidates

2012-09-10 Thread Andreas Färber
Am 10.09.2012 04:30, schrieb David Gibson: > cpu_physical_memory_write_rom(), despite the name, can also be used to > write images into RAM - and will often be used that way if the machine > uses load_image_targphys() into RAM addresses. > > However, cpu_physical_memory_write_rom(), unlike cpu_phy

[Qemu-devel] [PATCH 2/2] cpu_physical_memory_write_rom() needs to do TB invalidates

2012-09-09 Thread David Gibson
cpu_physical_memory_write_rom(), despite the name, can also be used to write images into RAM - and will often be used that way if the machine uses load_image_targphys() into RAM addresses. However, cpu_physical_memory_write_rom(), unlike cpu_physical_memory_rw() does invalidate any cached TBs whic