Re: [Xen-devel] [PATCH v8 01/11] vpci: introduce basic handlers to trap accesses to the PCI config space

2018-02-23 Thread Julien Grall
Hi Roger, On 23/02/18 17:25, Roger Pau Monné wrote: On Fri, Feb 23, 2018 at 04:02:17PM +, Julien Grall wrote: Hi, On 23/02/18 15:55, Jan Beulich wrote: On 23.01.18 at 16:07, wrote: diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index c9b9546435..98b82680c6 100644 --- a/xen

Re: [Xen-devel] [PATCH v8 01/11] vpci: introduce basic handlers to trap accesses to the PCI config space

2018-02-23 Thread Roger Pau Monné
On Fri, Feb 23, 2018 at 04:02:17PM +, Julien Grall wrote: > Hi, > > On 23/02/18 15:55, Jan Beulich wrote: > > > > > On 23.01.18 at 16:07, wrote: > > > diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S > > > index c9b9546435..98b82680c6 100644 > > > --- a/xen/arch/arm/xen.lds.S > >

Re: [Xen-devel] [PATCH v8 01/11] vpci: introduce basic handlers to trap accesses to the PCI config space

2018-02-23 Thread Julien Grall
Hi, On 23/02/18 15:55, Jan Beulich wrote: On 23.01.18 at 16:07, wrote: diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index c9b9546435..98b82680c6 100644 --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -65,6 +65,13 @@ SECTIONS __param_start = .; *(.

Re: [Xen-devel] [PATCH v8 01/11] vpci: introduce basic handlers to trap accesses to the PCI config space

2018-02-23 Thread Jan Beulich
>>> On 23.01.18 at 16:07, wrote: > diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S > index c9b9546435..98b82680c6 100644 > --- a/xen/arch/arm/xen.lds.S > +++ b/xen/arch/arm/xen.lds.S > @@ -65,6 +65,13 @@ SECTIONS > __param_start = .; > *(.data.param) > __param_

[Xen-devel] [PATCH v8 01/11] vpci: introduce basic handlers to trap accesses to the PCI config space

2018-01-23 Thread Roger Pau Monne
This functionality is going to reside in vpci.c (and the corresponding vpci.h header), and should be arch-agnostic. The handlers introduced in this patch setup the basic functionality required in order to trap accesses to the PCI config space, and allow decoding the address and finding the correspo