요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
===================================================================
Power Architecture CPU Binding
Copyright 2013 Freescale Semiconductor Inc.
Power Architecture CPUs in Freescale SOCs are represented in device trees as
per the definition in the Devicetree Specification.
In addition to the Devicetree Specification definitions, the properties
defined below may be present on CPU nodes.
PROPERTIES
- fsl,eref-*
Usage: optional
Value type: <empty>
Definition: The EREF (EREF: A Programmer.s Reference Manual for
Freescale Power Architecture) defines the architecture for Freescale
Power CPUs. The EREF defines some architecture categories not defined
by the Power ISA. For these EREF-specific categories, the existence of
a property named fsl,eref-[CAT], where [CAT] is the abbreviated category
name with all uppercase letters converted to lowercase, indicates that
the category is supported by the implementation.
- fsl,portid-mapping
Usage: optional
Value type: <u32>
Definition: The Coherency Subdomain ID Port Mapping Registers and
Snoop ID Port Mapping registers, which are part of the CoreNet
Coherency fabric (CCF), provide a CoreNet Coherency Subdomain
ID/CoreNet Snoop ID to cpu mapping functions. Certain bits from
these registers should be set if the corresponding CPU should be
snooped. This property defines a bitmask which selects the bit
that should be set if this cpu should be snooped.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Power Architecture CPU binding
1-10Freescale SoC의 Power Architecture CPU는 Devicetree Specification 정의에 따라 Device Tree에 표현됩니다. 아래 속성은 specification의 정의에 추가로 CPU node에 존재할 수 있습니다.
EREF architecture category
11-23선택적 empty property `fsl,eref-*`는 Freescale Power Architecture용 EREF가 정의한 architecture category의 구현 지원 여부를 나타냅니다. EREF는 Power ISA가 정의하지 않는 일부 category를 정의합니다.
EREF 전용 category에서는 `fsl,eref-[CAT]`이라는 property가 있으면 그 category를 지원합니다. `[CAT]`은 축약 category 이름의 uppercase letter를 모두 lowercase로 바꾼 값입니다.
원문 L16의 `Programmer.s` 표기는 그대로 원문 영역에 보존되며, 번역에서는 `Programmer's Reference Manual` 의미로 해석했습니다.
CCF port-ID snoop mapping
24-33선택적 u32 `fsl,portid-mapping`은 CPU snoop mapping용 bitmask입니다. CCF의 Coherency Subdomain ID Port Mapping Register와 Snoop ID Port Mapping Register는 CoreNet Coherency Subdomain ID 또는 Snoop ID를 CPU에 map합니다.
대응 CPU가 snoop되어야 하면 이 register의 특정 bit를 설정해야 합니다. 이 property는 해당 CPU를 snoop할 때 설정할 bit를 선택합니다.
요약과 해설
cpus.txt:1-33두 optional property의 naming·bitmask 의미를 정리합니다.