Re: [Xen-devel] [PATCH v7 02/11] IOMMU/MMU: enhance the call trees of IOMMU unmapping and mapping

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 20:37, wrote: > On 6/8/2016 9:53 AM, Jan Beulich wrote: >> diff --git a/xen/drivers/passthrough/amd/pci_amd_iommu.c >>> b/xen/drivers/passthrough/amd/pci_amd_iommu.c >>> index fce9827..4a860af 100644 >>> --- a/xen/drivers/passthrough/amd/pci_amd_iommu.c >>> +++ b/xen/drivers/pas

Re: [Xen-devel] [PATCH 15/15] xsm: add a default policy to .init.data

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 18:53, wrote: > On 06/09/2016 12:15 PM, Jan Beulich wrote: > On 09.06.16 at 16:47, wrote: >>> --- a/xen/common/Kconfig >>> +++ b/xen/common/Kconfig >>> @@ -132,6 +132,23 @@ config FLASK >>> >>> If unsure, say Y. >>> >>> +config XSM_POLICY >>> + bool "Compile Xen wit

Re: [Xen-devel] [PATCH 10/15] flask: remove xen_flask_userlist operation

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 18:43, wrote: > On 06/09/2016 12:07 PM, Jan Beulich wrote: > On 09.06.16 at 16:47, wrote: >>> --- a/xen/include/public/xsm/flask_op.h >>> +++ b/xen/include/public/xsm/flask_op.h >>> @@ -70,20 +70,6 @@ struct xen_flask_transition { >>> uint32_t newsid; >>> }; >>> >>> -

[Xen-devel] [xen-4.6-testing test] 95447: tolerable FAIL - PUSHED

2016-06-09 Thread osstest service owner
flight 95447 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/95447/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop fail like 95235 test-amd64-amd64-xl-qemut-

[Xen-devel] [xen-4.7-testing baseline test] 95446: tolerable FAIL

2016-06-09 Thread osstest service owner
"Old" tested version had not actually been tested; therefore in this flight we test it, rather than a new candidate. The baseline, if any, is the most recent actually tested revision. flight 95446 xen-4.7-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/95446/ Failures :-/ bu

[Xen-devel] [xen-4.4-testing test] 95439: regressions - FAIL

2016-06-09 Thread osstest service owner
flight 95439 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/95439/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 3 host-install(3) broken in 95373 REGR. vs. 95234 test-amd64-amd64-

[Xen-devel] [xen-4.5-testing test] 95434: regressions - FAIL

2016-06-09 Thread osstest service owner
flight 95434 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/95434/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemut-rhel6hvm-intel 11 guest-start/redhat.repeat fail REGR. vs. 95290 test-amd

Re: [Xen-devel] [MULTIBOOT2 DOC PATCH 08/10] multiboot2: Add C structure alignment and padding consideration section

2016-06-09 Thread Andrew Cooper
On 09/06/2016 21:30, Daniel Kiper wrote: > Signed-off-by: Daniel Kiper > --- > doc/multiboot.texi | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/doc/multiboot.texi b/doc/multiboot.texi > index c81b2ea..bf02a1b 100644 > --- a/doc/multiboot.texi > +++ b/doc/multiboot.

[Xen-devel] [qemu-upstream-4.3-testing test] 95450: trouble: blocked/broken

2016-06-09 Thread osstest service owner
flight 95450 qemu-upstream-4.3-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/95450/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i3863 host-install(3) broken REG

Re: [Xen-devel] [PATCH 15/15] xsm: add a default policy to .init.data

2016-06-09 Thread Doug Goldstein
On 6/9/16 11:53 AM, Daniel De Graaf wrote: > On 06/09/2016 12:15 PM, Jan Beulich wrote: > On 09.06.16 at 16:47, wrote: >>> --- a/xen/common/Kconfig >>> +++ b/xen/common/Kconfig >>> @@ -132,6 +132,23 @@ config FLASK >>> >>>If unsure, say Y. >>> >>> +config XSM_POLICY >>> +bool "Comp

[Xen-devel] [qemu-upstream-4.6-testing test] 95441: tolerable FAIL - PUSHED

2016-06-09 Thread osstest service owner
flight 95441 qemu-upstream-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/95441/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-armhf-armhf-xl-rtds 11 guest-start fail REGR. vs. 93974 test-amd64-amd64

Re: [Xen-devel] [MULTIBOOT2 DOC PATCH 07/10] multiboot2: Say that memory maps may not be available on EFI platforms

2016-06-09 Thread Andrew Cooper
On 09/06/2016 21:30, Daniel Kiper wrote: > Signed-off-by: Daniel Kiper > --- > doc/multiboot.texi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/doc/multiboot.texi b/doc/multiboot.texi > index f1e0e09..c81b2ea 100644 > --- a/doc/multiboot.texi > +++ b/doc/multiboot.texi >

Re: [Xen-devel] [MULTIBOOT2 DOC PATCH 06/10] multiboot2: Add description of support for relocatable images

2016-06-09 Thread Andrew Cooper
On 09/06/2016 21:30, Daniel Kiper wrote: > Signed-off-by: Daniel Kiper > --- > doc/multiboot.texi | 56 > > doc/multiboot2.h | 24 ++ > 2 files changed, 80 insertions(+) > > diff --git a/doc/multiboot.texi b/doc/multi

Re: [Xen-devel] [MULTIBOOT2 DOC PATCH 04/10] multiboot2: Add description of support for EFI boot services

2016-06-09 Thread Andrew Cooper
On 09/06/2016 21:30, Daniel Kiper wrote: > Signed-off-by: Daniel Kiper > --- > doc/multiboot.texi | 108 > +++- > doc/multiboot2.h |2 + > 2 files changed, 108 insertions(+), 2 deletions(-) > > diff --git a/doc/multiboot.texi b/doc/multiboot

Re: [Xen-devel] [MULTIBOOT2 DOC PATCH 02/10] multiboot2: Clarify meaning of information request header tag

2016-06-09 Thread Andrew Cooper
On 09/06/2016 21:30, Daniel Kiper wrote: > Signed-off-by: Daniel Kiper > --- > doc/multiboot.texi | 20 > 1 file changed, 12 insertions(+), 8 deletions(-) > > diff --git a/doc/multiboot.texi b/doc/multiboot.texi > index 27e5a2f..a7e3584 100644 > --- a/doc/multiboot.texi > +

Re: [Xen-devel] [MULTIBOOT2 DOC PATCH 01/10] multiboot2: Remove redundant if

2016-06-09 Thread Andrew Cooper
On 09/06/2016 21:30, Daniel Kiper wrote: > Signed-off-by: Daniel Kiper > --- > doc/multiboot.texi |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/multiboot.texi b/doc/multiboot.texi > index 4b92918..27e5a2f 100644 > --- a/doc/multiboot.texi > +++ b/doc/multiboot.te

Re: [Xen-devel] [PATCH 11/11] oxenstored: honour XEN_{LOG, RUN}_DIR in oxenstored.conf

2016-06-09 Thread David Scott
> On 9 Jun 2016, at 16:51, Ian Jackson wrote: > > Wei Liu writes ("[PATCH 11/11] oxenstored: honour XEN_{LOG,RUN}_DIR in > oxenstored.conf"): >> Generate oxenstored.conf with configure. This involves modifying >> tools/configure.ac and rerun autogen.sh. >> >> Signed-off-by: Wei Liu >> --- >>

[Xen-devel] [MULTIBOOT2 DOC PATCH 08/10] multiboot2: Add C structure alignment and padding consideration section

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 17 + 1 file changed, 17 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index c81b2ea..bf02a1b 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -1384,6 +1384,7 @@ document, but are included for

[Xen-devel] [MULTIBOOT2 DOC PATCH 09/10] multiboot2: Add me to authors

2016-06-09 Thread Daniel Kiper
.. and properly format author list. Signed-off-by: Daniel Kiper --- doc/multiboot.texi |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index bf02a1b..a25c223 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -53,7 +53,9

[Xen-devel] [MULTIBOOT2 DOC PATCH 10/10] multiboot2: Bump version to 2.0

2016-06-09 Thread Daniel Kiper
.. and add 2016 to copyright. Signed-off-by: Daniel Kiper --- configure.ac |2 +- doc/multiboot.texi |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b11961d..585b37a 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7

[Xen-devel] [MULTIBOOT2 DOC PATCH 06/10] multiboot2: Add description of support for relocatable images

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 56 doc/multiboot2.h | 24 ++ 2 files changed, 80 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 130176a..f1e0e09 100644 --- a/doc/multibo

[Xen-devel] [MULTIBOOT2 DOC PATCH 05/10] multiboot2: Add description of EFI image handle tags

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 28 doc/multiboot2.h | 16 2 files changed, 44 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 1583b76..130176a 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.te

[Xen-devel] [MULTIBOOT2 DOC PATCH 00/10] multiboot2: Update documentation

2016-06-09 Thread Daniel Kiper
Hi, This patch series adds descriptions of multiboot2 protocol new features and fixes some issues found here and there. It applies to multiboot2 branch in GRUB2 git tree. Daniel PS Please apply my GRUB2 patches which add above mentioned features. They were posted at the of March. configure

[Xen-devel] [MULTIBOOT2 DOC PATCH 02/10] multiboot2: Clarify meaning of information request header tag

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 27e5a2f..a7e3584 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -443,15 +443,19 @@ u32[n] | mb

[Xen-devel] [MULTIBOOT2 DOC PATCH 03/10] multiboot2: Fix description of EFI boot services tag

2016-06-09 Thread Daniel Kiper
Without this fix multiboot2 doc build fails. Additionally, add missing full stop at the end of sentence. Signed-off-by: Daniel Kiper --- doc/multiboot.texi |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index a7e3584..e43df93

[Xen-devel] [MULTIBOOT2 DOC PATCH 07/10] multiboot2: Say that memory maps may not be available on EFI platforms

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index f1e0e09..c81b2ea 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -927,6 +927,10 @@ possible value for lower memory is 640

[Xen-devel] [MULTIBOOT2 DOC PATCH 04/10] multiboot2: Add description of support for EFI boot services

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 108 +++- doc/multiboot2.h |2 + 2 files changed, 108 insertions(+), 2 deletions(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index e43df93..1583b76 100644 --- a/doc/multiboot.t

[Xen-devel] [MULTIBOOT2 DOC PATCH 01/10] multiboot2: Remove redundant if

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 4b92918..27e5a2f 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -425,7 +425,7 @@ u32 | size | @s

Re: [Xen-devel] [PATCH v7 03/11] IOMMU: propagate IOMMU Device-TLB flush error up to IOMMU unmapping (top level ones)

2016-06-09 Thread Suravee Suthikulanit
On 6/8/2016 9:54 AM, Jan Beulich wrote: On 08.06.16 at 10:58, wrote: > From: Quan Xu > > Signed-off-by: Quan Xu > Acked-by: Kevin Tian > > CC: Stefano Stabellini > CC: Julien Grall > CC: Kevin Tian > CC: Feng Wu > CC: Jan Beulich > CC: Andrew Cooper CC: Suravee Suthikulpanit Acked

Re: [Xen-devel] [PATCH v7 07/11] IOMMU: propagate IOMMU Device-TLB flush error up to IOMMU suspending (top level ones)

2016-06-09 Thread Suravee Suthikulanit
On 6/8/2016 3:59 AM, Xu, Quan wrote: From: Quan Xu Signed-off-by: Quan Xu CC: Jan Beulich CC: Liu Jinsong CC: Keir Fraser CC: Andrew Cooper CC: Suravee Suthikulpanit CC: Stefano Stabellini CC: Julien Grall CC: Kevin Tian CC: Feng Wu v7: 1. return SAVED_ALL at the bottom of device_

[Xen-devel] [xen-unstable-smoke test] 95480: tolerable all pass - PUSHED

2016-06-09 Thread osstest service owner
flight 95480 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/95480/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

Re: [Xen-devel] [PATCH v7 04/11] IOMMU: propagate IOMMU Device-TLB flush error up to IOMMU mapping (top level ones)

2016-06-09 Thread Suravee Suthikulanit
On 6/8/2016 9:43 AM, Jan Beulich wrote: On 08.06.16 at 10:58, wrote: > From: Quan Xu > > Signed-off-by: Quan Xu > Acked-by: Kevin Tian Reviewed-by: Jan Beulich Acked-by: Suravee Suthikulpanit Thanks, Suravee ___ Xen-devel mailing list Xen-d

Re: [Xen-devel] [PATCH] x86/time: use correct (local) time stamp in constant-TSC calibration fast path

2016-06-09 Thread Joao Martins
[changing Dario address to citrix.com as it was bouncing for me ] On 06/09/2016 04:52 PM, Jan Beulich wrote: On 09.06.16 at 17:00, wrote: >> On 06/09/2016 01:57 PM, Jan Beulich wrote: >> On 09.06.16 at 14:11, wrote: >>> So in effect for the fast path the patch >>> changes the situation

[Xen-devel] [PATCH V9 3/3] arm/acpi: Add Server Base System Architecture UART support

2016-06-09 Thread Shanker Donthineni
The ARM Server Base System Architecture describes a generic UART interface. It doesn't support clock control registers, modem control, DMA and hardware flow control features. So, extend the driver probe() to handle SBSA interface and skip the accessing PL011 registers that are not described in SBSA

[Xen-devel] [PATCH V9 1/3] drivers/pl011: Don't configure baudrate

2016-06-09 Thread Shanker Donthineni
The default baud and clock_hz configuration parameters are hardcoded (commit 60ff980995008caf) for Versatile Express. Other platforms, these default values may not be valid and might cause problems by programming registers IBRD and FBRD incorrectly. So, removing driver logic that sets the baud

[Xen-devel] [PATCH V9 2/3] drivers/pl011: Use combination of UARTRIS and UARTMSC instead of UARTMIS

2016-06-09 Thread Shanker Donthineni
The Masked interrupt status register (UARTMIS) is not described in ARM SBSA 2.x document. Anding of two registers UARTMSC and UARTRIS values gives the same information as register UARTMIS. UARTRIS, UARTMSC and UARTMIS definitions are found in PrimeCell UART PL011 (Revision: r1p4). - 3.3.10 Interr

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Olaf Hering
On Thu, Jun 09, Wei Liu wrote: > On Thu, Jun 09, 2016 at 06:45:10PM +0200, Olaf Hering wrote: > > On Thu, Jun 09, Konrad Rzeszutek Wilk wrote: > > > > > Having the libxenvchan.h as Lesser GPL v2.1 where the COPYING file > > > says otherwise is confusing to say at least. > > > > > Cc: Olaf Hering

Re: [Xen-devel] [PATCH] xen-blkfront: export backend vdev name via sysfs

2016-06-09 Thread Olaf Hering
On Thu, Jun 09, David Vrabel wrote: > Why don't you get the udev rule to read the xenstore key directly instead? Good point. Something like this does indeed work: c170:~ # cd -P /sys/block/xvda/device ; d=${PWD##*/} ; xenstore-read `xenstore-read device/${d/-/\/}/backend`/dev hda c170:/sys/devi

Re: [Xen-devel] [PATCH 15/15] xsm: add a default policy to .init.data

2016-06-09 Thread Daniel De Graaf
On 06/09/2016 11:30 AM, Andrew Cooper wrote: On 09/06/16 15:47, Daniel De Graaf wrote: diff --git a/xen/xsm/xsm_core.c b/xen/xsm/xsm_core.c index 4a264c2..6ffccb2 100644 --- a/xen/xsm/xsm_core.c +++ b/xen/xsm/xsm_core.c @@ -36,6 +36,17 @@ static inline int verify(struct xsm_operations *ops)

[Xen-devel] [xen-unstable-smoke test] 95478: tolerable all pass - PUSHED

2016-06-09 Thread osstest service owner
flight 95478 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/95478/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 12 migrate-support-checkfail never pass test-armhf-armhf-xl 12

Re: [Xen-devel] [PATCH 00/11] Honour XEN_{LOG, RUN}_DIR in various places

2016-06-09 Thread Wei Liu
On Thu, Jun 09, 2016 at 05:53:09PM +0100, Anthony PERARD wrote: > There is also some /var/run hardcoded in here: > tools/hotplug/Linux/systemd/xenstored.socket.in > tools/hotplug/Linux/systemd/xenstored_ro.socket.in Thanks. I will send out follow-up patches for that. Wei. > > > -- > Anthony P

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Wei Liu
On Thu, Jun 09, 2016 at 06:45:10PM +0200, Olaf Hering wrote: > On Thu, Jun 09, Konrad Rzeszutek Wilk wrote: > > > Having the libxenvchan.h as Lesser GPL v2.1 where the COPYING file > > says otherwise is confusing to say at least. > > > Cc: Olaf Hering > > Signed-off-by: Olaf Hering > Hmm...

Re: [Xen-devel] [PATCH 15/15] xsm: add a default policy to .init.data

2016-06-09 Thread Daniel De Graaf
On 06/09/2016 12:15 PM, Jan Beulich wrote: On 09.06.16 at 16:47, wrote: --- a/xen/common/Kconfig +++ b/xen/common/Kconfig @@ -132,6 +132,23 @@ config FLASK If unsure, say Y. +config XSM_POLICY + bool "Compile Xen with a built-in security policy" + default y + depen

Re: [Xen-devel] [PATCH 00/11] Honour XEN_{LOG, RUN}_DIR in various places

2016-06-09 Thread Anthony PERARD
There is also some /var/run hardcoded in here: tools/hotplug/Linux/systemd/xenstored.socket.in tools/hotplug/Linux/systemd/xenstored_ro.socket.in -- Anthony PERARD ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] xen-blkfront: export backend vdev name via sysfs

2016-06-09 Thread David Vrabel
On 09/06/16 17:43, Olaf Hering wrote: > From: Jeff Mahoney > > This patch creates a sysfs group to export blkfront attribute via sysfs. > For now, we just export the backend device name. > > This helps with migrating existing domU installation from a xenlinux > based kernel to a pvops based kern

Re: [Xen-devel] [PATCH] xen-blkfront: export backend vdev name via sysfs

2016-06-09 Thread Olaf Hering
On Thu, Jun 09, Olaf Hering wrote: > The value of "vdev" is cached to avoid the load caused by constant > rereading from the sysfs file. For some reason I sent an earlier variant of the patch without caching. If the approach is acceptable I will resend. Olaf

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Olaf Hering
On Thu, Jun 09, Konrad Rzeszutek Wilk wrote: > Having the libxenvchan.h as Lesser GPL v2.1 where the COPYING file > says otherwise is confusing to say at least. > Cc: Olaf Hering Signed-off-by: Olaf Hering ___ Xen-devel mailing list Xen-devel@lists

[Xen-devel] [PATCH] xen-blkfront: export backend vdev name via sysfs

2016-06-09 Thread Olaf Hering
From: Jeff Mahoney This patch creates a sysfs group to export blkfront attribute via sysfs. For now, we just export the backend device name. This helps with migrating existing domU installation from a xenlinux based kernel to a pvops based kernel. The old blkfront driver did respect the vdev=hd|

Re: [Xen-devel] [PATCH 10/15] flask: remove xen_flask_userlist operation

2016-06-09 Thread Daniel De Graaf
On 06/09/2016 12:07 PM, Jan Beulich wrote: On 09.06.16 at 16:47, wrote: --- a/xen/include/public/xsm/flask_op.h +++ b/xen/include/public/xsm/flask_op.h @@ -70,20 +70,6 @@ struct xen_flask_transition { uint32_t newsid; }; -struct xen_flask_userlist { -/* IN: starting SID for list */ -

Re: [Xen-devel] [PATCH 12/15] xen/xsm: remove .xsm_initcall.init section

2016-06-09 Thread Daniel De Graaf
On 06/09/2016 12:11 PM, Jan Beulich wrote: On 09.06.16 at 16:47, wrote: Since FLASK is the only implementation of XSM hooks in Xen, using an iterated initcall dispatch for setup is overly complex. Change this to a direct function call to a globally visible function; if additional XSM hooks are

Re: [Xen-devel] [PATCH 08/15] flask: remove unused secondary context in ocontext

2016-06-09 Thread Daniel De Graaf
On 06/09/2016 12:01 PM, Jan Beulich wrote: On 09.06.16 at 16:47, wrote: --- a/xen/xsm/flask/ss/policydb.h +++ b/xen/xsm/flask/ss/policydb.h @@ -158,8 +158,8 @@ struct ocontext { u64 high_iomem; } iomem; } u; -struct context context[2];/* security context(s

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Wei Liu
On Thu, Jun 09, 2016 at 05:27:30PM +0200, Olaf Hering wrote: > On Thu, Jun 09, Konrad Rzeszutek Wilk wrote: > > > Having the libxenvchan.h as Lesser GPL v2.1 where the COPYING file > > says otherwise is confusing to say at least. > > I'm fine with that. My changes to libvchan were just build fixe

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Anil Madhavapeddy
> On 9 Jun 2016, at 17:34, Jason P Andryuk wrote: > > On Thu, Jun 09, 2016 at 11:16:10AM -0400, Daniel De Graaf wrote: >> On 06/09/2016 10:21 AM, Konrad Rzeszutek Wilk wrote: >>> As the xen/COPYING file says: >>> "A few files are licensed under both GPL and a weaker BSD-style >>> license. This

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Jason P Andryuk
On Thu, Jun 09, 2016 at 11:16:10AM -0400, Daniel De Graaf wrote: > On 06/09/2016 10:21 AM, Konrad Rzeszutek Wilk wrote: > > As the xen/COPYING file says: > > "A few files are licensed under both GPL and a weaker BSD-style > > license. This includes all files within the subdirectory > > include/pu

Re: [Xen-devel] [RFC for-4.8 v2 4/7] xen/device-tree: Make dt_match_node match props

2016-06-09 Thread Edgar E. Iglesias
On Thu, Jun 09, 2016 at 05:23:33PM +0100, Julien Grall wrote: > Hi Edgar, > > On 09/06/16 17:04, Edgar E. Iglesias wrote: > >On Wed, Jun 08, 2016 at 09:44:51AM +0100, Julien Grall wrote: > >> > >>On 07/06/2016 21:43, Edgar E. Iglesias wrote: > >>>On Mon, Jun 06, 2016 at 06:39:39PM +0100, Julien Gr

Re: [Xen-devel] [PATCH 1/1] tools/livepatch: cleanup unnecessary "j = ARRAY_SIZE(action_options); "

2016-06-09 Thread Wei Liu
On Fri, Jun 10, 2016 at 12:02:52AM +0800, Dongli Zhang wrote: > Local variable "j" would be used only when "i == ARRAY_SIZE(main_options)" > is true. Thus, it is not necessary to update "j" when "i == > ARRAY_SIZE(main_options)" is false. > > Signed-off-by: Dongli Zhang > Reviewed-by: Konrad Rzes

Re: [Xen-devel] [RFC for-4.8 v2 4/7] xen/device-tree: Make dt_match_node match props

2016-06-09 Thread Julien Grall
Hi Edgar, On 09/06/16 17:04, Edgar E. Iglesias wrote: On Wed, Jun 08, 2016 at 09:44:51AM +0100, Julien Grall wrote: On 07/06/2016 21:43, Edgar E. Iglesias wrote: On Mon, Jun 06, 2016 at 06:39:39PM +0100, Julien Grall wrote: On 03/06/16 14:29, Edgar E. Iglesias wrote: [...] AFAIK, it's ne

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD"): > As the xen/COPYING file says: > "A few files are licensed under both GPL and a weaker BSD-style > license. This includes all files within the subdirectory > include/public, as desc

Re: [Xen-devel] [PATCH 15/15] xsm: add a default policy to .init.data

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 16:47, wrote: > --- a/xen/common/Kconfig > +++ b/xen/common/Kconfig > @@ -132,6 +132,23 @@ config FLASK > > If unsure, say Y. > > +config XSM_POLICY > + bool "Compile Xen with a built-in security policy" > + default y > + depends on XSM > + ---help---

Re: [Xen-devel] [PATCH 12/15] xen/xsm: remove .xsm_initcall.init section

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 16:47, wrote: > Since FLASK is the only implementation of XSM hooks in Xen, using an > iterated initcall dispatch for setup is overly complex. Change this to > a direct function call to a globally visible function; if additional XSM > hooks are added in the future, a switching

Re: [Xen-devel] [PATCH 10/15] flask: remove xen_flask_userlist operation

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 16:47, wrote: > --- a/xen/include/public/xsm/flask_op.h > +++ b/xen/include/public/xsm/flask_op.h > @@ -70,20 +70,6 @@ struct xen_flask_transition { > uint32_t newsid; > }; > > -struct xen_flask_userlist { > -/* IN: starting SID for list */ > -uint32_t start_sid;

Re: [Xen-devel] [RFC for-4.8 v2 4/7] xen/device-tree: Make dt_match_node match props

2016-06-09 Thread Edgar E. Iglesias
On Wed, Jun 08, 2016 at 09:44:51AM +0100, Julien Grall wrote: > Hi Edgar, Hi Julien, > > On 07/06/2016 21:43, Edgar E. Iglesias wrote: > >On Mon, Jun 06, 2016 at 06:39:39PM +0100, Julien Grall wrote: > >>On 03/06/16 14:29, Edgar E. Iglesias wrote: > > [...] > > >AFAIK, it's needed to instanti

[Xen-devel] [PATCH 1/1] tools/livepatch: cleanup unnecessary "j = ARRAY_SIZE(action_options); "

2016-06-09 Thread Dongli Zhang
Local variable "j" would be used only when "i == ARRAY_SIZE(main_options)" is true. Thus, it is not necessary to update "j" when "i == ARRAY_SIZE(main_options)" is false. Signed-off-by: Dongli Zhang Reviewed-by: Konrad Rzeszutek Wilk --- tools/misc/xen-livepatch.c | 3 +-- 1 file changed, 1 ins

Re: [Xen-devel] [PATCH 08/15] flask: remove unused secondary context in ocontext

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 16:47, wrote: > --- a/xen/xsm/flask/ss/policydb.h > +++ b/xen/xsm/flask/ss/policydb.h > @@ -158,8 +158,8 @@ struct ocontext { > u64 high_iomem; > } iomem; > } u; > -struct context context[2];/* security context(s) */ > -u32 sid[2];/

Re: [Xen-devel] [GIT PULL] (stable/for-jens-4.7) Xen block fixes for v4.7

2016-06-09 Thread Jens Axboe
On 06/09/2016 07:34 AM, Konrad Rzeszutek Wilk wrote: Hey Jens, Please git pull in your 'for-4.7/drivers' the following branch (based of your 'for-4.7/drivers): git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.7 which has two fixes for a guest migrating from hos

[Xen-devel] [PATCH] exec: Fix qemu_ram_block_from_host for Xen

2016-06-09 Thread Anthony PERARD
Since f615f39 (exec: remove ram_addr argument from qemu_ram_block_from_host), migration under Xen is likely to fail, with a SEGV of QEMU. But the commit only reveal a bug with the calculation of the offset value in qemu_ram_block_from_host(). This patch calculates the offset from the ram_addr as q

Re: [Xen-devel] [PATCH for-4.7 1/1] xen/arm: Rename map_regions_rw_cache and use p2m.default_access

2016-06-09 Thread Edgar E. Iglesias
On Wed, Jun 08, 2016 at 10:36:19AM +0100, Stefano Stabellini wrote: > On Wed, 8 Jun 2016, Julien Grall wrote: > > Hi Wei, > > > > On 08/06/2016 09:17, Wei Liu wrote: > > > On Wed, Jun 08, 2016 at 02:15:27AM +0200, Edgar E. Iglesias wrote: > > > > From: "Edgar E. Iglesias" > > > > > > > > Rename

Re: [Xen-devel] [PATCH 11/11] oxenstored: honour XEN_{LOG, RUN}_DIR in oxenstored.conf

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 11/11] oxenstored: honour XEN_{LOG,RUN}_DIR in oxenstored.conf"): > Generate oxenstored.conf with configure. This involves modifying > tools/configure.ac and rerun autogen.sh. > > Signed-off-by: Wei Liu > --- > Cc: Ian Jackson > Cc: David Scott You should mention that

Re: [Xen-devel] [PATCH 08/11] hotplug/Linux: honour XEN_LOG_DIR

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 08/11] hotplug/Linux: honour XEN_LOG_DIR"): > Signed-off-by: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 06/11] libxc: honour XEN_LOG_DIR in xc_dom_core.c

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 06/11] libxc: honour XEN_LOG_DIR in xc_dom_core.c"): > Signed-off-by: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 07/11] hotplug/FreeBSD: honour XEN_{LOG, RUN}_DIR

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 07/11] hotplug/FreeBSD: honour XEN_{LOG,RUN}_DIR"): > Signed-off-by: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] Run autogen.sh

2016-06-09 Thread Wei Liu
On Thu, Jun 09, 2016 at 04:45:15PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [Xen-devel] [PATCH] Run autogen.sh"): > > I'm waiting for Ian's reply to that thread. We haven't come to a > > conclusion whether we should bump the number at the beginning of the > > release. > > For all the libra

Re: [Xen-devel] [PATCH 04/11] xenconsoled: honour XEN_LOG_DIR and remove hard-coded path

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 04/11] xenconsoled: honour XEN_LOG_DIR and remove hard-coded path"): > Make a _paths.h for xenconsoled as well and use that to generate a > default path for log file directory. Acked-by: Ian Jackson ___ Xen-devel mailing list X

Re: [Xen-devel] [PATCH] x86/time: use correct (local) time stamp in constant-TSC calibration fast path

2016-06-09 Thread Jan Beulich
>>> On 09.06.16 at 17:00, wrote: > On 06/09/2016 01:57 PM, Jan Beulich wrote: > On 09.06.16 at 14:11, wrote: >> So in effect for the fast path the patch >> changes the situation from c->stime_local_stamp being effectively >> unused to c->stime_master_stamp being so. In the former case, if >>

Re: [Xen-devel] [PATCH 10/11] libxl: honour XEN_LOG_DIR

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 10/11] libxl: honour XEN_LOG_DIR"): > Signed-off-by: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] Run autogen.sh

2016-06-09 Thread Ian Jackson
Wei Liu writes ("Re: [Xen-devel] [PATCH] Run autogen.sh"): > I'm waiting for Ian's reply to that thread. We haven't come to a > conclusion whether we should bump the number at the beginning of the > release. For all the libraries whose version number is currently 4.7 I'm happy for them to be bumpe

Re: [Xen-devel] [PATCH 02/11] docs: use XEN_LOG_DIR in log file location

2016-06-09 Thread Wei Liu
On Thu, Jun 09, 2016 at 04:47:17PM +0100, Ian Jackson wrote: > Wei Liu writes ("[PATCH 02/11] docs: use XEN_LOG_DIR in log file location"): > > Signed-off-by: Wei Liu > ... > > diff --git a/docs/misc/hvm-emulated-unplug.markdown > > b/docs/misc/hvm-emulated-unplug.markdown > > index c6d1f9b..89fe

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD"): > As the xen/COPYING file says: > "A few files are licensed under both GPL and a weaker BSD-style > license. This includes all files within the subdirectory > include/public, as desc

Re: [Xen-devel] [PATCH 09/11] hotplug/NetBSD: honour XEN_{LOG, RUN}_DIR

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 09/11] hotplug/NetBSD: honour XEN_{LOG,RUN}_DIR"): > Signed-off-by: Wei Liu Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v4 1/7] xl_cmdimpl - Add return codes for pci-detach, pci-attach, pci-asssignable-add, and pci-assignable-remove.

2016-06-09 Thread Wei Liu
On Thu, Jun 09, 2016 at 04:53:29PM +0200, Paulina Szubarczyk wrote: > On Thu, 2016-06-09 at 15:44 +0100, Wei Liu wrote: > > Hi Paulina > > > > I was about to push this whole series, but I noticed the subject line > > of this patch is very long. > > > > May I make a suggestion that we update the t

Re: [Xen-devel] [PATCH 05/11] xenbackendd: honour XEN_{RUN, LOG}_DIR

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 05/11] xenbackendd: honour XEN_{RUN,LOG}_DIR"): > Also added a gitignore entry for xenbackendd binary while I was there. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 02/11] docs: use XEN_LOG_DIR in log file location

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 02/11] docs: use XEN_LOG_DIR in log file location"): > Signed-off-by: Wei Liu ... > diff --git a/docs/misc/hvm-emulated-unplug.markdown > b/docs/misc/hvm-emulated-unplug.markdown > index c6d1f9b..89fe14b 100644 > --- a/docs/misc/hvm-emulated-unplug.markdown > +++ b/docs/mi

Re: [Xen-devel] [PATCH 03/11] tools: install XEN_{LOG,RUN}_DIR

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 03/11] tools: install XEN_{LOG,RUN}_DIR"): > Signed-off-by: Wei Liu > --- Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 01/11] Config.mk: add XEN_LOG_DIR to BUILD_MAKE_VARS

2016-06-09 Thread Ian Jackson
Wei Liu writes ("[PATCH 01/11] Config.mk: add XEN_LOG_DIR to BUILD_MAKE_VARS"): > ... so that it can be turned into shell environment and exported to > header files. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Andrew Cooper
On 09/06/16 15:21, Konrad Rzeszutek Wilk wrote: > As the xen/COPYING file says: > "A few files are licensed under both GPL and a weaker BSD-style > license. This includes all files within the subdirectory > include/public, as described in include/public/COPYING. All such files > include the non-GPL

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Roger Pau Monné
On Thu, Jun 09, 2016 at 10:21:03AM -0400, Konrad Rzeszutek Wilk wrote: > As the xen/COPYING file says: > "A few files are licensed under both GPL and a weaker BSD-style > license. This includes all files within the subdirectory > include/public, as described in include/public/COPYING. All such file

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread George Dunlap
On 09/06/16 15:21, Konrad Rzeszutek Wilk wrote: > As the xen/COPYING file says: > "A few files are licensed under both GPL and a weaker BSD-style > license. This includes all files within the subdirectory > include/public, as described in include/public/COPYING. All such files > include the non-GPL

Re: [Xen-devel] [PATCH V8 3/3] arm/acpi: Add Server Base System Architecture UART support

2016-06-09 Thread Julien Grall
On 09/06/16 16:26, Shanker Donthineni wrote: diff --git a/xen/drivers/char/pl011.c b/xen/drivers/char/pl011.c index a2f929b..d70ec99 100644 --- a/xen/drivers/char/pl011.c +++ b/xen/drivers/char/pl011.c @@ -41,6 +41,7 @@ static struct pl011 { /* struct timer timer; */ /* unsigned int

Re: [Xen-devel] [PATCH 15/15] xsm: add a default policy to .init.data

2016-06-09 Thread Andrew Cooper
On 09/06/16 15:47, Daniel De Graaf wrote: > diff --git a/xen/xsm/xsm_core.c b/xen/xsm/xsm_core.c > index 4a264c2..6ffccb2 100644 > --- a/xen/xsm/xsm_core.c > +++ b/xen/xsm/xsm_core.c > @@ -36,6 +36,17 @@ static inline int verify(struct xsm_operations *ops) > return 0; > } > > +extern char _

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Olaf Hering
On Thu, Jun 09, Konrad Rzeszutek Wilk wrote: > Having the libxenvchan.h as Lesser GPL v2.1 where the COPYING file > says otherwise is confusing to say at least. I'm fine with that. My changes to libvchan were just build fixes, nothing substantial. Olaf __

Re: [Xen-devel] [PATCH V8 2/3] drivers/pl011: Use combination of UARTRIS and UARTMSC instead of UARTMIS

2016-06-09 Thread Shanker Donthineni
On 06/09/2016 05:15 AM, Julien Grall wrote: Hello Shanker, On 08/06/16 14:28, Shanker Donthineni wrote: The Masked interrupt status register (UARTMIS) is not described in ARM SBSA 2.x document. Anding of two registers UARTMSC and UARTRIS values gives the same information as register UARTMIS.

Re: [Xen-devel] [PATCH V8 3/3] arm/acpi: Add Server Base System Architecture UART support

2016-06-09 Thread Shanker Donthineni
On 06/09/2016 05:19 AM, Julien Grall wrote: Hello Shanker, On 08/06/16 14:28, Shanker Donthineni wrote: The ARM Server Base System Architecture describes a generic UART interface. It doesn't support clock control registers, modem control, DMA and hardware flow control features. So, extend the

[Xen-devel] [xen-4.5-testing bisection] complete test-amd64-i386-qemut-rhel6hvm-intel

2016-06-09 Thread osstest service owner
branch xen-4.5-testing xenbranch xen-4.5-testing job test-amd64-i386-qemut-rhel6hvm-intel testid guest-start/redhat.repeat 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.gi

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Marek Marczykowski-Górecki
On Thu, Jun 09, 2016 at 11:16:10AM -0400, Daniel De Graaf wrote: > On 06/09/2016 10:21 AM, Konrad Rzeszutek Wilk wrote: > > As the xen/COPYING file says: > > "A few files are licensed under both GPL and a weaker BSD-style > > license. This includes all files within the subdirectory > > include/publ

Re: [Xen-devel] [PATCH 1/1] tools/xsplice: cleanup unnecessary "j = ARRAY_SIZE(action_options); "

2016-06-09 Thread Wei Liu
On Mon, May 30, 2016 at 09:46:02AM +0800, Dongli Zhang wrote: > Local variable "j" would be used only when "i == ARRAY_SIZE(main_options)" > is true. Thus, it is not necessary to update "j" when "i == > ARRAY_SIZE(main_options)" is false. > > Signed-off-by: Dongli Zhang > --- > tools/misc/xen-xs

Re: [Xen-devel] [PATCH 09/11] hotplug/NetBSD: honour XEN_{LOG, RUN}_DIR

2016-06-09 Thread Roger Pau Monné
On Thu, Jun 09, 2016 at 01:57:40PM +0100, Wei Liu wrote: > Signed-off-by: Wei Liu Acked-by: Roger Pau Monné Thanks! ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 07/11] hotplug/FreeBSD: honour XEN_{LOG, RUN}_DIR

2016-06-09 Thread Roger Pau Monné
On Thu, Jun 09, 2016 at 01:57:38PM +0100, Wei Liu wrote: > Signed-off-by: Wei Liu Acked-by: Roger Pau Monné ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 08/11] hotplug/Linux: honour XEN_LOG_DIR

2016-06-09 Thread Roger Pau Monné
On Thu, Jun 09, 2016 at 01:57:39PM +0100, Wei Liu wrote: > Signed-off-by: Wei Liu Acked-by: Roger Pau Monné ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH 14/15] xsm: clean up unregistration

2016-06-09 Thread Andrew Cooper
On 09/06/16 15:47, Daniel De Graaf wrote: > The only possible value of original_ops was &dummy_xsm_ops, and > unregister_xsm was never used. > > Signed-off-by: Daniel De Graaf Reviewed-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xen.o

Re: [Xen-devel] [PATCH for 4.7] libxenvchan: Change license of header from Lesser GPL v2.1 to BSD

2016-06-09 Thread Daniel De Graaf
On 06/09/2016 10:21 AM, Konrad Rzeszutek Wilk wrote: As the xen/COPYING file says: "A few files are licensed under both GPL and a weaker BSD-style license. This includes all files within the subdirectory include/public, as described in include/public/COPYING. All such files include the non-GPL li

  1   2   3   >