Re: R: R: Someone working on kernel 5.9?
ansuels...@gmail.com wrote: > > ansuels...@gmail.com wrote: > > > > Ansuel Smith wrote: > > > > > If you want I can port 5.9 to ipq806x and check if there is any > > > > > problem. That way it will be ready when 5.10 is released (i think > > > > > minimal change from 5.9 to 5.10) > > > > tsense patches not apply, ar8216 driver need small fix: > > > > > > > > > I think that with 5.10 we will be able to switch to qca8k dsa (and trash > > > the ar8216 driver). > > Why we can't do this now? > We already can... to switch and use dsa we just need to update entries in > the dts. > > > About tsense I'm still waiting a kernel guy to review my patches to add > > > support upstream, I would delay as much as we can the porting of tsens > > > patch hoping that the upstream patch gets accepted before official 5.10 > > > support from openwrt. > > Heh. 5.10-rc1 is already out, no new features is allowed to merge. > > Maybe in 5.11 or 5.12 you see your patches in kernel. > > > Since the entire tsense driver is a big patch that adds source file, it will > be better > to backport the new driver from upstream to 5.10 instead of adapt the old > patch. > At worst we can just use the proposed patch that already works and is a lot > cleaner > Than what we have now. This series https://lore.kernel.org/linux-pm/20200814134123.14566-1-ansuels...@gmail.com/ is enough for replace ipq806x/patches/0063-* ? Or need backport something else? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
R: R: Someone working on kernel 5.9?
> ansuels...@gmail.com wrote: > > > Ansuel Smith wrote: > > > > If you want I can port 5.9 to ipq806x and check if there is any > > > > problem. That way it will be ready when 5.10 is released (i think > > > > minimal change from 5.9 to 5.10) > > > tsense patches not apply, ar8216 driver need small fix: > > > > > > I think that with 5.10 we will be able to switch to qca8k dsa (and trash > > the ar8216 driver). > Why we can't do this now? > We already can... to switch and use dsa we just need to update entries in the dts. > > About tsense I'm still waiting a kernel guy to review my patches to add > > support upstream, I would delay as much as we can the porting of tsens > > patch hoping that the upstream patch gets accepted before official 5.10 > > support from openwrt. > Heh. 5.10-rc1 is already out, no new features is allowed to merge. > Maybe in 5.11 or 5.12 you see your patches in kernel. > Since the entire tsense driver is a big patch that adds source file, it will be better to backport the new driver from upstream to 5.10 instead of adapt the old patch. At worst we can just use the proposed patch that already works and is a lot cleaner Than what we have now. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: R: Someone working on kernel 5.9?
ansuels...@gmail.com wrote: > > Ansuel Smith wrote: > > > If you want I can port 5.9 to ipq806x and check if there is any > > > problem. That way it will be ready when 5.10 is released (i think > > > minimal change from 5.9 to 5.10) > > tsense patches not apply, ar8216 driver need small fix: > > > I think that with 5.10 we will be able to switch to qca8k dsa (and trash > the ar8216 driver). Why we can't do this now? > About tsense I'm still waiting a kernel guy to review my patches to add > support upstream, I would delay as much as we can the porting of tsens > patch hoping that the upstream patch gets accepted before official 5.10 > support from openwrt. Heh. 5.10-rc1 is already out, no new features is allowed to merge. Maybe in 5.11 or 5.12 you see your patches in kernel. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
R: Someone working on kernel 5.9?
> Ansuel Smith wrote: > > If you want I can port 5.9 to ipq806x and check if there is any > > problem. That way it will be ready when 5.10 is released (i think > > minimal change from 5.9 to 5.10) > tsense patches not apply, ar8216 driver need small fix: > I think that with 5.10 we will be able to switch to qca8k dsa (and trash the ar8216 driver). About tsense I'm still waiting a kernel guy to review my patches to add support upstream, I would delay as much as we can the porting of tsens patch hoping that the upstream patch gets accepted before official 5.10 support from openwrt. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
Ansuel Smith wrote: > If you want I can port 5.9 to ipq806x and check if there is any > problem. That way it will be ready when 5.10 is released (i think > minimal change from 5.9 to 5.10) tsense patches not apply, ar8216 driver need small fix: diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c index 0b0348bfdf..7b9cdc6da4 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.c +++ b/target/linux/generic/files/drivers/net/phy/ar8216.c @@ -887,7 +887,12 @@ ar8216_phy_write(struct ar8xxx_priv *priv, int addr, int regnum, u16 val) static int ar8229_hw_init(struct ar8xxx_priv *priv) { +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0) + phy_interface_t phy_if_mode; + int err; +#else int phy_if_mode; +#endif if (priv->initialized) return 0; @@ -895,8 +900,13 @@ ar8229_hw_init(struct ar8xxx_priv *priv) ar8xxx_write(priv, AR8216_REG_CTRL, AR8216_CTRL_RESET); ar8xxx_reg_wait(priv, AR8216_REG_CTRL, AR8216_CTRL_RESET, 0, 1000); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0) + err = of_get_phy_mode(priv->pdev->of_node, _if_mode); + if (err) + return err; +#else phy_if_mode = of_get_phy_mode(priv->pdev->of_node); - +#endif if (phy_if_mode == PHY_INTERFACE_MODE_GMII) { ar8xxx_write(priv, AR8229_REG_OPER_MODE0, AR8229_OPER_MODE0_MAC_GMII_EN); > > Koen Vandeputte [2020-10-29 13:11:57]: Hi, FYI nbd has 5.9 WIP in his > > staging tree. Someone has already reported success running it on mvebu > > IIRC. Cheers, Petr for mt7621 platform: mt76 driver need update or revert 616d91b68cd56bcb1954b6a5af7d542401fde772 mainline commit. mt7621-pci need patch http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2020-November/148452.html at803x patch need rebase (mainline already have at803x_config_aneg() function) drivers/net/ethernet/ralink/soc_mt7620.c, /drivers/net/ethernet/ralink/mdio.c need same patch (as above) for of_get_phy_mode() xiaomi mir3g, ubnt er-x sfp, mikrotik rb750gr3 targets is working (without PPE, it's always BUSY). ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
Felix Fietkau wrote: > On 2020-10-29 13:11, Koen Vandeputte wrote: > > > > On 29.10.20 11:37, Andrey Jr. Melnikov wrote: > >> Koen Vandeputte wrote: > >> > >>> On 03.10.20 17:11, Vincent Wiemann wrote: > Hi folks, > > is anybody working on 5.9, already? > I'd like to do some testing with io_uring on ath79 devices, > but the features needed require a version > 5.7. > Please let me know! > >>> Not yet currently as I'm pretty occupied with AI stuff, but I might give > >>> it a try within 1 .. 2 weeks. > >> before you start - in 5.8 kernel build process slightly changed, so openwrt > >> "build module first, kernel last" not working, vmlinux must be build before > >> modules now. > >> mtd subsystem partition code massive changed - mtdsplit drivers need > >> rewrite. > > > > Thanks, > > > > I'll take a look at it. > > I did encounter the mtdsplit stuff you mention. > > > > Just swapped to 5.10-rc1 as it will be the next LTS. > I have 5.9 working on the mediatek target in my staging tree: > https://git.openwrt.org/?p=openwrt/staging/nbd.git;a=summary patch target/linux/generic/pending-5.9/306-mips_mem_functions_performance.patch cause this: --- cut --- In file included from ./include/linux/string.h:20, from ./include/linux/uuid.h:12, from ./include/linux/mod_devicetable.h:13, from scripts/mod/devicetable-offsets.c:3: ./arch/mips/include/asm/string.h:24:2: error: expected identifier or '(' before '{' token 24 | ({\ | ^ ./include/linux/string.h:384:24: note: in expansion of macro 'memset' 384 | __FORTIFY_INLINE void *memset(void *p, int c, __kernel_size_t size) |^~ ./arch/mips/include/asm/string.h:35:2: error: expected identifier or '(' before '{' token 35 | ({\ | ^ ./include/linux/string.h:394:24: note: in expansion of macro 'memcpy' 394 | __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t size) |^~ ./arch/mips/include/asm/string.h:46:2: error: expected identifier or '(' before '{' token 46 | ({\ | ^ ./include/linux/string.h:409:24: note: in expansion of macro 'memmove' 409 | __FORTIFY_INLINE void *memmove(void *p, const void *q, __kernel_size_t size) |^~~ ./arch/mips/include/asm/string.h:57:50: error: expected declaration specifiers or '...' before '(' token 57 | #define memcmp(src1, src2, len) __builtin_memcmp((src1), (src2), (len)) | ^ ./include/linux/string.h:435:22: note: in expansion of macro 'memcmp' 435 | __FORTIFY_INLINE int memcmp(const void *p, const void *q, __kernel_size_t size) | ^~ ./arch/mips/include/asm/string.h:57:58: error: expected declaration specifiers or '...' before '(' token 57 | #define memcmp(src1, src2, len) __builtin_memcmp((src1), (src2), (len)) | ^ ./include/linux/string.h:435:22: note: in expansion of macro 'memcmp' 435 | __FORTIFY_INLINE int memcmp(const void *p, const void *q, __kernel_size_t size) | ^~ ./arch/mips/include/asm/string.h:57:66: error: expected declaration specifiers or '...' before '(' token 57 | #define memcmp(src1, src2, len) __builtin_memcmp((src1), (src2), (len)) | ^ ./include/linux/string.h:435:22: note: in expansion of macro 'memcmp' 435 | __FORTIFY_INLINE int memcmp(const void *p, const void *q, __kernel_size_t size) | ^~ --- cut --- Dropping this patch, adjusting mtk7621 nand driver and it success boot on mt7621. And yes, DSA interfaces come up faster: --- 5.8.16 --- [ 23.378250] mtk_soc_eth 1e10.ethernet eth0: Link is Down [ 23.394552] mtk_soc_eth 1e10.ethernet eth0: configuring for fixed/rgmii link mode [ 23.403086] mtk_soc_eth 1e10.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 23.412139] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 23.423265] device eth0 entered promiscuous mode [ 23.600168] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode [ 23.650656] 8021q: adding VLAN 0 to HW filter on device lan1 [ 24.460634] br-lan: port 1(lan1) entered blocking state [ 24.465865] br-lan: port 1(lan1) entered disabled state [ 24.530026] device lan1 entered promiscuous mode [ 25.670004] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode [ 25.740319] 8021q: adding VLAN 0 to HW filter on device lan2 [ 26.610853] br-lan: port 2(lan2) entered blocking state [ 26.616128] br-lan: port 2(lan2) entered disabled state [ 26.740081] device lan2 entered promiscuous mode [ 27.750001] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode [ 27.860316] 8021q: adding VLAN 0 to HW filter on device lan3 [
Re: Someone working on kernel 5.9?
Felix Fietkau wrote: > On 2020-10-29 13:11, Koen Vandeputte wrote: > > > > On 29.10.20 11:37, Andrey Jr. Melnikov wrote: > >> Koen Vandeputte wrote: > >> > >>> On 03.10.20 17:11, Vincent Wiemann wrote: > Hi folks, > > is anybody working on 5.9, already? > I'd like to do some testing with io_uring on ath79 devices, > but the features needed require a version > 5.7. > Please let me know! > >>> Not yet currently as I'm pretty occupied with AI stuff, but I might give > >>> it a try within 1 .. 2 weeks. > >> before you start - in 5.8 kernel build process slightly changed, so openwrt > >> "build module first, kernel last" not working, vmlinux must be build before > >> modules now. > >> mtd subsystem partition code massive changed - mtdsplit drivers need > >> rewrite. > > > > Thanks, > > > > I'll take a look at it. > > I did encounter the mtdsplit stuff you mention. > > > > Just swapped to 5.10-rc1 as it will be the next LTS. > I have 5.9 working on the mediatek target in my staging tree: > https://git.openwrt.org/?p=openwrt/staging/nbd.git;a=summary For curious - for what in hack-5.9/210-darwin_scripts_include.patch defines from dead Tilera platform? It's already moved to trash in mainline kernel. is hack-5.9/214-spidev_h_portability.patch still need? And in kernel we have: # define _IOC_SIZEBITS 14 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
On 29.10.20 13:20, Felix Fietkau wrote: On 2020-10-29 13:11, Koen Vandeputte wrote: On 29.10.20 11:37, Andrey Jr. Melnikov wrote: Koen Vandeputte wrote: On 03.10.20 17:11, Vincent Wiemann wrote: Hi folks, is anybody working on 5.9, already? I'd like to do some testing with io_uring on ath79 devices, but the features needed require a version > 5.7. Please let me know! Not yet currently as I'm pretty occupied with AI stuff, but I might give it a try within 1 .. 2 weeks. before you start - in 5.8 kernel build process slightly changed, so openwrt "build module first, kernel last" not working, vmlinux must be build before modules now. mtd subsystem partition code massive changed - mtdsplit drivers need rewrite. Thanks, I'll take a look at it. I did encounter the mtdsplit stuff you mention. Just swapped to 5.10-rc1 as it will be the next LTS. I have 5.9 working on the mediatek target in my staging tree: https://git.openwrt.org/?p=openwrt/staging/nbd.git;a=summary - Felix Even better! I'll use it as a baseline towards 5.10. Thanks Felix Koen ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Someone working on kernel 5.9?
If you want I can port 5.9 to ipq806x and check if there is any problem. That way it will be ready when 5.10 is released (i think minimal change from 5.9 to 5.10) > Koen Vandeputte [2020-10-29 13:11:57]: Hi, FYI nbd has 5.9 WIP in his > staging tree. Someone has already reported success running it on mvebu IIRC. > Cheers, Petr ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
On 2020-10-29 13:11, Koen Vandeputte wrote: > > On 29.10.20 11:37, Andrey Jr. Melnikov wrote: >> Koen Vandeputte wrote: >> >>> On 03.10.20 17:11, Vincent Wiemann wrote: Hi folks, is anybody working on 5.9, already? I'd like to do some testing with io_uring on ath79 devices, but the features needed require a version > 5.7. Please let me know! >>> Not yet currently as I'm pretty occupied with AI stuff, but I might give >>> it a try within 1 .. 2 weeks. >> before you start - in 5.8 kernel build process slightly changed, so openwrt >> "build module first, kernel last" not working, vmlinux must be build before >> modules now. >> mtd subsystem partition code massive changed - mtdsplit drivers need rewrite. > > Thanks, > > I'll take a look at it. > I did encounter the mtdsplit stuff you mention. > > Just swapped to 5.10-rc1 as it will be the next LTS. I have 5.9 working on the mediatek target in my staging tree: https://git.openwrt.org/?p=openwrt/staging/nbd.git;a=summary - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
Koen Vandeputte [2020-10-29 13:11:57]: Hi, > Just swapped to 5.10-rc1 as it will be the next LTS. FYI nbd has 5.9 WIP in his staging tree. Someone has already reported success running it on mvebu IIRC. Cheers, Petr ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
On Thu, 29 Oct 2020 at 13:14, Koen Vandeputte wrote: > > > On 29.10.20 11:37, Andrey Jr. Melnikov wrote: > > Koen Vandeputte wrote: > > > >> On 03.10.20 17:11, Vincent Wiemann wrote: > >>> Hi folks, > >>> > >>> is anybody working on 5.9, already? > >>> I'd like to do some testing with io_uring on ath79 devices, > >>> but the features needed require a version > 5.7. > >>> Please let me know! > >> Not yet currently as I'm pretty occupied with AI stuff, but I might give > >> it a try within 1 .. 2 weeks. > > before you start - in 5.8 kernel build process slightly changed, so openwrt > > "build module first, kernel last" not working, vmlinux must be build before > > modules now. > > mtd subsystem partition code massive changed - mtdsplit drivers need > > rewrite. > > Thanks, > > I'll take a look at it. > I did encounter the mtdsplit stuff you mention. The rest of us eagerly waiting for a fresh kernel can help. I am sure that it will go much faster that way. Regards, Robert > > Just swapped to 5.10-rc1 as it will be the next LTS. > > Regards, > > Koen > > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
On 29.10.20 11:37, Andrey Jr. Melnikov wrote: Koen Vandeputte wrote: On 03.10.20 17:11, Vincent Wiemann wrote: Hi folks, is anybody working on 5.9, already? I'd like to do some testing with io_uring on ath79 devices, but the features needed require a version > 5.7. Please let me know! Not yet currently as I'm pretty occupied with AI stuff, but I might give it a try within 1 .. 2 weeks. before you start - in 5.8 kernel build process slightly changed, so openwrt "build module first, kernel last" not working, vmlinux must be build before modules now. mtd subsystem partition code massive changed - mtdsplit drivers need rewrite. Thanks, I'll take a look at it. I did encounter the mtdsplit stuff you mention. Just swapped to 5.10-rc1 as it will be the next LTS. Regards, Koen ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
Koen Vandeputte wrote: > On 03.10.20 17:11, Vincent Wiemann wrote: > > Hi folks, > > > > is anybody working on 5.9, already? > > I'd like to do some testing with io_uring on ath79 devices, > > but the features needed require a version > 5.7. > > Please let me know! > Not yet currently as I'm pretty occupied with AI stuff, but I might give > it a try within 1 .. 2 weeks. before you start - in 5.8 kernel build process slightly changed, so openwrt "build module first, kernel last" not working, vmlinux must be build before modules now. mtd subsystem partition code massive changed - mtdsplit drivers need rewrite. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
On 03.10.20 17:11, Vincent Wiemann wrote: Hi folks, is anybody working on 5.9, already? I'd like to do some testing with io_uring on ath79 devices, but the features needed require a version > 5.7. Please let me know! Best, Vincent ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel Not yet currently as I'm pretty occupied with AI stuff, but I might give it a try within 1 .. 2 weeks. Regards, Koen ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
On Sat, 3 Oct 2020 at 17:20, Ansuel Smith wrote: > > > > > Hi folks, > > > > is anybody working on 5.9, already? > > I'd like to do some testing with io_uring on ath79 devices, > > but the features needed require a version > 5.7. > > Please let me know! > > > > Best, > > > > Vincent > > It's still in rc stage and openwrt still needs to chose the next > kernel version... Well, RC is ideal to start with as it takes multiple weeks anyway to port generic stuff. 5.9 is already at RC7 and should be next LTS kernel so it should be the next OpenWrt kernel. New stuff like ipq806x ans ipq60xx is pretty much waiting for new kernel as there is way too much backporting. Just my thoughts Regards, Robert > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Someone working on kernel 5.9?
> > Hi folks, > > is anybody working on 5.9, already? > I'd like to do some testing with io_uring on ath79 devices, > but the features needed require a version > 5.7. > Please let me know! > > Best, > > Vincent It's still in rc stage and openwrt still needs to chose the next kernel version... ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Someone working on kernel 5.9?
Hi folks, is anybody working on 5.9, already? I'd like to do some testing with io_uring on ath79 devices, but the features needed require a version > 5.7. Please let me know! Best, Vincent ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel