Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp805852pxb; Fri, 21 Jan 2022 03:52:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCot0vAda2/hx9TbWtQMHeVarj8K0HHw7F7jdOsfuo5y+innikwJ/uGobW/Qc6W4gRXiTC X-Received: by 2002:a17:902:9a4b:b0:14a:b17e:b2a5 with SMTP id x11-20020a1709029a4b00b0014ab17eb2a5mr3631040plv.105.1642765950822; Fri, 21 Jan 2022 03:52:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642765950; cv=none; d=google.com; s=arc-20160816; b=I0XkzWMh19jU0lpggbwHjzuK1N7UbXmfJkiLibszZRu1dQodMekSWUfUzLkUY0GZHf Ymn2idudbkEraN+tNt69anHglo8EvFTcdY/m1/Fq6Hbo0H6AXnBIJd5xEsdm0y099Xet DfP5DFT20AHHuKgLfJKQc6lSFgK7LciVnB5k2XaWxeaAKhkIXac6kmdJjHeQe8IXL/Er WhiUrCFHXG9ZYoaWzYnxokRASKUZGX6A92DUBhwj6/RlbNbaWZKHftnSgBaRWW5I47/5 ZjMqxXDg2m3jfGF0WO3di1SKgLA1FtM53JsXCIRLIdW2+L08OlR34c+1Y/F67rRX+BbE vTzg== 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=ZgKZ23T/1gGugaFxB9VsyewKILJfjmGgGnZBi4guEjM=; b=WV1k/tn4Cz8LxykBLwL7UbojpjO/r1xatp/WVgu8JwIOmfX4zaLEZRtqOxGjqoJSHo xxVOk1FD5W/l6shRsb/DR6wh/Ys46jPjWhHZ4u1G57UHHU4qlp+tIEtWF0TaocwKzwFM FMzgpO9n9zq5LBob0p97uZ12FzCwEsQQrqUjqoUJXedbTvTDKWgzB8/AU2URjMBInHdB RSpj8u5E9uzz3yvNYFSG+yRw1nmnj1dyFsDGnX1cjVzWphHRJVHXnkMIy8JVysvkFDfF 0YF6JGc4IlX9RV9x9XkdXV6ZnjJZO9f4+6lDONVGd3WaVu/ZS/Vr2eWh1pCw24ibWSzf DEUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=R1UxKshY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o20si5969312pgv.148.2022.01.21.03.52.19; Fri, 21 Jan 2022 03:52:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=R1UxKshY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350289AbiARXdO (ORCPT + 99 others); Tue, 18 Jan 2022 18:33:14 -0500 Received: from mail.skyhub.de ([5.9.137.197]:41822 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350196AbiARXdN (ORCPT ); Tue, 18 Jan 2022 18:33:13 -0500 Received: from zn.tnic (dslb-088-067-202-008.088.067.pools.vodafone-ip.de [88.67.202.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1E63D1EC0464; Wed, 19 Jan 2022 00:33:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1642548788; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=ZgKZ23T/1gGugaFxB9VsyewKILJfjmGgGnZBi4guEjM=; b=R1UxKshY7Si5eXe6U5H6D4LdNotUwvORhmYiOZZ5tFJ6AS3DKVFshi6nKp0zNNM5JJdnUe EvGzovq7IAjkPkqAtqt/Gkq3APcpqO9lb0KQBmRMqziP5BtwHfnPr3teu5g+FBOiAAwJWH 0UNo8jRiZngnRKCjiAI/UOnLws+g4Og= Date: Wed, 19 Jan 2022 00:33:02 +0100 From: Borislav Petkov To: Josh Poimboeuf Cc: Nick Desaulniers , Vasily Gorbik , Linus Torvalds , Ingo Molnar , Dave Hansen , Thomas Gleixner , Peter Zijlstra , Luc Van Oostenryck , x86@kernel.org, llvm@lists.linux.dev, linux-sparse@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot , Nathan Chancellor Subject: Re: [PATCH] objtool: prefer memory clobber & %= to volatile & __COUNTER__ Message-ID: References: <20220114010526.1776605-1-ndesaulniers@google.com> <20220118192256.jzk5dnceeusq7x7u@treble> <20220118230120.pivvson7qekfiqic@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220118230120.pivvson7qekfiqic@treble> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 18, 2022 at 03:01:20PM -0800, Josh Poimboeuf wrote: > With the two WARN_ONs in media_request_object_complete(), GCC apparently > considers the two reachable() asm statements as duplicates, and it > removes the second one. Could that be the same thing: net/xfrm/xfrm_output.o: warning: objtool: xfrm_output_resume()+0x2e0: unreachable instruction I see two WARN_ONs in asm output there too... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette