Re: PCI devices passthrough on Arm design proposal

2020-07-20 Thread Rahul Singh
> On 18 Jul 2020, at 12:14 pm, Julien Grall wrote: > > > > On 18/07/2020 10:55, Bertrand Marquis wrote: >>> On 17 Jul 2020, at 18:05, Roger Pau Monné wrote: >>> >>> On Fri, Jul 17, 2020 at 03:47:25PM +, Bertrand Marquis wrote: > On 17 Jul 2020, at 17:26, Julien Grall wrote: > O

Re: PCI devices passthrough on Arm design proposal

2020-07-20 Thread Rahul Singh
> On 18 Jul 2020, at 12:08 pm, Julien Grall wrote: > > Hi, > > On 17/07/2020 16:47, Bertrand Marquis wrote: >>> On 17 Jul 2020, at 17:26, Julien Grall wrote: >>> On 17/07/2020 15:47, Bertrand Marquis wrote: >>> pci=[ "PCI_SPEC_STRING", "PCI_SPEC_STRING", ...] >>> >>> Guest wi

Re: PCI devices passthrough on Arm design proposal

2020-07-18 Thread Julien Grall
Hi, On 17/07/2020 17:05, Roger Pau Monné wrote: IIRC Julien even said that Arm was likely to require much less traps than x86 for accesses to MSI and MSI-X since you could allow untrusted guests to write directly to the registers as there's another piece of hardware that would already translate

Re: PCI devices passthrough on Arm design proposal

2020-07-18 Thread Julien Grall
On 18/07/2020 10:55, Bertrand Marquis wrote: On 17 Jul 2020, at 18:05, Roger Pau Monné wrote: On Fri, Jul 17, 2020 at 03:47:25PM +, Bertrand Marquis wrote: On 17 Jul 2020, at 17:26, Julien Grall wrote: On 17/07/2020 15:47, Bertrand Marquis wrote: * Dom0Less implementation will requ

Re: PCI devices passthrough on Arm design proposal

2020-07-18 Thread Julien Grall
Hi, On 17/07/2020 16:47, Bertrand Marquis wrote: On 17 Jul 2020, at 17:26, Julien Grall wrote: On 17/07/2020 15:47, Bertrand Marquis wrote: pci=[ "PCI_SPEC_STRING", "PCI_SPEC_STRING", ...] Guest will be only able to access the assigned devices and see the bridges. Guest will not be able

Re: PCI devices passthrough on Arm design proposal

2020-07-18 Thread Bertrand Marquis
> On 17 Jul 2020, at 18:05, Roger Pau Monné wrote: > > On Fri, Jul 17, 2020 at 03:47:25PM +, Bertrand Marquis wrote: >>> On 17 Jul 2020, at 17:26, Julien Grall wrote: >>> On 17/07/2020 15:47, Bertrand Marquis wrote: >>> * Dom0Less implementation will require to have the capacity inside

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Roger Pau Monné
On Fri, Jul 17, 2020 at 03:47:25PM +, Bertrand Marquis wrote: > > On 17 Jul 2020, at 17:26, Julien Grall wrote: > > On 17/07/2020 15:47, Bertrand Marquis wrote: > > * Dom0Less implementation will require to have the capacity inside Xen > > to discover the PCI devices (without dependin

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Bertrand Marquis
> On 17 Jul 2020, at 17:26, Julien Grall wrote: > > > > On 17/07/2020 15:47, Bertrand Marquis wrote: > # Title: > > PCI devices passthrough on Arm design proposal > > # Problem statement: > > On ARM there in no support to assign a PCI device to a guest. PCI devi

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Julien Grall
On 17/07/2020 15:47, Bertrand Marquis wrote: # Title: PCI devices passthrough on Arm design proposal # Problem statement: On ARM there in no support to assign a PCI device to a guest. PCI device passthrough capability allows guests to have full access to some PCI devices. PCI device passt

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Bertrand Marquis
> On 17 Jul 2020, at 15:50, Julien Grall wrote: > > (Resending to the correct ML) > > On 17/07/2020 14:23, Julien Grall wrote: >> On 16/07/2020 18:02, Rahul Singh wrote: >>> Hello All, >> Hi, >>> Following up on discussion on PCI Passthrough support on ARM that we had at >>> the XEN summit, w

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Jan Beulich
On 17.07.2020 16:12, Julien Grall wrote: > On 17/07/2020 14:59, Jan Beulich wrote: >> Personally I'd much >> prefer if we didn't have two fundamentally different PCI implementations >> in the tree. Perhaps some of what Arm wants or needs can actually >> benefit x86 as well, but this requires suffic

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Julien Grall
Hi, On 17/07/2020 14:59, Jan Beulich wrote: On 17.07.2020 15:50, Julien Grall wrote: (Resending to the correct ML) On 17/07/2020 14:23, Julien Grall wrote: On 16/07/2020 18:02, Rahul Singh wrote: # Discovering PCI devices: PCI-PCIe enumeration is a process of detecting devices connected to i

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Jan Beulich
On 17.07.2020 15:50, Julien Grall wrote: > (Resending to the correct ML) > On 17/07/2020 14:23, Julien Grall wrote: >> On 16/07/2020 18:02, Rahul Singh wrote: >>> # Discovering PCI devices: >>> >>> PCI-PCIe enumeration is a process of detecting devices connected to >>> its host. It is the responsi

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Julien Grall
(Resending to the correct ML) On 17/07/2020 14:23, Julien Grall wrote: On 16/07/2020 18:02, Rahul Singh wrote: Hello All, Hi, Following up on discussion on PCI Passthrough support on ARM that we had at the XEN summit, we are submitting a Review For Comment and a design proposal for PCI p

Re: PCI devices passthrough on Arm design proposal

2020-07-17 Thread Rahul Singh
On 17/07/2020, 8:42 am, "Oleksandr Andrushchenko" wrote: On 7/17/20 9:53 AM, Bertrand Marquis wrote: > >> On 16 Jul 2020, at 22:51, Stefano Stabellini wrote: >> >> On Thu, 16 Jul 2020, Rahul Singh wrote: >>> Hello All, >>> >>> Following up on discussion on PCI