x86, amd: Do not enable ARAT feature on AMD processors below family 0x12
x86, amd: Do not enable ARAT feature on AMD processors below family 0x12

Commit b87cf80af3ba4b4c008b4face3c68d604e1715c6 added support for
ARAT (Always Running APIC timer) on AMD processors that are not
affected by erratum 400. This erratum is present on certain processor
families and prevents APIC timer from waking up the CPU when it
is in a deep C state, including C1E state.

Determining whether a processor is affected by this erratum may
have some corner cases and handling these cases is somewhat
complicated. In the interest of simplicity we won't claim ARAT
support on processor families below 0x12 and will go back to
broadcasting timer when going idle.

Signed-off-by: Boris Ostrovsky <d63e63e827a90cc302fb1ca9715a3ec2b01e6461@amd64.org>
Link: http://lkml.kernel.org/r/1306423192-19774-1-git-send-email-d63e63e827a90cc302fb1ca9715a3ec2b01e6461@amd64.org
Tested-by: Boris Petkov <2b4cb5acba6b5321acd37371d9b73a646c388783@amd.com>
Cc: Hans Rosenfeld <44fa358fece04bbfd2aa2845d9a64c547579b8f8@amd.com>
Cc: Andreas Herrmann <46548b47228581be754daebd09369bd5989acf99@amd.com>
Cc: Chuck Ebbert <e088b27959f7aada4446330b8532a49988cf2997@redhat.com>
Cc: 4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@kernel.org # 32.x, 38.x, 39.x
Signed-off-by: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@linux.intel.com>

KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs