<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/pc-bios/s390-ccw/Makefile, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/pc-bios/s390-ccw/Makefile?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/pc-bios/s390-ccw/Makefile?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-06T10:53:40+00:00</updated>
<entry>
<title>pc-bios/s390-ccw: Adopt meson style Make output</title>
<updated>2022-10-06T10:53:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-29T11:42:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b5fc8458fff07bdefa9d501a5d9c3564738ce446'/>
<id>urn:sha1:b5fc8458fff07bdefa9d501a5d9c3564738ce446</id>
<content type='text'>
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-31-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>pc-bios/s390-ccw: detect CC options just once</title>
<updated>2022-10-06T10:53:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-29T11:41:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ebc1d8213cb7807069f42191dcbfc05b6f9ebb0e'/>
<id>urn:sha1:ebc1d8213cb7807069f42191dcbfc05b6f9ebb0e</id>
<content type='text'>
In preparation for adding Docker container support, detect compiler options
just once rather than once per Make run; container startup overhead is
substantial and doing the detection just once makes things faster.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-15-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>pc-bios/s390-ccw: add -Wno-array-bounds</title>
<updated>2022-07-13T14:58:58+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-05-27T10:55:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c0b3607d5938f5ee7fd16ff1e102afe938fd4b39'/>
<id>urn:sha1:c0b3607d5938f5ee7fd16ff1e102afe938fd4b39</id>
<content type='text'>
The option generates a lot of warnings for integers casted to pointers,
for example:

/home/pbonzini/work/upstream/qemu/pc-bios/s390-ccw/dasd-ipl.c:174:19: warning: array subscript 0 is outside array bounds of ‘CcwSeekData[0]’ [-Warray-bounds]
  174 |     seekData-&gt;cyl = 0x00;
      |     ~~~~~~~~~~~~~~^~~~~~

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>configure, pc-bios/s390-ccw: pass cross CFLAGS correctly</title>
<updated>2022-07-06T07:31:15+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-06-15T09:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=75b244794323c821aee0d928c5731efe9a022425'/>
<id>urn:sha1:75b244794323c821aee0d928c5731efe9a022425</id>
<content type='text'>
QEMU_CFLAGS is not available in pc-bios/s390-ccw/netboot.mak, but the Makefile
needs to access the flags passed to the configure script for the s390x
cross compiler.  Fix everything and rename QEMU_CFLAGS to EXTRA_CFLAGS for
consistency with tests/tcg.

Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>configure: enable cross-compilation of s390-ccw</title>
<updated>2022-06-01T14:47:43+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-05-27T15:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9ffed42614585026834fd63cdf586b78b1f72c66'/>
<id>urn:sha1:9ffed42614585026834fd63cdf586b78b1f72c66</id>
<content type='text'>
While container-based cross compilers are not supported, this already makes
it possible to build s390-ccw on any machine that has s390x GCC and binutils
installed.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220517092616.1272238-14-pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Acked-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20220527153603.887929-25-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>configure: parse --enable/--disable-strip automatically, flip default</title>
<updated>2022-01-12T13:09:06+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2021-11-09T09:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a70248dbd381b2ce82192acdcbc3bde441e6c29b'/>
<id>urn:sha1:a70248dbd381b2ce82192acdcbc3bde441e6c29b</id>
<content type='text'>
Always include the STRIP variable in config-host.mak (it's only used
by the s390-ccw firmware build, and it adds a default if configure
omitted it), and use meson-buildoptions.sh to turn
--enable/--disable-strip into -Dstrip.

The default is now not to strip the binaries like for almost every other
package that has a configure script.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>pc-bios/s390-ccw: Allow building with Clang, too</title>
<updated>2021-05-09T16:50:01+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2021-05-02T11:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a5b2afd522dde375c38cf94b7c696ffa3faba2fb'/>
<id>urn:sha1:a5b2afd522dde375c38cf94b7c696ffa3faba2fb</id>
<content type='text'>
Clang unfortunately does not support generating code for the z900
architecture level and starts with the z10 instead. Thus to be able
to support compiling with Clang, we have to check for the supported
compiler flags. The disadvantage is of course that the bios image
will only run with z10 guest CPUs upwards (which is what most people
use anyway), so just in case let's also emit a warning in that case
(we will continue to ship firmware images that have been pre-built
with GCC in future releases, so this should not impact normal users,
too).

Message-Id: &lt;20210502174836.838816-5-thuth@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>pc-bios/s390-ccw: Silence GCC 11 stringop-overflow warning</title>
<updated>2021-05-09T16:47:54+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2021-04-22T14:59:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=da231910d33084ccf63f07de210b145e0fa31d98'/>
<id>urn:sha1:da231910d33084ccf63f07de210b145e0fa31d98</id>
<content type='text'>
When building on Fedora 34 (gcc version 11.0.0 20210210) we get:

  In file included from pc-bios/s390-ccw/main.c:11:
  In function ‘memset’,
      inlined from ‘boot_setup’ at pc-bios/s390-ccw/main.c:185:5,
      inlined from ‘main’ at pc-bios/s390-ccw/main.c:288:5:
  pc-bios/s390-ccw/libc.h:28:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
     28 |         p[i] = c;
        |         ~~~~~^~~

The offending code is:

  memset((char *)S390EP, 0, 6);

where S390EP is a const address:

  #define S390EP 0x10008

The compiler doesn't know how big that pointed area is, so it assume that
its length is zero. This has been reported as BZ#99578 to GCC:
"gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a
pointer from integer literal"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578

As this warning does us more harm than good in the BIOS code (where
lot of direct accesses to low memory are done), silence this warning
for all BIOS objects.

Suggested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20210422145911.2513980-1-philmd@redhat.com&gt;
Acked-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Message-Id: &lt;20210502174836.838816-4-thuth@redhat.com&gt;
[thuth: Use the pre-existing cc-option macro instead of adding a new one]
Reviewed-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>pc-bios/s390-ccw: Fix the cc-option macro in the Makefile</title>
<updated>2021-05-09T16:46:00+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2021-05-02T11:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3462ff35512e925df5ee8c079ed46d4c93b633a7'/>
<id>urn:sha1:3462ff35512e925df5ee8c079ed46d4c93b633a7</id>
<content type='text'>
The cc-option macro is not doing what it should - compared with the
original from the rules.mak file that got removed with commit
660f793093 ("Makefile: inline the relevant parts of rules.mak"),
the arguments got changed and thus the macro is rather doubling
the QEMU_CFLAGS than adding the flag that should be tested.

Message-Id: &lt;20210502174836.838816-3-thuth@redhat.com&gt;
Fixes: 22fb2ab096 ("pc-bios/s390-ccw: do not use rules.mak")
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>pc-bios/s390-ccw/Makefile: Compile with -std=gnu99, -fwrapv and -fno-common</title>
<updated>2020-10-06T17:36:50+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2020-07-28T11:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4f6a1eb886961f1f9da2d553c4b0e5ef69cd3801'/>
<id>urn:sha1:4f6a1eb886961f1f9da2d553c4b0e5ef69cd3801</id>
<content type='text'>
The main QEMU code is compiled with -std=gnu99, -fwrapv and -fno-common.
We should use the same flags for the s390-ccw bios, too, to avoid that
we get different behavior with different compiler versions that changed
their default settings in the course of time (it happened at least with
-std=... and -fno-common in the past already).

While we're at it, also group the other flags here in a little bit nicer
fashion: Move the two "-m" flags out of the "-f" area and specify them on
a separate line.

Reviewed-by: Claudio Imbrenda &lt;imbrenda@linux.ibm.com&gt;
Acked-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Acked-by: Janosch Frank &lt;frankja@linux.ibm.com&gt;
Message-Id: &lt;20200806105349.632-2-thuth@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
</feed>
