A53驱动如何配置pl310?
How A53 driver to configure pl310?
我没有找到任何 A53 平台正在使用 pl310 缓存控制器的信息。
我不确定使用像 pl310 这样的缓存控制器是否仍然是 A53 aarch64 平台的典型方式。
如果我的A53必须使用pl310,我如何在Linux下为它写驱动程序?许多 pl310 寄存器 "secure" 只写。
我不是 Linux 内核专家,但我想说 Linux、arch/arm/mm/cache-l2x0.c 中已经有适用于 PL310 和朋友的 "arm,pl310-cache"
兼容驱动程序。 =14=]
更新:这是一份已有五年历史的白皮书,但它是 does mention pl310。
但是l2c2x0驱动的内核文档有如下注释:
Note 1: The description in this document doesn't apply to integrated L2
cache controllers as found in e.g. Cortex-A15/A7/A57/A53. These
integrated L2 controllers are assumed to be all preconfigured by
early secure boot code. Thus no need to deal with their configuration
in the kernel at all.
我没有找到任何 A53 平台正在使用 pl310 缓存控制器的信息。
我不确定使用像 pl310 这样的缓存控制器是否仍然是 A53 aarch64 平台的典型方式。
如果我的A53必须使用pl310,我如何在Linux下为它写驱动程序?许多 pl310 寄存器 "secure" 只写。
我不是 Linux 内核专家,但我想说 Linux、arch/arm/mm/cache-l2x0.c 中已经有适用于 PL310 和朋友的 "arm,pl310-cache"
兼容驱动程序。 =14=]
更新:这是一份已有五年历史的白皮书,但它是 does mention pl310。
但是l2c2x0驱动的内核文档有如下注释:
Note 1: The description in this document doesn't apply to integrated L2
cache controllers as found in e.g. Cortex-A15/A7/A57/A53. These
integrated L2 controllers are assumed to be all preconfigured by
early secure boot code. Thus no need to deal with their configuration
in the kernel at all.