<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/s390/kvm, branch linux-3.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-07-29T07:02:30Z</updated>
<entry>
<title>KVM: s390: fix pfmf non-quiescing control handling</title>
<updated>2013-07-29T07:02:30Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2013-07-26T13:04:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e769ece3b129698d2b09811a6f6d304e4eaa8c29'/>
<id>urn:sha1:e769ece3b129698d2b09811a6f6d304e4eaa8c29</id>
<content type='text'>
Fix the test within handle_pfmf() if the host has the NQ key-setting
facility installed.
Right now the code would incorrectly generate a program check in the
guest if the NQ control bit for a pfmf request was set and if the host
has the NQ key-setting facility installed.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: move kvm_guest_enter,exit closer to sie</title>
<updated>2013-07-29T07:02:18Z</updated>
<author>
<name>Dominik Dingel</name>
</author>
<published>2013-07-26T13:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b29a9fdcb92bfc6b6f4c412d71505869de61a56'/>
<id>urn:sha1:2b29a9fdcb92bfc6b6f4c412d71505869de61a56</id>
<content type='text'>
Any uaccess between guest_enter and guest_exit could trigger a page fault,
the page fault handler would handle it as a guest fault and translate a
user address as guest address.

Signed-off-by: Dominik Dingel &lt;dingel@linux.vnet.ibm.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
CC: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Fixed priority of execution in STSI</title>
<updated>2013-06-20T21:33:01Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2013-06-20T15:22:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87d41fb4da6467622b7a87fd6afe8071abab6dae'/>
<id>urn:sha1:87d41fb4da6467622b7a87fd6afe8071abab6dae</id>
<content type='text'>
Added some missing validity checks for the operands and fixed the
priority of exceptions for some function codes according to the
"Principles of Operation" document.

Signed-off-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Reworked LCTL and LCTLG instructions</title>
<updated>2013-06-20T21:32:39Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2013-06-20T15:22:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=953ed88d10444c0e139a2333b6cd96ce01aa94dc'/>
<id>urn:sha1:953ed88d10444c0e139a2333b6cd96ce01aa94dc</id>
<content type='text'>
LCTL and LCTLG are also privileged instructions, thus there is no need for
treating them separately from the other instructions in priv.c. So this
patch moves these two instructions to priv.c, adds a check for supervisor
state and simplifies the "handle_eb" instruction decoding by merging the
two eb_handlers jump tables from intercept.c and priv.c into one table only.

Signed-off-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Check for access exceptions during TPI</title>
<updated>2013-06-20T21:32:13Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2013-06-20T15:22:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=133608f392ce2e11481317e3d0b02044710a5956'/>
<id>urn:sha1:133608f392ce2e11481317e3d0b02044710a5956</id>
<content type='text'>
When a guest calls the TPI instruction, the second operand address could
point to an invalid location. In this case the problem should be signaled
to the guest by throwing an access exception.

Signed-off-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Check for PSTATE when handling DIAGNOSE</title>
<updated>2013-06-20T21:31:59Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2013-06-20T15:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93e1750f5ee8417e015bcb0bf2c37bf07b5ff647'/>
<id>urn:sha1:93e1750f5ee8417e015bcb0bf2c37bf07b5ff647</id>
<content type='text'>
DIAGNOSE is a privileged instruction and thus we must make sure that we are
in supervisor mode before taking any other actions.

Signed-off-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Privileged operation checks moved to instruction handlers</title>
<updated>2013-06-20T21:31:43Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2013-06-20T15:22:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5087dfa6c8b9f7893819f315eb24201ff5c07142'/>
<id>urn:sha1:5087dfa6c8b9f7893819f315eb24201ff5c07142</id>
<content type='text'>
We need more fine-grained control about the point in time when we check
for privileged instructions, since the exceptions that can happen during
an instruction have a well-defined priority. For example, for the PFMF
instruction, the check for PGM_PRIVILEGED_OP must happen after the check
for PGM_OPERATION since the latter has a higher precedence - thus the
check for privileged operation must not be done in kvm_s390_handle_b9()
already.

Signed-off-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Privileged operation check for TPROT</title>
<updated>2013-06-20T21:31:15Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2013-06-20T15:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9f6bbc6991f2ba21bfaff90f4060f2df766ca20'/>
<id>urn:sha1:f9f6bbc6991f2ba21bfaff90f4060f2df766ca20</id>
<content type='text'>
TPROT is a privileged instruction and thus should generate a privileged
operation exception when the problem state bit is not cleared in the PSW.

Signed-off-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Renamed PGM_PRIVILEGED_OPERATION</title>
<updated>2013-06-20T21:31:04Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2013-06-20T15:21:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=208dd7567df471c7c47aa25b94569afc115de5f5'/>
<id>urn:sha1:208dd7567df471c7c47aa25b94569afc115de5f5</id>
<content type='text'>
Renamed the PGM_PRIVILEGED_OPERATION define to PGM_PRIVILEGED_OP since this
define was way longer than the other PGM_* defines and caused the code often
to exceed the 80 columns limit when not split to multiple lines.

Signed-off-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: s390: Fix epsw instruction decoding</title>
<updated>2013-06-17T15:10:38Z</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2013-06-12T11:54:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aeb87c3cb7416d4d5931bc939cc083c731479de0'/>
<id>urn:sha1:aeb87c3cb7416d4d5931bc939cc083c731479de0</id>
<content type='text'>
The handle_epsw() function calculated the first register in the wrong way,
so that it always used r0 by mistake. Now the code uses the common helper
function for decoding the registers of rre functions instead to avoid such
mistakes.

Signed-off-by: Thomas Huth &lt;thuth@linux.vnet.ibm.com&gt;
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
