Hi Julien,

> On 15 Oct 2021, at 18:25, Julien Grall <jul...@xen.org> wrote:
> 
> Hi Bertrand,
> 
> On 15/10/2021 17:51, Bertrand Marquis wrote:
>> diff --git a/xen/drivers/passthrough/pci.c b/xen/drivers/passthrough/pci.c
>> index 3aa8c3175f..35e0190796 100644
>> --- a/xen/drivers/passthrough/pci.c
>> +++ b/xen/drivers/passthrough/pci.c
>> @@ -756,6 +756,19 @@ int pci_add_device(u16 seg, u8 bus, u8 devfn,
>>      if ( !pdev->domain )
>>      {
>>          pdev->domain = hardware_domain;
>> +#ifdef CONFIG_ARM
>> +        /*
>> +         * On ARM PCI devices discovery will be done by Dom0. Add vpci 
>> handler
>> +         * when Dom0 inform XEN to add the PCI devices in XEN.
>> +         */
>> +        ret = vpci_add_handlers(pdev);
> 
> I don't seem to find the code to remove __init_hwdom in this series. Are you 
> intending to fix it separately?

Yes I think it is better to fix that in a new patch as it will require some 
discussion as it will impact the x86 code if I just remove the flag now.


> 
> With that addressed:
> 
> Acked-by: Julien Grall <jgr...@amazon.com>
> 

Thanks
Bertrand

> Cheers,
> 
> 
> -- 
> Julien Grall


Reply via email to