[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pmgyx48j.wl-maz@kernel.org>
Date: Wed, 17 Aug 2022 16:46:20 +0100
From: Marc Zyngier <maz@...nel.org>
To: Nipun Gupta <nipun.gupta@....com>,
Greg KH <gregkh@...uxfoundation.org>
Cc: robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
rafael@...nel.org, eric.auger@...hat.com,
alex.williamson@...hat.com, cohuck@...hat.com,
puneet.gupta@....com, song.bao.hua@...ilicon.com,
mchehab+huawei@...nel.org, f.fainelli@...il.com,
jeffrey.l.hugo@...il.com, saravanak@...gle.com,
Michael.Srba@...nam.cz, mani@...nel.org, yishaih@...dia.com,
jgg@...pe.ca, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, kvm@...r.kernel.org, okaya@...nel.org,
harpreet.anand@....com, nikhil.agarwal@....com,
michal.simek@....com, git@....com
Subject: Re: [RFC PATCH v2 2/6] bus/cdx: add the cdx bus driver
On Wed, 17 Aug 2022 16:32:45 +0100,
Greg KH <gregkh@...uxfoundation.org> wrote:
>
> On Wed, Aug 17, 2022 at 08:35:38PM +0530, Nipun Gupta wrote:
> > CDX bus driver manages the scanning and populating FPGA
> > based devices present on the CDX bus.
> >
> > The bus driver sets up the basic infrastructure and fetches
> > the device related information from the firmware. These
> > devices are registered as platform devices.
>
> Ick, why? These aren't platform devices, they are CDX devices. Make
> them real devices here, don't abuse the platform device interface for
> things that are not actually on the platform bus.
>
> > CDX bus is capable of scanning devices dynamically,
> > supporting rescanning of dynamically added, removed or
> > updated devices.
>
> Wonderful, that's a real bus, so be a real bus please.
+1.
This should follow something like PCI, which has semi-sane semantics.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
Powered by blists - more mailing lists