Re: [Qemu-devel] [RFC 0/5] execute code from mmio area

2017-02-04 Thread Frederic Konrad
On 02/04/2017 02:17 PM, Peter Maydell wrote: > On 4 February 2017 at 12:52, Frederic Konrad > wrote: >> Is that the case that we might get a Bad RAM address error or some such >> if we are not on a page boundary (or too small as you say)? >> I guess this is a limitation. Mapping on a page boundar

Re: [Qemu-devel] [RFC 0/5] execute code from mmio area

2017-02-04 Thread Peter Maydell
On 4 February 2017 at 12:52, Frederic Konrad wrote: > Is that the case that we might get a Bad RAM address error or some such > if we are not on a page boundary (or too small as you say)? > I guess this is a limitation. Mapping on a page boundary shouldn't be > too much restrictive. Yeah. I reall

Re: [Qemu-devel] [RFC 0/5] execute code from mmio area

2017-02-04 Thread Frederic Konrad
On 02/04/2017 01:33 PM, Peter Maydell wrote: > On 3 February 2017 at 17:06, wrote: >> From: KONRAD Frederic >> >> This patch-set allows to execute code from mmio areas. >> The main goal of this is to be able to run code for example from an SPI >> device. >> >> The three first patch fixes the wa

Re: [Qemu-devel] [RFC 0/5] execute code from mmio area

2017-02-04 Thread Peter Maydell
On 3 February 2017 at 17:06, wrote: > From: KONRAD Frederic > > This patch-set allows to execute code from mmio areas. > The main goal of this is to be able to run code for example from an SPI > device. > > The three first patch fixes the way get_page_addr_code fills the TLB. > > The fourth pat