[Xen-devel] [xen-unstable-smoke test] 122014: regressions - trouble: blocked/fail

2018-04-06 Thread osstest service owner
flight 122014 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/122014/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-amd64

[Xen-devel] [xen-unstable-smoke bisection] complete build-amd64

2018-04-06 Thread osstest service owner
branch xen-unstable-smoke xenbranch xen-unstable-smoke job build-amd64 testid xen-build Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree

[Xen-devel] [xen-unstable-smoke test] 122003: regressions - trouble: blocked/fail

2018-04-06 Thread osstest service owner
flight 122003 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/122003/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-amd64

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

2018-04-06 Thread osstest service owner
flight 121977 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/121977/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 121769 build-amd64-xsm

[Xen-devel] [libvirt test] 121946: tolerable all pass - PUSHED

2018-04-06 Thread osstest service owner
flight 121946 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/121946/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt-xsm 14 saverestore-support-checkfail like 121771 test-armhf-armhf-libvirt 14 saveresto

[Xen-devel] [xen-unstable-smoke test] 121997: regressions - trouble: blocked/fail

2018-04-06 Thread osstest service owner
flight 121997 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/121997/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-amd64

[Xen-devel] [qemu-upstream-4.10-testing baseline-only test] 74550: trouble: blocked/broken/fail/pass

2018-04-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74550 qemu-upstream-4.10-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74550/ Failures and problems with tests :-( Tests which did not succeed, including tests which could not be run: test-armhf-armhf-xl-midway

[Xen-devel] [qemu-mainline test] 121895: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121895 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/121895/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-nested-intel 14 xen-boot/l1 fail REGR. vs. 120095 test-amd64-amd64-

[Xen-devel] [xen-unstable-smoke test] 121990: regressions - trouble: blocked/fail

2018-04-06 Thread osstest service owner
flight 121990 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/121990/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-amd64

Re: [Xen-devel] [PATCH] tools/kdd: use mute -Warray-bounds only on new gcc version

2018-04-06 Thread Marek Marczykowski-Górecki
On Fri, Apr 06, 2018 at 06:12:50PM +0100, Wei Liu wrote: > On Fri, Apr 06, 2018 at 05:32:57PM +0200, Marek Marczykowski-Górecki wrote: > > "#pragma GCC diagnostic push" is supported only on gcc >= 4.6. But since > > muting this the warning is needed only on gcc >= 8, do it only then, > > instead of

[Xen-devel] [xen-4.6-testing test] 121949: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121949 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/121949/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-nested-intel 17 debian-hvm-install/l1/l2 fail REGR. vs. 119227 Tests w

[Xen-devel] [ovmf baseline-only test] 74554: all pass

2018-04-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74554 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74554/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf aae02dccf5b0ad07e60d2738f350b3b39df389d7 baseline v

[Xen-devel] [xen-4.10-testing baseline-only test] 74549: trouble: blocked/broken/fail/pass

2018-04-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74549 xen-4.10-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74549/ Failures and problems with tests :-( Tests which did not succeed, including tests which could not be run: test-armhf-armhf-xl-midway1 build-c

Re: [Xen-devel] staging broken

2018-04-06 Thread Andrew Cooper
On 06/04/2018 22:54, Doug Goldstein wrote: > It looks like GitLab still hasn't been approved by moderators to post to > the ML so I'm doing this manually. > > Staging is broken after 115fb8e3 to 33fcfac4 based on the GitLab run at > https://gitlab.com/xen-project/xen/pipelines/20103399 I believe it

[Xen-devel] staging broken

2018-04-06 Thread Doug Goldstein
It looks like GitLab still hasn't been approved by moderators to post to the ML so I'm doing this manually. Staging is broken after 115fb8e3 to 33fcfac4 based on the GitLab run at https://gitlab.com/xen-project/xen/pipelines/20103399 I believe it is f46b6197344fca91db7e1d7bd6df0c4a2703ed6f based o

[Xen-devel] [linux-arm-xen baseline-only test] 74551: regressions - trouble: blocked/broken/fail/pass

2018-04-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74551 linux-arm-xen real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74551/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64

[Xen-devel] [PATCH] xen/pt: use address_space_memory object for memory region hooks

2018-04-06 Thread Igor Druzhinin
Commit 99605175c (xen-pt: Fix PCI devices re-attach failed) introduced a subtle bug. As soon as the guest switches off Bus Mastering on the device it immediately causes all the BARs be unmapped due to the DMA address space of the device being changed. This is undesired behavior because the guest ma

[Xen-devel] [rumprun test] 121963: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121963 rumprun real [real] http://logs.test-lab.xenproject.org/osstest/logs/121963/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-rumprun 6 rumprun-buildfail REGR. vs. 106754 build-i386-rumprun

Re: [Xen-devel] Xen and safety certification, Minutes of the meeting on Apr 4th

2018-04-06 Thread Stefano Stabellini
On Fri, 6 Apr 2018, Artem Mygaiev wrote: > > > > 2) Create a subset of functions that need to go through certifications > > > > Next step: create a small Kconfig. We could use the Renesas Rcar as > > > > reference. We need a discussion about the features we need, for > > > > example real-time sched

[Xen-devel] [xen-unstable-smoke test] 121986: regressions - trouble: blocked/fail

2018-04-06 Thread osstest service owner
flight 121986 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/121986/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-amd64

[Xen-devel] [xen-4.10-testing test] 121848: tolerable FAIL - PUSHED

2018-04-06 Thread osstest service owner
flight 121848 xen-4.10-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/121848/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-pvhv2-intel 12 guest-start fail never pass test-amd64-amd64-libvirt-xsm 13

[Xen-devel] [linux-linus test] 121842: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121842 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/121842/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-xsm7 xen-boot fail REGR. vs. 118324 test-amd64-i386-xl-

[Xen-devel] [xtf test] 121951: all pass - PUSHED

2018-04-06 Thread osstest service owner
flight 121951 xtf real [real] http://logs.test-lab.xenproject.org/osstest/logs/121951/ Perfect :-) All tests in this flight passed as required version targeted for testing: xtf ffb046f213f3e36f6f3cc9467298c3ebc8b3ac9f baseline version: xtf e8debcece867acffc2c0c4

[Xen-devel] [PATCH for-4.11] x86/ioreq: Fix build from a collision of c/s f46b61973 and c/s 6e387461ed

2018-04-06 Thread Andrew Cooper
Drop the _mfn() wrappers now that page_to_mfn() returns the correct type. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Wei Liu CC: Julien Grall CC: Paul Durrant CC: Juergen Gross --- xen/arch/x86/hvm/ioreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen

Re: [Xen-devel] Xen and safety certification, Minutes of the meeting on Apr 4th

2018-04-06 Thread Artem Mygaiev
Hi Jarvis On 06.04.18 20:01, Jarvis Roach wrote: Hi all, adding a few more people who are/may be interested in safety certification, including committers (because item 1 would have an impact). Specifically: Rich Persaud, Paul Luperto, Jonathan Daugherty and Denys Balatsko. There are a few loos

Re: [Xen-devel] [PATCH v5 7/7] xen/x86: use PCID feature

2018-04-06 Thread Andrew Cooper
On 06/04/18 08:52, Juergen Gross wrote: > Avoid flushing the complete TLB when switching %cr3 for mitigation of > Meltdown by using the PCID feature if available. > > We are using 4 PCID values for a 64 bit pv domain subject to XPTI and > 2 values for the non-XPTI case: > > - guest active and in ke

Re: [Xen-devel] Xen and safety certification, Minutes of the meeting on Apr 4th

2018-04-06 Thread Lars Kurth
Jarvis, thanks for the valuable input. On 06/04/2018, 19:01, "Jarvis Roach" wrote: > > Here my understanding is that we need a certification partner like TÜV, > MIRA or a company like Dornerworks who already have experience with > Xen. By working with a partner experienced in

[Xen-devel] [xen-unstable-smoke test] 121982: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121982 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/121982/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-armhf

Re: [Xen-devel] Xen and safety certification, Minutes of the meeting on Apr 4th

2018-04-06 Thread Artem Mygaiev
On 06.04.18 17:13, Lars Kurth wrote: Hi all, adding a few more people who are/may be interested in safety certification, including committers (because item 1 would have an impact). Specifically: Rich Persaud, Paul Luperto, Jonathan Daugherty and Denys Balatsko. There are a few loose ends an

Re: [Xen-devel] [PATCH] tools/kdd: use mute -Warray-bounds only on new gcc version

2018-04-06 Thread Wei Liu
On Fri, Apr 06, 2018 at 05:32:57PM +0200, Marek Marczykowski-Górecki wrote: > "#pragma GCC diagnostic push" is supported only on gcc >= 4.6. But since > muting this the warning is needed only on gcc >= 8, do it only then, > instead of tricking the compiler about this code (and making it less > read

Re: [Xen-devel] [PATCH 7/7] tools/kdd: mute spurious gcc warning

2018-04-06 Thread Tim Deegan
Hi, At 16:32 +0200 on 06 Apr (1523032362), Marek Marczykowski-Górecki wrote: > On Fri, Apr 06, 2018 at 09:56:05AM -0400, Boris Ostrovsky wrote: > > Can we instead pre-compute the pointer to pacify the compiler? I haven't > > seen the original error so I can't test it, but something like > > Nope,

Re: [Xen-devel] Xen and safety certification, Minutes of the meeting on Apr 4th

2018-04-06 Thread Jarvis Roach
> Hi all, > > adding a few more people who are/may be interested in safety certification, > including committers (because item 1 would have an impact). Specifically: > Rich Persaud, Paul Luperto, Jonathan Daugherty and Denys Balatsko. > > There are a few loose ends and updates from other/similar

Re: [Xen-devel] [PATCH for-4.11 2/2] x86: remove unused parameter from smp_prepare_cpus

2018-04-06 Thread Juergen Gross
On 06/04/18 11:40, Andrew Cooper wrote: > On 06/04/18 10:36, Wei Liu wrote: >> Signed-off-by: Wei Liu > > Acked-by: Andrew Cooper > Release-acked-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xe

[Xen-devel] [xen-unstable-smoke bisection] complete build-armhf

2018-04-06 Thread osstest service owner
branch xen-unstable-smoke xenbranch xen-unstable-smoke job build-armhf testid xen-build Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: xen git://xenbits.xen.org/xen.git Bug introduced: 74

Re: [Xen-devel] [PATCH v4] xen/arm: Add MVEBU UART driver for Marvell Armada 3700 SoC

2018-04-06 Thread Julien Grall
On 04/06/2018 05:00 PM, Amit Singh Tomar wrote: This patch adds driver for UART controller found on Armada 3700 SoC. There is no reference manuals available for 3700 SoC in public and it is derived by looking at Linux driver[1]. [1]https://github.com/torvalds/linux/blob/master/drivers/tty/ser

Re: [Xen-devel] [PATCH v4] xen/arm: Add MVEBU UART driver for Marvell Armada 3700 SoC

2018-04-06 Thread Andre Przywara
Hi, On 06/04/18 17:00, Amit Singh Tomar wrote: > This patch adds driver for UART controller found on Armada 3700 SoC. > > There is no reference manuals available for 3700 SoC in public and it > is derived by looking at Linux driver[1]. > > [1]https://github.com/torvalds/linux/blob/master/drivers

[Xen-devel] [PATCH v4] xen/arm: Add MVEBU UART driver for Marvell Armada 3700 SoC

2018-04-06 Thread Amit Singh Tomar
This patch adds driver for UART controller found on Armada 3700 SoC. There is no reference manuals available for 3700 SoC in public and it is derived by looking at Linux driver[1]. [1]https://github.com/torvalds/linux/blob/master/drivers/tty/serial/mvebu-uart.c commit-id: c685af1108d7c303f0b90141

[Xen-devel] [PATCH] tools/kdd: use mute -Warray-bounds only on new gcc version

2018-04-06 Thread Marek Marczykowski-Górecki
"#pragma GCC diagnostic push" is supported only on gcc >= 4.6. But since muting this the warning is needed only on gcc >= 8, do it only then, instead of tricking the compiler about this code (and making it less readable to the human too). This fixes 5888eecca0 "tools/kdd: mute spurious gcc warning

Re: [Xen-devel] [PATCH v5 5/7] xen/x86: disable global pages for domains with XPTI active

2018-04-06 Thread Juergen Gross
On 06/04/18 17:17, Andrew Cooper wrote: > On 06/04/18 08:52, Juergen Gross wrote: >> Instead of flushing the TLB from global pages when switching address >> spaces with XPTI being active just disable global pages via %cr4 >> completely when a domain subject to XPTI is active. This avoids the >> nee

Re: [Xen-devel] Make coverity results public

2018-04-06 Thread Lars Kurth
Updated: see https://xenproject.org/help/contribution-guidelines.html The text now is Code Security Scanning The Xen Project is registered with the "Coverity Scan" service which applies Coverity's static analyser to the Open Source projects. The tool can and does find flaws in the source code w

Re: [Xen-devel] [PATCH v5 5/7] xen/x86: disable global pages for domains with XPTI active

2018-04-06 Thread Andrew Cooper
On 06/04/18 08:52, Juergen Gross wrote: > Instead of flushing the TLB from global pages when switching address > spaces with XPTI being active just disable global pages via %cr4 > completely when a domain subject to XPTI is active. This avoids the > need for extra TLB flushes as loading %cr3 will r

Re: [Xen-devel] Patches for stable

2018-04-06 Thread Juergen Gross
On 06/04/18 16:10, Boris Ostrovsky wrote: > On 04/06/2018 09:33 AM, George Dunlap wrote: >> On Fri, Apr 6, 2018 at 2:12 PM, Juergen Gross wrote: >>> >>> So its time for a new XENFEAT_ value then? This would be the least >>> intrusive way to add such a flag. Something like >>> XENFEAT_linux_high_rs

Re: [Xen-devel] [PATCH 7/7] tools/kdd: mute spurious gcc warning

2018-04-06 Thread Wei Liu
On Fri, Apr 06, 2018 at 04:32:42PM +0200, Marek Marczykowski-Górecki wrote: > > >> cc1: warnings being treated as errors > > >> kdd.c:639: error: expected [error|warning|ignored] after ‘#pragma GCC > > >> diagnostic’ > > >> kdd.c:714: error: expected [error|warning|ignored] after ‘#pragma GCC > > >

[Xen-devel] [xen-unstable-smoke test] 121978: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121978 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/121978/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-armhf

Re: [Xen-devel] [PATCH 7/7] tools/kdd: mute spurious gcc warning

2018-04-06 Thread Marek Marczykowski-Górecki
On Fri, Apr 06, 2018 at 09:56:05AM -0400, Boris Ostrovsky wrote: > On 04/06/2018 09:41 AM, Wei Liu wrote: > > On Fri, Apr 06, 2018 at 09:39:50AM -0400, Boris Ostrovsky wrote: > >> On 04/06/2018 09:07 AM, Wei Liu wrote: > >>> On Fri, Apr 06, 2018 at 08:39:53AM -0400, Boris Ostrovsky wrote: > On

Re: [Xen-devel] Xen and safety certification, Minutes of the meeting on Apr 4th

2018-04-06 Thread Lars Kurth
Hi all, adding a few more people who are/may be interested in safety certification, including committers (because item 1 would have an impact). Specifically: Rich Persaud, Paul Luperto, Jonathan Daugherty and Denys Balatsko. There are a few loose ends and updates from other/similar related thre

Re: [Xen-devel] Patches for stable

2018-04-06 Thread Boris Ostrovsky
On 04/06/2018 09:33 AM, George Dunlap wrote: > On Fri, Apr 6, 2018 at 2:12 PM, Juergen Gross wrote: >> >> So its time for a new XENFEAT_ value then? This would be the least >> intrusive way to add such a flag. Something like >> XENFEAT_linux_high_rsdp_address_okay ? > That sounds reasonable to me.

Re: [Xen-devel] [PATCH 7/7] tools/kdd: mute spurious gcc warning

2018-04-06 Thread Boris Ostrovsky
On 04/06/2018 09:41 AM, Wei Liu wrote: > On Fri, Apr 06, 2018 at 09:39:50AM -0400, Boris Ostrovsky wrote: >> On 04/06/2018 09:07 AM, Wei Liu wrote: >>> On Fri, Apr 06, 2018 at 08:39:53AM -0400, Boris Ostrovsky wrote: On 04/04/2018 09:50 PM, Marek Marczykowski-Górecki wrote: > gcc-8 complai

Re: [Xen-devel] [PATCH v5 4/7] xen/x86: use invpcid for flushing the TLB

2018-04-06 Thread Juergen Gross
On 06/04/18 15:40, Andrew Cooper wrote: > On 06/04/18 08:52, Juergen Gross wrote: >> If possible use the INVPCID instruction for flushing the TLB instead of >> toggling cr4.pge for that purpose. >> >> While at it remove the dependency on cr4.pge being required for mtrr >> loading, as this will be r

Re: [Xen-devel] [PATCH 7/7] tools/kdd: mute spurious gcc warning

2018-04-06 Thread Wei Liu
On Fri, Apr 06, 2018 at 09:39:50AM -0400, Boris Ostrovsky wrote: > On 04/06/2018 09:07 AM, Wei Liu wrote: > > On Fri, Apr 06, 2018 at 08:39:53AM -0400, Boris Ostrovsky wrote: > >> On 04/04/2018 09:50 PM, Marek Marczykowski-Górecki wrote: > >>> gcc-8 complains: > >>> > >>> kdd.c:698:13: error: '

Re: [Xen-devel] [PATCH v5 4/7] xen/x86: use invpcid for flushing the TLB

2018-04-06 Thread Andrew Cooper
On 06/04/18 08:52, Juergen Gross wrote: > If possible use the INVPCID instruction for flushing the TLB instead of > toggling cr4.pge for that purpose. > > While at it remove the dependency on cr4.pge being required for mtrr > loading, as this will be required later anyway. > > Add a command line op

Re: [Xen-devel] [PATCH 7/7] tools/kdd: mute spurious gcc warning

2018-04-06 Thread Boris Ostrovsky
On 04/06/2018 09:07 AM, Wei Liu wrote: > On Fri, Apr 06, 2018 at 08:39:53AM -0400, Boris Ostrovsky wrote: >> On 04/04/2018 09:50 PM, Marek Marczykowski-Górecki wrote: >>> gcc-8 complains: >>> >>> kdd.c:698:13: error: 'memcpy' offset [-204, -717] is out of the bounds >>> [0, 216] of object 'ctr

Re: [Xen-devel] [PATCH-for-4.11] tools: add quirk for loading PVH RSDP into low memory

2018-04-06 Thread Wei Liu
On Thu, Apr 05, 2018 at 02:09:11PM +0200, Juergen Gross wrote: > Commit 4a5733771e6f33918eba07b584e564a67ac1 ("libxl: put RSDP for > PVH guest near 4GB") broke PVH guests with Linux kernels before 4.17 > as those kernels are not taking the RSDP address from the PVH > start_info structure, but a

Re: [Xen-devel] [PATCH v5 3/7] xen/x86: support per-domain flag for xpti

2018-04-06 Thread Juergen Gross
On 06/04/18 15:16, Andrew Cooper wrote: > On 06/04/18 08:52, Juergen Gross wrote: >> Instead of switching XPTI globally on or off add a per-domain flag for >> that purpose. This allows to modify the xpti boot parameter to support >> running dom0 without Meltdown mitigations. Using "xpti=nodom0" as

Re: [Xen-devel] Patches for stable

2018-04-06 Thread George Dunlap
On Fri, Apr 6, 2018 at 2:12 PM, Juergen Gross wrote: > On 06/04/18 13:13, George Dunlap wrote: >> On Fri, Apr 6, 2018 at 11:57 AM, Juergen Gross wrote: >>> On 06/04/18 12:07, George Dunlap wrote: On Fri, Apr 6, 2018 at 11:02 AM, Juergen Gross wrote: > On 06/04/18 11:49, George Dunlap wr

Re: [Xen-devel] [PATCH v5 3/7] xen/x86: support per-domain flag for xpti

2018-04-06 Thread Andrew Cooper
On 06/04/18 08:52, Juergen Gross wrote: > Instead of switching XPTI globally on or off add a per-domain flag for > that purpose. This allows to modify the xpti boot parameter to support > running dom0 without Meltdown mitigations. Using "xpti=nodom0" as boot > parameter will achieve that. > > Move

Re: [Xen-devel] Patches for stable

2018-04-06 Thread Juergen Gross
On 06/04/18 13:13, George Dunlap wrote: > On Fri, Apr 6, 2018 at 11:57 AM, Juergen Gross wrote: >> On 06/04/18 12:07, George Dunlap wrote: >>> On Fri, Apr 6, 2018 at 11:02 AM, Juergen Gross wrote: On 06/04/18 11:49, George Dunlap wrote: > On Thu, Apr 5, 2018 at 7:33 PM, Boris Ostrovsky >

Re: [Xen-devel] [PATCH 7/7] tools/kdd: mute spurious gcc warning

2018-04-06 Thread Wei Liu
On Fri, Apr 06, 2018 at 08:39:53AM -0400, Boris Ostrovsky wrote: > On 04/04/2018 09:50 PM, Marek Marczykowski-Górecki wrote: > > gcc-8 complains: > > > > kdd.c:698:13: error: 'memcpy' offset [-204, -717] is out of the bounds > > [0, 216] of object 'ctrl' with type 'kdd_ctrl' {aka 'union '} >

[Xen-devel] [xen-unstable-smoke test] 121971: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121971 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/121971/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-armhf

Re: [Xen-devel] [PATCH 7/7] tools/kdd: mute spurious gcc warning

2018-04-06 Thread Boris Ostrovsky
On 04/04/2018 09:50 PM, Marek Marczykowski-Górecki wrote: > gcc-8 complains: > > kdd.c:698:13: error: 'memcpy' offset [-204, -717] is out of the bounds > [0, 216] of object 'ctrl' with type 'kdd_ctrl' {aka 'union '} > [-Werror=array-bounds] > memcpy(buf, ((uint8_t *)&ctrl.c32

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

2018-04-06 Thread osstest service owner
flight 121901 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/121901/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 121769 build-amd64-xsm

[Xen-devel] [xen-unstable test] 121814: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121814 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/121814/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-ws16-amd64 16 guest-localmigrate/x10 fail REGR. vs. 121272 Tests which

Re: [Xen-devel] [PATCH v5 2/7] x86/xpti: don't flush TLB twice when switching to 64-bit pv context

2018-04-06 Thread Juergen Gross
On 06/04/18 13:21, Andrew Cooper wrote: > On 06/04/18 08:52, Juergen Gross wrote: >> When switching to a 64-bit pv context the TLB is flushed twice today: >> the first time when switching to the new address space in >> write_ptbase(), the second time when switching to guest mode in >> restore_to_gu

Re: [Xen-devel] [PATCH 1/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-04-06 Thread Oleksandr Andrushchenko
On 04/03/2018 12:47 PM, Daniel Vetter wrote: On Thu, Mar 29, 2018 at 04:19:31PM +0300, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko +static int to_refs_grant_foreign_access(struct xen_gem_object *xen_obj) +{ + grant_ref_t priv_gref_head; + int ret, j, cur_ref, num_pa

Re: [Xen-devel] [PATCH v5 2/7] x86/xpti: don't flush TLB twice when switching to 64-bit pv context

2018-04-06 Thread Andrew Cooper
On 06/04/18 08:52, Juergen Gross wrote: > When switching to a 64-bit pv context the TLB is flushed twice today: > the first time when switching to the new address space in > write_ptbase(), the second time when switching to guest mode in > restore_to_guest. > > Limit the first flush to non-global e

Re: [Xen-devel] Patches for stable

2018-04-06 Thread George Dunlap
On Fri, Apr 6, 2018 at 11:57 AM, Juergen Gross wrote: > On 06/04/18 12:07, George Dunlap wrote: >> On Fri, Apr 6, 2018 at 11:02 AM, Juergen Gross wrote: >>> On 06/04/18 11:49, George Dunlap wrote: On Thu, Apr 5, 2018 at 7:33 PM, Boris Ostrovsky wrote: > On 04/05/2018 01:11 PM, Juer

Re: [Xen-devel] [PATCH v5 1/7] x86/xpti: avoid copying L4 page table contents when possible

2018-04-06 Thread Andrew Cooper
On 06/04/18 08:52, Juergen Gross wrote: > For mitigation of Meltdown the current L4 page table is copied to the > cpu local root page table each time a 64 bit pv guest is entered. > > Copying can be avoided in cases where the guest L4 page table hasn't > been modified while running the hypervisor,

[Xen-devel] [xen-unstable baseline-only test] 74492: trouble: blocked/broken/queued

2018-04-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74492 xen-unstable running [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74492/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64

[Xen-devel] [qemu-mainline baseline-only test] 74493: trouble: blocked/broken/queued/running

2018-04-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74493 qemu-mainline running [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74493/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64

Re: [Xen-devel] Patches for stable

2018-04-06 Thread Juergen Gross
On 06/04/18 12:07, George Dunlap wrote: > On Fri, Apr 6, 2018 at 11:02 AM, Juergen Gross wrote: >> On 06/04/18 11:49, George Dunlap wrote: >>> On Thu, Apr 5, 2018 at 7:33 PM, Boris Ostrovsky >>> wrote: On 04/05/2018 01:11 PM, Juergen Gross wrote: > On 05/04/18 16:56, George Dunlap wrote:

[Xen-devel] [ovmf baseline-only test] 74529: trouble: blocked/broken/preparing/queued

2018-04-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74529 ovmf running [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74529/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-xsm

[Xen-devel] [distros-debian-jessie test] 74540: trouble: blocked/broken/preparing/queued

2018-04-06 Thread Platform Team regression test user
flight 74540 distros-debian-jessie running [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74540/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvopsbroken build-

Re: [Xen-devel] Patches for stable

2018-04-06 Thread Juergen Gross
On 06/04/18 12:13, George Dunlap wrote: > On Thu, Apr 5, 2018 at 6:11 PM, Juergen Gross wrote: >>> Option 1: Put the RSDP in lowmem unless we know the guest will use the >>> address in start_info >>> Pro: Existing Linux instances boot >>> Con: Existing BSD instances whose memory is an exact multip

[Xen-devel] Reminder: 2018 Xen Project Developer and Design Summit: CfP closes Friday April 13

2018-04-06 Thread Lars Kurth
Dear community members, this is a quick reminder that the CfP for the Developer Summit closes in a week. I may be able to give a few days extension, but would need to know upfront. More information is available at https://lists.xenproject.org/archives/html/xen-devel/2018-03/msg01722.html Best

Re: [Xen-devel] [PATCH v1] xen-blkfront: dynamic configuration of per-vbd resources

2018-04-06 Thread Oleksandr Andrushchenko
On 04/03/2018 02:22 PM, Roger Pau Monné wrote: On Mon, Apr 02, 2018 at 01:42:32PM -0400, Konrad Rzeszutek Wilk wrote: From: Bob Liu The current VBD layer reserves buffer space for each attached device based on three statically configured settings which are read at boot time. * max_indirect_s

Re: [Xen-devel] Patches for stable

2018-04-06 Thread George Dunlap
On Thu, Apr 5, 2018 at 6:11 PM, Juergen Gross wrote: >> Option 1: Put the RSDP in lowmem unless we know the guest will use the >> address in start_info >> Pro: Existing Linux instances boot >> Con: Existing BSD instances whose memory is an exact multiple of 1 GiB >> will have slightly slower TLB m

Re: [Xen-devel] Patches for stable

2018-04-06 Thread George Dunlap
On Fri, Apr 6, 2018 at 11:02 AM, Juergen Gross wrote: > On 06/04/18 11:49, George Dunlap wrote: >> On Thu, Apr 5, 2018 at 7:33 PM, Boris Ostrovsky >> wrote: >>> On 04/05/2018 01:11 PM, Juergen Gross wrote: On 05/04/18 16:56, George Dunlap wrote: > On Thu, Apr 5, 2018 at 3:09 PM, Juergen

Re: [Xen-devel] Patches for stable

2018-04-06 Thread Juergen Gross
On 06/04/18 11:49, George Dunlap wrote: > On Thu, Apr 5, 2018 at 7:33 PM, Boris Ostrovsky > wrote: >> On 04/05/2018 01:11 PM, Juergen Gross wrote: >>> On 05/04/18 16:56, George Dunlap wrote: On Thu, Apr 5, 2018 at 3:09 PM, Juergen Gross wrote: > On 05/04/18 15:42, George Dunlap wrote: >>

Re: [Xen-devel] Patches for stable

2018-04-06 Thread George Dunlap
On Thu, Apr 5, 2018 at 7:33 PM, Boris Ostrovsky wrote: > On 04/05/2018 01:11 PM, Juergen Gross wrote: >> On 05/04/18 16:56, George Dunlap wrote: >>> On Thu, Apr 5, 2018 at 3:09 PM, Juergen Gross wrote: On 05/04/18 15:42, George Dunlap wrote: > On Thu, Apr 5, 2018 at 2:06 PM, Juergen Gros

Re: [Xen-devel] [PATCH for-4.11 1/2] x86/cpu: get more information out from *_init_levelling

2018-04-06 Thread Wei Liu
On Fri, Apr 06, 2018 at 10:40:23AM +0100, Andrew Cooper wrote: > On 06/04/18 10:36, Wei Liu wrote: > > Signed-off-by: Wei Liu > > For what purpose?  This is very deliberate that, if faulting is > available, levelling never gets touched. > > Levelling, as a mechanism, is strictly inferior to faul

[Xen-devel] [linux-4.1 baseline-only test] 74485: trouble: blocked/broken

2018-04-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 74485 linux-4.1 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/74485/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64

Re: [Xen-devel] [PATCH for-4.11 2/2] x86: remove unused parameter from smp_prepare_cpus

2018-04-06 Thread Andrew Cooper
On 06/04/18 10:36, Wei Liu wrote: > Signed-off-by: Wei Liu Acked-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH for-4.11 1/2] x86/cpu: get more information out from *_init_levelling

2018-04-06 Thread Andrew Cooper
On 06/04/18 10:36, Wei Liu wrote: > Signed-off-by: Wei Liu For what purpose?  This is very deliberate that, if faulting is available, levelling never gets touched. Levelling, as a mechanism, is strictly inferior to faulting.  On Intel, the sets of hardware with levelling and faulting are disjoin

Re: [Xen-devel] [PATCH v3 1/2] xen/arm: Add MVEBU UART driver for Marvell Armada 3700 SoC

2018-04-06 Thread Julien Grall
On 04/06/2018 10:26 AM, Julien Grall wrote: (+Juergen) Hi, On 04/05/2018 11:16 AM, Amit Singh Tomar wrote: This patch adds driver for UART controller found on Armada 3700 SoC. There is no reference manuals available for 3700 SoC in public and it is derived by looking at Linux driver[1]. [1

Re: [Xen-devel] Patches for stable

2018-04-06 Thread George Dunlap
On Fri, Apr 6, 2018 at 9:00 AM, Juergen Gross wrote: > On 05/04/18 20:33, Boris Ostrovsky wrote: >> On 04/05/2018 01:11 PM, Juergen Gross wrote: >>> On 05/04/18 16:56, George Dunlap wrote: On Thu, Apr 5, 2018 at 3:09 PM, Juergen Gross wrote: > On 05/04/18 15:42, George Dunlap wrote:

[Xen-devel] [PATCH for-4.11 2/2] x86: remove unused parameter from smp_prepare_cpus

2018-04-06 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/x86/setup.c | 2 +- xen/arch/x86/smpboot.c | 2 +- xen/include/xen/smp.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index c0b97a748a..49cf963d7a 100644 --- a/xen/arch/x86/setup.c +++ b/x

[Xen-devel] [PATCH for-4.11 1/2] x86/cpu: get more information out from *_init_levelling

2018-04-06 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/x86/cpu/amd.c | 9 + xen/arch/x86/cpu/intel.c | 9 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/xen/arch/x86/cpu/amd.c b/xen/arch/x86/cpu/amd.c index fc9677f020..6e3d0ae2b0 100644 --- a/xen/arch/x86/cpu/amd.c +++ b/xen/arc

[Xen-devel] [PATCH for-4.11 0/2] x86: two small cleanup patches

2018-04-06 Thread Wei Liu
Wei Liu (2): x86/cpu: get more information out from *_init_levelling x86: remove unused parameter from smp_prepare_cpus xen/arch/x86/cpu/amd.c | 9 + xen/arch/x86/cpu/intel.c | 9 + xen/arch/x86/setup.c | 2 +- xen/arch/x86/smpboot.c | 2 +- xen/include/xen/smp.h|

Re: [Xen-devel] [PATCH] tools/libxl: Fix build following c/s 74fd984ae

2018-04-06 Thread Wei Liu
On Fri, Apr 06, 2018 at 10:03:14AM +0100, Julien Grall wrote: > This is wrong. gicv_to_string works on XEN_DOMCTL_* define and not the > LIBXL_GIC_*. > So this will not give the right output. > > I would suggest to revert that patch and I will send one that actually fix > the compilation. > Not

Re: [Xen-devel] [PATCH v3 1/2] xen/arm: Add MVEBU UART driver for Marvell Armada 3700 SoC

2018-04-06 Thread Julien Grall
Hi, On 04/05/2018 11:16 AM, Amit Singh Tomar wrote: This patch adds driver for UART controller found on Armada 3700 SoC. There is no reference manuals available for 3700 SoC in public and it is derived by looking at Linux driver[1]. [1]https://github.com/torvalds/linux/blob/master/drivers/tty/

Re: [Xen-devel] [PATCH v3 2/2] xen/arm: Add Marvell ARMADA 3700 early printk support

2018-04-06 Thread Julien Grall
Hi, On 04/05/2018 11:16 AM, Amit Singh Tomar wrote: Signed-off-by: Amit Singh Tomar With one change (see below): Acked-by: Julien Grall [...] +/* + * MVEBU UART wait UART to be ready to transmit + * xb: register which contains the UART base address + * c: scratch register + */ +.macro ea

Re: [Xen-devel] [PATCH] tools/libxl: Fix build following c/s 74fd984ae

2018-04-06 Thread Juergen Gross
On 06/04/18 11:03, Julien Grall wrote: > Hi, > > On 04/06/2018 09:00 AM, Wei Liu wrote: >> On Thu, Apr 05, 2018 at 07:54:26PM +0100, Andrew Cooper wrote: >>> c/s 74fd984ae "tools/libxl: Drop xc_domain_configuration_t from >>> libxl__domain_build_state" removed state->config completely, but the GIC

Re: [Xen-devel] [PATCH v3 1/2] xen/arm: Add MVEBU UART driver for Marvell Armada 3700 SoC

2018-04-06 Thread Julien Grall
(+Juergen) Hi, On 04/05/2018 11:16 AM, Amit Singh Tomar wrote: This patch adds driver for UART controller found on Armada 3700 SoC. There is no reference manuals available for 3700 SoC in public and it is derived by looking at Linux driver[1]. [1]https://github.com/torvalds/linux/blob/master/

[Xen-devel] [xen-unstable-smoke test] 121960: regressions - FAIL

2018-04-06 Thread osstest service owner
flight 121960 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/121960/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 121876 build-armhf

Re: [Xen-devel] [PATCH v3 0/5] sndif: add explicit back and front synchronization

2018-04-06 Thread Oleksandr Andrushchenko
On 04/06/2018 12:13 PM, Juergen Gross wrote: On 19/03/18 08:22, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Hello, all! In order to provide explicit synchronization between backend and frontend the following changes are introduced in the protocol: - bump protocol version to

Re: [Xen-devel] [PATCH v3 0/5] sndif: add explicit back and front synchronization

2018-04-06 Thread Juergen Gross
On 19/03/18 08:22, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Hello, all! > > In order to provide explicit synchronization between backend and > frontend the following changes are introduced in the protocol: > - bump protocol version to 2 > - add new ring buffer for sen

Re: [Xen-devel] [PATCH] tools/libxl: Fix build following c/s 74fd984ae

2018-04-06 Thread Julien Grall
Hi, On 04/06/2018 09:00 AM, Wei Liu wrote: > On Thu, Apr 05, 2018 at 07:54:26PM +0100, Andrew Cooper wrote: >> c/s 74fd984ae "tools/libxl: Drop xc_domain_configuration_t from >> libxl__domain_build_state" removed state->config completely, but the GIC >> version is available in info. Use the up-to

Re: [Xen-devel] [PATCH v2 07/17] arm64: vgic-v3: Add ICV_EOIR1_EL1 handler

2018-04-06 Thread Manish Jaggi
On 04/05/2018 03:10 PM, Julien Grall wrote: Hi, On 02/04/18 12:17, Manish Jaggi wrote: On 04/02/2018 04:33 PM, Manish Jaggi wrote: On 03/27/2018 03:48 PM, Marc Zyngier wrote: On 27/03/18 10:07, Manish Jaggi wrote: This patch is ported to xen from linux commit b6f49035b4bf6e2709f2a5fed31

Re: [Xen-devel] [for-4.11][PATCH v7 16/16] xen: Convert page_to_mfn and mfn_to_page to use typesafe MFN

2018-04-06 Thread Julien Grall
On 04/06/2018 09:19 AM, Julien Grall wrote: > Hi, > > On 04/03/2018 04:32 PM, Julien Grall wrote: >>xen/arch/x86/hvm/ioreq.c| 4 ++-- > > There is a small clash with Paul's GFN typesafe for ioreq. > Paul, do you want me to resend a patch for that? FYI, this is what looks li

Re: [Xen-devel] [PATCH 1/1] tools: reduce copies b/w ocaml Strings and Bytes

2018-04-06 Thread Wei Liu
On Thu, Apr 05, 2018 at 05:16:27PM +0100, Christian Lindig wrote: > I think this is a good patch as it reduces the amount of copying. I believe > it is safe as it is. There is one place where I am a little hesitant: > > @@ -291,7 +291,9 @@ let access_logging ~con ~tid ?(data="") ~level > access_ty

  1   2   >