Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp845271pxf; Thu, 8 Apr 2021 14:09:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzivX1Adj8MzDvJpOUWEojBTsbqqMgsPiyE8qCYqw06/U1oVOtEzmHqOT/F6aSvBxh8FIJS X-Received: by 2002:a17:902:da91:b029:e5:e7cf:d737 with SMTP id j17-20020a170902da91b02900e5e7cfd737mr9489645plx.24.1617916154673; Thu, 08 Apr 2021 14:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617916154; cv=none; d=google.com; s=arc-20160816; b=0bvAQNY6Ia438jrUL5ocfJP6ou4C5vOmQ7GnHnwssTtDbdUZrULjcfopj5IWoULhP3 y2qF+bMikI0wWQ2r7NXVudlZuWDPtN/Fmo+RlIyM7soLarD6Hxm7pHZcPHD2FNemJ8k3 Uvq7SAftWRH9QyUClB/+7tOOw+6oKHcee1yOX5X+jTVAsNh7SFewNvkZB02G7+6GKaLh Tn4Pqlg15Ybs4xSYKbL3bsxyDiwVJO5cGz9sL+kwh4gjAXMQ0bIEaustmVuDEUTB8a7S t3GzJj07wRcBJt0BK9XbvVdB6ofJ8xsJ8aXC1W3vQxHe1iXBtVMYHtTqJJUIMmHSL56e 7vAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=Msl/P5VBYmBqV6Je6mPsZC+dtOoZ7h1wBoVZ4hCXTAY=; b=yua0aWIXELSj1t+tWSoUDoFl4vwavbnOktMB1q6K0sRPmb0+HmhyXbe/LJuGpKrqdN GBIrtTCC3w/mgwvZI7MQ/syQia90KZZg3uQfaTVhzRoFdivSZdApbVVKejHNmNXXO/CU MNRsNFK4ZPrEMKNiBNfDmYPFx44GRtNni9wSENN4n8OeEa2qEk7kYinRZMWIe8dlE22q 0+R1r018DZiQzrl+IgE1muMk+wiIyglyC80ZGwwxXRLThpTMNQVeKciIKtgTyeegZRQh 1moLiqZK+VEeRVBGWVHJxAU/pigScfTv6Mmy756Yi7E5zmwJrd2jFSNLrHj8Ew2YAp8s xZvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Hx5KN+Ao; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si559123pfc.239.2021.04.08.14.09.01; Thu, 08 Apr 2021 14:09:14 -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=@chromium.org header.s=google header.b=Hx5KN+Ao; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232331AbhDHVIn (ORCPT + 99 others); Thu, 8 Apr 2021 17:08:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231862AbhDHVIn (ORCPT ); Thu, 8 Apr 2021 17:08:43 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91979C061760 for ; Thu, 8 Apr 2021 14:08:31 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id lr1-20020a17090b4b81b02900ea0a3f38c1so5419505pjb.0 for ; Thu, 08 Apr 2021 14:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=Msl/P5VBYmBqV6Je6mPsZC+dtOoZ7h1wBoVZ4hCXTAY=; b=Hx5KN+AorF5YmOMYSHbs/eiVrwVX6X6RM9TTiUUn5DsEoI48Yi6MoFcbVBte/jQgJk 5ppcin/Gwf6b8GouLBaQN6L5XVWasopRr2Ga9EwTW+k8EDt7lzOkmbyDGK2tsUv+6hoT eKWYBQSyIqQ3c9Utsh8UCAhova9TzHeZiRJJ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=Msl/P5VBYmBqV6Je6mPsZC+dtOoZ7h1wBoVZ4hCXTAY=; b=KaQAVkGlUUP05JJ15TPueHu84XIeobC2CIEwLT9dH4MevWJ/c44o+BTvMVi6xZiVn+ sdqDTwgAjHItVLUk8fS0JKqibrOeXPjbIiFopjaX4AkRj4a02Qi3gxuE7p+TYm08iAOn z/I6EOQpkxyfRzC7Ahg2ow5AuSzYzXIfByC47tW5YmE7k7opOPHWlb/AF8bzllxUMIXO vonx9XqGqpSLJVSxRhZr5HgRRO9/0ieDssoaiRzeaaCKEfOJ5n9La3exMIl0BEogpYy9 ZHGGy0RLPi5HxpMAqYxdukyWl2qLMUAY4ubwX6lrMYBRK89PvNSsY5G6UBEUKP2yUcht mCgg== X-Gm-Message-State: AOAM5327hzCcXsAVVTK71knYZIxTLqTaiz2EyJyjPihQM+XlVWGrqUuK S6IpnlTIOaiAJno2sUbApZIn4Q== X-Received: by 2002:a17:90a:314:: with SMTP id 20mr10681376pje.72.1617916111083; Thu, 08 Apr 2021 14:08:31 -0700 (PDT) Received: from chromium.org ([2620:15c:202:201:44c3:3248:e7f5:1bbd]) by smtp.gmail.com with ESMTPSA id m1sm279503pjk.24.2021.04.08.14.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 14:08:30 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <161791154751.3790633.14778133079958701015@swboyd.mtv.corp.google.com> References: <20210331030520.3816265-1-swboyd@chromium.org> <20210331030520.3816265-4-swboyd@chromium.org> <161786283299.3790633.9395579294249054249@swboyd.mtv.corp.google.com> <161791154751.3790633.14778133079958701015@swboyd.mtv.corp.google.com> Subject: Re: [PATCH v3 03/12] dump_stack: Add vmlinux build ID to stack traces From: Stephen Boyd Cc: Andrew Morton , linux-kernel@vger.kernel.org, Jiri Olsa , Alexei Starovoitov , Jessica Yu , Evan Green , Hsin-Yi Wang , Steven Rostedt , Andy Shevchenko , Matthew Wilcox To: Petr Mladek Date: Thu, 08 Apr 2021 14:08:28 -0700 Message-ID: <161791610893.3790633.1523539584166901628@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stephen Boyd (2021-04-08 12:52:27) >=20 > Can you try this patch for x86? I'll dig up some hardware in the meantime. >=20 It works for me backported to this 5.10 kernel running on this x86 device I found. I'll wait for you to confirm and then send the next round. CPU: 0 PID: 2719 Comm: bash Not tainted 5.10.27 #1 301c09d6713f73cc8761e0e= c7c4a50f354819757 Hardware name: Google Grunt/Grunt, BIOS Google_Grunt.11031.115.0 11/15/2019 RIP: 0010:lkdtm_WARNING+0x13/0x17 [lkdtm bf9f9188770187b40e576292363651839= 854180c] Code: c7 15 ae 71 c0 31 c0 e8 b1 f9 f6 c9 0f 1f 44 00 00 55 48 89 e5 0f 0b= 0f 1f 44 00 00 55 48 89 e5 ff 05 f3 7d 00 00 75 02 5d c3 <0f> 0b eb fa 0f = 1f 44 00 00 55 48 89 e5 8b 35 dc 7d 00 00 ff c6 89 RSP: 0018:ffffb296c1757dc0 EFLAGS: 00010202 RAX: 0000000000000026 RBX: ffffffffc071a060 RCX: 5d63534cda001100 RDX: ffff8e5faac22cf8 RSI: ffff8e5faac12e08 RDI: ffffffffc071a060 RBP: ffffb296c1757dc0 R08: 0000000000000000 R09: ffffb296c1757ba0 R10: 00000000ffffdfff R11: ffffffffc071722e R12: 0000000000000008 R13: ffff8e5fa615f000 R14: ffffffffffffffea R15: ffffffffc071a819 FS: 00007ee3373f2740(0000) GS:ffff8e5faac00000(0000) knlGS:00000000000000= 00 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000058d943914918 CR3: 000000000f0a0000 CR4: 00000000001506f0 Call Trace: direct_entry+0x107/0x113 [lkdtm bf9f9188770187b40e576292363651839854180c] full_proxy_write+0x5b/0x78 vfs_write+0x145/0x40d ksys_write+0x7e/0xde do_syscall_64+0x43/0x55 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7ee3372cb7f4 Code: 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48= 8d 05 31 40 0c 00 8b 00 85 c0 75 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff = ff 77 54 c3 0f 1f 00 55 48 89 e5 48 83 ec 20 48 89 RSP: 002b:00007ffe1c6db648 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007ee3372cb7f4 RDX: 0000000000000008 RSI: 000058d944343c60 RDI: 0000000000000001 RBP: 00007ffe1c6db670 R08: 000000000000000a R09: 00007ee3373f2740 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 000058d944343c60 R14: 00007ee33738b5c0 R15: 00007ee3373865c0