Re: [PATCH] virtio: don't fail on !of_device_is_compatible

2021-09-13 Thread Jason Wang
On Mon, Sep 13, 2021 at 6:47 PM Michael S. Tsirkin wrote: > > A recent change checking of_device_is_compatible on probe broke some > powerpc/pseries setups. Apparently there virtio devices do not have a > "compatible" property - they are matched by PCI vendor/device ids. > > Let's just skip

Re: [PATCH] virtio: don't fail on !of_device_is_compatible

2021-09-13 Thread Guenter Roeck
On Mon, Sep 13, 2021 at 04:23:57PM -0400, Michael S. Tsirkin wrote: > On Mon, Sep 13, 2021 at 06:47:52AM -0400, Michael S. Tsirkin wrote: > > A recent change checking of_device_is_compatible on probe broke some > > powerpc/pseries setups. Apparently there virtio devices do not have a > >

Re: [PATCH] virtio: don't fail on !of_device_is_compatible

2021-09-13 Thread Guenter Roeck
On Mon, Sep 13, 2021 at 06:47:46AM -0400, Michael S. Tsirkin wrote: > A recent change checking of_device_is_compatible on probe broke some > powerpc/pseries setups. Apparently there virtio devices do not have a > "compatible" property - they are matched by PCI vendor/device ids. > > Let's just

Re: [PATCH] virtio: don't fail on !of_device_is_compatible

2021-09-13 Thread Michael S. Tsirkin
On Mon, Sep 13, 2021 at 06:47:52AM -0400, Michael S. Tsirkin wrote: > A recent change checking of_device_is_compatible on probe broke some > powerpc/pseries setups. Apparently there virtio devices do not have a > "compatible" property - they are matched by PCI vendor/device ids. > > Let's just

Re: [PATCH] virtio: don't fail on !of_device_is_compatible

2021-09-13 Thread Viresh Kumar
Sorry about HTML (From phone).. On Mon, 13 Sep 2021, 16:17 Michael S. Tsirkin, wrote: > A recent change checking of_device_is_compatible on probe broke some > powerpc/pseries setups. Apparently there virtio devices do not have a > "compatible" property - they are matched by PCI vendor/device

[PATCH] virtio: don't fail on !of_device_is_compatible

2021-09-13 Thread Michael S. Tsirkin
A recent change checking of_device_is_compatible on probe broke some powerpc/pseries setups. Apparently there virtio devices do not have a "compatible" property - they are matched by PCI vendor/device ids. Let's just skip of_node setup but proceed with initialization like we did previously.