Lines Matching +full:a +full:- +full:bit
3 (skiboot/doc/device-tree/ibm,powerpc-cpu-features/binding.txt)
9 ibm,powerpc-cpu-features binding
19 /cpus/ibm,powerpc-cpu-features node binding
20 -------------------------------------------
22 Node: ibm,powerpc-cpu-features
26 The node name must be "ibm,powerpc-cpu-features".
28 It is implemented as a child of the node "/cpus", but this must not be
35 - compatible
38 Definition: "ibm,powerpc-cpu-features"
42 be extended in a backward compatible manner which would not warrant a
45 - isa
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".
73 Description: A feature or capability supported by the CPUs.
75 The name of the node is a human readable string that forms the interface
83 - isa
90 environment to a particular ISA version.
94 - usable-privilege
96 Value type: <u32> bit mask
98 Bit numbers are LSB0
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
112 Value type: <u32> bit mask
114 Bit numbers are LSB0
115 bit 0 - HFSCR
125 If the HFSCR bit is set, then the hfscr-bit-nr property will exist and
126 the feature may be enabled by setting this bit in the HFSCR register.
129 - os-support
131 Value type: <u32> bit mask
133 Bit numbers are LSB0
134 bit 0 - FSCR
144 If the FSCR bit is set, then the fscr-bit-nr property will exist and
145 the feature may be enabled by setting this bit in the FSCR register.
148 - hfscr-bit-nr
151 Definition: HFSCR bit position (LSB0)
153 This property exists when the hv-support property HFSCR bit is set. This
154 property describes the bit number in the HFSCR register that the
157 This property also exists if an HFSCR bit corresponds with this feature.
161 - fscr-bit-nr
164 Definition: FSCR bit position (LSB0)
166 This property exists when the os-support property FSCR bit is set. This
167 property describes the bit number in the FSCR register that the
170 This property also exists if an FSCR bit corresponds with this feature.
174 - hwcap-bit-nr
177 Definition: Linux ELF AUX vector bit position (LSB0)
179 This property may exist when the usable-privilege property value has PR bit set.
180 This property describes the bit number that should be set in the ELF AUX
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
185 may provide a number of unassigned hardware capability bits to allow for new
189 advertised to userspace without a one-to-one hwcap bit number may not specify
190 this bit. Operating system will handle those bits specifically. All new
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>;