Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2001779rdb; Thu, 17 Aug 2023 08:05:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRGs5E2b0Yh28Lc4PH/hf3UQ+SUwvSRaclPO3tZR/PRz/MUrJmIQEXyjESX/0wxaOTHfy6 X-Received: by 2002:a17:906:308d:b0:965:fb87:4215 with SMTP id 13-20020a170906308d00b00965fb874215mr4076822ejv.15.1692284736717; Thu, 17 Aug 2023 08:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692284736; cv=none; d=google.com; s=arc-20160816; b=Q/lJ64HDcp6nwdEt/Q1B1HDUS3iB2j7eSjSXQntoEdQOoPpj2CHi7ycQ/9UndGVOxs vs9ezVLP1j5MD7irvfsRSwLcovQ/8kilutGNgWoq8zoII3MtWhupQUZKqw1OnZkT9WNU zZDbVN/fLWcPaM5pHWMGpWGQ4YfjaV3Wv8rvzFQoj0QIZe9mIdWRZtSQlwBczqdrwO59 jgnbKJUgjQLhIAn/hg0sKvHVGyRKDDrbfr4OEbqazXVm3S5HzDSWj5bn/LJjla/Hu83X HWbYP6yNnxAH8Tmjujh2M/NqfGeq1Vf1b+e3aTy/3xQrUWFLz/eIpqLAIRIJStlFPxy9 CnIg== 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=qLqdLyC0CfmA2J0dw0Evrrzi0/znUiK60bz7XK3ucwA=; fh=EjVQb5UrEvK7Rg0MTmtY1GSy/GkeWaJdILcvWDbB+NU=; b=moQEMeFOZeDQiV9J7K/HvBLqrNSd2IXrOnCu61bK7ZOPIV8fpAkSD1ed7umCDBkwba cT9NvAaUbtOzRcDjsjl6An+IY7kGubY+H8MsE5Y/1t/wkV3LDH+1GQrna+SKv7uhWaM/ sPlHj67HcB7+DteOJQa+JEvB+6uM8ZZBcwwTb9MhkgBuVSZNFpRRgWvPtg7otEvkHWQP ruM6x42Atw21Jmi/Zg+FffF/3gRQgyZg+1jukAHgmC9rJ9VUrx/xP/ZmhNe658Bn3HZZ EXzQLQOPmqlQSLLZOdq+A9SQcNFXe/mggSYrc5x/ErhHO+JDJbvguzALlzEijxeoX+yw BqNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lcSLThgN; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020a170906469200b00992ee06bddbsi12659445ejr.176.2023.08.17.08.04.34; Thu, 17 Aug 2023 08:05:36 -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=@kernel.org header.s=k20201202 header.b=lcSLThgN; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345747AbjHPTaX (ORCPT + 99 others); Wed, 16 Aug 2023 15:30:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345834AbjHPTaP (ORCPT ); Wed, 16 Aug 2023 15:30:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 945241FCE; Wed, 16 Aug 2023 12:30:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2572464D67; Wed, 16 Aug 2023 19:30:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 318DFC433C8; Wed, 16 Aug 2023 19:30:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692214213; bh=oIxXPaRIkqCs8i/I4FiyhBgLLNGKo7/+cPI6zzKccDw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lcSLThgNYCp/e549tRzEMjqQsXxX6lR7RH8XzGvLbNgS4WMhq+LkMt7U4RzzvH4Ll IDmqDGLPWMotMCbwi/DBjRjACaOYDh1xSoME44g0KSaJ6ryaI8TfZ2RcIdXqmacUNQ 9pjygPjFBhaVh0nan2NWa97vebD5x1wkclULZ89/Rr+9El2JWbNUWyq1AvLDDBcxut L40/qo204bNMzL/dmA92SEzHlbll86s8JJuZHMjybPF4LU5Q5rOsX56xw1MLiITg9j 3bKHzGn8xSHelx1r3grDUhbYXnd+f7YDWwJWloO8mlDzXsZ4qZZPaHHhFtHlRbzH10 3Hm/NEvXW8m1g== Date: Wed, 16 Aug 2023 12:30:11 -0700 From: Nathan Chancellor To: Borislav Petkov Cc: Peter Zijlstra , linux-tip-commits@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [tip: x86/urgent] x86/cpu: Clean up SRSO return thunk mess Message-ID: <20230816193011.GA855169@dev-arch.thelio-3990X> References: <20230814121148.842775684@infradead.org> <169217251663.27769.14430226618442726061.tip-bot2@tip-bot2> <20230816185839.GA3843691@dev-arch.thelio-3990X> <20230816192413.GPZN0iXRRpOGKVMm47@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230816192413.GPZN0iXRRpOGKVMm47@fat_crate.local> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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, Aug 16, 2023 at 09:24:13PM +0200, Borislav Petkov wrote: > On Wed, Aug 16, 2023 at 11:58:39AM -0700, Nathan Chancellor wrote: > > but it obviously gets fixed by commit a3fd3ac0a605 ("x86/cpu: Rename > > srso_(.*)_alias to srso_alias_\1") so it is probably fine. I only > > noticed it because I cherry-picked the first five changes to my patched > > -next tree. > > Gah, and I meant to merge that hunk into the right one when fixing the > 32-bit builds. Heh, fixups are always hard to get right across multiple patches, been there, done that... > So how did you trigger it? You do builds of every patch? Because that's > the !CONFIG_CPU_SRSO case. Just ARCH=i386 allmodconfig. CONFIG_CPU_SRSO depends on X86_64 so I guess that is how it got triggered. I did not build between every patch, just this one (since it should fix the runtime warning folks have been noticing) and the final one (as I reported earlier). > Oh well, lemme rebase and fix it. > > Thx for letting me know. No problem, hopefully most of the hard work around SRSO is behind us :) Cheers, Nathan