Lines Matching full:capability
118 * Each capability has the following list of attributes :
120 * 1) Scope of Detection : The system detects a given capability by
123 * model. The capability provides a call back ( @matches() ) to
130 * capability is finalised. (See section 2 below)
134 * system decides to finalise the state of the capability. If the
135 * capability relies on a field in one of the CPU ID feature
144 * The process of detection is usually denoted by "update" capability
148 * capability at some point during its execution and take necessary
155 * changes to the state of a capability once it finalises the capability
157 * safely. A CPU brought up after a capability is "finalised" is
158 * referred to as "Late CPU" w.r.t the capability. e.g, all secondary
179 * a) SCOPE_BOOT_CPU : All CPUs are verified against the capability
183 * user after the kernel boot are verified against the capability.
188 * capability, if it has not been finalised already. See section 5
192 * detected capability, on all CPUs on the system. Appropriate actions
196 * point. The actions are always initiated only after the capability
197 * is finalised. This is usally denoted by "enabling" the capability.
199 * a) Action is triggered on all online CPUs, after the capability is
207 * 5) Conflicts: Based on the state of the capability on a late CPU vs.
223 * Case (a) is not permitted for a capability that the system requires
224 * all CPUs to have in order for the capability to be enabled. This is
227 * Case (b) is not permitted for a capability that must be enabled
230 * enabled after the corresponding capability is finalised.
234 * or both flags in the capability's type field.
237 * ARM64_CPUCAP_PANIC_ON_CONFLICT flag is specified for the capability,
243 * Decide how the capability is detected.
250 * during early boot. i.e, the capability should be "detected" and
265 * Is it permitted for a late CPU to have this capability when system
269 /* Is it safe for a late CPU to miss this capability when system has it */
296 * capability to be advertised by cpus_have_*cap()!
305 * is not allowed to have the capability when the system doesn't have it.
314 * CPUs must match the state of the capability as detected by the boot CPU. In
331 u16 capability; member
335 * Take the appropriate actions to configure this capability
336 * for this CPU. If the capability is detected by the kernel
339 * capability is available on that specific CPU. This is
343 * is required only if the CPU has the capability, then the
370 * "capability" of the same "type" as described by the parent.
389 * of call backs, sharing the same capability bit.
444 * Test for a capability with a runtime check.
446 * Before the capability is detected, this returns false.
456 * Test for a capability without a runtime check.
471 * Test for a capability without a runtime check.
487 * Test for a capability, possibly with a runtime check for non-hyp code.
510 pr_warn("Attempt to set an illegal CPU capability (%d >= %d)\n", in cpus_set_cap()