As discussed in Prague, with some minor add-ons (patch 2 replacing a much
older patch under the same title).
1: allow Kconfig control over psABI level
2: use POPCNT for hweight<N>() when available
3: short-circuit certain cpu_has_* when x86-64-v{2,3} are in effect
Jan