Message ID | 20230116142533.905102512@infradead.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1232333wrn; Mon, 16 Jan 2023 06:53:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXsy58XtiUU8rsHO/A9NlAKglIvNZtErZsrb4BeN7o1P08sayPnc3EJrmmvjr/wgfQ7MA7PF X-Received: by 2002:a05:6a00:44c4:b0:58d:97cd:b65a with SMTP id cv4-20020a056a0044c400b0058d97cdb65amr6454496pfb.26.1673880824661; Mon, 16 Jan 2023 06:53:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673880824; cv=none; d=google.com; s=arc-20160816; b=tz8kt/pJrYD64fdYo2iCCyvFr6uGWOJAmSmbPApwQounMacpuecPZqfhT3ARmIo+L9 7evlDdlFh2SnUkJjgf1KDRm5UQXu2DvDMTTcL/WY8fa/wPeQkDNxoXDE4EZMuH5m/G/2 LuMUiO7MsMgt4VXMt9AiV7oC/DIIu2li3ZDKuEbo/9TF5eKoCKBI3YkMIyFU5UWByAM0 JvGOYdX83ClfNFPUuaYlVRsu9Hf6EPu0OFg5P3Yb83x3iBn/2j9nkuztctmPzbGpd21V ZGMWyU+r9ixVD3kPubgkFntz9RUy1U9D/RviYsrans3p11PZLVuogQkZqIVrtCRgMFB0 Xo4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:user-agent:message-id :dkim-signature; bh=myQj/MBdPle3LrkO0rdNRoaNXUdtePdBjz6BKLQ5f+E=; b=HTdSDIMuRKzOGXTm4gPR5sh0dBO4Ot5QDSfeYOp+hQ971aECQgMl2Rn5IZ5uVyvD/W wVdu/Mia09bhfKmMM4hteZxKpEMbAmSjVbgvZn6LRlid2iEtcmJlLXgu8usOtYmW8Kja iVQ0Dj5pUsJNbOYgds9LtpnMKuruB06W8HRPhHqdVGOGBOcA1BwhrpHnHI4h8kla1SPl Io0ehDsf2iAwrC2VnTirK+8v1wO0eYIaAFUTdiWm9FJpqfBx5IUetCBOpnIkOsl1jXRA e4S7fxO3SWD48lN8AlhRiWV3roKj6nf1kpPpOAN6ntPFhlO+h4i0O7DNcBwiz1Rrs162 2jtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=FLqszaem; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a056a00089000b005750eab25bcsi32383781pfj.86.2023.01.16.06.53.33; Mon, 16 Jan 2023 06:53:44 -0800 (PST) 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=@infradead.org header.s=desiato.20200630 header.b=FLqszaem; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231375AbjAPOwx (ORCPT <rfc822;stefanalexe802@gmail.com> + 99 others); Mon, 16 Jan 2023 09:52:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231272AbjAPOwM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Jan 2023 09:52:12 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BB8A2BF12 for <linux-kernel@vger.kernel.org>; Mon, 16 Jan 2023 06:37:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Subject:Cc:To:From:Date:Message-ID: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=myQj/MBdPle3LrkO0rdNRoaNXUdtePdBjz6BKLQ5f+E=; b=FLqszaemcNeksY+EzWYCNg5GsL /G5G9NGNsU5jSnXxmUVfg9zG6N/3rGrhBPe83E3mCwQJwFiPtv8xLfUsSjfoBhZsvFtKTQ1zUjPJn loCzDMF4bI22KL1b9sTSVxk7fHjzXBVSse/Lwsv3dC7P30UtJgbySM1qUCQ7MOTR2TwOglVOWs9hT 33DfxsJhDNCZvED7aBcJBwNHXcILUuCh/DHiTwhRVuw4HWX/ilGletp3oUrAu2C5nKWm5xshkfTdK qREZO4eRXzw9xnacQMHb2wRGQM7vUlh1iTHsSlwu3j+0/G5iySYxx1czWr0FWKGo1MB1E/AVje45d zxW+5voA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pHQc7-005csx-17; Mon, 16 Jan 2023 14:37:32 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id E1E283007C5; Mon, 16 Jan 2023 15:37:38 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id A94B22081B292; Mon, 16 Jan 2023 15:37:38 +0100 (CET) Message-ID: <20230116142533.905102512@infradead.org> User-Agent: quilt/0.66 Date: Mon, 16 Jan 2023 15:25:33 +0100 From: Peter Zijlstra <peterz@infradead.org> To: x86@kernel.org, Joan Bruguera <joanbrugueram@gmail.com> Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, Juergen Gross <jgross@suse.com>, "Rafael J. Wysocki" <rafael@kernel.org>, xen-devel <xen-devel@lists.xenproject.org>, Jan Beulich <jbeulich@suse.com>, Roger Pau Monne <roger.pau@citrix.com>, Kees Cook <keescook@chromium.org>, mark.rutland@arm.com, Andrew Cooper <Andrew.Cooper3@citrix.com>, =?utf-8?b?SsO2cmcgUsO2ZGVs?= <joro@8bytes.org>, "H. Peter Anvin" <hpa@zytor.com> Subject: [PATCH v2 0/7] x86: retbleed=stuff fixes X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755191259511411883?= X-GMAIL-MSGID: =?utf-8?q?1755191259511411883?= |
Series |
x86: retbleed=stuff fixes
|
|
Message
Peter Zijlstra
Jan. 16, 2023, 2:25 p.m. UTC
Hi all, Patches to address the various callthunk fails reported by Joan. The first two patches are new (and I've temporarily dropped the restore_processor_state sealing). It is my understanding that AP bringup will always use the 16bit trampoline path, if this is not the case, please holler.
Comments
Thanks, I've been testing those patches on my real system (i5-7200U) for the last day with no problems so far, waking from s2ram works as well. I can also no longer see those `sarq $5, %gs:0x1337` with %gs=0 on QEMU. Regards, - Joan
On Mon, Jan 16, 2023 at 03:25:33PM +0100, Peter Zijlstra wrote: > Hi all, > > Patches to address the various callthunk fails reported by Joan. > > The first two patches are new (and I've temporarily dropped the > restore_processor_state sealing). > > It is my understanding that AP bringup will always use the 16bit trampoline > path, if this is not the case, please holler. Ping?