Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

at91: kernel update to the level of support provided by linux4microchip-2022.10 kernel release #11918

Conversation

claudiubeznea
Copy link
Contributor

Hi,

This pull request updates the kernel for AT91 device to the level of support
provided by linux4microchip-2022.10. The exception (at the moment) is
QSPI and WILC (the intention is to have these 2 also in subsequent pull
requests). Some of the patches included in this series are already in
upstream kernel, some or not (most notably here are the sound patches and
the new SAM9X7 SoC support).

Thank you,
Claudiu Beznea

Update kernel v5.15 to the level of support provided by
linux4microchip-2022.10 vendor release. The exception is qspi  and wilc
which has been left aside at the moment. Some of the patches in included
here are already in mainline kernel, some are not at the moment.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Refresh kernel v5.15 configs after update to linux4microchip-2022.10.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
SAM9X7 SoC integrated in backported support from linux4microchip-2022.10
needs CONFIG_VIDEO_MICROCHIP_CSI2DC. Thus enable the necessary config
on sam9x 5.15 defconfig to avoid kernel config restart while
compiling kernel.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
@github-actions github-actions bot added kernel pull request/issue with Linux kernel related changes target/at91 pull request/issue for at91 target labels Feb 1, 2023
@claudiubeznea
Copy link
Contributor Author

Hi,

I know this is a huge pull request that may need more time for review.
Just want to know if it is left behind or doesn't comply with OpenWrt community rules
or anything else...

Thank you,
Claudiu Beznea

@hauke
Copy link
Member

hauke commented Mar 4, 2023

If we add all these patches we also have to maintain them. This was already annoying for the layerscape target when it shipped with over 100 patches.

I would prefer to stay closer to the upstream kernel. If you really need some of these patches for some features or to support some new boards I am fine with adding them, but I would like to avoid to add all the patches from your BSP.

@claudiubeznea Could you please have a look at #12058 too.

@claudiubeznea
Copy link
Contributor Author

@hauke : I truly understand this has to be maintained. This is the reason I haven't introduced in this commit (as specified) QSPI patches from linux4microchip tree as it touches also core part of the subsystem. The patches in this PR touches only AT91 specific drivers (exception being audio part, I can get rid of it if you prefer).

It is first time I push kernel patches not yet upstreamed to OpenWrt so it wasn't clear to me how it will work. Not that it might count, on my side I periodically monitor the buildbot for at91 targets. If this PR will be accepted you can mention me every time there are issues so that I can look at it ASAP.

With regards to the content of this PR, It contains upstreamed kernel patches but also not yet upstreamed one. From the 2nd category there are mostly patches for SAM9X7 SoC and it's evaluation board (which will end up at some point in upstream kernel) and these are distributed across different kernel subsystems. Audio patches not in kernel upstream are also there and some of these might not end in upstream kernel, thus, if you want I can get rid of them from this PR.

With regards to #12058, I just reviewed it. I tested v5.15 on all targets I have access to previously, when updating OpenWrt kernel for v5.15 and when preparing this PR.

If it happens to have patches that need my attention please mention me on github (I monitor the the mailing list but not the github).

Thank you,
Claudiu Beznea

hauke pushed a commit to aparcar/openwrt that referenced this pull request Mar 6, 2023
Getting ready for the next release.

Claudiu said:
> I tested v5.15 on all targets I have access to previously, when
> updating OpenWrt kernel for v5.15 and when preparing this PR. (openwrt#11918)

Signed-off-by: Paul Spooren <mail@aparcar.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request Mar 7, 2023
Getting ready for the next release.

Claudiu said:
> I tested v5.15 on all targets I have access to previously, when
> updating OpenWrt kernel for v5.15 and when preparing this PR. (openwrt#11918)

Signed-off-by: Paul Spooren <mail@aparcar.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
@ynezz
Copy link
Member

ynezz commented Mar 1, 2024

5.15 is over, we're now focusing on 6.1 so Claudiu, it would be really appreciated if you could prepare 6.1 kernel support for at91 target, thanks!

@ynezz ynezz closed this Mar 1, 2024
@robimarko
Copy link
Contributor

@claudiubeznea Can you please take care of bumping to 6.1?

@claudiubeznea
Copy link
Contributor Author

@robimarko , @ynezz : I'm not with Microchip anymore and I don't have resources to handle it. @noglitch, @cristibirsan may help you with this.

@robimarko
Copy link
Contributor

Thanks for include devs that can possibly help

@noglitch
Copy link

noglitch commented Apr 8, 2024

Hi,
We are currently not providing something different than what is available on Upstream OpenWrt and we made effort in the past to participate to this project directly.
If you need more, please be in contact with your Microchip representative, distributor or open a support ticket with Microchip.
Best regards,
Nicolas

@robimarko
Copy link
Contributor

@noglitch That was the OpenWrt project asking for help from Microchip in order to bump the at91 target to kernel 6.1 as we are moving away from kernel 5.15 and only few targets remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel pull request/issue with Linux kernel related changes target/at91 pull request/issue for at91 target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants