Lines Matching +full:cpu +full:- +full:nr
3 (skiboot/doc/device-tree/ibm,powerpc-cpu-features/binding.txt)
9 ibm,powerpc-cpu-features binding
12 This device tree binding describes CPU features available to software, with
19 /cpus/ibm,powerpc-cpu-features node binding
20 -------------------------------------------
22 Node: ibm,powerpc-cpu-features
24 Description: Container of CPU feature nodes.
26 The node name must be "ibm,powerpc-cpu-features".
35 - compatible
38 Definition: "ibm,powerpc-cpu-features"
45 - isa
50 isa that the CPU is currently running in. This provides instruction set
52 implementation that lacks the "transactional-memory" cpufeature node
59 - display-name
64 A human readable name for the CPU.
66 /cpus/ibm,powerpc-cpu-features/example-feature node bindings
67 ----------------------------------------------------------------
69 Each child node of cpu-features represents a CPU feature / capability.
71 Node: A string describing an architected CPU feature, e.g., "floating-point".
83 - isa
94 - usable-privilege
99 bit 0 - PR (problem state / user mode)
100 bit 1 - OS (privileged state)
101 bit 2 - HV (hypervisor state)
107 If bit 0 is set, then the hwcap-bit-nr property will exist.
110 - hv-support
115 bit 0 - HFSCR
125 If the HFSCR bit is set, then the hfscr-bit-nr property will exist and
129 - os-support
134 bit 0 - FSCR
144 If the FSCR bit is set, then the fscr-bit-nr property will exist and
148 - hfscr-bit-nr
153 This property exists when the hv-support property HFSCR bit is set. This
158 This makes CPU feature parsing slightly simpler.
161 - fscr-bit-nr
166 This property exists when the os-support property FSCR bit is set. This
171 This makes CPU feature parsing slightly simpler.
174 - hwcap-bit-nr
179 This property may exist when the usable-privilege property value has PR bit set.
182 Bits 0-31 correspond to bits 0-31 in AT_HWCAP vector. Bits 32-63 correspond
183 to 0-31 in AT_HWCAP2 vector, and so on. Missing AT_HWCAPx vectors implies
189 advertised to userspace without a one-to-one hwcap bit number may not specify
191 features usable by userspace will have a hwcap-bit-nr property.
194 - dependencies
196 Value type: <prop-encoded-array>
199 If this property exists then it is a list of phandles to cpu feature
204 -------
206 /cpus/ibm,powerpc-cpu-features {
207 compatible = "ibm,powerpc-cpu-features";
213 usable-privilege = <1 | 2 | 4>;
214 hwcap-bit-nr = <xx>;
219 usable-privilege = <1 | 2>;
220 os-support = <0>;
221 hwcap-bit-nr = <xx>;
226 usable-privilege = <2 | 4>;
227 hv-support = <0>;
228 os-support = <0>;
233 usable-privilege = <1 | 2 | 4>;
234 hv-support = <0>;
235 os-support = <0>;
236 hwcap-bit-nr = <xx>;
239 vsx2-newinsns {
241 usable-privilege = <1 | 2 | 4>;
242 os-support = <1>;
243 fscr-bit-nr = <xx>;
244 hwcap-bit-nr = <xx>;