Re: [PATCH v4 2/2] xen/pci: replace call to is_memory_hole to pci_check_bar

2022-09-07 Thread Stefano Stabellini
On Wed, 7 Sep 2022, Julien Grall wrote: > Hi Jan, > > On 07/09/2022 13:06, Jan Beulich wrote: > > On 07.09.2022 13:09, Rahul Singh wrote: > > > is_memory_hole was implemented for x86 and not for ARM when introduced. > > > Replace is_memory_hole call to pci_check_bar as function should check > > >

Re: [PATCH v4 2/2] xen/pci: replace call to is_memory_hole to pci_check_bar

2022-09-07 Thread Bertrand Marquis
Hi, > On 7 Sep 2022, at 14:21, Jan Beulich wrote: > > On 07.09.2022 15:13, Bertrand Marquis wrote: >> Hi Jan, >> >>> On 7 Sep 2022, at 13:06, Jan Beulich wrote: >>> >>> On 07.09.2022 13:09, Rahul Singh wrote: is_memory_hole was implemented for x86 and not for ARM when introduced. Re

Re: [PATCH v4 2/2] xen/pci: replace call to is_memory_hole to pci_check_bar

2022-09-07 Thread Bertrand Marquis
Hi, > On 7 Sep 2022, at 13:48, Julien Grall wrote: > > Hi Jan, > > On 07/09/2022 13:06, Jan Beulich wrote: >> On 07.09.2022 13:09, Rahul Singh wrote: >>> is_memory_hole was implemented for x86 and not for ARM when introduced. >>> Replace is_memory_hole call to pci_check_bar as function should c

Re: [PATCH v4 2/2] xen/pci: replace call to is_memory_hole to pci_check_bar

2022-09-07 Thread Jan Beulich
On 07.09.2022 15:13, Bertrand Marquis wrote: > Hi Jan, > >> On 7 Sep 2022, at 13:06, Jan Beulich wrote: >> >> On 07.09.2022 13:09, Rahul Singh wrote: >>> is_memory_hole was implemented for x86 and not for ARM when introduced. >>> Replace is_memory_hole call to pci_check_bar as function should che

Re: [PATCH v4 2/2] xen/pci: replace call to is_memory_hole to pci_check_bar

2022-09-07 Thread Bertrand Marquis
Hi Jan, > On 7 Sep 2022, at 13:06, Jan Beulich wrote: > > On 07.09.2022 13:09, Rahul Singh wrote: >> is_memory_hole was implemented for x86 and not for ARM when introduced. >> Replace is_memory_hole call to pci_check_bar as function should check >> if device BAR is in defined memory range. Also,

Re: [PATCH v4 2/2] xen/pci: replace call to is_memory_hole to pci_check_bar

2022-09-07 Thread Julien Grall
Hi Jan, On 07/09/2022 13:06, Jan Beulich wrote: On 07.09.2022 13:09, Rahul Singh wrote: is_memory_hole was implemented for x86 and not for ARM when introduced. Replace is_memory_hole call to pci_check_bar as function should check if device BAR is in defined memory range. Also, add an implementa

Re: [PATCH v4 2/2] xen/pci: replace call to is_memory_hole to pci_check_bar

2022-09-07 Thread Jan Beulich
On 07.09.2022 13:09, Rahul Singh wrote: > is_memory_hole was implemented for x86 and not for ARM when introduced. > Replace is_memory_hole call to pci_check_bar as function should check > if device BAR is in defined memory range. Also, add an implementation > for ARM which is required for PCI passt

[PATCH v4 2/2] xen/pci: replace call to is_memory_hole to pci_check_bar

2022-09-07 Thread Rahul Singh
is_memory_hole was implemented for x86 and not for ARM when introduced. Replace is_memory_hole call to pci_check_bar as function should check if device BAR is in defined memory range. Also, add an implementation for ARM which is required for PCI passthrough. On x86, pci_check_bar will call is_memo