OSDN Git Service

arm64: capabilities: Unify the verification
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 26 Mar 2018 14:12:33 +0000 (15:12 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 26 Mar 2018 17:01:38 +0000 (18:01 +0100)
commiteaac4d83daa50fc1b9b7850346e9a62adfd4647e
tree2c3d41ead793654e0bd7672466173653e97a8838
parent5b4747c5dce7a873e1e7fe1608835825f714267a
arm64: capabilities: Unify the verification

Now that each capability describes how to treat the conflicts
of CPU cap state vs System wide cap state, we can unify the
verification logic to a single place.

Reviewed-by: Dave Martin <dave.martin@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpufeature.c