<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/kvm/lib/aarch64, branch linux-5.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-09-24T11:37:22Z</updated>
<entry>
<title>KVM: selftests: Introduce VM_MODE_PXXV48_4K</title>
<updated>2019-09-24T11:37:22Z</updated>
<author>
<name>Peter Xu</name>
</author>
<published>2019-08-30T01:36:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=567a9f1e9deb273a2c02dd18c254208537fcefaa'/>
<id>urn:sha1:567a9f1e9deb273a2c02dd18c254208537fcefaa</id>
<content type='text'>
The naming VM_MODE_P52V48_4K is explicit but unclear when used on
x86_64 machines, because x86_64 machines are having various physical
address width rather than some static values.  Here's some examples:

  - Intel Xeon E3-1220:  36 bits
  - Intel Core i7-8650:  39 bits
  - AMD   EPYC 7251:     48 bits

All of them are using 48 bits linear address width but with totally
different physical address width (and most of the old machines should
be less than 52 bits).

Let's create a new guest mode called VM_MODE_PXXV48_4K for current
x86_64 tests and make it as the default to replace the old naming of
VM_MODE_P52V48_4K because it shows more clearly that the PA width is
not really a constant.  Meanwhile we also stop assuming all the x86
machines are having 52 bits PA width but instead we fetch the real
vm-&gt;pa_bits from CPUID 0x80000008 during runtime.

We currently make this exclusively used by x86_64 but no other arch.

As a slight touch up, moving DEBUG macro from dirty_log_test.c to
kvm_util.h so lib can use it too.

Signed-off-by: Peter Xu &lt;peterx@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: selftests: Split ucall.c into architecture specific files</title>
<updated>2019-08-02T13:44:16Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2019-07-31T15:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2040f414d12f31be3e73eb3f5048d2b1cdec48f6'/>
<id>urn:sha1:2040f414d12f31be3e73eb3f5048d2b1cdec48f6</id>
<content type='text'>
The way we exit from a guest to userspace is very specific to the
architecture: On x86, we use PIO, on aarch64 we are using MMIO and on
s390x we're going to use an instruction instead. The possibility to
select a type via the ucall_type_t enum is currently also completely
unused, so the code in ucall.c currently looks more complex than
required. Let's split this up into architecture specific ucall.c
files instead, so we can get rid of the #ifdefs and the unnecessary
ucall_type_t handling.

Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Acked-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Link: https://lore.kernel.org/r/20190731151525.17156-2-thuth@redhat.com
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'kvm-s390-next-5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD</title>
<updated>2019-07-15T11:28:58Z</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2019-07-15T10:50:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd4198bf17ca9321fb8043e846b780cfd2889dac'/>
<id>urn:sha1:fd4198bf17ca9321fb8043e846b780cfd2889dac</id>
<content type='text'>
KVM: s390: add kselftests

This is the initial implementation for KVM selftests on s390.
</content>
</entry>
<entry>
<title>kvm: selftests: introduce aarch64_vcpu_add_default</title>
<updated>2019-06-05T12:14:45Z</updated>
<author>
<name>Andrew Jones</name>
</author>
<published>2019-05-27T14:31:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb89f4ea7feb1e605f8f405d256c56d8ad69125c'/>
<id>urn:sha1:fb89f4ea7feb1e605f8f405d256c56d8ad69125c</id>
<content type='text'>
This is the same as vm_vcpu_add_default, but it also takes a
kvm_vcpu_init struct pointer.

Signed-off-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: introduce aarch64_vcpu_setup</title>
<updated>2019-06-05T12:13:38Z</updated>
<author>
<name>Andrew Jones</name>
</author>
<published>2019-05-27T14:31:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5dd4ccf5552d71a817d0ec97481e4a71425a038'/>
<id>urn:sha1:f5dd4ccf5552d71a817d0ec97481e4a71425a038</id>
<content type='text'>
This allows aarch64 tests to run on more targets, such as the Arm
simulator that doesn't like KVM_ARM_TARGET_GENERIC_V8. And it also
allows aarch64 tests to provide vcpu features in struct kvm_vcpu_init.
Additionally it drops the unused memslot parameters.

Signed-off-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: hide vcpu_setup in processor code</title>
<updated>2019-06-05T12:12:02Z</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2019-06-04T17:13:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=837ec79b4cf4ec89d814166a71a7d679dda04736'/>
<id>urn:sha1:837ec79b4cf4ec89d814166a71a7d679dda04736</id>
<content type='text'>
This removes the processor-dependent arguments from vm_vcpu_add.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: selftests: Introduce a VM_MODE_DEFAULT macro for the default bits</title>
<updated>2019-06-04T12:05:38Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2019-05-23T16:43:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe85ec86fcd5998389274b6e12977bcf8509d3e0'/>
<id>urn:sha1:fe85ec86fcd5998389274b6e12977bcf8509d3e0</id>
<content type='text'>
This will be required later for tests like the kvm_create_max_vcpus
test that do not use the vm_create_default() function.

Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20190523164309.13345-5-thuth@redhat.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: aarch64: compile with warnings on</title>
<updated>2019-05-24T19:27:16Z</updated>
<author>
<name>Andrew Jones</name>
</author>
<published>2019-05-23T10:16:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=98e683443ba298685205c0c5157df49e42c1c0b1'/>
<id>urn:sha1:98e683443ba298685205c0c5157df49e42c1c0b1</id>
<content type='text'>
aarch64 fixups needed to compile with warnings as errors.

Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: aarch64: fix default vm mode</title>
<updated>2019-05-24T19:27:16Z</updated>
<author>
<name>Andrew Jones</name>
</author>
<published>2019-05-23T11:05:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55eda003f02f075bab0223a188e548dbf3ac8dfe'/>
<id>urn:sha1:55eda003f02f075bab0223a188e548dbf3ac8dfe</id>
<content type='text'>
VM_MODE_P52V48_4K is not a valid mode for AArch64. Replace its
use in vm_create_default() with a mode that works and represents
a good AArch64 default. (We didn't ever see a problem with this
because we don't have any unit tests using vm_create_default(),
but it's good to get it fixed in advance.)

Reported-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm: selftests: add pa-48/va-48 VM modes</title>
<updated>2018-12-21T10:28:30Z</updated>
<author>
<name>Andrew Jones</name>
</author>
<published>2018-11-06T13:57:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cdbd2428482486bcb2ab86dd7d99e8adec2b7c39'/>
<id>urn:sha1:cdbd2428482486bcb2ab86dd7d99e8adec2b7c39</id>
<content type='text'>
Signed-off-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Radim Krčmář &lt;rkrcmar@redhat.com&gt;
</content>
</entry>
</feed>
