From patchwork Wed Feb 21 18:18:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 10233801 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B0F7E6056F for ; Wed, 21 Feb 2018 18:19:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A46C62818E for ; Wed, 21 Feb 2018 18:19:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9912D281C3; Wed, 21 Feb 2018 18:19:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1717A281B7 for ; Wed, 21 Feb 2018 18:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Oi6q1lSlcwgSRkdsOizJU0/SW4tj1nB1PAhtZecEAL8=; b=pY0hE0bdA6mwQr20fRx+YE1/MB PzbxChMoqzfoOjTMktdq7F41RqTQhR77Qy443XgS34bXJJKR/t4N6/YfbH5QpzweOxj944RaHun0x 4nlDYc98u3LtJz88001B0McU6RiS0PkVPQ50AiHzErXLCpF1xQcyYD+8pBkubsdh/NisD0c2mei9h 2RoFJqMmkgE380YXcKzQ/vOny1QAToJOLHh+v2qJ3KDjLyHu8IKdVgtVRHKHSDZ0o1mJNlVskIaK2 IsNUAE1yQDN5tBHq8ewLbJO1EeAT/GQNJkBAvcSF3GBnlVFRiUlP6IhZzb9QQFuJgqBrF8pn3qQbL zHypJboA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eoYzC-0006NA-Ei; Wed, 21 Feb 2018 18:19:22 +0000 Received: from mail-pl0-x244.google.com ([2607:f8b0:400e:c01::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eoYyY-00062S-RA for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2018 18:18:45 +0000 Received: by mail-pl0-x244.google.com with SMTP id x19so1356444plr.13 for ; Wed, 21 Feb 2018 10:18:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ondKXFo8gyodYWKT++/isAfiY+wTf1Axdr2EDDXh5Rw=; b=ai6XfVimfa/k5lxMtwFQy1Y4/gxjJJMgpX1sxjQdSPK4kPyU6iekzzyoIRrSWwnmmf x25ZBLk3KJFQA8ijQHu0z8tlWsnMzCxpcmZPIt/ReLh4xRnmQpQomHF9d3PQD/OH/zDi sJt1H7VFm+6tCsrH7rs3Ajbg0LA9Y+I55oQeA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ondKXFo8gyodYWKT++/isAfiY+wTf1Axdr2EDDXh5Rw=; b=HMdGqtsiJOWYLVvoll4NcuOd5AFrNlYZzBF0DqQfAKA2XqPTr561caFE7RNN6dyw+X Lq5UHYJ/PvhFhWe9LDA9FkXOHe5QTe+wcir/ikkdFE0hbsxjdVBdzC0MEhtAWASmviqx /sYv3dTKANEXjGe6M+dGDGnzrxpeeq9eSZk9mXPNIcbjJ7aAUxPmdZ/FLtCkBOpiwMOz lBC24L9C05KC+vwXpOwhtw+dh+W8jk4CuJ6e5uGyfr+pz+0oYDjK78RVlNm1vFyFc3ON Aquw0gYhPCgCZIB3ouoPUoP3uQhAeLi1UnNzQjY0OKY2Tu3p0SNll5hQttJscxsL/8Wn ywhw== X-Gm-Message-State: APf1xPDKY/zuWw5XNsF5jit03dHmKD2L7eovoPtZlHT45d++sUe0viXy BgM7pWp0Z/oNhrv2vbZjg1ET+w== X-Google-Smtp-Source: AH8x224C+jKaUf2NuHRsGyaOpSscSrrFy2125pfvNqPvxoDuNCkvfBXnbUQbRNgKuH8OJ7pCVVCk4g== X-Received: by 2002:a17:902:be02:: with SMTP id r2-v6mr3996938pls.234.1519237111752; Wed, 21 Feb 2018 10:18:31 -0800 (PST) Received: from www.outflux.net (173-164-112-133-Oregon.hfc.comcastbusiness.net. [173.164.112.133]) by smtp.gmail.com with ESMTPSA id y14sm13603036pgs.70.2018.02.21.10.18.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 10:18:28 -0800 (PST) From: Kees Cook To: Catalin Marinas Subject: [PATCH v2 2/2] arm64: cpufeature: Remove redundant "feature" in reports Date: Wed, 21 Feb 2018 10:18:22 -0800 Message-Id: <1519237102-46854-3-git-send-email-keescook@chromium.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519237102-46854-1-git-send-email-keescook@chromium.org> References: <1519237102-46854-1-git-send-email-keescook@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180221_101842_902450_F367883C X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Kees Cook , Suzuki K Poulose , Will Deacon , linux-kernel@vger.kernel.org, Dave Martin , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The word "feature" is repeated in the CPU features reporting. This drops it for improved readability. Before (redundant "feature" word): SMP: Total of 4 processors activated. CPU features: detected feature: 32-bit EL0 Support CPU features: detected feature: Kernel page table isolation (KPTI) CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching CPU: All CPU(s) started at EL2 After: SMP: Total of 4 processors activated. CPU features: detected: 32-bit EL0 Support CPU features: detected: Kernel page table isolation (KPTI) CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching CPU: All CPU(s) started at EL2 Signed-off-by: Kees Cook Acked-by: Mark Rutland --- arch/arm64/kernel/cpufeature.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 61aff55245ea..6c799ca58b53 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -1357,7 +1357,7 @@ void check_local_cpu_capabilities(void) static void __init setup_feature_capabilities(void) { - update_cpu_capabilities(arm64_features, "detected feature:"); + update_cpu_capabilities(arm64_features, "detected:"); enable_cpu_capabilities(arm64_features); }