<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/tools/testing/selftests/kvm/include/aarch64, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/tools/testing/selftests/kvm/include/aarch64?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/tools/testing/selftests/kvm/include/aarch64?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-03T20:30:20Z</updated>
<entry>
<title>selftests: KVM: Create helper for making SMCCC calls</title>
<updated>2022-05-03T20:30:20Z</updated>
<author>
<name>Oliver Upton</name>
<email>oupton@google.com</email>
</author>
<published>2022-04-09T18:45:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e918e2bc52c8ac1cccd6ef822ac23eded41761b6'/>
<id>urn:sha1:e918e2bc52c8ac1cccd6ef822ac23eded41761b6</id>
<content type='text'>
The PSCI and PV stolen time tests both need to make SMCCC calls within
the guest. Create a helper for making SMCCC calls and rework the
existing tests to use the library function.

Signed-off-by: Oliver Upton &lt;oupton@google.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20220409184549.1681189-11-oupton@google.com
</content>
</entry>
<entry>
<title>Merge branch kvm-arm64/selftest/irq-injection into kvmarm-master/next</title>
<updated>2022-01-04T14:03:43Z</updated>
<author>
<name>Marc Zyngier</name>
<email>maz@kernel.org</email>
</author>
<published>2022-01-04T14:03:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ad7937dc774527abd324a7e56d18bad136f3c364'/>
<id>urn:sha1:ad7937dc774527abd324a7e56d18bad136f3c364</id>
<content type='text'>
* kvm-arm64/selftest/irq-injection:
  : .
  : New tests from Ricardo Koller:
  : "This series adds a new test, aarch64/vgic-irq, that validates the injection of
  : different types of IRQs from userspace using various methods and configurations"
  : .
  KVM: selftests: aarch64: Add test for restoring active IRQs
  KVM: selftests: aarch64: Add ISPENDR write tests in vgic_irq
  KVM: selftests: aarch64: Add tests for IRQFD in vgic_irq
  KVM: selftests: Add IRQ GSI routing library functions
  KVM: selftests: aarch64: Add test_inject_fail to vgic_irq
  KVM: selftests: aarch64: Add tests for LEVEL_INFO in vgic_irq
  KVM: selftests: aarch64: Level-sensitive interrupts tests in vgic_irq
  KVM: selftests: aarch64: Add preemption tests in vgic_irq
  KVM: selftests: aarch64: Cmdline arg to set EOI mode in vgic_irq
  KVM: selftests: aarch64: Cmdline arg to set number of IRQs in vgic_irq test
  KVM: selftests: aarch64: Abstract the injection functions in vgic_irq
  KVM: selftests: aarch64: Add vgic_irq to test userspace IRQ injection
  KVM: selftests: aarch64: Add vGIC library functions to deal with vIRQ state
  KVM: selftests: Add kvm_irq_line library function
  KVM: selftests: aarch64: Add GICv3 register accessor library functions
  KVM: selftests: aarch64: Add function for accessing GICv3 dist and redist registers
  KVM: selftests: aarch64: Move gic_v3.h to shared headers

Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
</content>
</entry>
<entry>
<title>KVM: selftests: aarch64: Add tests for IRQFD in vgic_irq</title>
<updated>2021-12-28T19:24:54Z</updated>
<author>
<name>Ricardo Koller</name>
<email>ricarkol@google.com</email>
</author>
<published>2021-11-09T02:39:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6a5a47188caca7be4bbe28cdb31d5df09868ed5c'/>
<id>urn:sha1:6a5a47188caca7be4bbe28cdb31d5df09868ed5c</id>
<content type='text'>
Add injection tests for the KVM_IRQFD ioctl into vgic_irq.

Signed-off-by: Ricardo Koller &lt;ricarkol@google.com&gt;
Acked-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20211109023906.1091208-16-ricarkol@google.com
</content>
</entry>
<entry>
<title>KVM: selftests: aarch64: Cmdline arg to set number of IRQs in vgic_irq test</title>
<updated>2021-12-28T19:24:06Z</updated>
<author>
<name>Ricardo Koller</name>
<email>ricarkol@google.com</email>
</author>
<published>2021-11-09T02:38:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e5410ee2806d74a749fa39ca6fdb73be2f88611f'/>
<id>urn:sha1:e5410ee2806d74a749fa39ca6fdb73be2f88611f</id>
<content type='text'>
Add the ability to specify the number of vIRQs exposed by KVM (arg
defaults to 64). Then extend the KVM_IRQ_LINE test by injecting all
available SPIs at once (specified by the nr-irqs arg). As a bonus,
inject all SGIs at once as well.

Signed-off-by: Ricardo Koller &lt;ricarkol@google.com&gt;
Acked-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20211109023906.1091208-9-ricarkol@google.com
</content>
</entry>
<entry>
<title>KVM: selftests: aarch64: Add vGIC library functions to deal with vIRQ state</title>
<updated>2021-12-28T19:23:35Z</updated>
<author>
<name>Ricardo Koller</name>
<email>ricarkol@google.com</email>
</author>
<published>2021-11-09T02:38:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e95def3a904dea467309bbe382a9032d301ba9cd'/>
<id>urn:sha1:e95def3a904dea467309bbe382a9032d301ba9cd</id>
<content type='text'>
Add a set of library functions for userspace code in selftests to deal
with vIRQ state (i.e., ioctl wrappers).

Signed-off-by: Ricardo Koller &lt;ricarkol@google.com&gt;
Acked-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20211109023906.1091208-6-ricarkol@google.com
</content>
</entry>
<entry>
<title>KVM: selftests: aarch64: Add GICv3 register accessor library functions</title>
<updated>2021-12-28T19:23:13Z</updated>
<author>
<name>Ricardo Koller</name>
<email>ricarkol@google.com</email>
</author>
<published>2021-11-09T02:38:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=17ce617bf76a7c1d3b553ed01607706434b9ed59'/>
<id>urn:sha1:17ce617bf76a7c1d3b553ed01607706434b9ed59</id>
<content type='text'>
Add library functions for accessing GICv3 registers: DIR, PMR, CTLR,
ISACTIVER, ISPENDR.

Signed-off-by: Ricardo Koller &lt;ricarkol@google.com&gt;
Acked-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20211109023906.1091208-4-ricarkol@google.com
</content>
</entry>
<entry>
<title>KVM: selftests: aarch64: Move gic_v3.h to shared headers</title>
<updated>2021-12-28T19:22:54Z</updated>
<author>
<name>Ricardo Koller</name>
<email>ricarkol@google.com</email>
</author>
<published>2021-11-09T02:38:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=33a1ca736e74839d08948973d30f6def820b8b14'/>
<id>urn:sha1:33a1ca736e74839d08948973d30f6def820b8b14</id>
<content type='text'>
Move gic_v3.h to the shared headers location. There are some definitions
that will be used in the vgic-irq test.

Signed-off-by: Ricardo Koller &lt;ricarkol@google.com&gt;
Acked-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20211109023906.1091208-2-ricarkol@google.com
</content>
</entry>
<entry>
<title>KVM: selftests: arm64: Check for supported page sizes</title>
<updated>2021-12-28T11:04:20Z</updated>
<author>
<name>Marc Zyngier</name>
<email>maz@kernel.org</email>
</author>
<published>2021-12-27T12:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0303ffdb9ecffac4654b16bbf69ba84d131eb8b7'/>
<id>urn:sha1:0303ffdb9ecffac4654b16bbf69ba84d131eb8b7</id>
<content type='text'>
Just as arm64 implemenations don't necessary support all IPA
ranges, they don't  all support the same page sizes either. Fun.

Create a dummy VM to snapshot the page sizes supported by the
host, and filter the supported modes.

Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Link: https://lore.kernel.org/r/20211227124809.1335409-4-maz@kernel.org
</content>
</entry>
<entry>
<title>KVM: arm64: selftests: Add host support for vGIC</title>
<updated>2021-10-17T10:17:21Z</updated>
<author>
<name>Raghavendra Rao Ananta</name>
<email>rananta@google.com</email>
</author>
<published>2021-10-07T23:34:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=250b8d6cb3b0312341304fa323b82355d656c018'/>
<id>urn:sha1:250b8d6cb3b0312341304fa323b82355d656c018</id>
<content type='text'>
Implement a simple library to perform vGIC-v3 setup
from a host point of view. This includes creating a
vGIC device, setting up distributor and redistributor
attributes, and mapping the guest physical addresses.

The definition of REDIST_REGION_ATTR_ADDR is taken from
aarch64/vgic_init test. Hence, replace the definition
by including vgic.h in the test file.

Signed-off-by: Raghavendra Rao Ananta &lt;rananta@google.com&gt;
Reviewed-by: Ricardo Koller &lt;ricarkol@google.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20211007233439.1826892-14-rananta@google.com
</content>
</entry>
<entry>
<title>KVM: arm64: selftests: Add basic GICv3 support</title>
<updated>2021-10-17T10:17:21Z</updated>
<author>
<name>Raghavendra Rao Ananta</name>
<email>rananta@google.com</email>
</author>
<published>2021-10-07T23:34:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=28281652f90acc138f8b4bae8a3bf8cf1ce0d29e'/>
<id>urn:sha1:28281652f90acc138f8b4bae8a3bf8cf1ce0d29e</id>
<content type='text'>
Add basic support for ARM Generic Interrupt Controller v3.
The support provides guests to setup interrupts.

The work is inspired from kvm-unit-tests and the kernel's
GIC driver (drivers/irqchip/irq-gic-v3.c).

Signed-off-by: Raghavendra Rao Ananta &lt;rananta@google.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Reviewed-by: Ricardo Koller &lt;ricarkol@google.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20211007233439.1826892-13-rananta@google.com
</content>
</entry>
</feed>
