[PATCH] virt-pci: add platform bus support

Richard Weinberger richard at nod.at
Mon Feb 13 10:09:39 PST 2023


----- Ursprüngliche Mail -----
> Von: "Johannes Berg" <johannes at sipsolutions.net>
> An: "Vincent Whitchurch" <vincent.whitchurch at axis.com>, "richard" <richard at nod.at>, "anton ivanov"
> <anton.ivanov at cambridgegreys.com>
> CC: robh at kernel.org, devicetree at lists.infradead.org, "linux-um" <linux-um at lists.infradead.org>, "linux-kernel"
> <linux-kernel at vger.kernel.org>, "kernel" <kernel at axis.com>
> Gesendet: Montag, 13. Februar 2023 18:54:49
> Betreff: Re: [PATCH] virt-pci: add platform bus support

> On Fri, 2023-01-27 at 15:30 +0100, Vincent Whitchurch wrote:
>> This driver registers PCI busses, but the underlying virtio protocol
>> could just as easily be used to provide a platform bus instead.  If the
>> virtio device node in the devicetree indicates that it's compatible with
>> simple-bus, register platform devices instead of handling it as a PCI
>> bus.
>> 
>> Only one platform bus is allowed and the logic MMIO region for the
>> platform bus is placed at an arbitrarily-chosen address away from the
>> PCI region.
> 
> So ... hm. I'm not sure I _like_ this so much. It feels decidedly
> strange to put it this way.
> 
> But it looks like Richard already applied it, so I suppose look at this
> as kind of a retroactive information gathering. :)

I liked the idea, the patch made sense, so yes.
But this does not mean that things can't be changed.
Until we release 6.3 we have time.

Thanks,
//richard



More information about the linux-um mailing list