From: Greg KH <gregkh@linuxfoundation.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Konstantin Sinyuk <sinyuk@gmail.com>,
ksummit@lists.linux.dev,
Konstantin Sinyuk <konstantin.sinyuk@intel.com>
Subject: Re: [TECH TOPIC] UALink driver upstreaming
Date: Fri, 12 Sep 2025 09:47:22 +0200 [thread overview]
Message-ID: <2025091207-blouse-scratch-dde3@gregkh> (raw)
In-Reply-To: <CACRpkda5KwVP-J=_3goL6WAy=dR1ZQufdjT6pJyY+Fno_Hsy6w@mail.gmail.com>
On Fri, Sep 12, 2025 at 09:22:29AM +0200, Linus Walleij wrote:
> On Thu, Sep 11, 2025 at 8:10 PM Konstantin Sinyuk <sinyuk@gmail.com> wrote:
> > On Thu, Sep 11, 2025 at 10:42:01AM +0200, Linus Walleij wrote:
>
> > > So this gives at hand that since this is no "ordinary" memory-mapped
> > > driver, it needs its own bus and therefore intuitively its own subsystem?
> > >
> > > What about drivers/accel/ual where other accelerators live?
> > >
> > > Or if that is somehow inappropriate, just drivers/ual, don't be shy.
> >
> > Hi Linus,
> >
> > For the initial RFC, I thought to start under drivers/misc/ just as a
> > lightweight entry point to get early review. But I agree with you that
> > UALink fits more naturally as its own subsystem, similar to how CXL is
> > handled, rather than being grouped under accel. The long-term plan
> > should definitely be drivers/ual/.
>
> If you want to "ease in" drivers the appropriate place is drivers/staging.
Not really. Staging is for "stuff that is not cleaned up yet and we
want to do that work in-tree". It's best for existing code bases that
have been around for a while to get dropped in there and take advantage
of people wanting to do simple "first task" type of kernel patches
(coding style cleanups, shim layer removals, spelling fixes.)
It's almost never a good idea to use staging for a new subsystem as the
work it takes to get it merged out of staging is almost always more than
it would be to just do "all of the coding style cleanups first" out of
the tree and then merge it properly.
So I do not recommend staging for anything with an "active" developer
community, as it would just slow down the acceptance of the code to the
real part of the kernel.
> But if you have a focused team and you are going to start small
> and work on this then just use drivers/accel/ual from day 1.
Totally agreed.
thanks,
greg k-h
next prev parent reply other threads:[~2025-09-12 7:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-10 19:37 Sinyuk, Konstantin
2025-09-10 23:58 ` dan.j.williams
2025-09-11 5:13 ` Greg KH
[not found] ` <a70edcba-0ef7-4d0d-bc00-0e8519a458e8@intel.com>
2025-09-11 11:13 ` Konstantin Sinyuk
2025-09-11 10:59 ` Mimi Zohar
[not found] ` <DM3PR11MB86833A11AD52C01C9063FFE1E309A@DM3PR11MB8683.namprd11.prod.outlook.com>
2025-09-11 11:09 ` FW: " Konstantin Sinyuk
2025-09-11 15:19 ` Linus Walleij
[not found] ` <a74382d8-a2bf-4534-b0ee-a97d8faabf16@intel.com>
2025-09-11 18:10 ` Konstantin Sinyuk
2025-09-11 19:02 ` Leon Romanovsky
2025-09-12 7:22 ` Linus Walleij
2025-09-12 7:47 ` Greg KH [this message]
[not found] ` <0f876c7c-566b-476a-b590-d490d41d605c@intel.com>
2025-09-12 12:07 ` Konstantin Sinyuk
2025-09-12 12:18 ` Linus Walleij
2025-09-12 13:49 ` Rodrigo Vivi
2025-09-12 16:13 ` Matthew Brost
2025-09-13 19:11 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2025091207-blouse-scratch-dde3@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=konstantin.sinyuk@intel.com \
--cc=ksummit@lists.linux.dev \
--cc=linus.walleij@linaro.org \
--cc=sinyuk@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox