Received: by 10.192.165.156 with SMTP id m28csp922201imm; Wed, 18 Apr 2018 00:19:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx49dBrS4fYQ7fdpaakCdKGREEZKAK3eEOL/PMeoJu60pAJYbto/6bz4j29eC4Wv79dPvC68L X-Received: by 10.167.130.209 with SMTP id f17mr947379pfn.161.1524035968053; Wed, 18 Apr 2018 00:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524035968; cv=none; d=google.com; s=arc-20160816; b=MuGzh2KlhPuKWhS79z0G12MVoENkGeKq1cf3J9smuBl9sWgQ8Qz+DDVLxt09gkNNHx WUwlv/5tCSrrI+82RIS3GEmxRsCjMVVVLT4+kNqC99f0/RswrRZSUj3Pw/unp2U7KS+X FVDervLgxyrj3vz5Fr3mpW0of0/8rgtyMdE6sqPz1eb2llZAG9875CuHwTnew4oaufN6 HEwHlE6XZE+MjSybUjfS7qfhrTVC6AoD68TLHsykd47JAwtwoqIjgYL90Sb11nlplG/u +OaBNBzd7l9gTHH0uGgzzd25yMYZfQxJBMmnKtGUiQomFZl0hM46rnRzuk6kf6jxEY59 ZqCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature :arc-authentication-results; bh=m3udHh2WEbRUHUuZktMbk/lJ7nLAwRhyCtc5+i3w+34=; b=Q+qxcOBu45IujAPfQnVY8upsEWcHzwOiuhy1+YVclwBPQlfyCNswfdaTfqzkz4dYWI SFU5Mkb1hFt5OWQ6yhXKqHITCMmCg6M9ec3a2z13WYw3SBNl7lwaw8ESAx+0K8T2WU8q YLVhKlbo8VhG+0jjq7t2sQXQU5a2q8+Etjoa0sbPSf9VtSe7+I2p4iv3DIZImQogYGBe zJcae0i6EW76qtjUB7TEPiwZ9q2vWNWFvr6Kzf92sT4n6j6389tgB9HEyPyR3wxeXyD4 rG4IKSEo88OLGRJ7Pj5R23hN3y5Tvw2TXk6oGrqqYhdh/jRLhtZxJlT4XL2SS1Kk168K Yt3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm2 header.b=eXcUqS2H; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=B4BmMWvu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10-v6si680718plb.272.2018.04.18.00.19.08; Wed, 18 Apr 2018 00:19:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm2 header.b=eXcUqS2H; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=B4BmMWvu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753464AbeDRHRd (ORCPT + 99 others); Wed, 18 Apr 2018 03:17:33 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50421 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753144AbeDRHRa (ORCPT ); Wed, 18 Apr 2018 03:17:30 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B364421BD1; Wed, 18 Apr 2018 03:17:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 18 Apr 2018 03:17:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobin.cc; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=m3udHh2WEbRUHUuZktMbk/lJ7nLAwRhyCtc5+i3w+34=; b=eXcUqS2H iAOGUTjeHHEyV2Zdrp5vJoBzGYuO3q671j+eciFOybYcPVexhijyD+umbU86iYKy Qcx19ARUZhsozWCGLYaoi5OPKaNZlONpgXlnxdQI5KZL7s+48ZEYCF4Zj7gJ9uJe 1wF+fnJJiSi5trBkuedGshN4z2NY+KCn5MR+ZguvoCnoyGMR29igc4c9B6sZhTBf LOCaFmAop4d4K3ynrZOXSb9nVjZErJ0qLTH4BXf8gAjf0RVxgE/+st4t/NpH6g9l b90shjejhg2iWpHAKaMsYfK6bFtNRIyTF567m02YsPdK/qJ5uztk3jgVL2vEf4q8 uTBehjunbefXjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=m3udHh2WEbRUHUuZktMbk/lJ7nLAw RhyCtc5+i3w+34=; b=B4BmMWvuO6oSqCBcVFmQS6qcZlTTuWgac4Lu4ZLZgIkKi c7W0LXrS1hH97/QJa546N+xF7SDZs/n6/mDf0BEAwzkaTBaN7YzDvOP6oXIqTToc BerBAmqRLclqrkCRDOq8lMxih7QeOVhMMy562ZUn/2JalHsium6TK3HVeJ7QmvjZ XKNhjrkIzwIC08SR3EvkO0ZcZcI6+My1yWZPCRxhxcBj0pbof97BGbWDG6LOA4zS 2j5Qi0z6MegG++nCplYQ0PjeTFKcrDnlWihaztMFuTYDVPdAUbrNuw6ejwhbRvgm i69M8c8niU4z89oZ8ewvnMJeAXpkWaI506Kjf1/sA== X-ME-Sender: Received: from localhost (ppp118-211-192-152.bras1.syd2.internode.on.net [118.211.192.152]) by mail.messagingengine.com (Postfix) with ESMTPA id C499F10253; Wed, 18 Apr 2018 03:17:28 -0400 (EDT) Date: Wed, 18 Apr 2018 17:17:24 +1000 From: "Tobin C. Harding" To: Thomas Richter Cc: jeyu@kernel.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, borntraeger@de.ibm.com, schwidefsky@de.ibm.com, brueckner@linux.vnet.ibm.com, heiko.carstens@de.ibm.com, peterz@infradead.org, acme@kernel.org, keescook@chromium.org, stable@vger.kernel.org Subject: Re: [PATCH v3] module: Fix display of wrong module .text address Message-ID: <20180418071724.GA6892@eros> References: <20180418071436.21392-1-tmricht@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180418071436.21392-1-tmricht@linux.ibm.com> X-Mailer: Mutt 1.5.24 (2015-08-30) User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 18, 2018 at 09:14:36AM +0200, Thomas Richter wrote: > Reading file /proc/modules shows the correct address: > [root@s35lp76 ~]# cat /proc/modules | egrep '^qeth_l2' > qeth_l2 94208 1 - Live 0x000003ff80401000 > > and reading file /sys/module/qeth_l2/sections/.text > [root@s35lp76 ~]# cat /sys/module/qeth_l2/sections/.text > 0x0000000018ea8363 > displays a random address. > > This breaks the perf tool which uses this address on s390 > to calculate start of .text section in memory. > > Fix this by printing the correct (unhashed) address. > > Thanks to Jessica Yu for helping on this. > > Fixes: ef0010a30935 ("vsprintf: don't use 'restricted_pointer()' when not restricting") > Cc: # v4.15+ > Suggested-by: Linus Torvalds > Signed-off-by: Thomas Richter > Cc: Jessica Yu > --- What's changed in each version please? thanks, Tobin.