Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp239292imi; Wed, 20 Jul 2022 22:41:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tdNrk9jy59D0T+2krIrTiqekiX8HH9vE1VxCfALjKWH1WZ/IxYAkhKOD5cJzY8Y8bGfp1S X-Received: by 2002:a50:fe89:0:b0:43b:22af:4c8b with SMTP id d9-20020a50fe89000000b0043b22af4c8bmr47678351edt.296.1658382116792; Wed, 20 Jul 2022 22:41:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658382116; cv=none; d=google.com; s=arc-20160816; b=WCpvBdsu4jQ/mRiVcFdTMcsTdfQ9o2PyNhsU4noNRKDG2+hKgr79b2Xlo5NAkaET9R g6unfEGCoUzm9XTpTMa+aFDc2iGKTsezlqzxR5W1IqxuJBWKR7o9Zjh9GXpVkHv37+m8 5RdH0YD5V4IS+RtJ3RGbsg6MWN5HXCX9J6ApUqapAWe1RtFcvdKvf/TzseNTG5516Ljc z1kN+wHmam14dm0fGg1tnT0+twdWG2O15yp8OuYjRiBAbZbYEaILsZI6u0fwwe6BgCwt Q5Oqvv2+G+g5TmURnXjefvxam3mCyWcM4HMW0KSdZ69bVWaRpyd8ZdV0LIYjlSYvNBoo 6vYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=J1bvvZ9k4n3TJaW7Z7M8+g3r4WQN4cV1OBvraMH0ynU=; b=xOUZL6vi6ekk4MCICz6IgstCalzvCL3CKV8PXoqWGwDD2Zef5VddpT4+jcdWe5JOTj V8HNEN9Q6WaTxXXa/2jSVx7cqn15LkRjYJT2W+ZxFe5FvlkqtVqJrt1rojeFSRjRyGxZ tT2Fo0QXBTJ4kuqhrfSNM6ZtwCCNvh0O/5Ht2q/chJ1tCo5wH3pzL+aHsUqCOhEqIYgZ NhHiP1YN5mEZxkOsMmEGFQeWeyKwFG3+U4U5+8qtBEUMaFLoEoJB6fknXe+XXtDIIR2P 6lViIMSe9QBXXxEtCiCAVrDtbkshFIaLf6M5o1s8Szp/rpmX+ny5msHw5T8P/dOuI81A 448g== 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=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 v8-20020aa7d808000000b0043a6fd52d9dsi1194124edq.392.2022.07.20.22.41.32; Wed, 20 Jul 2022 22:41:56 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230024AbiGUFbV (ORCPT + 99 others); Thu, 21 Jul 2022 01:31:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbiGUFbU (ORCPT ); Thu, 21 Jul 2022 01:31:20 -0400 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51AF518E3B; Wed, 20 Jul 2022 22:31:19 -0700 (PDT) Received: by mail-ed1-f41.google.com with SMTP id r6so804744edd.7; Wed, 20 Jul 2022 22:31:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=J1bvvZ9k4n3TJaW7Z7M8+g3r4WQN4cV1OBvraMH0ynU=; b=T2hLr37Y9ngRiZKNEHAN+JNLFShxE+KgxkyhmHVS6KXFtPYyGJyiM240dvdOH3EiL8 2y2Br1Ya+vmno6AplOYZlBXzosqoaGdEDmAyu5KIZvoIlP2hpmcvfG8pjRWxb2smbb+l 5NUCsmanmzLu6BmHDeDY1wEiXP9Yxy0SDcKQ95lBSxotO7+16RlP746apha3zz27k9Y4 IyizxYQ9ctjJnZcmeyrKBcjuE98EY9FZ5mqgIZcfuZ59l6TYTIPK5p7GICshn5JkcvON z2i5qbekcoQaoz3vv/uU4O1oS6I5+h23JUtVqj346w2ABwtrwAAJvdQ89mXOvUmQytLY wj1A== X-Gm-Message-State: AJIora9rIRUP6KEABN9V6piLM8SRyxHfyt9Y0vQg5nvbmi9rjAxl8Hpi xLNxJJ+/DIFPw9LulHsCyaQ= X-Received: by 2002:a05:6402:795:b0:43a:6cc5:8886 with SMTP id d21-20020a056402079500b0043a6cc58886mr54981089edy.174.1658381477644; Wed, 20 Jul 2022 22:31:17 -0700 (PDT) Received: from ?IPV6:2a0b:e7c0:0:107::70f? ([2a0b:e7c0:0:107::70f]) by smtp.gmail.com with ESMTPSA id g1-20020a17090604c100b006fe9f9d0938sm405786eja.175.2022.07.20.22.31.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Jul 2022 22:31:16 -0700 (PDT) Message-ID: <113dfa1e-49a0-2c70-68e0-c2230755143c@kernel.org> Date: Thu, 21 Jul 2022 07:31:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 5.18 000/231] 5.18.13-rc1 review Content-Language: en-US To: Peter Zijlstra , Justin Forbes Cc: Linus Torvalds , Naresh Kamboju , Greg Kroah-Hartman , Linux Kernel Mailing List , stable , Andrew Morton , Guenter Roeck , Shuah Khan , patches@kernelci.org, lkft-triage@lists.linaro.org, Pavel Machek , Jon Hunter , Florian Fainelli , Sudip Mukherjee , Slade Watkins , John Harrison , Tejas Upadhyay , Anusha Srivatsa , Jani Nikula , Daniele Ceraolo Spurio References: <20220719114714.247441733@linuxfoundation.org> From: Jiri Slaby In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no 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 21. 07. 22, 0:00, Peter Zijlstra wrote: > On Wed, Jul 20, 2022 at 11:47:02PM +0200, Peter Zijlstra wrote: >> On Wed, Jul 20, 2022 at 12:57:26PM -0500, Justin Forbes wrote: >>> On Wed, Jul 20, 2022 at 10:28:33AM -0700, Linus Torvalds wrote: >>>> [ Adding PeterZ and Jiri to the participants. ] >>>> >>>> Looks like 5.18.13 added that commit 9bb2ec608a20 ("objtool: Update >>>> Retpoline validation") but I don't see 3131ef39fb03 ("x86/asm/32: Fix >>>> ANNOTATE_UNRET_SAFE use on 32-bit") in that list. >>> >>> It should be noted that the build doesn't fail, it just warns. >>> I am guessing the 32bit failure is what promoted someone to look at >>> the logs to begin with and notice the warn initially. I just verified >>> that it exists in our builds of 5.18.13-rc1, but not on mainline builds. >>> I am gueesing it is because commit 9bb2ec608a20 ("objtool: Update Retpoline >>> validation") should be followed up with at least commit f43b9876e857c >>> ("x86/retbleed: Add fine grained Kconfig knobs") >> >> Still updateing the stable repro to see what the actual code looks like, >> but that warning seems to suggest the -mfunction-return=thunk-extern >> compiler argument went missing. >> >> For all the files objtool complains about, does the V=1 build output >> show that option? > > Ok, I'm now looking at stable-rc/linux-5.18.y which reports itself as: > > VERSION = 5 > PATCHLEVEL = 18 > SUBLEVEL = 13 > EXTRAVERSION = -rc1 > > and I'm most terribly confused... it has the objtool patch to validate > return thunks, *however*, I'm not seeing any actual retbleed mitigations > *anywhere*. > > How, what, why!? They were all put aside until all this gets resolved. You can find them in the stable-queue tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git in retbleed-5.18/. regards, -- js suse labs