<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/s390/kvm, branch linux-4.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-05-17T10:28:45Z</updated>
<entry>
<title>KVM: s390: vsie: fix &lt; 8k check for the itdba</title>
<updated>2018-05-17T10:28:45Z</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2018-05-09T14:12:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4a551b72358facbbe5714248dff78404272feee'/>
<id>urn:sha1:f4a551b72358facbbe5714248dff78404272feee</id>
<content type='text'>
By missing an "L", we might detect some addresses to be &lt;8k,
although they are not.

e.g. for itdba = 100001fff
!(gpa &amp; ~0x1fffU) -&gt; 1
!(gpa &amp; ~0x1fffUL) -&gt; 0

So we would report a SIE validity intercept although everything is fine.

Fixes: 166ecb3 ("KVM: s390: vsie: support transactional execution")
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Reviewed-by: Janosch Frank &lt;frankja@linux.ibm.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Janosch Frank &lt;frankja@linux.ibm.com&gt;
Cc: stable@vger.kernel.org # v4.8+
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: provide counters for all interrupt injects/delivery</title>
<updated>2018-03-14T19:21:18Z</updated>
<author>
<name>Christian Borntraeger</name>
</author>
<published>2018-03-08T12:48:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ccc40c53c07ba22cfe711cd625f9f0c77f272ae6'/>
<id>urn:sha1:ccc40c53c07ba22cfe711cd625f9f0c77f272ae6</id>
<content type='text'>
For testing the exitless interrupt support it turned out useful to
have separate counters for inject and delivery of I/O interrupt.
While at it do the same for all interrupt types. For timer
related interrupts (clock comparator and cpu timer) we even had
no delivery counters. Fix this as well. On this way some counters
are being renamed to have a similar name.

Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: add machine check counter to kvm_stat</title>
<updated>2018-03-14T19:21:17Z</updated>
<author>
<name>QingFeng Hao</name>
</author>
<published>2018-03-02T10:56:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32de0749097ea5be5af7f06bc26cf4e06958ac0f'/>
<id>urn:sha1:32de0749097ea5be5af7f06bc26cf4e06958ac0f</id>
<content type='text'>
This counter can be used for administration, debug or test purposes.

Suggested-by: Vladislav Mironov &lt;mironov@de.ibm.com&gt;
Signed-off-by: QingFeng Hao &lt;haoqf@linux.vnet.ibm.com&gt;
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: fix fallthrough annotation</title>
<updated>2018-03-14T19:21:16Z</updated>
<author>
<name>Sebastian Ott</name>
</author>
<published>2018-01-29T15:12:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ed8773b5055363f1666345dd5ae5af12c7c6268'/>
<id>urn:sha1:4ed8773b5055363f1666345dd5ae5af12c7c6268</id>
<content type='text'>
A case statement in kvm_s390_shadow_tables uses fallthrough annotations
which are not recognized by gcc because they are hidden within a block.
Move these annotations out of the block to fix (W=1) warnings like below:

arch/s390/kvm/gaccess.c: In function 'kvm_s390_shadow_tables':
arch/s390/kvm/gaccess.c:1029:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  case ASCE_TYPE_REGION1: {
                          ^

Signed-off-by: Sebastian Ott &lt;sebott@linux.vnet.ibm.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: add exit io request stats and simplify code</title>
<updated>2018-03-14T19:21:11Z</updated>
<author>
<name>Christian Borntraeger</name>
</author>
<published>2018-02-23T07:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5e0acea9ed644d622281a4a8fde94a2e24ec7e8'/>
<id>urn:sha1:a5e0acea9ed644d622281a4a8fde94a2e24ec7e8</id>
<content type='text'>
We want to count IO exit requests in kvm_stat. At the same time
we can get rid of the handle_noop function.

Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Refactor host cmma and pfmfi interpretation controls</title>
<updated>2018-03-09T09:44:17Z</updated>
<author>
<name>Janosch Frank</name>
</author>
<published>2018-02-16T11:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9f0a2b87f9e95197c2f81920a82bcef6ad3db99'/>
<id>urn:sha1:c9f0a2b87f9e95197c2f81920a82bcef6ad3db99</id>
<content type='text'>
use_cmma in kvm_arch means that the KVM hypervisor is allowed to use
cmma, whereas use_cmma in the mm context means cmm has been used before.
Let's rename the context one to uses_cmm, as the vm does use
collaborative memory management but the host uses the cmm assist
(interpretation facility).

Also let's introduce use_pfmfi, so we can remove the pfmfi disablement
when we activate cmma and rather not activate it in the first place.

Signed-off-by: Janosch Frank &lt;frankja@linux.vnet.ibm.com&gt;
Message-Id: &lt;1518779775-256056-2-git-send-email-frankja@linux.vnet.ibm.com&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: implement CPU model only facilities</title>
<updated>2018-03-09T09:44:17Z</updated>
<author>
<name>Christian Borntraeger</name>
</author>
<published>2018-02-09T16:26:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3b9e3e1ea1c1d1524b56b6734711db2a6fc2163'/>
<id>urn:sha1:c3b9e3e1ea1c1d1524b56b6734711db2a6fc2163</id>
<content type='text'>
Some facilities should only be provided to the guest, if they are
enabled by a CPU model. This allows us to avoid capabilities and
to simply fall back to the cpumodel for deciding about a facility
without enabling it for older QEMUs or QEMUs without a CPU
model.

Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: fix memory overwrites when not using SCA entries</title>
<updated>2018-03-06T13:33:02Z</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2018-03-06T13:27:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f07afa0462b76a5b9c4f3a43d5ac24fdb86a90c2'/>
<id>urn:sha1:f07afa0462b76a5b9c4f3a43d5ac24fdb86a90c2</id>
<content type='text'>
Even if we don't have extended SCA support, we can have more than 64 CPUs
if we don't enable any HW features that might use the SCA entries.

Now, this works just fine, but we missed a return, which is why we
would actually store the SCA entries. If we have more than 64 CPUs, this
means writing outside of the basic SCA - bad.

Let's fix this. This allows &gt; 64 CPUs when running nested (under vSIE)
without random crashes.

Fixes: a6940674c384 ("KVM: s390: allow 255 VCPUs when sca entries aren't used")
Reported-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Tested-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
Message-Id: &lt;20180306132758.21034-1-david@redhat.com&gt;
Cc: stable@vger.kernel.org
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: provide io interrupt kvm_stat</title>
<updated>2018-03-01T12:10:32Z</updated>
<author>
<name>Christian Borntraeger</name>
</author>
<published>2018-02-28T18:44:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09a0fb67536a49af19f2bfc632100e9de91fe526'/>
<id>urn:sha1:09a0fb67536a49af19f2bfc632100e9de91fe526</id>
<content type='text'>
We already count io interrupts, but we forgot to print them.

Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Fixes: d8346b7d9b ("KVM: s390: Support for I/O interrupts.")
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: provide only a single function for setting the tod (fix SCK)</title>
<updated>2018-02-20T20:51:28Z</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2018-02-07T11:46:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e7def5fb0dc53ddbb9f62a497d15f1e11ccdc36'/>
<id>urn:sha1:0e7def5fb0dc53ddbb9f62a497d15f1e11ccdc36</id>
<content type='text'>
Right now, SET CLOCK called in the guest does not properly take care of
the epoch index, as the call goes via the old kvm_s390_set_tod_clock()
interface. So the epoch index is neither reset to 0, if required, nor
properly set to e.g. 0xff on negative values.

Fix this by providing a single kvm_s390_set_tod_clock() function. Move
Multiple-epoch facility handling into it.

Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
Message-Id: &lt;20180207114647.6220-3-david@redhat.com&gt;
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Fixes: 8fa1696ea781 ("KVM: s390: Multiple Epoch Facility support")
Cc: stable@vger.kernel.org
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
</content>
</entry>
</feed>
