Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3948146pxb; Tue, 2 Nov 2021 01:05:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzW+Y1jxPT/G8T1riUfl5keQiWkdQkzOJWvCTTENves57MWpn0uPRwbI8Ji78mZ/j4G9jTO X-Received: by 2002:a17:906:a986:: with SMTP id jr6mr43009815ejb.520.1635840333198; Tue, 02 Nov 2021 01:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635840333; cv=none; d=google.com; s=arc-20160816; b=zAh1S5xL+eqMSSX/jC8Fevnv8vlG+loTMfof8S13L4K6X+qi1o++ZkLXo0olsBTmMy 8X8/+NEHTM/uU+oBL0e0Dq6BwbRliFca8PkDujOrhk6StsB4qt8CQ2VKkhF7k4QzzgDm 2Sfkjb6ru5bGpkEQGqOjZTYGxeQmJxqhMD39Z6gMYNNK0qkRrF8gBCxSD7VK4KrSRdVJ OS3ummGWdYPrKp0WiSdO1qMO7TL21Mn00p3e5j9S2HmGk35lqyAHszJVVZAYxW9DySnh nqDI67CYgKTUMIJRtskxZr4ebAtzq4r1VXlbTO33tS3blkDG1SnVj1LoZ3zWyijMaknG 6DSQ== 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=rMcaU0eXNJrQzQEGjllDL02FizhCwJm5AcvCOAERMAk=; b=B19OA6MtcCpusPYZVfCkECiZ6yp8PfhszJLj1Deo77bnQZKOjaZl2Z5zxiabZn3IyY PJP+3FmD4rmEwhDAA4t85WTO56a+rsummeRvvWV1rFUtehdYtjpR9JvSNrj6oc4tC1Qa /Vn7gWwMzjBjduKCvj6FrZCzHdcWa3oLE6o4bq+5y/0YgYt25wYz+O8QUSyu0VqFZ/kh AH0tRyFuIVnyKITC8rBXwfopMGTkZPS/gW32ctJ54jKcpmH3JDxQt86zLD/HfKx2btNq djNo5y6sPW3rA59JTdAOxaH0F0lL58NT5I2vsZ3eyED9iPCmeAj4wFWXzsGHcDAOozkR RoEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="DJ/r/DbP"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si19806442edx.520.2021.11.02.01.05.07; Tue, 02 Nov 2021 01:05:33 -0700 (PDT) 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=@infradead.org header.s=casper.20170209 header.b="DJ/r/DbP"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbhKBIFp (ORCPT + 99 others); Tue, 2 Nov 2021 04:05:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhKBIFo (ORCPT ); Tue, 2 Nov 2021 04:05:44 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AC3CC061714 for ; Tue, 2 Nov 2021 01:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rMcaU0eXNJrQzQEGjllDL02FizhCwJm5AcvCOAERMAk=; b=DJ/r/DbPU1N+tG8eTERztYDKZX vEpPchywZxXvrlKBaYXzlF5z8d4aQhh0RJeUMqB2JZTD+nVy+9vY29QAOkCVxHXFi1F5Pp4uPwdJz 790L6QY6KX6iZbc9sVwHj7ToVCJax039RCz49vshYkWDNBkA1SS2G8yvBGa83T+Andqj0V2+R/sA2 xQbHuE4rA2J0Y+VyQCcoN3SHGC5UuMWm/vUrv92g73gKmN2Z/6EGKd3Lm31RW9lk3Q7xkb8pWkR7B W+nmtlEHiO4m3nUJPN5Wjfm7ehzmgkg1zwjI9sZ/be6wcWVH0W5mveyzKNu5elI9P8i/KYkuFAdm7 3Ibg+Lfw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mhoij-004M5X-Sc; Tue, 02 Nov 2021 08:00:57 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 3DC93300130; Tue, 2 Nov 2021 09:00:36 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 2BE052D202F07; Tue, 2 Nov 2021 09:00:36 +0100 (CET) Date: Tue, 2 Nov 2021 09:00:36 +0100 From: Peter Zijlstra To: Linus Torvalds Cc: Thomas Gleixner , Josh Poimboeuf , Linux Kernel Mailing List , the arch/x86 maintainers Subject: Re: [GIT pull] objtool/core for v5.16-rc1 Message-ID: References: <163572864256.3357115.931779940195622047.tglx@xen13> <163572864563.3357115.8793939214537874196.tglx@xen13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 01, 2021 at 01:44:39PM -0700, Linus Torvalds wrote: > On Sun, Oct 31, 2021 at 6:16 PM Thomas Gleixner wrote: > > > > please pull the latest objtool/core branch from: > > Hmm. I've pulled this, but I'm not happy about the new warnings it > generates with an allmodconfig build: Right, due to fixing the dependency on !PARAVIRT, allyesconfig now does a noinstr validation, and this is the result. > vmlinux.o: warning: objtool: __do_fast_syscall_32()+0xa: call to > stackleak_track_stack() leaves .noinstr.text section > .. > mce_setup()+0x18: call to memset ... Boris was having a poke at the MCE stuff. > rcu_dynticks_eqs_enter()+0x0: call to rcu_dynticks_task_trace_enter ... > rcu_dynticks_eqs_exit()+0xe: call to rcu_dynticks_task_trace_exit ... > rcu_nmi_enter()+0x36: call to __kasan_check_read ... Fixes for those ^ should be in the rcu tree. There were also a bunch of Xen ones that should be fixed in the Xen tree, perhaps you've already pulled that. > do_machine_check()+0x27: call to stackleak_track_stack ... > do_syscall_64()+0x9: call to stackleak_track_stack ... > do_int80_syscall_32()+0x9: call to stackleak_track_stack ... > exc_general_protection()+0x22: call to stackleak_track_stack ... > fixup_bad_iret()+0x20: call to stackleak_track_stack ... > .entry.text+0x10e6: call to stackleak_erase ... > .entry.text+0x143: call to stackleak_erase ... > .entry.text+0x17d9: call to stackleak_erase ... > > most seem to be about the stackleak thing, Right, I recently ran into this and hacen't yet had time to look into it. I suspect my normal build box doesn't have the GCC plugin crud enabled or somesuch. I think the GCC stackleak plugin needs fixing, specifically it needs a function attribute such that it will not emit instrumentation in noinstr functions. I'll go chase down the developer of that thing.