• armv8 smpen设置


    cpuectlr ---CPU Extended Control Register, EL1
    ------------Purpose Provides additional IMPLEMENTATION DEFINED configuration and control options for the processor.



    多核使能 smpen BIT6
    [6] SMPEN Enable hardware management of data coherency with other cores in the cluster. The possible values are:
    0 Disables data coherency with other cores in the cluster. This is the reset value.
    1 Enables data coherency with other cores in the cluster.

    Note
    Set the SMPEN bit before enabling the caches, even if there is only one core in the system.


    [5:3] - Advanced SIMD and Floating-point retention control. The possible values are:
    0b000 Disable the retention circuit. This is the reset value.
    0b001 2 Architectural Timer ticks are required before retention entry.
    0b010 8 Architectural Timer ticks are required before retention entry.
    0b011 32 Architectural Timer ticks are required before retention entry.
    0b100 64 Architectural Timer ticks are required before retention entry.
    0b101 128 Architectural Timer ticks are required before retention entry.
    0b110 256 Architectural Timer ticks are required before retention entry.
    0b111 512 Architectural Timer ticks are required before retention entry.


    [2:0] - CPU retention control. The possible values are:
    0b000 Disable the retention circuit. This is the reset value.
    0b001 2 Architectural Timer ticks are required before retention entry.
    0b010 8 Architectural Timer ticks are required before retention entry.
    0b011 32 Architectural Timer ticks are required before retention entry.
    0b100 64 Architectural Timer ticks are required before retention entry.
    0b101 128 Architectural Timer ticks are required before retention entry.
    0b110 256 Architectural Timer ticks are required before retention entry.
    0b111 512 Architectural Timer ticks are required before retention entry.

     

  • 相关阅读:
    【Shell 脚本速成】04、Shell 脚本格式化输出与用户交互
    【MindSpore易点通】性能调试经验总结下篇
    SpringCloudAlibaba-Sentinel流量监控
    Paimon读取流程
    沃趣QFusion-备份与还原
    2022年,计算机视觉最常用的Python库
    Netty03——进阶
    MySQL Workbench 8.0 CE 汉化包下载
    Java实现WebSocket客户端和服务端(简单版)
    string的简单介绍和模拟实现
  • 原文地址:https://blog.csdn.net/xuelin273/article/details/126756413