Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp388932pxb; Thu, 19 Nov 2020 04:04:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSSgtjF8o3panc7Q0nPuE47l1VkKdKSVCVjSyZozxaKlDc/y3xLCpIsV7TRa391OkhROtm X-Received: by 2002:a50:c30d:: with SMTP id a13mr7054090edb.89.1605787487780; Thu, 19 Nov 2020 04:04:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605787487; cv=none; d=google.com; s=arc-20160816; b=OvloB8B2SVBKpEds/dj59+UyrTDjlSKI+G0FiiEu8SionUysq/n8kCkUfG7TuwpiqR Sy6TPXpprs//mXmX7UnqwAkm7EN43AEVo73P/9LYFyu/ywzkBJhPOOVHp5iRhy+RetBT rEMTiUaxN5ldfJQ8lxv5gwyFq/kYDFgKqmBYg2o5LJlefFQR3W4CywZFMu9z19QjyabP g3eUY/REdtpnqnRlGcM3Mccu+WLwUvfaqPC53JWXu98GzPnDbtZNmuURbyyendyvLPQS r0aLRGAvuAjMq6p1U7aLF2hBe20VZTZVWWNynmTQ0aLsmEz0uoR7ZHOehy5HYPnP87rx Ge2g== 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=knLBXYswT782Ey+RcblRs+pvakWtzlF6q8jukITwxYA=; b=oWOq1q2lmz0rdiI2gIeopRjOObzdVeHt8qPUqZH6Grdi1biIuVaJR5nbL/zkgy1Esa B/S1vsjezRbFkC4t/fNLGUn/PSjxEVlZRLW+INm8/EkYC0uuJtOIiab6CA5FTtYCzFA9 yVUR7UTCBgcjz9PGHqUvozAJgnvEwLB5SVwUCc7m5JwNSBJuGDfrEXuwkqUllDgXvQ9s cgHnAbvrGWcGOLSmwoNxCctmoP8nxPIWGM15e9hzbobpEtK7+bf9Wu1Gh9UZOtCSv4Vl tOEmVdAf5od71sUh6Do8sgHboLwborkEUZZn+b3w7qaaFc6IZgnZ04ZsNsb8h4O21gxh 7/ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=lZa8DC8a; 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 pg11si17175782ejb.92.2020.11.19.04.04.23; Thu, 19 Nov 2020 04:04:47 -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=@infradead.org header.s=merlin.20170209 header.b=lZa8DC8a; 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 S1726886AbgKSMBb (ORCPT + 99 others); Thu, 19 Nov 2020 07:01:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726843AbgKSMBa (ORCPT ); Thu, 19 Nov 2020 07:01:30 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D797C0613CF for ; Thu, 19 Nov 2020 04:01:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=knLBXYswT782Ey+RcblRs+pvakWtzlF6q8jukITwxYA=; b=lZa8DC8aEzVUsMSyHoKW2JbolL pJQnHS0Ue3hDsOm2FmImsl1hJSgW6Q8esiEE8aRs+WeTdlm5OajXi/fpp2ZgHT3XvmOqCFKyy0C9R 07RzhW5crnq0hLH0LpU6/y1tDALnsi6/YHMu4gl0+SEXK1ArdaLpho+BtL71ujie4k5IG9qFeZBxy 5XAW+V8Qw6o/jbJ0Vibg+QYbN4W6bsbaKifNDXQ5TaGCowMPHAbn1Fhg5wsfABVGEPwECNsCiq88G /jJHoyjCQ6K0k5moUEh9SogDfKhpoXt/UDlvZxvNUJkUX6EgHzFU7ZQDDr8HFu51z1KbZmyZVcfS6 e+ofUWnw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kficu-0001pE-9C; Thu, 19 Nov 2020 12:01:24 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id D788C301E02; Thu, 19 Nov 2020 13:01:22 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id AE8082C15A620; Thu, 19 Nov 2020 13:01:22 +0100 (CET) Date: Thu, 19 Nov 2020 13:01:22 +0100 From: Peter Zijlstra To: Shinichiro Kawasaki Cc: =?iso-8859-1?Q?J=FCrgen_Gro=DF?= , Andy Lutomirski , Andrew Cooper , Josh Poimboeuf , "linux-kernel@vger.kernel.org" , Nicholas Piggin , Damien Le Moal , X86 ML Subject: Re: WARNING: can't access registers at asm_common_interrupt Message-ID: <20201119120122.GJ3121392@hirez.programming.kicks-ass.net> References: <20201111195900.2x7kfce2ejkmrzi3@treble> <20201111200730.GM2628@hirez.programming.kicks-ass.net> <20201111201506.bftpmx4svxn376tn@treble> <61b2538f-7be6-8f4a-9395-03071b5cc6f0@citrix.com> <20201116130413.GC3121392@hirez.programming.kicks-ass.net> <20201118082254.GH3121378@hirez.programming.kicks-ass.net> <20201119115059.dns4hvull3l3dwx3@shindev.dhcp.fujisawa.hgst.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201119115059.dns4hvull3l3dwx3@shindev.dhcp.fujisawa.hgst.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 11:51:00AM +0000, Shinichiro Kawasaki wrote: > I tried Peter's patch in my test system and result looks good. The warning is > still observed with 5.10-rc4. With the patch on top of 5.10-rc4, the warning > disappeared. The patch on its own is not sufficient to fix things; there needs to be an accompanying objtool patch to generate the correct unwind information. This patch only ensures objtool has enough information to be able to dtrt, but as it stands it shouldn't even compile, it should complain about an alternative trying to modify the stack and bail.