Re: [Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framework

2016-05-24 Thread Christoffer Dall
On Tue, May 24, 2016 at 02:23:43PM +0200, Andrew Jones wrote: > On Tue, May 24, 2016 at 01:58:19PM +0200, Christoffer Dall wrote: > > On Mon, May 23, 2016 at 05:24:23PM +0200, Andrew Jones wrote: > > > On Wed, May 18, 2016 at 11:07:14AM +0200, Christoffer Dall wrote: > > > > Hi Drew, > > > > > > >

Re: [Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framework

2016-05-24 Thread Andrew Jones
On Tue, May 24, 2016 at 01:58:19PM +0200, Christoffer Dall wrote: > On Mon, May 23, 2016 at 05:24:23PM +0200, Andrew Jones wrote: > > On Wed, May 18, 2016 at 11:07:14AM +0200, Christoffer Dall wrote: > > > Hi Drew, > > > > > > Thanks for doing this. I'm happy to see some tests for the GIC. > > >

Re: [Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framework

2016-05-24 Thread Christoffer Dall
On Mon, May 23, 2016 at 05:24:23PM +0200, Andrew Jones wrote: > On Wed, May 18, 2016 at 11:07:14AM +0200, Christoffer Dall wrote: > > Hi Drew, > > > > Thanks for doing this. I'm happy to see some tests for the GIC. > > > > I've been pondering with how to write unit tests for all the MMIO > > imp

Re: [Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framework

2016-05-23 Thread Andrew Jones
On Wed, May 18, 2016 at 11:07:14AM +0200, Christoffer Dall wrote: > Hi Drew, > > Thanks for doing this. I'm happy to see some tests for the GIC. > > I've been pondering with how to write unit tests for all the MMIO > implementations. If you have some thoughts on how that could be easily > fitte

Re: [Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framework

2016-05-18 Thread Christoffer Dall
Hi Drew, Thanks for doing this. I'm happy to see some tests for the GIC. I've been pondering with how to write unit tests for all the MMIO implementations. If you have some thoughts on how that could be easily fitted into this framework, that would probably be a good place to do it ;) -Christo

[Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framework

2016-05-16 Thread Andrew Jones
Import defines, and steal enough helper functions, from Linux to enable programming of the gic (v2 and v3). Then use the framework to add an initial test (an ipi test; self, target-list, broadcast). It's my hope that this framework will be a suitable base on which more tests may be easily added, p