All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Baptiste Tredez <jean-baptiste.tredez@ba-healthcare.com>
To: Florian Bezdeka <florian.bezdeka@siemens.com>,
	Jan Kiszka <jan.kiszka@siemens.com>,
	xenomai@xenomai.org
Subject: Re: [PATCH] net/drivers: fec: Update fec driver for xenomai 3 + linux kernel 5.10 and add I.MX8 support
Date: Tue, 7 Dec 2021 18:39:08 +0100	[thread overview]
Message-ID: <a1476131-3678-66a3-82da-9ab5ae02540b@ba-healthcare.com> (raw)
In-Reply-To: <58af3705-b52e-7b51-1d63-f30ac56f8f11@siemens.com>


Le 03/12/2021 à 12:29, Florian Bezdeka a écrit :
> On 03.12.21 12:12, Jan Kiszka via Xenomai wrote:
>> On 01.12.21 20:04, Jan Kiszka via Xenomai wrote:
>>> On 26.11.21 09:02, Jean-Baptiste Trédez via Xenomai wrote:
>>>> Current fec driver does not build on xenomai 3 and on recent kernel (ex : 5.10). Fec driver was completely rewritten on mainline kernel.
>>>> This work remove old fec driver, port driver from mainline linux 5.10 to xenomai 3.x and add I.MX8 support.
>>>>
>>>> Tested on i.MX8Q target
>>>>
>>> Thanks for the contribution! I assume you also tested this driver with
>>> debug options on to catch any potential locking issues (sorry, TL;DR -
>>> with "R" = "review")?
The driver was mostly tested with user application and latency check. 
Some tests were done with debug options. Did you think of a particular 
debug option ?
>>> Can we also make add this driver to our CI build (.gitlab-ci.yml)? Which
>>> options need to be on in addition to make it compile?
>>>
>> It turns out that all needed switches were already set - and... the
>> build fails for 5.4:
>>
>> https://gitlab.com/Xenomai/xenomai-hacker-space/-/jobs/1846388391
> Taken from the job log:
>
> drivers/xenomai/net/drivers/freescale/fec_main.c:737:10: error: void
> value not ignored as it ought to be
>    737 |  hdr_len = tso_start(skb, &tso);
>
> I guess there is more work to do. The return type of tso_start for
> example changed in Linux 5.9 from void to int. So we have to deal with
> different Linux versions.
>
I can send a new patch to fix build errors for 5.4.
>> Could you have a look and fix this up?
>>
>> Also, it looks like we do not build for 4.19
>> (https://gitlab.com/Xenomai/xenomai-hacker-space/-/jobs/1846388392). If
>> that kernel had no support for the target SoC, then this is fine, though.
>>
>> Thanks,
>> Jan
>>


      reply	other threads:[~2021-12-07 17:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26  8:02 [PATCH] net/drivers: fec: Update fec driver for xenomai 3 + linux kernel 5.10 and add I.MX8 support Jean-Baptiste Trédez
2021-12-01 19:04 ` Jan Kiszka
2021-12-03 11:12   ` Jan Kiszka
2021-12-03 11:29     ` Florian Bezdeka
2021-12-07 17:39       ` Jean-Baptiste Tredez [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=a1476131-3678-66a3-82da-9ab5ae02540b@ba-healthcare.com \
    --to=jean-baptiste.tredez@ba-healthcare.com \
    --cc=florian.bezdeka@siemens.com \
    --cc=jan.kiszka@siemens.com \
    --cc=xenomai@xenomai.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.