[Xen-devel] [linux-4.9 test] 134189: regressions - trouble: blocked/broken/fail/pass

2019-03-30 Thread osstest service owner
flight 134189 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/134189/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvopsbroken build-arm64-xsm

[Xen-devel] [xen-4.9-testing test] 134111: regressions - trouble: blocked/broken/fail/pass

2019-03-30 Thread osstest service owner
flight 134111 xen-4.9-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/134111/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-arm64

[Xen-devel] [qemu-mainline bisection] complete test-amd64-amd64-xl-qemuu-win7-amd64

2019-03-30 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-amd64-xl-qemuu-win7-amd64 testid guest-saverestore Tree: linux git://xenbits.xen.org/linux-pvops.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu

[Xen-devel] [xen-unstable-smoke test] 134206: trouble: blocked/broken/pass

2019-03-30 Thread osstest service owner
flight 134206 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/134206/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-arm64-xs

Re: [Xen-devel] [PATCH RFC 00/49] xen: add core scheduling support

2019-03-30 Thread Juergen Gross
On 29/03/2019 19:16, Dario Faggioli wrote: > Even if I've only skimmed through it... cool series! :-D > > On Fri, 2019-03-29 at 16:08 +0100, Juergen Gross wrote: >> >> I have done some very basic performance testing: on a 4 cpu system >> (2 cores with 2 threads each) I did a "make -j 4" for buildi

Re: [Xen-devel] [PATCH RFC 17/49] xen/sched: move some per-vcpu items to struct sched_item

2019-03-30 Thread Juergen Gross
On 29/03/2019 22:33, Andrew Cooper wrote: > On 29/03/2019 15:09, Juergen Gross wrote: >> diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c >> index 8d579e2cf9..5d8f3255cb 100644 >> --- a/xen/arch/x86/domain.c >> +++ b/xen/arch/x86/domain.c >> @@ -15,6 +15,7 @@ >> #include >> #include >

Re: [Xen-devel] [PATCH RFC 31/49] xen/sched: use sched_resource cpu instead smp_processor_id in schedulers

2019-03-30 Thread Juergen Gross
On 29/03/2019 20:36, Andrew Cooper wrote: > On 29/03/2019 15:09, Juergen Gross wrote: >> diff --git a/xen/common/schedule.c b/xen/common/schedule.c >> index 9b5527c1eb..0b5e5e566b 100644 >> --- a/xen/common/schedule.c >> +++ b/xen/common/schedule.c >> @@ -347,7 +347,7 @@ int sched_init_vcpu(struct

Re: [Xen-devel] [PATCH RFC 30/49] xen: let vcpu_create() select processor

2019-03-30 Thread Juergen Gross
On 29/03/2019 20:17, Andrew Cooper wrote: > On 29/03/2019 15:09, Juergen Gross wrote: >> Today there are two distinct scenarios for vcpu_create(): either for >> creation of idle-domain vcpus (vcpuid == processor) or for creation of >> "normal" domain vcpus (including dom0), where the caller selects

Re: [Xen-devel] [PATCH RFC 08/49] xen/sched: use new sched_item instead of vcpu in scheduler interfaces

2019-03-30 Thread Juergen Gross
On 29/03/2019 19:42, Andrew Cooper wrote: > On 29/03/2019 15:08, Juergen Gross wrote: >> diff --git a/xen/common/schedule.c b/xen/common/schedule.c >> index 6b5d454630..d1a958143a 100644 >> --- a/xen/common/schedule.c >> +++ b/xen/common/schedule.c >> @@ -256,6 +256,7 @@ static void sched_spin_unlo

[Xen-devel] [PATCH v4 05/15] x86/cpu/mce: Add Hygon Dhyana support to the MCA infrastructure

2019-03-30 Thread Pu Wen
The machine check architecture for Hygon Dhyana CPU is similar to the AMD family 17h one. Add vendor checking for Hygon Dhyana to share the code path of AMD family 17h. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/cpu/common.c | 3 ++- xen/arch/x86/cpu/mcheck/amd_no

[Xen-devel] [PATCH v4 01/15] x86/cpu: Create Hygon Dhyana architecture support file

2019-03-30 Thread Pu Wen
Add x86 architecture support for a new processor: Hygon Dhyana Family 18h. To make Hygon initialization flow more clear, carve out code from amd.c into a separate file hygon.c, and remove unnecessary code for Hygon Dhyana. To identify Hygon Dhyana CPU, add a new vendor type X86_VENDOR_HYGON for sy

[Xen-devel] [PATCH v4 02/15] x86/cpu: Fix common cpuid faulting probing for AMD and Hygon

2019-03-30 Thread Pu Wen
There is no MSR_INTEL_PLATFORM_INFO for AMD and Hygon families. So directly return false in the function probe_cpuid_faulting() if !cpu_has_hypervisor. Signed-off-by: Pu Wen --- xen/arch/x86/cpu/common.c | 5 + 1 file changed, 5 insertions(+) diff --git a/xen/arch/x86/cpu/common.c b/xen/arc

[Xen-devel] [PATCH v4 09/15] x86/iommu: Add Hygon Dhyana support

2019-03-30 Thread Pu Wen
The IOMMU architecture for the Hygon Dhyana CPU is similar to the AMD family 17h one. So add Hygon Dhyana support to it by sharing the code path of AMD. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/include/asm-x86/iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/as

[Xen-devel] [PATCH v4 03/15] x86/cpu/mtrr: Add Hygon Dhyana support to get TOP_MEM2

2019-03-30 Thread Pu Wen
The Hygon Dhyana CPU supports the MSR way to get TOP_MEM2. So add Hygon Dhyana support to print the value of TOP_MEM2. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/cpu/mtrr/generic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/cpu/mtrr/g

[Xen-devel] [PATCH v4 07/15] x86/apic: Add Hygon Dhyana support

2019-03-30 Thread Pu Wen
Add Hygon Dhyana support to use modern APIC. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/apic.c | 5 + 1 file changed, 5 insertions(+) diff --git a/xen/arch/x86/apic.c b/xen/arch/x86/apic.c index 2a24326..004d685 100644 --- a/xen/arch/x86/apic.c +++ b/xen/arch/x86/apic.c @

[Xen-devel] [PATCH v4 06/15] x86/spec_ctrl: Add Hygon Dhyana to the respective mitigation machinery

2019-03-30 Thread Pu Wen
The Hygon Dhyana CPU has the same speculative execution as AMD family 17h, so share AMD Retpoline and PTI mitigation code with Hygon Dhyana. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/spec_ctrl.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xen/arc

[Xen-devel] [PATCH v4 08/15] x86/acpi: Add Hygon Dhyana support

2019-03-30 Thread Pu Wen
Add Hygon Dhyana support to the acpi cpufreq and cpuidle subsystems by using the code path of AMD. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/acpi/cpu_idle.c | 3 ++- xen/arch/x86/acpi/cpufreq/cpufreq.c | 8 +--- xen/arch/x86/acpi/cpufreq/powernow.c | 3 ++- 3 fil

[Xen-devel] [PATCH v4 11/15] x86/domain: Add Hygon Dhyana support

2019-03-30 Thread Pu Wen
Add Hygon Dhyana support to handle HyperTransport range. Also loading a nul selector does not clear bases and limits on Hygon CPUs, so add Hygon Dhyana support to the function preload_segment. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/dom0_build.c | 3 ++- xen/arch/x86/domai

[Xen-devel] [PATCH v4 14/15] x86/cpuid: Add Hygon Dhyana support

2019-03-30 Thread Pu Wen
The Hygon Dhyana family 18h processor shares the same cpuid leaves as the AMD family 17h one. So add Hygon Dhyana support to caculate the cpuid policies as the AMD CPU does. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/cpuid.c | 10 +++--- 1 file changed, 7 insertions(+), 3

[Xen-devel] [PATCH v4 13/15] x86/traps: Add Hygon Dhyana support

2019-03-30 Thread Pu Wen
The Hygon Dhyana processor has the methold to get the last exception source IP from MSR_01DD. So add support for it if the boot param ler is true. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/traps.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/arch/x86/traps.c

[Xen-devel] [PATCH v4 10/15] x86/pv: Add Hygon Dhyana support to emulate MSRs access

2019-03-30 Thread Pu Wen
The Hygon Dhyana CPU supports lots of MSRs(such as perf event select and counter MSRs, hardware configuration MSR, MMIO configuration base address MSR, MPERF/APERF MSRs) as AMD CPU does, so add Hygon Dhyana support to the PV emulation infrastructure by using the code path of AMD. Signed-off-by: Pu

[Xen-devel] [PATCH v4 04/15] x86/cpu/vpmu: Add Hygon Dhyana and AMD Zen support for vPMU

2019-03-30 Thread Pu Wen
As Hygon Dhyana CPU share similar PMU architecture with AMD family 17h one, so add Hygon Dhyana support in vpmu_arch_initialise() and vpmu_init() by sharing AMD code path. Split the common part in amd_vpmu_init() to a static function _vpmu_init(), making AMD and Hygon to call the shared function t

[Xen-devel] [PATCH v4 12/15] x86/domctl: Add Hygon Dhyana support

2019-03-30 Thread Pu Wen
Add Hygon Dhyana support to update cpuid info for creating PV guest. Signed-off-by: Pu Wen Acked-by: Jan Beulich --- xen/arch/x86/domctl.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c index 9bf2d08..19b7bdd 1006

[Xen-devel] [PATCH v4 00/15] Add support for Hygon Dhyana Family 18h processor

2019-03-30 Thread Pu Wen
As a new x86 CPU vendor, Chengdu Haiguang IC Design Co., Ltd (Hygon) is a joint venture between AMD and Haiguang Information Technology Co., Ltd., aims at providing high performance x86 processors for China server market. The first generation Hygon processor(Dhyana) originates from AMD technology

[Xen-devel] [PATCH v4 15/15] tools/libxc: Add Hygon Dhyana support

2019-03-30 Thread Pu Wen
Add Hygon Dhyana support to caculate the cpuid policies for creating PV or HVM guest by using the code path of AMD. Signed-off-by: Pu Wen Acked-by: Wei Liu --- tools/libxc/xc_cpuid_x86.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tools/libxc/xc_cpuid_x

[Xen-devel] [xen-unstable-smoke test] 134211: trouble: blocked/broken/pass

2019-03-30 Thread osstest service owner
flight 134211 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/134211/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-arm64-xs

[Xen-devel] [distros-debian-stretch test] 83845: trouble: blocked/broken

2019-03-30 Thread Platform Team regression test user
flight 83845 distros-debian-stretch real [real] http://osstest.xensource.com/osstest/logs/83845/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvopsbroken build-i386

[Xen-devel] [xen-unstable-smoke test] 134213: trouble: blocked/broken/pass

2019-03-30 Thread osstest service owner
flight 134213 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/134213/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-arm64-xs

[Xen-devel] [linux-4.14 test] 134118: regressions - trouble: blocked/broken/fail/pass

2019-03-30 Thread osstest service owner
flight 134118 linux-4.14 real [real] http://logs.test-lab.xenproject.org/osstest/logs/134118/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64 broken build-arm64-xsm

[Xen-devel] [qemu-mainline test] 134195: regressions - trouble: blocked/broken/fail/pass

2019-03-30 Thread osstest service owner
flight 134195 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/134195/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvopsbroken build-arm64

[Xen-devel] [linux-4.4 test] 134197: trouble: blocked/broken/fail/pass

2019-03-30 Thread osstest service owner
flight 134197 linux-4.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/134197/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvopsbroken build-arm64-xsm

[Xen-devel] [xen-unstable-smoke test] 134215: trouble: blocked/broken/pass

2019-03-30 Thread osstest service owner
flight 134215 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/134215/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-arm64-xs

[Xen-devel] [linux-4.19 test] 134165: regressions - trouble: blocked/broken/fail/pass

2019-03-30 Thread osstest service owner
flight 134165 linux-4.19 real [real] http://logs.test-lab.xenproject.org/osstest/logs/134165/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-credit1 broken build-arm64-xsm

[Xen-devel] [libvirt test] 134204: trouble: blocked/broken/pass

2019-03-30 Thread osstest service owner
flight 134204 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/134204/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvopsbroken build-arm64

[Xen-devel] [xen-unstable-smoke test] 134222: trouble: blocked/broken/pass

2019-03-30 Thread osstest service owner
flight 134222 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/134222/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm broken build-arm64-xs