<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/kvm-unit-tests, branch 2019.02-op-build</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2018-09-23T20:17:57+00:00</updated>
<entry>
<title>arch: allow GCC target options to be optionally overwritten</title>
<updated>2018-09-23T20:17:57+00:00</updated>
<author>
<name>Mark Corbin</name>
<email>mark.corbin@embecosm.com</email>
</author>
<published>2018-09-12T10:22:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=bd0640a2139119e2fdb4b384ebf32d1edcb0fdaa'/>
<id>urn:sha1:bd0640a2139119e2fdb4b384ebf32d1edcb0fdaa</id>
<content type='text'>
The BR2_GCC_TARGET_* configuration variables are copied to
corresponding GCC_TARGET_* variables which may then be optionally
modified or overwritten by architecture specific makefiles.

All makefiles must use the new GCC_TARGET_* variables instead
of the BR2_GCC_TARGET_* versions.

Signed-off-by: Mark Corbin &lt;mark.corbin@embecosm.com&gt;
[Thomas: simplify include of arch/arch.mk]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>kvm-unit-tests: test for rdseed/rdrand</title>
<updated>2018-01-14T14:08:37+00:00</updated>
<author>
<name>Matt Weber</name>
<email>matthew.weber@rockwellcollins.com</email>
</author>
<published>2018-01-13T02:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e4c2c68c3e1af04a3477a1777620f6021aa76065'/>
<id>urn:sha1:e4c2c68c3e1af04a3477a1777620f6021aa76065</id>
<content type='text'>
The build fails when the host binutils isn't at least 2.23
(2.22.x introduced RDSEED).

The host toolchain is used for x86_64 target builds where
we need to do a 32bit build. Most other buildroot builds
are using a much newer binutils unless it's a external
older toolchain.

Fixes:
http://autobuild.buildroot.net/results/c39/c3987a3cbd2960b0ff50f872636bdfd8d1a9c820/

Upstream:
https://marc.info/?l=kvm&amp;m=151580743523259&amp;w=2

Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>kvm-unit-tests: bump to kvm-unit-tests-20171020</title>
<updated>2017-12-03T13:48:16+00:00</updated>
<author>
<name>Matthew Weber</name>
<email>matthew.weber@rockwellcollins.com</email>
</author>
<published>2017-12-03T13:41:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e6a766fd1d5adcfe4a7c86ec416150916ffcc1d6'/>
<id>urn:sha1:e6a766fd1d5adcfe4a7c86ec416150916ffcc1d6</id>
<content type='text'>
- 0001-Makefile-remove-Werror-to-avoid-build-failures.patch is
  adjusted to apply to the new version of kvm-unit-tests

- 0001-x86-hyperv_clock-be-explicit-about-mul-instruction-d.patch is
  removed, as it has been merged upstream as of commit
  45276b5860522921c77fb3ccc1458ff5f223c3c6.

Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>kvm-unit-tests: bump version to fix build issue</title>
<updated>2017-11-20T21:11:47+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyrilbur@gmail.com</email>
</author>
<published>2017-11-20T05:48:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=041715cc5337bbd7311da4f5b0fd97da1b902a38'/>
<id>urn:sha1:041715cc5337bbd7311da4f5b0fd97da1b902a38</id>
<content type='text'>
Since binutils commit 1a9ccd70f9a7 ("Fix the linker so that it will not
silently generate ELF binaries with invalid program headers. Fix readelf
to report such invalid binaries.") the behaviour has changed and
binutils tries to create a program header segment for which there is no
space. Thanks to Nicholas Piggin and his patch to Linux:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&amp;id=ff45000fcb56b5b0f

Cedric fixed this in kvm-unit-tests commit 95062c20790d ("powerpc: add
-n to LDFLAGS") so bump to that version.

Since the patch 0001-remove-werror.patch needs to be adjusted, we take
this opportunity to reformat is as a Git patch.

Fixes:

  http://autobuild.buildroot.net/results/80825b492abf61313637b109d6a0944b38d5f739

Signed-off-by: Cyril Bur &lt;cyrilbur@gmail.com&gt;
[Thomas: add necessary hash change, refresh patch that was not
applying anymore.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>kvm-unit-test: x86-64 variant only available on x86-64 hosts</title>
<updated>2017-11-05T20:32:31+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2017-11-02T10:45:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=a13029996f25c1fb60ee68a67344b963dee374c1'/>
<id>urn:sha1:a13029996f25c1fb60ee68a67344b963dee374c1</id>
<content type='text'>
We use the host compiler for x86-64 builds, so ensure it is only available
on x86-64 hosts.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
</content>
</entry>
<entry>
<title>package/kvm-unit-tests: fix syntax</title>
<updated>2017-07-23T00:26:53+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2017-07-22T21:47:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=dae8c70a8db47d8cb24f1bca22e12fde33ce892b'/>
<id>urn:sha1:dae8c70a8db47d8cb24f1bca22e12fde33ce892b</id>
<content type='text'>
Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Tested-by: Ricardo Martincoski &lt;ricardo.martincoski@gmail.com&gt;
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
</content>
</entry>
<entry>
<title>package/kvm-unit-test: available for big.LITTLE arm cores too</title>
<updated>2017-07-22T21:29:41+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2017-07-09T09:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=2577484da9859f25c3baa15a84bd0a60306931db'/>
<id>urn:sha1:2577484da9859f25c3baa15a84bd0a60306931db</id>
<content type='text'>
Since it supports each variants individually, it should also supports
the big.LITTLE configurations.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Cyril Bur &lt;cyrilbur@gmail.com&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/kvm-unit-tests: introduce _ARCH_SUPPORTS</title>
<updated>2017-07-22T21:26:44+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2017-07-09T09:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e734c633875ae22e2baebe0d8e76d6e10686d804'/>
<id>urn:sha1:e734c633875ae22e2baebe0d8e76d6e10686d804</id>
<content type='text'>
Move all architecture options to their own symbol, so that it is easier
to add more variants in the future.

The dependency on cross-gcc &gt;= 4.5 is only valid for i386, as we use the
host gcc for x86_64. Adapt the dependency accordingly.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Cyril Bur &lt;cyrilbur@gmail.com&gt;
[Thomas:
 - add comment about host gcc &gt;= 4.5 dependency on x86-64
 - remove bogus "depends on ... if ..." construct.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/kvm-unit-tests: add hash</title>
<updated>2017-06-11T12:29:29+00:00</updated>
<author>
<name>Bernd Kuhls</name>
<email>bernd.kuhls@t-online.de</email>
</author>
<published>2017-06-11T08:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=d5080edec92334ae08ff96dfd57bdc6db6a681a0'/>
<id>urn:sha1:d5080edec92334ae08ff96dfd57bdc6db6a681a0</id>
<content type='text'>
Signed-off-by: Bernd Kuhls &lt;bernd.kuhls@t-online.de&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>kvm-unit-tests: fix build on x86-64 with specific gcc versions</title>
<updated>2017-05-11T20:13:19+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2017-05-08T20:41:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=bdadcf593d5308fcc1c8e767b7c2af8ae5aa9144'/>
<id>urn:sha1:bdadcf593d5308fcc1c8e767b7c2af8ae5aa9144</id>
<content type='text'>
kvm-unit-tests uses the following code on x86/x86-64:

static inline u64 scale_delta(u64 delta, u64 mul_frac)
{
        u64 product, unused;

        __asm__ (
                "mul %3"
                : "=d" (product), "=a" (unused) : "1" (delta), "rm" ((u64)mul_frac) );

        return product;
}

The "mul" instruction does not have a suffix that indicates the width of
the data being multiplied. When the data is passed in a register, there
is no need to specify the width, but with some gcc versions, the data is
passed as a memory reference, and therefore the assembler does not know
the width of the data to be multiplied. It causes the following build
failure:

x86/hyperv_clock.c: Assembler messages:
x86/hyperv_clock.c:21: Error: no instruction mnemonic suffix given and no register operands; can't size instruction

Since the data being multiplied is 64 bit, we explicitly specify the
instruction as being "mulq".

Fixes:

  http://autobuild.buildroot.net/results/a4a65d01f049db83a93de92660f228dd18532625/

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
