Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp266141imi; Wed, 20 Jul 2022 23:30:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vusVFhU7e5LMb65F0Kln8FpzK2c3cmHOX5Qahl0nksP73OL+j1H3OigJ6s+H9l18zKXYOo X-Received: by 2002:a05:6402:254c:b0:43a:9e77:3b29 with SMTP id l12-20020a056402254c00b0043a9e773b29mr54618459edb.356.1658385052812; Wed, 20 Jul 2022 23:30:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658385052; cv=none; d=google.com; s=arc-20160816; b=Tau6/jq6kLwebnEUGTKZgBvHSdjv56re/U4uSWd9NBBVcXzrF6InyX2d3MvzDoFj6k /HPLqY9U6JI+R5wbTVzm/QDl9eIABUDHsWjl0k3ec+MuFGY0/JlIAFOM9lTq3+l8BF8M QQ15MKGk4u8pU129W1LJoW7ETLrOs56LumeT1xyzHQJzvVtaDGtVaMUUwu5GucplwlAO PW/VL7STGERIfJ6QPdH1Aoq7GDcsOH1YSd+XDW7BFMYYuNHR9VesytIh6nRffPU2oq1W /K/AqC+6Fh2CmKzYpnrPMtFlycX/QEWQPbAoQNpdSU71mebnawcUfa7sMIVw/oqm73Md MpAA== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id; bh=YNme8fv36q78te0X+x31j3sefCz1PEJZIg9UxmBy0jw=; b=u1p2/8SMDNaR+IVpUPNMrDDpjUKpPk9bsZJHk3B1N0JJBuO6bqz4l2usC+9Bx04ufG 44Goz4xwaA/PjBd8hkMEKhF9Di6gbyOyoV/Y2jahveKdtUmbW9GYwnrLsruHXXiDZKFS YKGIJIQMiJOlX2VoJvVL3Vc1CvR4Cw/Y8FQwFvb/xPlO1uCXtMUojfhDvco7/fh9If47 iIgju4Tu+F7qQA1CLIskLUvNPGZ/PJEys7BL5Nam/gil8S/KqcRaDZKXn/nd2Qrnxr4J bsHw/nY7G9cDmqayukCTqHmud1LVf9niLlgGjZPGdyygoTUAvivg5cfyy6Qh35iaWRUl mC5A== 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 hp5-20020a1709073e0500b0072aef02b98fsi1624007ejc.994.2022.07.20.23.30.27; Wed, 20 Jul 2022 23:30:52 -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 S232036AbiGUGH6 (ORCPT + 99 others); Thu, 21 Jul 2022 02:07:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbiGUGH5 (ORCPT ); Thu, 21 Jul 2022 02:07:57 -0400 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4C707B1C8; Wed, 20 Jul 2022 23:07:54 -0700 (PDT) Received: by mail-ej1-f52.google.com with SMTP id b11so1300422eju.10; Wed, 20 Jul 2022 23:07:54 -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:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=YNme8fv36q78te0X+x31j3sefCz1PEJZIg9UxmBy0jw=; b=S4o6+MkL8N8taPN1VxX9BCSa3c700YzxdgFY0FxMMuOYy1dTvi5fZ93hrUdMRPQRs3 ozwr/2QXd2ZzIdPUKUlOS3l94YNBu+n7c3KtA/gdgTx7omUE0TF+CR8lVJnMr70ET3Lq 8EX5nSawJozGd9N+0mASoEDwClKlCyEb81/VqBxFN0GIUQt0qW/WK0DIHYCZ+RCiqd+O D5KAvJlhDD15eBlJyOA98t7JfO65pCtDycK8J4on7EZcd9ES1VarZP5sTNQEoVG7yKv3 MHySxvxorw5hRgPn6DbtXjd/ZdDzlLotiJOtgGLOeO/tYPZJE4sJMwhJZXWFZPcMijIJ WjGw== X-Gm-Message-State: AJIora/cdtGxZQJu/UtxKn69ANzjST7zGwrsD+v2cmNcgVsIoA/O3ERg mfw8eBsASygLFw1xPmtkAmU= X-Received: by 2002:a17:907:2d0e:b0:72b:4af7:7ccd with SMTP id gs14-20020a1709072d0e00b0072b4af77ccdmr38356818ejc.209.1658383673290; Wed, 20 Jul 2022 23:07:53 -0700 (PDT) Received: from ?IPV6:2a0b:e7c0:0:107::70f? ([2a0b:e7c0:0:107::70f]) by smtp.gmail.com with ESMTPSA id y10-20020a056402358a00b0043a8f5ad272sm453644edc.49.2022.07.20.23.07.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Jul 2022 23:07:52 -0700 (PDT) Message-ID: <4935d164-c99c-5e0d-f390-c86df1971166@kernel.org> Date: Thu, 21 Jul 2022 08:07:51 +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 From: Jiri Slaby 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> <113dfa1e-49a0-2c70-68e0-c2230755143c@kernel.org> In-Reply-To: <113dfa1e-49a0-2c70-68e0-c2230755143c@kernel.org> 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_H3,RCVD_IN_MSPIKE_WL, 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, 7:31, Jiri Slaby wrote: > 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/. Ah, apparently not all, as you noted above. But this is obviously a mistake: https://lore.kernel.org/all/YthbbBY4JumsBcHU@kroah.com/ > regards,-- -- js suse labs