All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
To: trini@konsulko.com
Cc: u-boot@lists.denx.de, Peng Fan <peng.fan@nxp.com>
Subject: [PATCH V4 0/6] Convert COUNTER_FREQUENCY to CONFIG_COUNTER_FREQUENCY
Date: Wed, 13 Apr 2022 17:47:16 +0800	[thread overview]
Message-ID: <20220413094726.32199-1-peng.fan@oss.nxp.com> (raw)

From: Peng Fan <peng.fan@nxp.com>

V4:
 Include arm32 support. arm32 changes merged with arm64.
 Add missing arm64 convert
 Rebased
 Pass git bisect build and CI
 Hope this works well

V3:
 Add more help info for CONFIG_COUNTER_FREQUENCY
 Drop uneeded comments
 Pass git bisect build
 Rebased

V2:
 Drop imx93 which is wrongly included

This patchset is to convert COUNTER_FREQUENCY to CONFIG_COUNTER_FREQUENCY
for arm64. arm32 is not included for now, this could be in following up
patches if this patchset is accepted.

This patchset touches lots of boards, so please help review.


Peng Fan (6):
  xilinx: versal: board: use CONFIG_COUNTER_FREQUENCY
  arch: arm: move COUNTER_FREQUENCY from versal to arm
  arch: arm: Kconfig: set default COUNTER_FREQUENCY
  configs: set CONFIG_COUNTER_FREQUENCY
  include/configs: drop COUNTER_FREQUENCY
  arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid

 arch/arm/Kconfig                                | 17 +++++++++++++++++
 arch/arm/cpu/armv7/ls102xa/psci.S               |  2 +-
 arch/arm/cpu/armv7/ls102xa/timer.c              |  2 +-
 arch/arm/cpu/armv7/nonsec_virt.S                |  4 ++--
 arch/arm/cpu/armv7/sunxi/psci.c                 |  2 +-
 arch/arm/cpu/armv8/fsl-layerscape/spintable.S   |  2 +-
 arch/arm/cpu/armv8/start.S                      |  4 ++--
 arch/arm/mach-rockchip/rk3036-board-spl.c       |  2 +-
 arch/arm/mach-rockchip/spl.c                    |  2 +-
 arch/arm/mach-rockchip/tpl.c                    |  2 +-
 arch/arm/mach-versal/Kconfig                    |  6 ------
 board/sunxi/board.c                             |  6 +++---
 board/xilinx/versal/board.c                     |  2 +-
 configs/a3y17lte_defconfig                      |  1 +
 configs/a5y17lte_defconfig                      |  1 +
 configs/a7y17lte_defconfig                      |  1 +
 configs/apalis-imx8_defconfig                   |  1 +
 configs/apalis-imx8x_defconfig                  |  1 +
 configs/bubblegum_96_defconfig                  |  1 +
 configs/cgtqmx8_defconfig                       |  1 +
 configs/colibri-imx8x_defconfig                 |  1 +
 configs/cortina_presidio-asic-base_defconfig    |  1 +
 configs/cortina_presidio-asic-emmc_defconfig    |  1 +
 configs/cortina_presidio-asic-pnand_defconfig   |  1 +
 configs/cubieboard7_defconfig                   |  1 +
 configs/deneb_defconfig                         |  1 +
 configs/dragonboard410c_defconfig               |  1 +
 configs/dragonboard820c_defconfig               |  1 +
 configs/espresso7420_defconfig                  |  1 +
 configs/evb-px30_defconfig                      |  1 +
 configs/evb-px5_defconfig                       |  1 +
 configs/evb-rk3308_defconfig                    |  1 +
 configs/evb-rk3328_defconfig                    |  1 +
 configs/evb-rk3399_defconfig                    |  1 +
 configs/evb-rk3568_defconfig                    |  1 +
 configs/firefly-px30_defconfig                  |  1 +
 configs/firefly-rk3399_defconfig                |  1 +
 configs/hihope_rzg2_defconfig                   |  1 +
 configs/hikey960_defconfig                      |  1 +
 configs/hikey_defconfig                         |  1 +
 configs/imx8qm_mek_defconfig                    |  1 +
 configs/imx8qm_rom7720_a1_4G_defconfig          |  1 +
 configs/imx8qxp_mek_defconfig                   |  1 +
 configs/khadas-edge-captain-rk3399_defconfig    |  1 +
 configs/khadas-edge-rk3399_defconfig            |  1 +
 configs/khadas-edge-v-rk3399_defconfig          |  1 +
 configs/kontron_sl28_defconfig                  |  1 +
 configs/leez-rk3399_defconfig                   |  1 +
 configs/ls1012a2g5rdb_qspi_defconfig            |  1 +
 configs/ls1012a2g5rdb_tfa_defconfig             |  1 +
 configs/ls1021aiot_qspi_defconfig               |  1 +
 configs/ls1021aiot_sdcard_defconfig             |  1 +
 configs/ls1021aqds_ddr4_nor_defconfig           |  1 +
 configs/ls1021aqds_ddr4_nor_lpuart_defconfig    |  1 +
 configs/ls1021aqds_nand_defconfig               |  1 +
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig    |  1 +
 configs/ls1021aqds_nor_defconfig                |  1 +
 configs/ls1021aqds_nor_lpuart_defconfig         |  1 +
 configs/ls1021aqds_qspi_defconfig               |  1 +
 configs/ls1021aqds_sdcard_ifc_defconfig         |  1 +
 configs/ls1021aqds_sdcard_qspi_defconfig        |  1 +
 configs/ls1021atsn_qspi_defconfig               |  1 +
 configs/ls1021atsn_sdcard_defconfig             |  1 +
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig    |  1 +
 configs/ls1021atwr_nor_defconfig                |  1 +
 configs/ls1021atwr_nor_lpuart_defconfig         |  1 +
 configs/ls1021atwr_qspi_defconfig               |  1 +
 .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |  1 +
 configs/ls1021atwr_sdcard_ifc_defconfig         |  1 +
 configs/ls1021atwr_sdcard_qspi_defconfig        |  1 +
 configs/ls1043aqds_defconfig                    |  1 +
 configs/ls1043aqds_lpuart_defconfig             |  1 +
 configs/ls1043aqds_nand_defconfig               |  1 +
 configs/ls1043aqds_nor_ddr3_defconfig           |  1 +
 configs/ls1043aqds_qspi_defconfig               |  1 +
 configs/ls1043aqds_sdcard_ifc_defconfig         |  1 +
 configs/ls1043aqds_sdcard_qspi_defconfig        |  1 +
 configs/ls1043aqds_tfa_SECURE_BOOT_defconfig    |  1 +
 configs/ls1043aqds_tfa_defconfig                |  1 +
 configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig   |  1 +
 configs/ls1046afrwy_tfa_defconfig               |  1 +
 configs/ls1088ardb_qspi_SECURE_BOOT_defconfig   |  1 +
 configs/ls1088ardb_qspi_defconfig               |  1 +
 ...ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig |  1 +
 configs/ls1088ardb_sdcard_qspi_defconfig        |  1 +
 configs/ls1088ardb_tfa_SECURE_BOOT_defconfig    |  1 +
 configs/ls1088ardb_tfa_defconfig                |  1 +
 configs/mt8183_pumpkin_defconfig                |  1 +
 configs/mt8512_bm1_emmc_defconfig               |  1 +
 configs/mt8516_pumpkin_defconfig                |  1 +
 configs/mt8518_ap1_emmc_defconfig               |  1 +
 configs/nanopc-t4-rk3399_defconfig              |  1 +
 configs/nanopi-m4-2gb-rk3399_defconfig          |  1 +
 configs/nanopi-m4-rk3399_defconfig              |  1 +
 configs/nanopi-m4b-rk3399_defconfig             |  1 +
 configs/nanopi-neo4-rk3399_defconfig            |  1 +
 configs/nanopi-r2s-rk3328_defconfig             |  1 +
 configs/nanopi-r4s-rk3399_defconfig             |  1 +
 configs/orangepi-rk3399_defconfig               |  1 +
 configs/p2371-2180_defconfig                    |  1 +
 configs/p2771-0000-000_defconfig                |  1 +
 configs/p2771-0000-500_defconfig                |  1 +
 configs/p3450-0000_defconfig                    |  1 +
 configs/pg_wcom_expu1_defconfig                 |  1 +
 configs/pg_wcom_expu1_update_defconfig          |  1 +
 configs/pg_wcom_seli8_defconfig                 |  1 +
 configs/pg_wcom_seli8_update_defconfig          |  1 +
 configs/r8a77970_eagle_defconfig                |  1 +
 configs/r8a77980_condor_defconfig               |  1 +
 configs/r8a77990_ebisu_defconfig                |  1 +
 configs/r8a77995_draak_defconfig                |  1 +
 configs/r8a779a0_falcon_defconfig               |  1 +
 configs/rcar3_salvator-x_defconfig              |  1 +
 configs/rcar3_ulcb_defconfig                    |  1 +
 configs/roc-cc-rk3328_defconfig                 |  1 +
 configs/rock-pi-4-rk3399_defconfig              |  1 +
 configs/rock-pi-4c-rk3399_defconfig             |  1 +
 configs/rock-pi-e-rk3328_defconfig              |  1 +
 configs/rock-pi-n10-rk3399pro_defconfig         |  1 +
 configs/rock64-rk3328_defconfig                 |  1 +
 configs/silinux_ek874_defconfig                 |  1 +
 configs/socfpga_agilex_atf_defconfig            |  1 +
 configs/socfpga_agilex_defconfig                |  1 +
 configs/socfpga_agilex_vab_defconfig            |  1 +
 configs/starqltechn_defconfig                   |  1 +
 configs/ten64_tfa_defconfig                     |  1 +
 configs/thunderx_88xx_defconfig                 |  1 +
 configs/vexpress_aemv8a_juno_defconfig          |  1 +
 configs/vexpress_aemv8a_semi_defconfig          |  1 +
 configs/vexpress_aemv8r_defconfig               |  1 +
 include/configs/apalis-imx8.h                   |  3 ---
 include/configs/apalis-imx8x.h                  |  3 ---
 include/configs/capricorn-common.h              |  3 ---
 include/configs/cgtqmx8.h                       |  3 ---
 include/configs/colibri-imx8x.h                 |  1 -
 include/configs/condor.h                        |  3 ---
 include/configs/draak.h                         |  3 ---
 include/configs/dragonboard410c.h               |  3 ---
 include/configs/dragonboard820c.h               |  3 ---
 include/configs/eagle.h                         |  3 ---
 include/configs/ebisu.h                         |  3 ---
 include/configs/exynos-common.h                 |  1 -
 include/configs/exynos7420-common.h             |  3 ---
 include/configs/exynos78x0-common.h             |  3 ---
 include/configs/falcon.h                        |  3 ---
 include/configs/hihope-rzg2.h                   |  3 ---
 include/configs/hikey.h                         |  3 ---
 include/configs/hikey960.h                      |  3 ---
 include/configs/imx8qm_mek.h                    |  3 ---
 include/configs/imx8qm_rom7720.h                |  3 ---
 include/configs/imx8qxp_mek.h                   |  3 ---
 include/configs/kontron_sl28.h                  |  1 -
 include/configs/ls1012a_common.h                |  3 ---
 include/configs/ls1021aiot.h                    |  1 -
 include/configs/ls1021aqds.h                    |  1 -
 include/configs/ls1021atsn.h                    |  1 -
 include/configs/ls1021atwr.h                    |  1 -
 include/configs/ls1028a_common.h                |  3 ---
 include/configs/ls1043a_common.h                |  3 ---
 include/configs/ls1046a_common.h                |  3 ---
 include/configs/ls1088aqds.h                    |  1 -
 include/configs/ls1088ardb.h                    |  1 -
 include/configs/ls2080a_common.h                |  2 --
 include/configs/lx2160a_common.h                |  1 -
 include/configs/mt8183.h                        |  1 -
 include/configs/mt8512.h                        |  1 -
 include/configs/mt8516.h                        |  1 -
 include/configs/mt8518.h                        |  1 -
 include/configs/mx6_common.h                    |  1 -
 include/configs/mx7_common.h                    |  1 -
 include/configs/owl-common.h                    |  3 ---
 include/configs/p2371-2180.h                    |  3 ---
 include/configs/p2771-0000.h                    |  3 ---
 include/configs/p3450-0000.h                    |  3 ---
 include/configs/presidio_asic.h                 |  3 +--
 include/configs/px30_common.h                   |  1 -
 include/configs/rk3036_common.h                 |  1 -
 include/configs/rk3128_common.h                 |  1 -
 include/configs/rk322x_common.h                 |  1 -
 include/configs/rk3288_common.h                 |  1 -
 include/configs/rk3308_common.h                 |  1 -
 include/configs/rk3328_common.h                 |  1 -
 include/configs/rk3368_common.h                 |  1 -
 include/configs/rk3399_common.h                 |  1 -
 include/configs/rk3568_common.h                 |  1 -
 include/configs/salvator-x.h                    |  3 ---
 include/configs/sdm845.h                        |  3 ---
 include/configs/silinux-ek874.h                 |  3 ---
 include/configs/socfpga_soc64_common.h          |  5 -----
 include/configs/sunxi-common.h                  |  1 -
 include/configs/ten64.h                         |  1 -
 include/configs/thunderx_88xx.h                 |  3 ---
 include/configs/ulcb.h                          |  3 ---
 include/configs/vexpress_aemv8.h                |  3 ---
 include/configs/xilinx_versal.h                 |  5 -----
 include/configs/xilinx_zynqmp.h                 |  5 -----
 196 files changed, 150 insertions(+), 167 deletions(-)

-- 
2.35.1


             reply	other threads:[~2022-04-13  9:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13  9:47 Peng Fan (OSS) [this message]
2022-04-13  9:47 ` [PATCH V4 1/6] xilinx: versal: board: use CONFIG_COUNTER_FREQUENCY Peng Fan (OSS)
2022-04-21 23:57   ` Tom Rini
2022-04-13  9:47 ` [PATCH V4 2/6] arch: arm: move COUNTER_FREQUENCY from versal to arm Peng Fan (OSS)
2022-04-21 23:57   ` Tom Rini
2022-04-13  9:47 ` [PATCH V4 3/6] arch: arm: Kconfig: set default COUNTER_FREQUENCY Peng Fan (OSS)
2022-04-21 23:57   ` Tom Rini
2022-04-13  9:47 ` [PATCH V4 4/6] configs: set CONFIG_COUNTER_FREQUENCY Peng Fan (OSS)
2022-04-21 23:57   ` Tom Rini
2022-04-13  9:47 ` [PATCH V4 5/6] include/configs: drop COUNTER_FREQUENCY Peng Fan (OSS)
2022-04-21 23:57   ` Tom Rini
2022-04-13  9:47 ` [PATCH V4 6/6] arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid Peng Fan (OSS)
2022-04-13  9:13   ` Philipp Tomsich
2022-04-21 23:57   ` Tom Rini

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=20220413094726.32199-1-peng.fan@oss.nxp.com \
    --to=peng.fan@oss.nxp.com \
    --cc=peng.fan@nxp.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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.