U-Boot CONFIG_TIMER migration deadline
Hey all,
I'm sending this email out to the main and custodian lists, and bcc'ing all of the listed maintainers for platforms that have a problem here. The migration deadline for switching from CONFIG_SYS_TIMER_RATE or CONFIG_SYS_TIMER_COUNTER and to using CONFIG_TIMER is the v2023.01 release. Now, per how I've behaved in the past, I'm not going to immediately remove these platforms. But it would be very good to jump on migrating them now, rather than waiting further. The full list (at least n so far as our Makefile check can determine) is:
rpi rpi_0_w at91sam9g10ek_dataflash_cs0 at91sam9g10ek_dataflash_cs3 at91sam9g10ek_nandflash usb_a9263_dataflash ethernut5 meesc meesc_dataflash pm9261 pm9263 corvus smartweb axm taurus vexpress_ca9x4 vinco rpi_2 rpi_3_32b rpi_4_32b highbank alt blanche gose koelsch lager porter silk stout elgin-rv1108 evb-rv1108 socfpga_is1 socfpga_sr1500 socfpga_arria5 socfpga_cyclone5 socfpga_mcvevk socfpga_dbm_soc1 socfpga_socrates socfpga_secu1 socfpga_vining_fpga socfpga_de0_nano_soc socfpga_de1_soc socfpga_de10_nano socfpga_de10_standard socfpga_sockit dalmore cei-tk1-som jetson-tk1 nyan-big venice2 apalis-tk1 medcom-wide plutux tec paz00 trimslice harmony seaboard ventana colibri_t20 tec-ng beaver cardhu apalis_t30 colibri_t30 uniphier_ld4_sld8 uniphier_v7 cortina_presidio-asic-base cortina_presidio-asic-emmc cortina_presidio-asic-pnand r2dplus
Signature · 1 line
Tom
Hey Tom,
Quoted 7 lines
I'm sending this email out to the main and custodian lists, and bcc'ing all of the listed maintainers for platforms that have a problem here. The migration deadline for switching from
CONFIG_SYS_TIMER_RATEorCONFIG_SYS_TIMER_COUNTERand to usingCONFIG_TIMERis the v2023.01 release. Now, per how I've behaved in the past, I'm not going to immediately remove these platforms. But it would be very good to jump on migrating them now, rather than waiting further. The full list (at least
Is there a good example commit that handles the migration?
Quoted 17 lines
n so far as our
Makefilecheck can determine) is:
rpirpi_0_wat91sam9g10ek_dataflash_cs0at91sam9g10ek_dataflash_cs3at91sam9g10ek_nandflashusb_a9263_dataflashethernut5 meescmeesc_dataflashpm9261 pm9263 corvus smartweb axm taurusvexpress_ca9x4vincorpi_2rpi_3_32brpi_4_32bhighbank alt blanche gose koelsch lager porter silk stout elgin-rv1108 evb-rv1108socfpga_is1socfpga_sr1500socfpga_arria5socfpga_cyclone5socfpga_mcvevksocfpga_dbm_soc1socfpga_socratessocfpga_secu1socfpga_vining_fpgasocfpga_de0_nano_socsocfpga_de1_socsocfpga_de10_nanosocfpga_de10_standardsocfpga_sockitdalmore cei-tk1-som jetson-tk1 nyan-big venice2 apalis-tk1 medcom-wide plutux tec paz00 trimslice harmony seaboard ventanacolibri_t20tec-ng beaver cardhuapalis_t30colibri_t30uniphier_ld4_sld8uniphier_v7cortina_presidio-asic-base cortina_presidio-asic-emmc cortina_presidio-asic-pnand r2dplus--
Tom
Quoted 11 lines · Peter Robinson
Hey Tom,
Quoted 7 lines
I'm sending this email out to the main and custodian lists, and bcc'ing all of the listed maintainers for platforms that have a problem here. The migration deadline for switching from
CONFIG_SYS_TIMER_RATEorCONFIG_SYS_TIMER_COUNTERand to usingCONFIG_TIMERis the v2023.01 release. Now, per how I've behaved in the past, I'm not going to immediately remove these platforms. But it would be very good to jump on migrating them now, rather than waiting further. The full list (at leastIs there a good example commit that handles the migration?
Good question! You'll need a driver under drivers/timer/ and for example in U-Boot drivers/timer/omap-timer.c matches (based on compatibles) with drivers/clocksource/timer-ti-dm-systimer.c and drivers/clocksource/timer-ti-dm.c in the Linux kernel. Otherwise, a git log drivers/timer/ shows various conversions of previous in-tree timers to this framework.
Signature · 1 line
Tom
Quoted 15 lines · Tom Rini
Hey all,
I'm sending this email out to the main and custodian lists, and bcc'ing all of the listed maintainers for platforms that have a problem here. The migration deadline for switching from
CONFIG_SYS_TIMER_RATEorCONFIG_SYS_TIMER_COUNTERand to usingCONFIG_TIMERis the v2023.01 release. Now, per how I've behaved in the past, I'm not going to immediately remove these platforms. But it would be very good to jump on migrating them now, rather than waiting further. The full list (at least n so far as ourMakefilecheck can determine) is:
rpirpi_0_wat91sam9g10ek_dataflash_cs0at91sam9g10ek_dataflash_cs3at91sam9g10ek_nandflashusb_a9263_dataflashethernut5 meescmeesc_dataflashpm9261 pm9263 corvus smartweb axm taurusvexpress_ca9x4vincorpi_2rpi_3_32brpi_4_32bhighbank alt blanche gose koelsch lager porter silk stout elgin-rv1108 evb-rv1108socfpga_is1socfpga_sr1500
Quoted 8 lines
socfpga_arria5socfpga_cyclone5socfpga_mcvevksocfpga_dbm_soc1socfpga_socratessocfpga_secu1socfpga_vining_fpgasocfpga_de0_nano_socsocfpga_de1_socsocfpga_de10_nanosocfpga_de10_standardsocfpga_sockitdalmore cei-tk1-som jetson-tk1 nyan-big venice2 apalis-tk1 medcom-wide plutux tec paz00 trimslice harmony seaboard ventanacolibri_t20tec-ng beaver cardhuapalis_t30colibri_t30uniphier_ld4_sld8uniphier_v7cortina_presidio-asic-base cortina_presidio-asic-emmc cortina_presidio-asic-pnand r2dplus
Are you sure you didn't include machines which enable non-DM timer in SPL due to size limits?
Quoted 25 lines · Marek Vasut
Quoted 15 lines · Tom Rini
Hey all,
I'm sending this email out to the main and custodian lists, and bcc'ing all of the listed maintainers for platforms that have a problem here. The migration deadline for switching from
CONFIG_SYS_TIMER_RATEorCONFIG_SYS_TIMER_COUNTERand to usingCONFIG_TIMERis the v2023.01 release. Now, per how I've behaved in the past, I'm not going to immediately remove these platforms. But it would be very good to jump on migrating them now, rather than waiting further. The full list (at least n so far as ourMakefilecheck can determine) is:
rpirpi_0_wat91sam9g10ek_dataflash_cs0at91sam9g10ek_dataflash_cs3at91sam9g10ek_nandflashusb_a9263_dataflashethernut5 meescmeesc_dataflashpm9261 pm9263 corvus smartweb axm taurusvexpress_ca9x4vincorpi_2rpi_3_32brpi_4_32bhighbank alt blanche gose koelsch lager porter silk stout elgin-rv1108 evb-rv1108socfpga_is1socfpga_sr1500Quoted 8 lines
socfpga_arria5socfpga_cyclone5socfpga_mcvevksocfpga_dbm_soc1socfpga_socratessocfpga_secu1socfpga_vining_fpgasocfpga_de0_nano_socsocfpga_de1_socsocfpga_de10_nanosocfpga_de10_standardsocfpga_sockitdalmore cei-tk1-som jetson-tk1 nyan-big venice2 apalis-tk1 medcom-wide plutux tec paz00 trimslice harmony seaboard ventanacolibri_t20tec-ng beaver cardhuapalis_t30colibri_t30uniphier_ld4_sld8uniphier_v7cortina_presidio-asic-base cortina_presidio-asic-emmc cortina_presidio-asic-pnand r2dplus
Quoted 2 lines
Are you sure you didn't include machines which enable non-DM timer in SPL due to size limits?
The list is based on our build warning logic, so no, I'm not 100% sure. If you know something above is using CONFIG_TIMER in full U-Boot but the old method in SPL, let me know and I'll see if I can rework the logic.
Signature · 1 line
Tom