[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framewo
From: |
Christoffer Dall |
Subject: |
Re: [Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framework |
Date: |
Tue, 24 May 2016 13:58:19 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
> > 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
> > ;)
>
> Hi Christoffer,
>
> Sorry for my slow response, I've been on vacation. For MMIO
> implementations, are you referring to the emulation done for
> gicv2 accesses and for gicv3 legacy accesses? And, if so, is
> your question how we might be able to use the same test
> framework for both? And, if that's so, then I think this series
> gets us pretty close already. If I'm completely off-base, then
> please give me a quick high-level description of what you'd like
> to be able to do.
>
What I meant was testing all the MMIO accesses to the various
distributor MMIO regions.
For example, writing full words to all registers (some value) reading
back the value, correcting for RAZ/WI semantics, and testing that byte
accesses to those registers where that's allowed also works.
If adding that on top of this series sounds like a good idea, someone
should add it to the bottom of their (presumably already long) todo
list, myself included.
Thanks,
-Christoffer
- [Qemu-devel] [kvm-unit-tests PATCH 01/10] lib: xstr: allow multiple args, (continued)
- [Qemu-devel] [kvm-unit-tests PATCH 01/10] lib: xstr: allow multiple args, Andrew Jones, 2016/05/16
- [Qemu-devel] [kvm-unit-tests PATCH 06/10] arm/arm64: add initial gicv2 support, Andrew Jones, 2016/05/16
- [Qemu-devel] [kvm-unit-tests PATCH 04/10] arm/arm64: add some delay routines, Andrew Jones, 2016/05/16
- [Qemu-devel] [kvm-unit-tests PATCH 03/10] arm/arm64: smp: support more than 8 cpus, Andrew Jones, 2016/05/16
- [Qemu-devel] [kvm-unit-tests PATCH 08/10] arm/arm64: gicv2: add an IPI test, Andrew Jones, 2016/05/16
- [Qemu-devel] [kvm-unit-tests PATCH 10/10] arm/arm64: gic: don't just use zero, Andrew Jones, 2016/05/16
- [Qemu-devel] [kvm-unit-tests PATCH 07/10] arm64: add initial gicv3 support, Andrew Jones, 2016/05/16
- [Qemu-devel] [kvm-unit-tests PATCH 09/10] arm/arm64: gicv3: add an IPI test, Andrew Jones, 2016/05/16
- Re: [Qemu-devel] [kvm-unit-tests PATCH 00/10] arm/arm64: add gic framework, Christoffer Dall, 2016/05/18