Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2299749rwn; Fri, 9 Sep 2022 11:22:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR7V3p/gfiWKa35e7mA8TqNsZciD+Gi6TNmvZjexuygVPiTY4AROSEKzmb85H3qpAN0coGyd X-Received: by 2002:a05:6a00:174f:b0:537:6845:8b1a with SMTP id j15-20020a056a00174f00b0053768458b1amr16000402pfc.68.1662747725454; Fri, 09 Sep 2022 11:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662747725; cv=none; d=google.com; s=arc-20160816; b=Onm/AokFjkJDhh6O/yTk39cwa6aO9EdF1PcAox0Eb9rpckQbkcbF6fuHS0rmC/bfSQ 8y9mKDRsT7fPvFKvVSY/2YKE6utIHXZK2yJBJa17Yt8KESBrLPmP7wQSVimAmYYbhcDz IcU/Fbs2+R15jiFcsLgBuaIZZScyvR1KBoWvDZ69kkBLEVbglQq7ZYCQvOYjkz4tyxuT wqahFQ5TDY3QAwLZYu4RZsLoPLv+joh2+FfGc3iygIq6+dIEpnx0uTjVuosWC6INgLMq t5sFe6h9zfbggl0QpLDpsp6BInSSgGyGsQQ21PO1CWckTOWFbn0ws7HZ2Ui8hUUoA0nw T+pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=rxZdlbBZMQGTnUcVjenJDy4PVnCykuBlujxsbzkyPcc=; b=dpsKUS7lJiGuENdCSv6pnGj0kJlw4Me2daHyOcXdtTy/X/leirooudCBvKhQa49C+L hdXRq6YkuAxuH2oAv+EhLelSmTUG+2PGQLnhpjROV9bREPD9c3MMOUT42y5V72AZQnb8 yRROX3hTlSu6JZk/KowoR9imI3ePCSXhehSybfzKD53Dr6qvHXO9Be+CH9N8bbHMnFhl 8lKulvBX/Vff+k7qiXxbm7Igbf9VR+SB9Kv+ZxW6TxXh8vcrN8qIIcghOmIu/8oV6pDB d4chw9/3fqk9H+fKCa+KFlTntDdtT/KkzhK6af16P8IvBubMIo/ql23mdvCMbAmeWqqP 9v3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a12-20020a170903100c00b00172f6726d91si1012449plb.565.2022.09.09.11.21.53; Fri, 09 Sep 2022 11:22:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230165AbiIISIN (ORCPT + 99 others); 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 X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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