Received: by 2002:a05:7412:9090:b0:ff:203f:1a00 with SMTP id cf16csp782377rdb; Wed, 14 Feb 2024 10:44:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUxuW+yQpCfvS7IBQCEKCHenio53SsyrpxV7S0yAwEBilRMZD5ZziPAYpHVtidSlwGrERTWauDN07gP9H5NvXH9qsNP9z3rYX+UUqWj4A== X-Google-Smtp-Source: AGHT+IGmHNvNaCiT4BASCtIx7DdpjC584sxZ23JUVqgG/o378doJuLMFpMb10nvFgsjaI3OqrTOs X-Received: by 2002:a0d:ea4b:0:b0:604:a566:2555 with SMTP id t72-20020a0dea4b000000b00604a5662555mr3256833ywe.6.1707936263067; Wed, 14 Feb 2024 10:44:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707936263; cv=pass; d=google.com; s=arc-20160816; b=S1XicrXYgG7G8o/uixD7Oq38+L9La7SFTY70tfV4BIl2Yo+dIr1u918QNeUp4uXWCm 9TUNVseab3UfpNYY/6Y4hyzxCGHXJYEsg0W29LvSiO/NhOZFIQlD2fFUb8kqMz4lnOP9 xiN1NnEi3qA3CNB8Hf8Q1OFuO9fEGdXSc/TguxQEhK2J45YIqEy5Gd6Fwb52waa7NLSa Qr/biedb8rEDd7YTfasIU+L1Ox11LHkOdrXP7BzL64tCoRRcTe/BHLsPsC8Al4fexYVa ehNmCbNbIuz1xwX6FpLqIHwwVZ4P2O7a4MNqscwIkbvYCIWF7EcRO8dOvrdGdYQZ1j4Y Ga8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=GqaxyVnmqOcpqixyynWKkEU90hzNVr8SECJt4qWMgW4=; fh=VdDyFDSBZPzIEbl41AXpJWg1R5H6eqvIvOFJvFrAZS8=; b=GfnZiNw3G7SYQMELamfJI+L495rsGtLOHLQwJfC6KrsCRDDB5gk6ox3fxH0b0Y8emv IjUiPaDLx3J0NXk8HqOoo1+BdwT/YYLyI+83oFrVBaeAr0RoXi2QI5PLPtA8opKIs+Do dbLWuIKd1BpcgMF0ulnbt/8IhvREm3X6jwAk6KAvfXrsjNrw4aq6Jgub1Lj9P+/XM/6z Ml7dT2fyeha4lmES3vYjqoGPMYUhiQgcgaviB+4YgQ8I87tu81Ae2WC3wQtRGHc9JUNM Rhw1FNkIY6kViA73GxbjmF8z1loKatxmHhIS/buKf1mseHxAhK2xQM0D8Gm8hYkALiEK 5eOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=GPYuxI1z; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-65824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65824-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCW3qR53bMbVxwqGJNb5r20KuNgCw8ykKDpF1Bw3yVhJNHulZ/i2ubAuDAJVIEIyJnquhSLwBpN9Qi3NA5q5DNTFsw2IKvZcm5olPlF2IQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h15-20020ac8548f000000b0042c68ba44d7si5656956qtq.803.2024.02.14.10.44.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:44:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=GPYuxI1z; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-65824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65824-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C077C1C274DB for ; Wed, 14 Feb 2024 18:44:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8609134CCA; Wed, 14 Feb 2024 18:44:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="GPYuxI1z" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C20C8604AB for ; Wed, 14 Feb 2024 18:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707936252; cv=none; b=Z69/OagRfbGYuYa68uDIRFS9klAIt4lvYojpnumHl7JlG4YpiSTBhIQz4YBHgXr9DyR89JVg0kMGCwZczDqG6f+DTA7Hxn3MGbDy4yKBcL+qaxVXL+ZTz3ZjeFnRqeRIEvWbPPreaEB9O296cru77tOml/rt6GKNRqlJX2j5uhc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707936252; c=relaxed/simple; bh=icjqOUBqDhvNqaJSlrDNjJyaZHw4wcNN655EoUeZaWE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=UfpMbYYHJqnzEE1zAd2MR2ssjAMfKilNFIxEUIL3l+/dZOetIpu/6SxKtQQ+suAazPeH/2jUlU3lqEO13NLVnxVChUV1oT/oiXKKGe+ojNkeGg6g6r6jblc7Dk+5MOSZ202E3Vw3ghIC6nhb2xwqCLW8vM/7K3E7bNRKiv+mL+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=GPYuxI1z; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-55a90a0a1a1so111626a12.0 for ; Wed, 14 Feb 2024 10:44:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1707936249; x=1708541049; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GqaxyVnmqOcpqixyynWKkEU90hzNVr8SECJt4qWMgW4=; b=GPYuxI1zMIQ9rrbFushFvsDTJQz7T1C8Ju0bpBZi3JHTN/5A0t57GoFBWH1nRCpgTN LUiU8mXvTJVSxl1fLDLO1KDJYge24RxJJvGkA/QQWUBNxRmVn68pG8ayCJO/B4g2ItVm x2Ep9gvgBvp43aRsynYMrOpDJ5DaJ9R+Y+hag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707936249; x=1708541049; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GqaxyVnmqOcpqixyynWKkEU90hzNVr8SECJt4qWMgW4=; b=hl+5x7LYA2qoq/hFrznyWiBwEGFWF9o0+YKcvrXFz8QJTfIAuOlwnp9d9alxaZhz0g q028+a52f/eSWsMix1dE7FJZO3MIJxDL86S7NdiNKvppSm0X+BRS0Cf+J06hd0sWjPKr SfOndHAMmudQQMQaBDXZO+OYNIpNYj16LE7ltFvP8u3aUrHdAzTKleQ+yCQ9gk8Wagv2 bIvg9Z0woLt6v27ungB0ZUYkwbnm8JD+4lNL3uYn4+1MxWKlmR7xYP8kip+lzu6jn7SU RxVOGh8MGbEtgOjY5ty1ojrbvtgqDt3AVvV5M1f9ZUQcVuuZzzA0V+YTYwUKNW6ZQb2s dmWg== X-Forwarded-Encrypted: i=1; AJvYcCUmQ607V/e0rmFUBdRBQWpNvBnlWgEywCCYF/q0bmT6OphthEfgbXmPvp1Z2UzfPojiIB1ScHHGE4t5qafhAg9kGRInBLDd3tzuZMSc X-Gm-Message-State: AOJu0YwA/nZrnWfbtBYlsutno3G8a8aDQFyq+/wi29DupA6tCQzp0/9i yRAObxdXv4HGBtvP12KVh/+Eo48thQngEmlRmBaVo4NTioeY9fpz8GWmYVFF+/xHNg0PV7x/I6Z CH8I= X-Received: by 2002:a17:906:260a:b0:a3c:c451:2115 with SMTP id h10-20020a170906260a00b00a3cc4512115mr2519783ejc.77.1707936248845; Wed, 14 Feb 2024 10:44:08 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUxu/j3d5jIBQDbvpRTBmpB/hhgxTYtOl5Mm4GJLVCebCgcNdSCG9fr2fqnVeZrKMraDtjmM/8kYgejowHQQssZJJZcvyd16x+ZkvKh Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com. [209.85.208.52]) by smtp.gmail.com with ESMTPSA id m8-20020a1709060d8800b00a3d47ee62c7sm821317eji.124.2024.02.14.10.44.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 10:44:07 -0800 (PST) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-558f523c072so82680a12.2 for ; Wed, 14 Feb 2024 10:44:07 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXBGJBCSNl4IWhWvwQ5mB9yeTXqpEHOTcP5l267UZbn+jIoWlk0GQJT658g9pqwEkTM6cgUcqo3PZ9WIKxV2ZV9QAYQoxCzli29ywF/ X-Received: by 2002:a05:6402:35c1:b0:563:2069:9555 with SMTP id z1-20020a05640235c100b0056320699555mr2778693edc.35.1707936247440; Wed, 14 Feb 2024 10:44:07 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240208220604.140859-1-seanjc@google.com> In-Reply-To: From: Linus Torvalds Date: Wed, 14 Feb 2024 10:43:50 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Kconfig: Explicitly disable asm goto w/ outputs on gcc-11 (and earlier) To: Uros Bizjak Cc: Nick Desaulniers , Jakub Jelinek , Sean Christopherson , "Andrew Pinski (QUIC)" , "linux-kernel@vger.kernel.org" , Masahiro Yamada , Peter Zijlstra , "kvm@vger.kernel.org" Content-Type: multipart/mixed; boundary="000000000000540e2206115be5e4" --000000000000540e2206115be5e4 Content-Type: text/plain; charset="UTF-8" On Sun, 11 Feb 2024 at 03:12, Uros Bizjak wrote: > > So, I'd suggest at least limit the workaround to known-bad compilers. Based on the current state of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113921 I would suggest this attached kernel patch, which makes the manual "volatile" the default case (since it should make no difference except for the known gcc issue), and limits the extra empty asm serialization to gcc versions older than 12.1.0. But Jakub is clearly currently trying to figure out exactly what was going wrong, so things may change. Maybe the commit he bisected to happened to just accidentally hide the real issue. Linus --000000000000540e2206115be5e4 Content-Type: text/x-patch; charset="US-ASCII"; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: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