<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/target/s390x/ioinst.c, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/target/s390x/ioinst.c?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/target/s390x/ioinst.c?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-11-16T09:15:26+00:00</updated>
<entry>
<title>s390x: Fix spelling errors</title>
<updated>2022-11-16T09:15:26+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2022-11-11T18:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=44ee69ea16bd0390082ed88d4e82d6cea3a18b46'/>
<id>urn:sha1:44ee69ea16bd0390082ed88d4e82d6cea3a18b46</id>
<content type='text'>
Fix typos (discovered with the 'codespell' utility).
Note: Though "migrateable" still seems to be a valid spelling, we change
it to "migratable" since this is the way more common spelling here.

Message-Id: &lt;20221111182828.282251-1-thuth@redhat.com&gt;
Reviewed-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Reviewed-by: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>Fix 'writeable' typos</title>
<updated>2022-06-08T18:38:47+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2022-06-08T18:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9323e79f10e5f5d8fffc3b307776173ca11faeae'/>
<id>urn:sha1:9323e79f10e5f5d8fffc3b307776173ca11faeae</id>
<content type='text'>
We have about 30 instances of the typo/variant spelling 'writeable',
and over 500 of the more common 'writable'.  Standardize on the
latter.

Change produced with:

  sed -i -e 's/\([Ww][Rr][Ii][Tt]\)[Ee]\([Aa][Bb][Ll][Ee]\)/\1\2/g' $(git grep -il writeable)

and then hand-undoing the instance in linux-headers/linux/kvm.h.

Most of these changes are in comments or documentation; the
exceptions are:
 * a local variable in accel/hvf/hvf-accel-ops.c
 * a local variable in accel/kvm/kvm-all.c
 * the PMCR_WRITABLE_MASK macro in target/arm/internals.h
 * the EPT_VIOLATION_GPA_WRITABLE macro in target/i386/hvf/vmcs.h
   (which is never used anywhere)
 * the AR_TYPE_WRITABLE_MASK macro in target/i386/hvf/vmx.h
   (which is never used anywhere)

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Message-id: 20220505095015.2714666-1-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>s390x/ioinst: Fix wrong MSCH alignment check on little endian</title>
<updated>2021-09-06T14:23:22+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2021-08-05T14:37:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0dd05d0606c880200d1683364c5eb558898e50de'/>
<id>urn:sha1:0dd05d0606c880200d1683364c5eb558898e50de</id>
<content type='text'>
schib-&gt;pmcw.chars is 32bit, not 16bit. This fixes the kvm-unit-tests
"css" test, which fails with:

  FAIL: Channel Subsystem: measurement block format1: Unaligned MB origin:
  Program interrupt: expected(21) == received(0)

Because we end up not injecting an operand program exception.

Fixes: a54b8ac340c2 ("css: SCHIB measurement block origin must be aligned")
Cc: Halil Pasic &lt;pasic@linux.ibm.com&gt;
Cc: Cornelia Huck &lt;cohuck@redhat.com&gt;
Cc: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Cc: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Cc: Thomas Huth &lt;thuth@redhat.com&gt;
Cc: Pierre Morel &lt;pmorel@linux.ibm.com&gt;
Cc: qemu-s390x@nongnu.org
Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
Reviewed-by: Halil Pasic &lt;pasic@linux.ibm.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Pierre Morel &lt;pmorel@linux.ibm.com&gt;
Message-Id: &lt;20210805143753.86520-1-david@redhat.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: rename internal.h to s390x-internal.h</title>
<updated>2021-07-07T12:01:56+00:00</updated>
<author>
<name>Cho, Yu-Chen</name>
</author>
<published>2021-07-07T10:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b6b4722307f31491ee553c674ded2a8bba6173e1'/>
<id>urn:sha1:b6b4722307f31491ee553c674ded2a8bba6173e1</id>
<content type='text'>
The internal.h file is renamed to s390x-internal.h, because of the
risk of collision with other files with the same name.

Signed-off-by: Claudio Fontana &lt;cfontana@suse.de&gt;
Signed-off-by: Cho, Yu-Chen &lt;acho@suse.com&gt;
Acked-by: David Hildenbrand &lt;david@redhat.com&gt;
Acked-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20210707105324.23400-7-acho@suse.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>css: SCHIB measurement block origin must be aligned</title>
<updated>2021-03-04T10:23:35+00:00</updated>
<author>
<name>Pierre Morel</name>
</author>
<published>2021-02-19T13:39:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a54b8ac340c20531daa89929c5ce7fed89fa401d'/>
<id>urn:sha1:a54b8ac340c20531daa89929c5ce7fed89fa401d</id>
<content type='text'>
The Measurement Block Origin inside the SCHIB is used when
Measurement Block format 1 is in used and must be aligned
on 64 bytes otherwise an operand exception is recognized
when issuing the Modify Sub CHannel (MSCH) instruction.

Signed-off-by: Pierre Morel &lt;pmorel@linux.ibm.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;1613741973-3711-2-git-send-email-pmorel@linux.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio-ccw: Add support for the schib region</title>
<updated>2020-06-18T10:13:54+00:00</updated>
<author>
<name>Farhan Ali</name>
</author>
<published>2020-05-05T12:57:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=46ea3841edaff2a7657b8f6c7f474e5e3850cd62'/>
<id>urn:sha1:46ea3841edaff2a7657b8f6c7f474e5e3850cd62</id>
<content type='text'>
The schib region can be used to obtain the latest SCHIB from the host
passthrough subchannel. Since the guest SCHIB is virtualized,
we currently only update the path related information so that the
guest is aware of any path related changes when it issues the
'stsch' instruction.

Signed-off-by: Farhan Ali &lt;alifm@linux.ibm.com&gt;
Signed-off-by: Eric Farman &lt;farman@linux.ibm.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Message-Id: &lt;20200505125757.98209-4-farman@linux.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>s390x: protvirt: Move IO control structures over SIDA</title>
<updated>2020-04-29T12:31:32+00:00</updated>
<author>
<name>Janosch Frank</name>
</author>
<published>2020-03-19T13:19:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fcc10c1470d6e9460ebcf4c30f5bbd37b921a041'/>
<id>urn:sha1:fcc10c1470d6e9460ebcf4c30f5bbd37b921a041</id>
<content type='text'>
For protected guests, we need to put the IO emulation results into the
SIDA, so SIE will write them into the guest at the next entry.

Signed-off-by: Janosch Frank &lt;frankja@linux.ibm.com&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Message-Id: &lt;20200319131921.2367-14-frankja@linux.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>s390x: protvirt: Disable address checks for PV guest IO emulation</title>
<updated>2020-04-29T12:31:32+00:00</updated>
<author>
<name>Janosch Frank</name>
</author>
<published>2020-03-19T13:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c10b708752e5264a85b5c3afa0a0ccfcf6503ddf'/>
<id>urn:sha1:c10b708752e5264a85b5c3afa0a0ccfcf6503ddf</id>
<content type='text'>
IO instruction data is routed through SIDAD for protected guests, so
adresses do not need to be checked, as this is kernel memory which is
always available.

Also the instruction data always starts at offset 0 of the SIDAD.

Signed-off-by: Janosch Frank &lt;frankja@linux.ibm.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Reviewed-by: Claudio Imbrenda &lt;imbrenda@linux.ibm.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Message-Id: &lt;20200319131921.2367-13-frankja@linux.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>misc: Replace zero-length arrays with flexible array member (manual)</title>
<updated>2020-03-16T21:07:42+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2020-03-04T15:38:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=880a7817c1a82a93d3f83dfb25dce1f0db629c66'/>
<id>urn:sha1:880a7817c1a82a93d3f83dfb25dce1f0db629c66</id>
<content type='text'>
Description copied from Linux kernel commit from Gustavo A. R. Silva
(see [3]):

--v-- description start --v--

  The current codebase makes use of the zero-length array language
  extension to the C90 standard, but the preferred mechanism to
  declare variable-length types such as these ones is a flexible
  array member [1], introduced in C99:

  struct foo {
      int stuff;
      struct boo array[];
  };

  By making use of the mechanism above, we will get a compiler
  warning in case the flexible array does not occur last in the
  structure, which will help us prevent some kind of undefined
  behavior bugs from being unadvertenly introduced [2] to the
  Linux codebase from now on.

--^-- description end --^--

Do the similar housekeeping in the QEMU codebase (which uses
C99 since commit 7be41675f7cb).

All these instances of code were found with the help of the
following command (then manual analysis, without modifying
structures only having a single flexible array member, such
QEDTable in block/qed.h):

  git grep -F '[0];'

[1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=76497732932f
[3] https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git/commit/?id=17642a2fbd2c1

Inspired-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: Remove ilen parameter from s390_program_interrupt</title>
<updated>2019-10-09T10:49:01+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2019-10-01T17:15:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=77b703f84f0099c2e863a05122537a252ca005d1'/>
<id>urn:sha1:77b703f84f0099c2e863a05122537a252ca005d1</id>
<content type='text'>
This is no longer used, and many of the existing uses -- particularly
within hw/s390x -- seem questionable.

Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20191001171614.8405-4-richard.henderson@linaro.org&gt;
Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
</content>
</entry>
</feed>
