x86/cpufeatures: Add FEATURE_ZEN
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 May 2018 14:26:00 +0000 (16:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 May 2018 16:54:05 +0000 (18:54 +0200)
commit7f1efb5e74e3e1a01b73d3364d223f71044f5049
treef547c44c334ae27ada87b8790ad731fc4e8e64a6
parentbbc0d1c335664660acc2c6e68901d350805a1ff1
x86/cpufeatures: Add FEATURE_ZEN

commit d1035d971829dcf80e8686ccde26f94b0a069472 upstream

Add a ZEN feature bit so family-dependent static_cpu_has() optimizations
can be built for ZEN.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/cpufeatures.h
arch/x86/kernel/cpu/amd.c