kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit
@ 2019-07-10  7:50 Wanpeng Li
  2019-07-10  8:01 ` [Qemu-devel] " no-reply
  2019-07-10  8:06 ` no-reply
  0 siblings, 2 replies; 3+ messages in thread
From: Wanpeng Li @ 2019-07-10  7:50 UTC (permalink / raw)
  To: qemu-devel, kvm
  Cc: Paolo Bonzini, Radim Krčmář, Eduardo Habkost

From: Wanpeng Li <wanpengli@tencent.com>

Adds PV_SCHED_YIELD CPUID feature bit.

Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
---
Note: kvm part is merged
v1 -> v2:
 * use bit 13 instead of bit 12 since bit 12 has user now

 target/i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 5f07d68..f4c4b6b 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -902,7 +902,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
             "kvmclock", "kvm-nopiodelay", "kvm-mmu", "kvmclock",
             "kvm-asyncpf", "kvm-steal-time", "kvm-pv-eoi", "kvm-pv-unhalt",
             NULL, "kvm-pv-tlb-flush", NULL, "kvm-pv-ipi",
-            NULL, NULL, NULL, NULL,
+            NULL, "kvm-pv-sched-yield', NULL, NULL,
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
             "kvmclock-stable-bit", NULL, NULL, NULL,
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit
  2019-07-10  7:50 [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit Wanpeng Li
@ 2019-07-10  8:01 ` no-reply
  2019-07-10  8:06 ` no-reply
  1 sibling, 0 replies; 3+ messages in thread
From: no-reply @ 2019-07-10  8:01 UTC (permalink / raw)
  To: kernellwp; +Cc: qemu-devel, kvm, pbonzini, ehabkost, rkrcmar

Patchew URL: https://patchew.org/QEMU/1562745044-7838-1-git-send-email-wanpengli@tencent.com/



Hi,

This series failed the asan build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-fedora V=1 NETWORK=1
time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1
=== TEST SCRIPT END ===

  CC      x86_64-softmmu/trace/control-target.o
  CC      x86_64-softmmu/gdbstub-xml.o
  CC      x86_64-softmmu/trace/generated-helpers.o
/tmp/qemu-test/src/target/i386/cpu.c:909:19: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
            NULL, "kvm-pv-sched-yield', NULL, NULL,
                  ^
/tmp/qemu-test/src/target/i386/cpu.c:909:19: error: expected expression
2 errors generated.
make[1]: *** [/tmp/qemu-test/src/rules.mak:69: target/i386/cpu.o] Error 1
make[1]: *** Waiting for unfinished jobs....


The full log is available at
http://patchew.org/logs/1562745044-7838-1-git-send-email-wanpengli@tencent.com/testing.asan/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit
  2019-07-10  7:50 [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit Wanpeng Li
  2019-07-10  8:01 ` [Qemu-devel] " no-reply
@ 2019-07-10  8:06 ` no-reply
  1 sibling, 0 replies; 3+ messages in thread
From: no-reply @ 2019-07-10  8:06 UTC (permalink / raw)
  To: kernellwp; +Cc: qemu-devel, kvm, pbonzini, ehabkost, rkrcmar

Patchew URL: https://patchew.org/QEMU/1562745044-7838-1-git-send-email-wanpengli@tencent.com/



Hi,

This series failed build test on s390x host. Please find the details below.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
# Testing script will be invoked under the git checkout with
# HEAD pointing to a commit that has the patches applied on top of "base"
# branch
set -e

echo
echo "=== ENV ==="
env

echo
echo "=== PACKAGES ==="
rpm -qa

echo
echo "=== UNAME ==="
uname -a

CC=$HOME/bin/cc
INSTALL=$PWD/install
BUILD=$PWD/build
mkdir -p $BUILD $INSTALL
SRC=$PWD
cd $BUILD
$SRC/configure --cc=$CC --prefix=$INSTALL
make -j4
# XXX: we need reliable clean up
# make check -j4 V=1
make install
=== TEST SCRIPT END ===

  CC      arm-softmmu/qapi/qapi-visit-misc-target.o
  CC      i386-softmmu/target/i386/cpu.o
  CC      arm-softmmu/qapi/qapi-visit.o
/var/tmp/patchew-tester-tmp-r_8lpudq/src/target/i386/cpu.c:909:19: error: missing terminating " character [-Werror]
  909 |             NULL, "kvm-pv-sched-yield', NULL, NULL,
      |                   ^
/var/tmp/patchew-tester-tmp-r_8lpudq/src/target/i386/cpu.c:909:19: error: missing terminating " character
  909 |             NULL, "kvm-pv-sched-yield', NULL, NULL,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


The full log is available at
http://patchew.org/logs/1562745044-7838-1-git-send-email-wanpengli@tencent.com/testing.s390x/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-10  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-10  7:50 [PATCH] target-i386: adds PV_SCHED_YIELD CPUID feature bit Wanpeng Li
2019-07-10  8:01 ` [Qemu-devel] " no-reply
2019-07-10  8:06 ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).