Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1285137pxb; Wed, 6 Apr 2022 13:43:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhGMd/U27cAQMJjuu9G03GsMqTSc+CFmbQ70zViZxsbBZD2LGBiMDy9+WnLpEVHFRqGROU X-Received: by 2002:a17:907:e89:b0:6db:af1f:5e22 with SMTP id ho9-20020a1709070e8900b006dbaf1f5e22mr10616991ejc.649.1649277831763; Wed, 06 Apr 2022 13:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649277831; cv=none; d=google.com; s=arc-20160816; b=yo1iRbWHG+km4Barh7ca/cIv7UnlbcY49L+fQ9gHRYhp22jcZpFcZbNwdTgO29lMtk jSTT+dQa3moX98+5TbBqsnagrP269sn/s9cB3YBIlzlC1UFMcJTfEddxFkjmqcN7iEjl LiXvUi2JxXupzZ7gqCNixG+qbM+df1KZJNe//gGYGDfaPbcFDg7/5aUmKoIcoYjU933B 0SPl6lp1P49cnzKNOjIibf6gZxnoNMo1nv5PesxDrIjiQPkeEqRZVUmydZpnztZ5lxGJ 1O69A4dWrWOON5+zvvdQMiWo/4+qT+dg/i/Hcn2QYGV8+YcR8wU0p+lOqrCIQQ0Joyqw Uptg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/r8elsjGE4Jaccnz6JGroLAZMMnGDTr1IuvLy7K0b/A=; b=rUMbn0DzXaIFh+ILydrhp8hebWQUwVNHHcNZ/e7R31o46rJPPlDgGa3emuD388Wlvh T2htjrFUEUDCyUFImta7FX0f2DwhH4jAxQA/m2KX0yjP7a8WkLeWzPSDUjfjtnyRoQ43 C4WIA9Ti3k9G3MTAzTbmC/PX4rlMpekNnzvcWCSaPVOA8tC6nI60EVpx9y1cMbnRNXQm yrxvx16ZAVwnXDU+v2bqiTLvDZTcZS822ZPp/zOKJuKs5C95+kgGdo3fIqi+uxt4y+xH l2A66fQq3t29HEOtEblXr/KpA7lUM43QKUDo0CIAy4JtMsQEoBN5q/C6K3WMKjUO6xku uI/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mHKkp1ZA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a170906084100b006df76385e2csi5295091ejd.716.2022.04.06.13.43.26; Wed, 06 Apr 2022 13:43:51 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mHKkp1ZA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233299AbiDFUIV (ORCPT + 99 others); Wed, 6 Apr 2022 16:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233989AbiDFUHn (ORCPT ); Wed, 6 Apr 2022 16:07:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE2191EB80E; Wed, 6 Apr 2022 11:25: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 dfw.source.kernel.org (Postfix) with ESMTPS id 676D461BCB; Wed, 6 Apr 2022 18:25:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 668CDC385A1; Wed, 6 Apr 2022 18:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649269508; bh=h0Z0L0ZDGEbBQuk3WdHulXymIEd5ewd1ReemHmyCpJM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mHKkp1ZA0QeEx3/Wtphc/0RuB65n17lCMQjfj9qrXDEsOd3rhwdRgI37gaPr7IAaC /AJkCqRH94OcnsNHp1Kf7dNRBOeEaVXmrLdl4IsqgWz1p7drBDI2jGJ1Mf8Nn5q8Ga D94kkQZuqQDmxUsFiXno1w+jpX3hVESkNWfwc8Co= Date: Wed, 6 Apr 2022 20:23:59 +0200 From: Greg KH To: James Morse Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Catalin Marinas Subject: Re: [stable:PATCH v4.9.309 00/43] arm64: Mitigate spectre style branch history side channels Message-ID: References: <20220406164217.1888053-1-james.morse@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220406164217.1888053-1-james.morse@arm.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Wed, Apr 06, 2022 at 05:41:34PM +0100, James Morse wrote: > Hello! > > Compared to the v4.14 backport, this backport for v4.9 includes extra > infrastructure for the arch timer driver, which is needed for the A76 timer > workaround, which is needed to cleanly pick up the A76 MIDR definition. > I didn't backport the Hisilicon 161010101 workaround as I'm unable to test it. > > I also backported the capabilities midr-range support, which the bhb > mitigation makes use of. Ard had already backported this to v4.14. > I ended up backporting Ard's version from v4.14 as it conflicted less, > and he had added A35 to the spectre-safe list. > > .. and then the Spectre-BHB bits, where as before the KVM stuff is > different to mainline as the infrastructure for doing this stuff is very > different. Looks great, many thanks for these! greg k-h