All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: linux-can <linux-can@vger.kernel.org>
Subject: Re: [RFC PATCH 0/5] can: slcan: extend supported features (step 2)
Date: Mon, 18 Jul 2022 09:15:55 +0200	[thread overview]
Message-ID: <aa5a6196-7e0a-25a8-c967-415857741bb2@hartkopp.net> (raw)
In-Reply-To: <CABGWkvokcOW2G+CAH4Lna_pRa1ck-zKRpSifjGj-VX_cb9xP5A@mail.gmail.com>



On 18.07.22 08:59, Dario Binacchi wrote:
> Hello Oliver,
> 
> On Sun, Jul 17, 2022 at 4:13 PM Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>>
>> Hello Dario,
>>
>> I have been maintaining the slcan.c driver for a long time and I'm still
>> in the MODULE_AUTHOR() macro.
>>
>> As you are very committed to the slcan driver and its extensions it
>> probably makes sense to take over the maintainer-ship and add yourself
>> to the MODULE_AUTHOR() macro.
>>
>> Analogue to the CAN FD driver from the CTU you could also provide a
>> similar patch for the MAINTAINER file:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=cfdb2f365cb9d
>>
> 
> I am happy and honored. I hope I am adequate for the task.

I think so ;-)

And with all your new enhancements and clean-ups that get away from the 
slow-moving slip.c I would be happy to get out of the line of fire when 
something breaks :-D

Many thanks!

Oliver

> Thanks and regards,
> 
> Dario
> 
>> Best regards,
>> Oliver
>>
>>
>> On 16.07.22 19:00, Dario Binacchi wrote:
>>> With this series I try to finish the task, started with the series [1],
>>> of completely removing the dependency of the slcan driver from the
>>> userspace slcand/slcan_attach applications.
>>>
>>> The series, however, still lacks a patch for sending the bitrate setting
>>> command to the adapter:
>>>
>>> slcan_attach -b <btr> <dev>
>>>
>>> Without at least this patch the task cannot be considered truly completed.
>>>
>>> The idea I got is that this can only happen through the ethtool API.
>>> Among the various operations made available by this interface I would
>>> have used the set_regs (but only the get_regs has been developed), or,
>>> the set_eeprom, even if the setting would not be stored in an eeprom.
>>> IMHO it would take a set_regs operation with a `struct ethtool_wregs'
>>> parameter similar to `struct ethtool_eeprom' without the magic field:
>>>
>>> struct ethtool_wregs {
>>>        __u32   cmd;
>>>        __u32   offset;
>>>        __u32   len;
>>>        __u8    data[0];
>>> };
>>>
>>> But I am not the expert and if there was an alternative solution already
>>> usable, it would be welcome.
>>>
>>> The series also contains patches that remove the legacy stuff (slcan_devs,
>>> SLCAN_MAGIC, ...) and do some module cleanup.
>>>
>>> The series has been created on top of the patches:
>>>
>>> can: slcan: convert comments to network style comments
>>> can: slcan: slcan_init() convert printk(LEVEL ...) to pr_level()
>>> can: slcan: fix whitespace issues
>>> can: slcan: convert comparison to NULL into !val
>>> can: slcan: clean up if/else
>>> can: slcan: use scnprintf() as a hardening measure
>>> can: slcan: do not report txerr and rxerr during bus-off
>>> can: slcan: do not sleep with a spin lock held
>>>
>>> applied to linux-next.
>>>
>>> [1] https://lore.kernel.org/all/20220628163137.413025-1-dario.binacchi@amarulasolutions.com/
>>>
>>>
>>> Dario Binacchi (5):
>>>     can: slcan: remove useless header inclusions
>>>     can: slcan: remove legacy infrastructure
>>>     can: slcan: change every `slc' occurrence in `slcan'
>>>     can: slcan: use the generic can_change_mtu()
>>>     can: slcan: send the listen-only command to the adapter
>>>
>>>    drivers/net/can/slcan/slcan-core.c | 465 +++++++++--------------------
>>>    1 file changed, 134 insertions(+), 331 deletions(-)
>>>
> 
> 
> 

      reply	other threads:[~2022-07-18  7:16 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-16 17:00 [RFC PATCH 0/5] can: slcan: extend supported features (step 2) Dario Binacchi
2022-07-16 17:00 ` [RFC PATCH 1/5] can: slcan: remove useless header inclusions Dario Binacchi
2022-07-16 17:00 ` [RFC PATCH 2/5] can: slcan: remove legacy infrastructure Dario Binacchi
2022-07-17 21:38   ` Max Staudt
2022-07-18  6:57     ` Oliver Hartkopp
2022-07-18 10:15       ` Marc Kleine-Budde
2022-07-18 10:23         ` Oliver Hartkopp
2022-07-19  1:03           ` Max Staudt
2022-07-19 19:59             ` Marc Kleine-Budde
2022-07-25  6:40     ` Dario Binacchi
2022-07-25 13:09       ` Max Staudt
2022-07-26 14:59         ` Dario Binacchi
2022-07-16 17:00 ` [RFC PATCH 3/5] can: slcan: change every `slc' occurrence in `slcan' Dario Binacchi
2022-07-16 17:00 ` [RFC PATCH 4/5] can: slcan: use the generic can_change_mtu() Dario Binacchi
2022-07-16 17:00 ` [RFC PATCH 5/5] can: slcan: send the listen-only command to the adapter Dario Binacchi
2022-07-18 10:22   ` Marc Kleine-Budde
2022-07-21  8:17     ` Dario Binacchi
2022-07-17 14:12 ` [RFC PATCH 0/5] can: slcan: extend supported features (step 2) Oliver Hartkopp
2022-07-18  6:59   ` Dario Binacchi
2022-07-18  7:15     ` Oliver Hartkopp [this message]

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=aa5a6196-7e0a-25a8-c967-415857741bb2@hartkopp.net \
    --to=socketcan@hartkopp.net \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=linux-can@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.