Lines Matching full:capability
117 * Each capability has the following list of attributes :
119 * 1) Scope of Detection : The system detects a given capability by
122 * model. The capability provides a call back ( @matches() ) to
129 * capability is finalised. (See section 2 below)
133 * system decides to finalise the state of the capability. If the
134 * capability relies on a field in one of the CPU ID feature
143 * The process of detection is usually denoted by "update" capability
147 * capability at some point during its execution and take necessary
154 * changes to the state of a capability once it finalises the capability
156 * safely. A CPU brought up after a capability is "finalised" is
157 * referred to as "Late CPU" w.r.t the capability. e.g, all secondary
178 * a) SCOPE_BOOT_CPU : All CPUs are verified against the capability
182 * user after the kernel boot are verified against the capability.
187 * capability, if it has not been finalised already. See section 5
191 * detected capability, on all CPUs on the system. Appropriate actions
195 * point. The actions are always initiated only after the capability
196 * is finalised. This is usally denoted by "enabling" the capability.
198 * a) Action is triggered on all online CPUs, after the capability is
206 * 5) Conflicts: Based on the state of the capability on a late CPU vs.
222 * Case (a) is not permitted for a capability that the system requires
223 * all CPUs to have in order for the capability to be enabled. This is
226 * Case (b) is not permitted for a capability that must be enabled
229 * enabled after the corresponding capability is finalised.
233 * or both flags in the capability's type field.
236 * ARM64_CPUCAP_PANIC_ON_CONFLICT flag is specified for the capability,
242 * Decide how the capability is detected.
249 * during early boot. i.e, the capability should be "detected" and
264 * Is it permitted for a late CPU to have this capability when system
268 /* Is it safe for a late CPU to miss this capability when system has it */
295 * capability to be advertised by cpus_have_*cap()!
304 * is not allowed to have the capability when the system doesn't have it.
313 * CPUs must match the state of the capability as detected by the boot CPU. In
330 u16 capability; member
334 * Take the appropriate actions to configure this capability
335 * for this CPU. If the capability is detected by the kernel
338 * capability is available on that specific CPU. This is
342 * is required only if the CPU has the capability, then the
368 * "capability" of the same "type" as described by the parent.
387 * of call backs, sharing the same capability bit.
446 * Test for a capability with a runtime check.
448 * Before the capability is detected, this returns false.
458 * Test for a capability without a runtime check.
473 * Test for a capability without a runtime check.
489 * Test for a capability, possibly with a runtime check for non-hyp code.
512 pr_warn("Attempt to set an illegal CPU capability (%d >= %d)\n", in cpus_set_cap()