Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752551AbbKJLs5 (ORCPT ); Tue, 10 Nov 2015 06:48:57 -0500 Received: from mail.skyhub.de ([78.46.96.112]:40453 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751129AbbKJLs4 (ORCPT ); Tue, 10 Nov 2015 06:48:56 -0500 From: Borislav Petkov To: X86 ML Cc: LKML , Peter Zijlstra , Andy Lutomirski Subject: [RFC PATCH 0/3] x86/cpufeature: Cleanup stuff Date: Tue, 10 Nov 2015 12:48:39 +0100 Message-Id: <1447156122-9379-1-git-send-email-bp@alien8.de> X-Mailer: git-send-email 2.3.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2103 Lines: 52 From: Borislav Petkov Hi all, so this should take care of cleaning up some aspects of our cpufeatures handling. Patches should be pretty self-explanatory but let me send them out as an RFC - I might've missed something obvious of the sort "but but, you can't do that..." Thanks. Borislav Petkov (3): x86/cpufeature: Move some of the scattered feature bits to x86_capability x86/cpufeature: Cleanup get_cpu_cap() x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros arch/x86/crypto/chacha20_glue.c | 2 +- arch/x86/crypto/crc32c-intel_glue.c | 3 +- arch/x86/include/asm/cmpxchg_32.h | 2 +- arch/x86/include/asm/cpufeature.h | 106 +++++++++++++++------------- arch/x86/include/asm/smp.h | 2 +- arch/x86/kernel/cpu/amd.c | 2 +- arch/x86/kernel/cpu/centaur.c | 2 +- arch/x86/kernel/cpu/common.c | 48 +++++++------ arch/x86/kernel/cpu/intel.c | 3 +- arch/x86/kernel/cpu/mtrr/generic.c | 2 +- arch/x86/kernel/cpu/mtrr/main.c | 2 +- arch/x86/kernel/cpu/perf_event_amd.c | 4 +- arch/x86/kernel/cpu/perf_event_amd_uncore.c | 8 +-- arch/x86/kernel/cpu/scattered.c | 20 ------ arch/x86/kernel/cpu/transmeta.c | 4 +- arch/x86/kernel/fpu/init.c | 4 +- arch/x86/kernel/hw_breakpoint.c | 3 +- arch/x86/kernel/vm86_32.c | 4 +- arch/x86/mm/setup_nx.c | 4 +- drivers/char/hw_random/via-rng.c | 5 +- drivers/crypto/padlock-aes.c | 2 +- drivers/crypto/padlock-sha.c | 3 +- fs/btrfs/disk-io.c | 2 +- 23 files changed, 115 insertions(+), 122 deletions(-) -- 2.3.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/