Re: [Xen-devel] Xen 4.12.0-rc Hangs Around masked ExtINT on CPU#

2019-03-26 Thread Jan Beulich
>>> On 25.03.19 at 18:00, wrote: > I removed the "maxcpus=1" and attempted seven (7) boots. > There were minor variations, they do not seem to get > past the first additional processor. Below is a summary. And with "maxcpus=1" in place, is it as stable hanging when trying to bring up the 3rd AP?

Re: [Xen-devel] [PATCH for-4.12] passthrough/vtd: Drop the "workaround_bios_bug" logic entirely

2019-03-26 Thread Jan Beulich
>>> On 25.03.19 at 18:36, wrote: > On 25/03/2019 15:24, Jan Beulich wrote: > On 21.03.19 at 21:26, wrote: >>> It turns out that this code was previously dead. >> If it was entirely dead, why the rush to get the change into 4.12? >> (I suppose the later parts of description are then justifying

Re: [Xen-devel] [PATCH] x86/xen: Add "xen_timer_slop" command line option

2019-03-26 Thread Dario Faggioli
On Mon, 2019-03-25 at 09:43 -0400, Boris Ostrovsky wrote: > On 3/25/19 8:05 AM, luca abeni wrote: > > > > The picture shows the latencies measured with an unpatched guest > > kernel > > and with a guest kernel having TIMER_SLOP set to 1000 (arbitrary > > small > > value :). > > All the experiments

Re: [Xen-devel] Xen from Xilinx 2018.3 not recognizing boot arguments

2019-03-26 Thread Julien Grall
On 3/25/19 8:54 PM, Danux wrote: Hi, Hello, When adding altp2m=1 argument to xen,xen-bootargs via DTB, I can see the parameter passed via xl info: xen_commandline    : console=dtuart dtuart=serial0 dom0_mem=1G bootscrub=0 maxcpus=1 timer_slop=0*altp2m=1* However, I got an error like

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

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

[Xen-devel] [freebsd-master test] 134066: all pass - PUSHED

2019-03-26 Thread osstest service owner
flight 134066 freebsd-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/134066/ Perfect :-) All tests in this flight passed as required version targeted for testing: freebsd 17b9e44c40f1d40251c09600e89ad6c1752318bf baseline version: freebsd d77cb4a0221

Re: [Xen-devel] [PATCH] CI: Add a CentOS 6 container and build jobs

2019-03-26 Thread Wei Liu
On Mon, Mar 25, 2019 at 02:51:46PM +, Andrew Cooper wrote: > On 25/03/2019 11:33, Wei Liu wrote: > > On Mon, Mar 25, 2019 at 11:21:44AM +, Wei Liu wrote: > >> On Fri, Mar 22, 2019 at 11:13:40AM +, Andrew Cooper wrote: > >>> CentOS 6 is probably the most frequently broken build, so addin

Re: [Xen-devel] [PATCH] x86/xen: Add "xen_timer_slop" command line option

2019-03-26 Thread luca abeni
Hi all, On Tue, 26 Mar 2019 10:13:32 +0100 Dario Faggioli wrote: > On Mon, 2019-03-25 at 09:43 -0400, Boris Ostrovsky wrote: > > On 3/25/19 8:05 AM, luca abeni wrote: > > > > > > The picture shows the latencies measured with an unpatched guest > > > kernel > > > and with a guest kernel having

Re: [Xen-devel] [PATCH] x86/xen: Add "xen_timer_slop" command line option

2019-03-26 Thread Ryan Thibodeaux
On Tue, Mar 26, 2019 at 12:12:56PM +0100, luca abeni wrote: > Hi all, > > On Tue, 26 Mar 2019 10:13:32 +0100 > Dario Faggioli wrote: > > > On Mon, 2019-03-25 at 09:43 -0400, Boris Ostrovsky wrote: > > > On 3/25/19 8:05 AM, luca abeni wrote: > > > > > > > > The picture shows the latencies meas

Re: [Xen-devel] [PATCH 1/4] libx86: Introduce x86_cpuid_lookup_vendor()

2019-03-26 Thread Jan Beulich
>>> On 21.03.19 at 13:21, wrote: > Also introduce constants for the vendor strings in CPUID leaf 0. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich albeit I'd appreciate if this was committed together with an actual user (other than the testsuite one) of the new function, and despite

Re: [Xen-devel] [PATCH 2/4] x86/cpuid: Drop get_cpu_vendor() completely

2019-03-26 Thread Jan Beulich
>>> On 21.03.19 at 13:21, wrote: > get_cpu_vendor() tries to do a number of things, and ends up doing none of > them well. > > For calculating the vendor itself, use x86_cpuid_lookup_vendor() which is > implemented in a far more efficient manner than looping over cpu_devs[]. Well, yes, the new l

Re: [Xen-devel] [PATCH 3/4] tools/libxc: Use x86_cpuid_lookup_vendor() rather than opencoding the logic

2019-03-26 Thread Jan Beulich
>>> On 21.03.19 at 13:21, wrote: > This doesn't address any of the assumptions that "anything which isn't AMD is > Intel". This logic is expected to be replaced wholesale with libx86 in the > longterm. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich __

Re: [Xen-devel] Xen 4.8.5 release missing on the website

2019-03-26 Thread Lars Kurth
This is now fixed Lars > On 25 Mar 2019, at 22:41, Lars Kurth wrote: > > Marek, > thanks for pointing this out. I will fix this tomorrow > Lars > >> On 21 Mar 2019, at 23:11, Marek Marczykowski-Górecki >> wrote: >> >> Signed PGP part >> Hi, >> >> Looks like the new website doesn't list Xen

Re: [Xen-devel] [PATCH 4/4] libx86: Recalculate synthesised cpuid_policy fields when appropriate

2019-03-26 Thread Jan Beulich
>>> On 21.03.19 at 13:21, wrote: > When filling a policy, either from CPUID or an incomming leaf stream, > recalculate the synthesised vendor value. All callers are expected to want > this behaviour. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich with one question: > @@ -141,6 +14

Re: [Xen-devel] [PATCH 4/4] libx86: Recalculate synthesised cpuid_policy fields when appropriate

2019-03-26 Thread Andrew Cooper
On 26/03/2019 12:20, Jan Beulich wrote: On 21.03.19 at 13:21, wrote: >> When filling a policy, either from CPUID or an incomming leaf stream, >> recalculate the synthesised vendor value. All callers are expected to want >> this behaviour. >> >> Signed-off-by: Andrew Cooper > Reviewed-by: Ja

Re: [Xen-devel] [PATCH for-4.12] passthrough/vtd: Drop the "workaround_bios_bug" logic entirely

2019-03-26 Thread Andrew Cooper
On 26/03/2019 09:08, Jan Beulich wrote: >> Leave the warning which identifies the problematic devices, but drop the remaining logic. This leaves the system in better overall state, and working in the same way that it did in previous releases. >>> I wonder whether you've taken

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

2019-03-26 Thread osstest service owner
flight 134087 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/134087/ 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 1/4] libx86: Introduce x86_cpuid_lookup_vendor()

2019-03-26 Thread Andrew Cooper
On 26/03/2019 11:52, Jan Beulich wrote: On 21.03.19 at 13:21, wrote: >> Also introduce constants for the vendor strings in CPUID leaf 0. >> >> Signed-off-by: Andrew Cooper > Reviewed-by: Jan Beulich > albeit I'd appreciate if this was committed together with an actual > user (other than the

Re: [Xen-devel] [PATCH v1 1/1] hvmloader: allow overriding SMBIOS type 2 info

2019-03-26 Thread Jan Beulich
>>> On 26.03.19 at 07:45, wrote: > Extend smbios type 2 struct to match specification, add support to > override strings from toolstack. > > Signed-off-by: Xin Li > > --- > CC: Igor Druzhinin > CC: Sergey Dyasli > CC: Andrew Cooper I wonder why I have not been Cc-ed. > @@ -518,7 +520,67 @@

Re: [Xen-devel] python3 issues

2019-03-26 Thread Wei Liu
On Mon, Mar 25, 2019 at 10:20:05PM +, YOUNG, MICHAEL A. wrote: > I have been testing the python3 changes committed to xen and found a few > issues. There are a couple of ocaml python build scripts that don't work > for me with python3, and I needed a few fixes to get pygrub to work, > mostly

Re: [Xen-devel] [PATCH v2 1/1] treewide: Switch printk users from %pf and %pF to %ps and %pS, respectively

2019-03-26 Thread Petr Mladek
Linus, On Mon 2019-03-25 21:32:28, Sakari Ailus wrote: > %pF and %pf are functionally equivalent to %pS and %ps conversion > specifiers. The former are deprecated, therefore switch the current users > to use the preferred variant. > > The changes have been produced by the following command: > >

Re: [Xen-devel] [PATCH for-4.12] passthrough/vtd: Drop the "workaround_bios_bug" logic entirely

2019-03-26 Thread Jan Beulich
>>> On 26.03.19 at 13:43, wrote: > On 26/03/2019 09:08, Jan Beulich wrote: >>> > Leave the warning which identifies the problematic devices, but drop the > remaining logic. This leaves the system in better overall state, and > working > in the same way that it did in previous rel

Re: [Xen-devel] python3 issues

2019-03-26 Thread Wei Liu
On Tue, Mar 26, 2019 at 01:16:35PM +, Wei Liu wrote: > On Mon, Mar 25, 2019 at 10:20:05PM +, YOUNG, MICHAEL A. wrote: > > if ty.init_fn is not None: > > --- xen-4.12.0-rc6/tools/pygrub/src/GrubConf.py.orig2019-03-24 > > 22:44:05.502581989 + > > +++ xen-4.12.0-rc6/tools

Re: [Xen-devel] [PATCH 1/4] libx86: Introduce x86_cpuid_lookup_vendor()

2019-03-26 Thread Jan Beulich
>>> On 26.03.19 at 14:11, wrote: > On 26/03/2019 11:52, Jan Beulich wrote: > On 21.03.19 at 13:21, wrote: >>> Also introduce constants for the vendor strings in CPUID leaf 0. >>> >>> Signed-off-by: Andrew Cooper >> Reviewed-by: Jan Beulich >> albeit I'd appreciate if this was committed toge

Re: [Xen-devel] [PATCH 1/4] libx86: Introduce x86_cpuid_lookup_vendor()

2019-03-26 Thread Juergen Gross
On 26/03/2019 15:07, Jan Beulich wrote: On 26.03.19 at 14:11, wrote: >> On 26/03/2019 11:52, Jan Beulich wrote: >> On 21.03.19 at 13:21, wrote: Also introduce constants for the vendor strings in CPUID leaf 0. Signed-off-by: Andrew Cooper >>> Reviewed-by: Jan Beulich >>>

[Xen-devel] [PATCH v2] CI: Add a CentOS 6 container and build jobs

2019-03-26 Thread Andrew Cooper
CentOS 6 is probably the most frequently broken build, so adding it to CI would be a very good move. One problem is that CentOS 6 comes with Python 2.6, and Qemu requires 2.7. There appear to be no sensible ways to get Python 2.7 into a CentOS 6 environments, so modify the build script to skip the

Re: [Xen-devel] [PATCH 1/4] libx86: Introduce x86_cpuid_lookup_vendor()

2019-03-26 Thread Jan Beulich
>>> On 26.03.19 at 15:23, wrote: > IMO especially in the CPUID case it is desirable to explicitly specify > the width of the data. Looking at nodes 0x8002 and following this > should be rather clear (and I even think get_model_name() should be > modified to use a pointer to uint32_t instead of

Re: [Xen-devel] [PATCH 1/4] libx86: Introduce x86_cpuid_lookup_vendor()

2019-03-26 Thread Juergen Gross
On 26/03/2019 15:39, Jan Beulich wrote: On 26.03.19 at 15:23, wrote: >> IMO especially in the CPUID case it is desirable to explicitly specify >> the width of the data. Looking at nodes 0x8002 and following this >> should be rather clear (and I even think get_model_name() should be >> mod

Re: [Xen-devel] [PATCH 1/4] libx86: Introduce x86_cpuid_lookup_vendor()

2019-03-26 Thread Jan Beulich
>>> On 26.03.19 at 15:47, wrote: > On 26/03/2019 15:39, Jan Beulich wrote: > On 26.03.19 at 15:23, wrote: >>> IMO especially in the CPUID case it is desirable to explicitly specify >>> the width of the data. Looking at nodes 0x8002 and following this >>> should be rather clear (and I even

Re: [Xen-devel] [PATCH v2] CI: Add a CentOS 6 container and build jobs

2019-03-26 Thread Wei Liu
On Tue, Mar 26, 2019 at 02:23:03PM +, Andrew Cooper wrote: > CentOS 6 is probably the most frequently broken build, so adding it to CI > would be a very good move. > > One problem is that CentOS 6 comes with Python 2.6, and Qemu requires 2.7. > There appear to be no sensible ways to get Python

[Xen-devel] [PATCH] arm/dom0: Add check for maximum number of supported vGIC IRQs

2019-03-26 Thread Lukas Juenger
Xen's vGIC implementation supports a maximum number of 992 IRQ lines. GICv2 specification allows for 1020 IRQ lines. This commit adds a check for this discrepancy. Signed-off-by: Lukas Juenger (juen...@ice.rwth-aachen.de) --- xen/arch/arm/setup.c | 8 +++- 1 file changed, 7 insertions(+), 1 d

Re: [Xen-devel] [PATCH v3 01/14] x86/cpu: Create Hygon Dhyana architecture support file

2019-03-26 Thread Jan Beulich
>>> On 25.03.19 at 14:29, wrote: > --- a/xen/arch/x86/cpu/amd.c > +++ b/xen/arch/x86/cpu/amd.c > @@ -32,11 +32,6 @@ > static char __initdata opt_famrev[14]; > string_param("cpuid_mask_cpu", opt_famrev); > > -static unsigned int __initdata opt_cpuid_mask_l7s0_eax = ~0u; > -integer_param("cpuid_

[Xen-devel] [ovmf test] 134071: all pass - PUSHED

2019-03-26 Thread osstest service owner
flight 134071 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/134071/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 2f2c51acfb70efe3dd02022ca09dd853601d8acd baseline version: ovmf 210bd16aff81f6746033d

Re: [Xen-devel] [PATCH 1/3] mwait-idle: add support for using halt

2019-03-26 Thread Jan Beulich
>>> On 19.03.19 at 17:12, wrote: > On 3/15/19 3:37 AM, Jan Beulich wrote: >> Furthermore I'm then once again wondering what the gain is >> over using the ACPI driver: The suggested _CST looks to exactly >> match the data you enter into the table in the later patch. IOW >> my fundamental concern di

Re: [Xen-devel] [PATCH v3 03/14] x86/cpu/vpmu: Add Hygon Dhyana and AMD Zen support for vPMU

2019-03-26 Thread Jan Beulich
>>> On 25.03.19 at 14:30, wrote: > --- a/xen/arch/x86/cpu/vpmu_amd.c > +++ b/xen/arch/x86/cpu/vpmu_amd.c > @@ -538,13 +538,37 @@ int svm_vpmu_initialise(struct vcpu *v) > return 0; > } > > -int __init amd_vpmu_init(void) > +static int _vpmu_init(void) Despite it having been me (I think) t

Re: [Xen-devel] [RFC PATCH v6 13/12] microcode: add sequential application policy

2019-03-26 Thread Jan Beulich
>>> On 21.03.19 at 13:24, wrote: > @@ -216,6 +218,10 @@ DEFINE_PER_CPU(struct cpu_signature, cpu_sig); > */ > static atomic_t cpu_in, cpu_out; > > +static uint32_t application_strategy; > +/* The next CPU to perform a ucode update */ > +static int next_cpu; unsigned int (twice). > --- a/xen/

Re: [Xen-devel] [PATCH 2/4] x86/cpuid: Drop get_cpu_vendor() completely

2019-03-26 Thread Andrew Cooper
On 26/03/2019 12:08, Jan Beulich wrote: On 21.03.19 at 13:21, wrote: >> get_cpu_vendor() tries to do a number of things, and ends up doing none of >> them well. >> >> For calculating the vendor itself, use x86_cpuid_lookup_vendor() which is >> implemented in a far more efficient manner than l

Re: [Xen-devel] Xen 4.12.0-rc Hangs Around masked ExtINT on CPU#

2019-03-26 Thread John L. Poole
On 3/26/2019 1:04 AM, Jan Beulich wrote: On 25.03.19 at 18:00, wrote: I removed the "maxcpus=1" and attempted seven (7) boots. There were minor variations, they do not seem to get past the first additional processor. Below is a summary. And with "maxcpus=1" in place, is it as stable hanging

Re: [Xen-devel] python3 issues

2019-03-26 Thread M A Young
On Tue, 26 Mar 2019, Wei Liu wrote: > On Tue, Mar 26, 2019 at 01:16:35PM +, Wei Liu wrote: > > On Mon, Mar 25, 2019 at 10:20:05PM +, YOUNG, MICHAEL A. wrote: > > > if ty.init_fn is not None: > > > --- xen-4.12.0-rc6/tools/pygrub/src/GrubConf.py.orig 2019-03-24 > > > 22:44:05

[Xen-devel] [qemu-mainline bisection] complete test-amd64-i386-freebsd10-i386

2019-03-26 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-freebsd10-i386 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 git://

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

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

[Xen-devel] [ovmf baseline-only test] 83827: trouble: blocked/broken

2019-03-26 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 83827 ovmf real [real] http://osstest.xensource.com/osstest/logs/83827/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm

Re: [Xen-devel] python3 issues

2019-03-26 Thread Hans van Kranenburg
On 3/26/19 7:18 PM, M A Young wrote: > On Tue, 26 Mar 2019, Wei Liu wrote: > >> On Tue, Mar 26, 2019 at 01:16:35PM +, Wei Liu wrote: >>> On Mon, Mar 25, 2019 at 10:20:05PM +, YOUNG, MICHAEL A. wrote: if ty.init_fn is not None: --- xen-4.12.0-rc6/tools/pygrub/src/GrubConf

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

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

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

2019-03-26 Thread osstest service owner
flight 134093 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/134093/ 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 1/3] mwait-idle: add support for using halt

2019-03-26 Thread Woods, Brian
On 3/26/19 10:54 AM, Jan Beulich wrote: On 19.03.19 at 17:12, wrote: >> On 3/15/19 3:37 AM, Jan Beulich wrote: >>> Furthermore I'm then once again wondering what the gain is >>> over using the ACPI driver: The suggested _CST looks to exactly >>> match the data you enter into the table in the

Re: [Xen-devel] [PATCH] x86/xen: Add "xen_timer_slop" command line option

2019-03-26 Thread Boris Ostrovsky
On 3/26/19 5:13 AM, Dario Faggioli wrote: > On Mon, 2019-03-25 at 09:43 -0400, Boris Ostrovsky wrote: >> On 3/25/19 8:05 AM, luca abeni wrote: >>> The picture shows the latencies measured with an unpatched guest >>> kernel >>> and with a guest kernel having TIMER_SLOP set to 1000 (arbitrary >>> sma

Re: [Xen-devel] python3 issues

2019-03-26 Thread Hans van Kranenburg
On 3/26/19 2:16 PM, Wei Liu wrote: > On Mon, Mar 25, 2019 at 10:20:05PM +, YOUNG, MICHAEL A. wrote: >> [...] >> --- xen-4.12.0-rc6/tools/pygrub/src/pygrub.orig 2019-03-24 >> 22:44:05.503582025 + >> +++ xen-4.12.0-rc6/tools/pygrub/src/pygrub 2019-03-24 22:48:24.446113809 >> + >>

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

2019-03-26 Thread osstest service owner
flight 134104 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/134104/ 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] 134080: regressions - trouble: blocked/broken/fail/pass

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

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

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

[Xen-devel] [ovmf test] 134097: regressions - FAIL

2019-03-26 Thread osstest service owner
flight 134097 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/134097/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 134071 Tests which did not succee

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

2019-03-26 Thread osstest service owner
flight 134083 linux-4.14 real [real] http://logs.test-lab.xenproject.org/osstest/logs/134083/ 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

Re: [Xen-devel] [PATCH] xen/netfront: Remove unneeded .resume callback

2019-03-26 Thread Oleksandr Andrushchenko
On 3/25/19 7:30 PM, Anchal Agarwal wrote: On Fri, Mar 22, 2019 at 10:44:33AM +, Oleksandr Andrushchenko wrote: On 3/20/19 5:50 AM, Munehisa Kamata wrote: On 3/18/2019 3:02 AM, Oleksandr Andrushchenko wrote: +Amazon pls see inline Hi Oleksandr, Let me add some comments as the original aut