On 08.02.22 11:48, Jan Beulich wrote:
> On 08.02.2022 10:31, Oleksandr Andrushchenko wrote:
>> On 08.02.22 11:25, Roger Pau Monné wrote:
>>> On Fri, Feb 04, 2022 at 08:34:52AM +0200, Oleksandr Andrushchenko wrote:
>>>> @@ -516,6 +594,11 @@ static int init_bars(struct pci_dev *pdev)
>>>> if ( (val & PCI_BASE_ADDRESS_SPACE) ==
>>>> PCI_BASE_ADDRESS_SPACE_IO )
>>>> {
>>>> bars[i].type = VPCI_BAR_IO;
>>>> +
>>>> + rc = bar_ignore_access(pdev, reg, &bars[i]);
>>> This is wrong: you only want to ignore access to IO BARs for Arm, for
>>> x86 we should keep the previous behavior. Even more if you go with
>>> Jan's suggestions to make bar_ignore_access also applicable to dom0.
>> How do we want this?
>> #ifdef CONFIG_ARM?
> Afaic better via a new, dedicated CONFIG_HAVE_* setting, which x86 selects
> but Arm doesn't. Unless we have one already, of course ...
Could you please be more specific on the name you see appropriate?
And do you realize that this is going to be a single user of such a
setting?
> Jan
>
Thank you,
Oleksandr
- Re: [PATCH v6 01/13] xen... Oleksandr Andrushchenko
- [PATCH v6 08/13] vpci/header: program p2m with gue... Oleksandr Andrushchenko
- [PATCH v6 06/13] vpci/header: implement guest BAR ... Oleksandr Andrushchenko
- Re: [PATCH v6 06/13] vpci/header: implement g... Jan Beulich
- Re: [PATCH v6 06/13] vpci/header: impleme... Oleksandr Andrushchenko
- Re: [PATCH v6 06/13] vpci/header: imp... Jan Beulich
- Re: [PATCH v6 06/13] vpci/header:... Roger Pau Monné
- Re: [PATCH v6 06/13] vpci/header: implement g... Roger Pau Monné
- Re: [PATCH v6 06/13] vpci/header: impleme... Oleksandr Andrushchenko
- Re: [PATCH v6 06/13] vpci/header: imp... Jan Beulich
- Re: [PATCH v6 06/13] vpci/header:... Oleksandr Andrushchenko
- Re: [PATCH v6 06/13] vpci/he... Jan Beulich
- Re: [PATCH v6 06/13] vpc... Oleksandr Andrushchenko
- Re: [PATCH v6 06/13] vpc... Roger Pau Monné
- [PATCH v6 09/13] vpci/header: emulate PCI_COMMAND ... Oleksandr Andrushchenko
- Re: [PATCH v6 09/13] vpci/header: emulate PCI... Jan Beulich
- Re: [PATCH v6 09/13] vpci/header: emulate... Oleksandr Andrushchenko
- Re: [PATCH v6 09/13] vpci/header: emu... Jan Beulich
- Re: [PATCH v6 09/13] vpci/header:... Oleksandr Andrushchenko
- Re: [PATCH v6 09/13] vpci/he... Jan Beulich
- Re: [PATCH v6 09/13] vpc... Oleksandr Andrushchenko
