요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
========================================================
Secondary CPU enable-method "marvell,berlin-smp" binding
========================================================
This document describes the "marvell,berlin-smp" method for enabling secondary
CPUs. To apply to all CPUs, a single "marvell,berlin-smp" enable method should
be defined in the "cpus" node.
Enable method name: "marvell,berlin-smp"
Compatible machines: "marvell,berlin2" and "marvell,berlin2q"
Compatible CPUs: "marvell,pj4b" and "arm,cortex-a9"
Related properties: (none)
Note:
This enable method needs valid nodes compatible with "arm,cortex-a9-scu" and
"marvell,berlin-cpu-ctrl"[1].
Example:
cpus {
#address-cells = <1>;
#size-cells = <0>;
enable-method = "marvell,berlin-smp";
cpu@0 {
compatible = "marvell,pj4b";
device_type = "cpu";
next-level-cache = <&l2>;
reg = <0>;
};
cpu@1 {
compatible = "marvell,pj4b";
device_type = "cpu";
next-level-cache = <&l2>;
reg = <1>;
};
};
--
[1] arm/marvell,berlin.txt
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Marvell Berlin secondary CPU enable method
1-17Secondary CPU enable-method `"marvell,berlin-smp"` binding
이 method로 secondary CPU를 활성화합니다. 모든 CPU에 적용하려면 `cpus` node에 단일 `marvell,berlin-smp` enable method를 정의해야 합니다.
Compatible machine은 `marvell,berlin2`와 `marvell,berlin2q`, compatible CPU는 `marvell,pj4b`와 `arm,cortex-a9`이며 관련 property는 없습니다.
이 method에는 `arm,cortex-a9-scu` 및 `marvell,berlin-cpu-ctrl`과 호환되는 유효한 node가 필요합니다.
Method, platform, CPU와 필수 control node를 정리합니다.
두 PJ4B CPU 구성과 reference
18-41다음 예는 두 `marvell,pj4b` CPU에 공통 enable method를 적용하고 두 CPU 모두 `next-level-cache = <&l2>`로 L2 cache를 참조하도록 구성합니다.
cpus {
#address-cells = <1>;
#size-cells = <0>;
enable-method = "marvell,berlin-smp";
cpu@0 {
compatible = "marvell,pj4b";
device_type = "cpu";
next-level-cache = <&l2>;
reg = <0>;
};
cpu@1 {
compatible = "marvell,pj4b";
device_type = "cpu";
next-level-cache = <&l2>;
reg = <1>;
};
};
Reference [1]: `arm/marvell,berlin.txt`
요약과 해설
marvell,berlin-smp:1-41Berlin SMP method는 Cortex-A9 SCU와 Berlin CPU control node를 필요로 하며 cpus node에 한 번 정의합니다.