Re: [Xen-devel] [PATCH] x86/xstate: correct logging in handle_xsetbv()

2018-07-31 Thread Andrew Cooper
On 31/07/18 11:37, Jan Beulich wrote: > Correct a disagreement between text and logged value. > > Signed-off-by: Jan Beulich Acked-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinf

[Xen-devel] [PATCH] x86/xstate: correct logging in handle_xsetbv()

2018-07-31 Thread Jan Beulich
Correct a disagreement between text and logged value. Signed-off-by: Jan Beulich --- NB: I've already corrected this in the backports. --- a/xen/arch/x86/xstate.c +++ b/xen/arch/x86/xstate.c @@ -715,7 +715,7 @@ int handle_xsetbv(u32 index, u64 new_bv) { gprintk(XENLOG_ERR,

Re: [Xen-devel] [PATCH qemu-xen-traditional] xen/pt: allow QEMU to request MSI unmasking at bind time

2018-07-31 Thread Woodhouse, David
Ian, any objections? Thanks.On Thu, 2018-06-21 at 08:37 +, Paraschiv, Andra-Irina wrote: > + Cc: Ian Jackson for review. > > Thanks, Roger, for review and feedback. > > Andra > > From: Roger Pau Monné > Sent: Monday, June 18, 2018 2:43 PM > To: Para

[Xen-devel] Xen Security Advisory 274 v2 (CVE-2018-14678) - Linux: Uninitialized state in x86 PV failsafe callback path

2018-07-31 Thread Xen . org security team
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Xen Security Advisory CVE-2018-14678 / XSA-274 version 2 Linux: Uninitialized state in x86 PV failsafe callback path UPDATES IN VERSION 2 CVE assigned. Fix the title to refer to

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 31 July 2018 10:42 > To: Roger Pau Monne > Cc: Julien Grall ; Andrew Cooper > ; George Dunlap > ; Ian Jackson ; Paul > Durrant ; Wei Liu ; Kevin > Tian ; Stefano Stabellini ; > xen-devel ; Tim (Xen.org) > Subject:

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 11:34, wrote: > On Tue, Jul 31, 2018 at 03:14:47AM -0600, Jan Beulich wrote: >> >>> On 31.07.18 at 11:05, wrote: >> > On Tue, Jul 31, 2018 at 02:49:19AM -0600, Jan Beulich wrote: >> >> >>> On 31.07.18 at 10:37, wrote: >> >> >> -Original Message- >> >> >> From: Roger P

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 31 July 2018 10:35 > To: Jan Beulich > Cc: Julien Grall ; Andrew Cooper > ; George Dunlap > ; Ian Jackson ; Paul > Durrant ; Wei Liu ; Kevin > Tian ; Stefano Stabellini ; > xen-devel ; Tim (Xen.org) > Subject: Re: [Xen-devel] [PATCH 2/4

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Roger Pau Monné
On Tue, Jul 31, 2018 at 03:14:47AM -0600, Jan Beulich wrote: > >>> On 31.07.18 at 11:05, wrote: > > On Tue, Jul 31, 2018 at 02:49:19AM -0600, Jan Beulich wrote: > >> >>> On 31.07.18 at 10:37, wrote: > >> >> -Original Message- > >> >> From: Roger Pau Monne > >> >> Sent: 31 July 2018 09:34

[Xen-devel] [qemu-mainline test] 125675: trouble: broken/fail/pass

2018-07-31 Thread osstest service owner
flight 125675 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/125675/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt broken test-armhf-armhf-li

[Xen-devel] [PATCH 0/1] cameraif: Add ABI for para-virtualized

2018-07-31 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hello! At the moment Xen [1] already supports some virtual multimedia features [2] such as virtual display, sound. It supports keyboards, pointers and multi-touch devices all allowing Xen to be used in automotive appliances, In-Vehicle Infotainment (IVI) systems and

[Xen-devel] [PATCH 1/1] cameraif: add ABI for para-virtual camera

2018-07-31 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized camera driver which extends Xen's reach multimedia capabilities even farther enabling it for video conferencing, In-Vehicle Infotainment, high definition maps etc. The initial goal is to support most needed fu

Re: [Xen-devel] [goto-label v2] memory: fix label syntax

2018-07-31 Thread Wei Liu
On Tue, Jul 31, 2018 at 03:27:03AM -0600, Jan Beulich wrote: > >>> On 31.07.18 at 11:24, wrote: > > On Tue, Jul 31, 2018 at 03:18:51AM -0600, Jan Beulich wrote: > >> >>> On 31.07.18 at 10:56, wrote: > >> > When compiling this file with gcc, the compiler happily accepts the > >> > sequence of a la

[Xen-devel] [goto-label] memory: fix label syntax

2018-07-31 Thread Norbert Manthey
To be able to compile Xen with gotocc, the label statement has to be followed by a semicolon. Reported-by: Elizabeth Polgreen Signed-off-by: Norbert Manthey --- xen/common/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/memory.c b/xen/common/memory.c inde

Re: [Xen-devel] [goto-label v2] memory: fix label syntax

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 11:24, wrote: > On Tue, Jul 31, 2018 at 03:18:51AM -0600, Jan Beulich wrote: >> >>> On 31.07.18 at 10:56, wrote: >> > When compiling this file with gcc, the compiler happily accepts the >> > sequence of a label followed by an attribute. However, this sequence does >> > not foll

Re: [Xen-devel] [goto-label] memory: fix label syntax

2018-07-31 Thread Norbert Manthey
Sorry for putting you in the To field, I'll use Cc in the future. I agree that the commit message is a little short, and I will iterate on that. Furthermore, I agree that gcc compatibility would allow to parse this statement. However, the given sequence is not unique, and the gcc documentation sta

[Xen-devel] [goto-label v2] memory: fix label syntax

2018-07-31 Thread Norbert Manthey
When compiling this file with gcc, the compiler happily accepts the sequence of a label followed by an attribute. However, this sequence does not follow the gcc documentation. Hence, other compilers might stumble upon this statement. To be able to compile Xen with goto-cc (the compiler of the CPRO

Re: [Xen-devel] [goto-label v2] memory: fix label syntax

2018-07-31 Thread Wei Liu
On Tue, Jul 31, 2018 at 03:18:51AM -0600, Jan Beulich wrote: > >>> On 31.07.18 at 10:56, wrote: > > When compiling this file with gcc, the compiler happily accepts the > > sequence of a label followed by an attribute. However, this sequence does > > not follow the gcc documentation. Hence, other c

Re: [Xen-devel] [goto-label v2] memory: fix label syntax

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 10:56, wrote: > When compiling this file with gcc, the compiler happily accepts the > sequence of a label followed by an attribute. However, this sequence does > not follow the gcc documentation. Hence, other compilers might stumble > upon this statement. > > To be able to comp

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 11:05, wrote: > On Tue, Jul 31, 2018 at 02:49:19AM -0600, Jan Beulich wrote: >> >>> On 31.07.18 at 10:37, wrote: >> >> -Original Message- >> >> From: Roger Pau Monne >> >> Sent: 31 July 2018 09:34 >> >> To: Paul Durrant >> >> Cc: xen-devel@lists.xenproject.org; Kevin

Re: [Xen-devel] [PATCH] tools/gdbsx: fix 'g' packet response for 64bit guests

2018-07-31 Thread Wei Liu
On Tue, Jul 31, 2018 at 10:08:06AM +0100, Andrew Cooper wrote: > On 31/07/18 10:00, Wei Liu wrote: > > On Tue, Jul 31, 2018 at 04:30:42AM +0200, Marek Marczykowski-Górecki wrote: > >> gdb 8.0 fixed bounds checking for 'g' packet (commit > >> 9dc193c3be85aafa60ceff57d3b0430af607b4ce "Check for trunc

Re: [Xen-devel] [PATCH v2] xenconsole: add option to avoid escape sequences in log

2018-07-31 Thread Wei Liu
On Tue, Jul 31, 2018 at 05:15:32AM +0200, Marek Marczykowski-Górecki wrote: > Add --replace-escape option to xenconsoled, which replaces ESC with > '.' in console output written to log file. This makes it slightly safer > to do tail -f on a console output of untrusted guest. > The pty output is una

Re: [Xen-devel] [PATCH] tools/gdbsx: fix 'g' packet response for 64bit guests

2018-07-31 Thread Andrew Cooper
On 31/07/18 10:00, Wei Liu wrote: > On Tue, Jul 31, 2018 at 04:30:42AM +0200, Marek Marczykowski-Górecki wrote: >> gdb 8.0 fixed bounds checking for 'g' packet (commit >> 9dc193c3be85aafa60ceff57d3b0430af607b4ce "Check for truncated >> registers in process_g_packet"). This revealed that gdbsx did >

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Roger Pau Monné
On Tue, Jul 31, 2018 at 02:49:19AM -0600, Jan Beulich wrote: > >>> On 31.07.18 at 10:37, wrote: > >> -Original Message- > >> From: Roger Pau Monne > >> Sent: 31 July 2018 09:34 > >> To: Paul Durrant > >> Cc: xen-devel@lists.xenproject.org; Kevin Tian ; > >> Stefano Stabellini ; Wei Liu ;

Re: [Xen-devel] [PATCH v2 2/2] xenstore-client: Add option for raw in-/output

2018-07-31 Thread Wei Liu
On Tue, Jul 31, 2018 at 04:56:54AM +0200, Marek Marczykowski-Górecki wrote: > From: Simon Gaiser > > Parsing/generating the escape sequences used by xenstore-client is non > trivial. So make scripting (for use in stubdom) easier by adding a raw > option. > > [added man page entries, facor out ex

Re: [Xen-devel] [PATCH v2 1/2] docs: add xenstore-read and xenstore-write man pages

2018-07-31 Thread Wei Liu
On Tue, Jul 31, 2018 at 04:56:53AM +0200, Marek Marczykowski-Górecki wrote: > Signed-off-by: Marek Marczykowski-Górecki Acked-by: Wei Liu Thanks for doing this! ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/ma

Re: [Xen-devel] [PATCH] tools/gdbsx: fix 'g' packet response for 64bit guests

2018-07-31 Thread Wei Liu
On Tue, Jul 31, 2018 at 04:30:42AM +0200, Marek Marczykowski-Górecki wrote: > gdb 8.0 fixed bounds checking for 'g' packet (commit > 9dc193c3be85aafa60ceff57d3b0430af607b4ce "Check for truncated > registers in process_g_packet"). This revealed that gdbsx did > not properly formatted 'g' packet - se

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 10:37, wrote: >> -Original Message- >> From: Roger Pau Monne >> Sent: 31 July 2018 09:34 >> To: Paul Durrant >> Cc: xen-devel@lists.xenproject.org; Kevin Tian ; >> Stefano Stabellini ; Wei Liu ; >> George Dunlap ; Andrew Cooper >> ; Ian Jackson ; Tim >> (Xen.org) ; Jul

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 10:27, wrote: >> -Original Message- >> From: Roger Pau Monne >> Sent: 31 July 2018 09:16 >> To: Paul Durrant >> Cc: xen-devel@lists.xenproject.org; Kevin Tian ; >> Stefano Stabellini ; Wei Liu ; >> George Dunlap ; Andrew Cooper >> ; Ian Jackson ; Tim >> (Xen.org) ; Jul

Re: [Xen-devel] [goto-label] memory: fix label syntax

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 10:32, wrote: > Sorry for putting you in the To field, I'll use Cc in the future. > > I agree that the commit message is a little short, and I will iterate on > that. Furthermore, I agree that gcc compatibility would allow to parse > this statement. However, the given sequence

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 31 July 2018 09:34 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; Kevin Tian ; > Stefano Stabellini ; Wei Liu ; > George Dunlap ; Andrew Cooper > ; Ian Jackson ; Tim > (Xen.org) ; Julien Grall ; Jan Beulich > > Subject: Re: [X

Re: [Xen-devel] [PATCH] tools/gdbsx: fix 'g' packet response for 64bit guests

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 10:09, wrote: > On 31/07/2018 09:01, Jan Beulich wrote: > On 31.07.18 at 04:30, wrote: >> Marek, >> >> looks like all of the patches you've sent early this morning local time >> here came through twice on xen-devel: Would you please avoid >> having xen-devel on both the To

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Roger Pau Monné
On Tue, Jul 31, 2018 at 09:27:03AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Roger Pau Monne > > Sent: 31 July 2018 09:16 > > To: Paul Durrant > > Cc: xen-devel@lists.xenproject.org; Kevin Tian ; > > Stefano Stabellini ; Wei Liu ; > > George Dunlap ; Andrew Cooper > > ; I

Re: [Xen-devel] [PATCH 4/4] x86/iommu: add PVH support to the inclusive options

2018-07-31 Thread Roger Pau Monné
On Tue, Jul 31, 2018 at 08:36:02AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > > Of Roger Pau Monne > > Sent: 27 July 2018 16:32 > > To: xen-devel@lists.xenproject.org > > Cc: Stefano Stabellini ; Wei Liu

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 31 July 2018 09:16 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; Kevin Tian ; > Stefano Stabellini ; Wei Liu ; > George Dunlap ; Andrew Cooper > ; Ian Jackson ; Tim > (Xen.org) ; Julien Grall ; Jan Beulich > > Subject: Re: [X

Re: [Xen-devel] [PATCH 3/4] x86/iommu: reorder conditions used in the inclusive iommu mappings

2018-07-31 Thread Roger Pau Monné
On Tue, Jul 31, 2018 at 08:29:20AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > > @@ -179,6 +169,13 @@ void __hwdom_init arch_iommu_hwdom_init(struct > > domain *d) > > */ > > if ( iommu_

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Roger Pau Monné
On Tue, Jul 31, 2018 at 08:18:36AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > > Of Roger Pau Monne > > Sent: 27 July 2018 16:32 > > To: xen-devel@lists.xenproject.org > > Cc: Kevin Tian ; Stefano Stabelli

Re: [Xen-devel] [PATCH] tools/gdbsx: fix 'g' packet response for 64bit guests

2018-07-31 Thread Andrew Cooper
On 31/07/2018 09:01, Jan Beulich wrote: On 31.07.18 at 04:30, wrote: > Marek, > > looks like all of the patches you've sent early this morning local time > here came through twice on xen-devel: Would you please avoid > having xen-devel on both the To and the Cc lists (just with different > do

Re: [Xen-devel] [PATCH v8 02/11] arm: make it possible to disable HAS_GICV3

2018-07-31 Thread Jan Beulich
>>> On 30.07.18 at 19:48, wrote: > Today it is a silent option. This patch adds a one line description and > makes it optional. > > Signed-off-by: Stefano Stabellini > Acked-by: Julien Grall > CC: george.dun...@eu.citrix.com > CC: ian.jack...@eu.citrix.com > CC: jbeul...@suse.com > CC: andre

Re: [Xen-devel] [PATCH] tools/gdbsx: fix 'g' packet response for 64bit guests

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 04:30, wrote: Marek, looks like all of the patches you've sent early this morning local time here came through twice on xen-devel: Would you please avoid having xen-devel on both the To and the Cc lists (just with different domains)? Thanks, Jan ___

Re: [Xen-devel] [goto-label] memory: fix label syntax

2018-07-31 Thread Jan Beulich
>>> On 31.07.18 at 09:18, wrote: > To be able to compile Xen with gotocc, the label statement has to be > followed by a semicolon. Assuming that gotocc aims to be gcc compatible, this looks like a shortcoming there. As the workaround is simple enough, I'm fine with the change, but the description

Re: [Xen-devel] [PATCH 4/4] x86/iommu: add PVH support to the inclusive options

2018-07-31 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of Roger Pau Monne > Sent: 27 July 2018 16:32 > To: xen-devel@lists.xenproject.org > Cc: Stefano Stabellini ; Wei Liu > ; George Dunlap ; > Andrew Cooper ; Ian Jackson > ; Tim (Xen.org) ; Juli

Re: [Xen-devel] [PATCH 3/4] x86/iommu: reorder conditions used in the inclusive iommu mappings

2018-07-31 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of Roger Pau Monne > Sent: 27 July 2018 16:32 > To: xen-devel@lists.xenproject.org > Cc: Jan Beulich ; Roger Pau Monne > > Subject: [Xen-devel] [PATCH 3/4] x86/iommu: reorder conditions used

Re: [Xen-devel] [PATCH 2/4] iommu: generalize iommu_inclusive_mapping

2018-07-31 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of Roger Pau Monne > Sent: 27 July 2018 16:32 > To: xen-devel@lists.xenproject.org > Cc: Kevin Tian ; Stefano Stabellini > ; Wei Liu ; George Dunlap > ; Andrew Cooper > ; Ian Jackson ; Tim > (

Re: [Xen-devel] [PATCH 1/4] iommu: remove unneeded return from iommu_hwdom_init

2018-07-31 Thread Paul Durrant
> -Original Message- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of Roger Pau Monne > Sent: 27 July 2018 16:32 > To: xen-devel@lists.xenproject.org > Cc: Jan Beulich ; Roger Pau Monne > > Subject: [Xen-devel] [PATCH 1/4] iommu: remove unneeded return from

<    1   2