Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2769039rdg; Mon, 16 Oct 2023 14:30:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEbuIK2MbriMN3x054yeU1yyJ7CI/Lq4Gs+oz/0+zfqLIxl96yljy9PY+bmQ1eoc5VxSoR0 X-Received: by 2002:a17:903:11c7:b0:1c3:2532:ac71 with SMTP id q7-20020a17090311c700b001c32532ac71mr569406plh.31.1697491850434; Mon, 16 Oct 2023 14:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697491850; cv=none; d=google.com; s=arc-20160816; b=og4zVt0NcdhpNwY4pcxdPUB1Js3B3Zknj7TQ+yeqfykhVgIw9tIcNYwH+Iof3wBwQK 0wna7DeQCo4S9vV5vAX5yJhjNhT5vDTt+8RNQPkLcTMe4g0lzMjfDa9BPFuXL8Ni62Hp hdZN3SDFwkgsfuqAqY9gQNhirRmzcCMLuxXeAyZHYjV5CAkmbHJczp6ThKb8CSYjXa/+ uE7AsZScIiSApfBa4EMNFXjNFJzPq/6L6gOd4WdB9cxgxo8I8FVBl2Cb9ApMdhE13QJE Tn/iwxj3tKl9BeThNONdww5GFmZkpq1LEg2+3wE7+VOfvTNfNH+wm2osUtdtRYWI8j7Y 6lwA== 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=S8Vd38o9HbunYA/2a9M5acr0sRPqT1bux7SnTWZ2pLs=; fh=ol2nAS7ysDhvOAv3MeI0VH6DqDPPCBf6Pso4CYAJZa0=; b=lDytI0v+SGrstllibejHUUIXZHuUGyHUVJrRO66321Y2KYtseeBvGw0NrOLUBio1U3 ct7aB5PD6kTqjIc9ZcNDGmOjAhJqeUk8rwdlcOjZ/RPkWRYZSow65HSrE2IjpmAf8K24 a6SRAFSpCekd+EA4s/ikwldwEbIL9xIrgpfSTtjqfgGnQxKrIzsP0XBZV/h+ekAY4jFJ nHiKyEQw9kVpvvVYOWBAw77zAaydndFJ1HMms0bVT2HljRpyeiIL3wZZW+OjUBlyAuGc EFriY7mYoCmLYkpNiUsytciZieAzgYKLnII17/e/V+JQqAFArkG8TA1bU7gHMcc3wrHj rAfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=dc98afUW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id f18-20020a170902ce9200b001c9948cbdd0si186563plg.515.2023.10.16.14.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 14:30:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=dc98afUW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 417C7807E468; Mon, 16 Oct 2023 14:30:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232577AbjJPVaF (ORCPT + 99 others); Mon, 16 Oct 2023 17:30:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233329AbjJPVaE (ORCPT ); Mon, 16 Oct 2023 17:30:04 -0400 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E167E1; Mon, 16 Oct 2023 14:30:03 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 157B840E01AA; Mon, 16 Oct 2023 21:30:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JSpJBMDPt_aK; Mon, 16 Oct 2023 21:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1697491799; bh=S8Vd38o9HbunYA/2a9M5acr0sRPqT1bux7SnTWZ2pLs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dc98afUWsuzI92wBlBM99irPrfDFRKziq5Z+a+IdeXOwFg1QxNbxnS8MHBqdFWqFD sB6b3g+hnAegNGuNTuq1pULqaOpudJL41qQiS2DJ1aKwRzSIh94RbKyp4yieBFSJZb Uec5ZMtKe6tXdAbxgY2GXNSJNjtLhd7PM/nixBgeuVNsvV1M6VEMzuHcf3jR8Ya+Q3 ypiqnu8Laht3u5/+5S4sJN4FpNtfFuqZBvtCdK/Ky2d3qj9LiSNuCJVan2ArWORV6e IzauhoFxuxExgn7IJ0fp/S9JHBpSQeQjPJedTcoq8A48L41XfR7tLmKk2GkedfnMsy 8EmoLi/IQv71UvW3nlRilKZg8jR5SF30Er9kz4q2eCdxH1Xd3d6rHRekzx7uxHxssb c79Ayfg7qAYHrgczmKYx7eKyyh729jKFEGL7UHmoO9kemqR+aAsqNmsrtBEzzhTj+v +58IOPXJMcB+R2EyzTpOstrTWE0ZLvEymN/2D6MnvXv4QfTbbsdwchv8gXUBprNrNU 6F6Il/QIfmS6gam1gzKXOZSGEA6BgqZLgKBRTLDr4czZoyjTPL3QbrIT7N/5Y8eZRZ lS8gYRvTodMP1By9eLXMHpTdoK1CUiX6EbZMBru/DbrSgb7085RSeQ/KXG0Jc/kbQ4 XaOvpzHkBmghGOgBB2M1s9ow= Received: from zn.tnic (pd953036a.dip0.t-ipconnect.de [217.83.3.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id E877440E014B; Mon, 16 Oct 2023 21:29:49 +0000 (UTC) Date: Mon, 16 Oct 2023 23:29:44 +0200 From: Borislav Petkov To: Nathan Chancellor Cc: linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, David Kaplan , Ingo Molnar , Josh Poimboeuf , "Peter Zijlstra (Intel)" , x86@kernel.org, llvm@lists.linux.dev Subject: Re: [tip: x86/bugs] x86/retpoline: Ensure default return thunk isn't used at runtime Message-ID: <20231016212944.GGZS2rSCbIsViqZBDe@fat_crate.local> References: <20231012141031.GHZSf+V1NjjUJTc9a9@fat_crate.local> <169713303534.3135.10558074245117750218.tip-bot2@tip-bot2> <20231016211040.GA3789555@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231016211040.GA3789555@dev-arch.thelio-3990X> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 16 Oct 2023 14:30:17 -0700 (PDT) On Mon, Oct 16, 2023 at 02:10:40PM -0700, Nathan Chancellor wrote: > I just bisected a boot failure that our continuous integration sees [1] > with x86_64_defconfig + CONFIG_KCSAN=y to this change in -tip/-next. It > does not appear to be clang specific, as I can reproduce it with GCC > 13.2.0 from kernel.org [2] (the rootfs is available at [3], if it is > necessary for reproducing). > > $ make -skj"$(nproc)" ARCH=x86_64 CROSS_COMPILE=x86_64-linux- defconfig > $ scripts/config -e KCSAN > $ make -skj"$(nproc)" ARCH=x86_64 CROSS_COMPILE=x86_64-linux- olddefconfig bzImage > $ qemu-system-x86_64 \ > -display none \ > -nodefaults \ > -d unimp,guest_errors \ > -append 'console=ttyS0 earlycon=uart8250,io,0x3f8' \ > -kernel arch/x86/boot/bzImage \ > -initrd x86_64-rootfs.cpio \ > -cpu host \ What's the host? > If there is any other information I can provide or patches I can test, I > am more than happy to do so. Yes, pls send your .config too because depending on the compiler, KCSAN does get disabled with older ones. So I guess it has to be gcc 13 or so. And full guest dmesg so that I can compare. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette