あかりラボ

七森中赤座あかり研究室の活動日記

aarch64 HCR_EL2.{CD, ID}

When the value of HCR_EL2.CD is 1:
— All stage 2 translations for data accesses to Normal memory are Non-cacheable.
— All accesses to the EL1&0 stage 2 translation tables are Non-cacheable.
• When the value of HCR_EL2.ID is 1:
— All stage 2 translations for instruction accesses to Normal memory are Non-cacheable.

CDを1にすると,

  • Stage 2変換を介してアクセスされる Normal Memory は全て Non-cacheable になる.

  • Stage 2変換テーブルへのアクセスは Non-cacheable になる.

IDを1にすると,

  • Stage 2変換を介した命令アクセスは全て Non-cacheable になる.

使い所がマジで分からん