From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD0F5ECAAD3 for ; Fri, 9 Sep 2022 18:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231771AbiIISIN (ORCPT ); Fri, 9 Sep 2022 14:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231358AbiIISIK (ORCPT ); Fri, 9 Sep 2022 14:08:10 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A0FAEB2FD for ; Fri, 9 Sep 2022 11:08:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 83FDECE240A for ; Fri, 9 Sep 2022 18:08:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26174C433D7; Fri, 9 Sep 2022 18:08:03 +0000 (UTC) From: Catalin Marinas To: james.morse@arm.com, will@kernel.org, Liu Song Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] arm64: spectre: increase parameters that can be used to turn off bhb mitigation individually Date: Fri, 9 Sep 2022 19:08:01 +0100 Message-Id: <166274687150.1011948.15499044427739964990.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <1661514050-22263-1-git-send-email-liusong@linux.alibaba.com> References: <1661514050-22263-1-git-send-email-liusong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Aug 2022 19:40:50 +0800, Liu Song wrote: > From: Liu Song > > In our environment, it was found that the mitigation BHB has a great > impact on the benchmark performance. For example, in the lmbench test, > the "process fork && exit" test performance drops by 20%. > So it is necessary to have the ability to turn off the mitigation > individually through cmdline, thus avoiding having to compile the > kernel by adjusting the config. > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64: spectre: increase parameters that can be used to turn off bhb mitigation individually https://git.kernel.org/arm64/c/877ace9eab7d -- Catalin