Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1559762pxb; Thu, 16 Sep 2021 09:54:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEhOcbR86GwMbtHSMxdy8P0RIZtoRPUdYOAxEUT0D0n8aDyT+gGuR/LwwqqNNGrhj5I1aB X-Received: by 2002:a17:907:75ca:: with SMTP id jl10mr7394529ejc.302.1631811285327; Thu, 16 Sep 2021 09:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631811285; cv=none; d=google.com; s=arc-20160816; b=HNUjGFjX6Rsa1zSBKPfbdZh8usVKtBwdDWCmwgros6qSDCuiPGnL6V+H8JJzTqof7a IuAevVH5mtmszEMrCaZ+ihcLtKf9X7ryoc3xXXvNE16L27c1wby+1XZC04BuRB9773pY sdQFm1vshU2DnlozbIWpww+PwrOcS/bKBRNZsza1brKXhYsu9r9gr2XbKLy2WWivWQol 4N29SKM7Hho3CdQ5WUbKn5p+4Xt+rblmknRvQ+o1HsAsJs7kp62zqPpjCgvkFQMqsh1q f2g5RPGsPIrYY/DGm3oMV53nzywlWakhjrt2RfW2gMQc2Co8Xw1CsqF1XBlMLvFQ2iCT UNGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ysYvZXbCx0dHzWNP9botFfU7m6txXE7OVRS7OcMQxK4=; b=XGy6ACTLeDQchH4IRiwPOoPBWqqoo5+nU9T+o+m6vi8hyBe42V8cuK1263AGatMSw3 7MaFM94D/WKf3JLDL9AdoqiuCykSm/yajMFjiOElYmQvJxrPsWHQ6mNLxTgfy9tKEbVv OLHSnqR1GtU9uVD0uG5HQiZj6jW/YnunQlaAvxpRYAuvssRelBh2yvvdjuULefBZMBts LMYfU4QOGIfeUW22CETuvBSxnVuNd/lNC6XFV63MWDKMCgbRj8oIFZh++jcREEmtP+1c twdmsFLgwxpIIQ97k5RCR91Ej98Hrjf2t4WnjiDeaBnVisO/cHkqYT+COAQy+4zA0KP0 ZiOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FtlrtN7A; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v21si4950529ejg.618.2021.09.16.09.54.19; Thu, 16 Sep 2021 09:54:45 -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=@linuxfoundation.org header.s=korg header.b=FtlrtN7A; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345583AbhIPQu1 (ORCPT + 99 others); Thu, 16 Sep 2021 12:50:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:58998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244065AbhIPQpv (ORCPT ); Thu, 16 Sep 2021 12:45:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E48A461A65; Thu, 16 Sep 2021 16:26:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631809566; bh=uwA0nUERC+utH2fpcqTViMZbqrZcqe6qSSC9TEOQ8Yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FtlrtN7Auz22K8Dco7pp9nlZqKOHYC3z06sSpP96/P2F4E1X5bsMwloLKGR/PGjgz PCY4OHajLwOGX8VEqBp153y0O05qtK28VijOVUrhyq0WaL63FDEmiF3nTVo0DNOpW4 dPoKJE6hEleAi5jonXvTvce7OX2bJP6+UslPp8h0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Heiko Carstens , Sasha Levin Subject: [PATCH 5.13 201/380] s390/jump_label: print real address in a case of a jump label bug Date: Thu, 16 Sep 2021 17:59:18 +0200 Message-Id: <20210916155810.910970411@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155803.966362085@linuxfoundation.org> References: <20210916155803.966362085@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Heiko Carstens [ Upstream commit 5492886c14744d239e87f1b0b774b5a341e755cc ] In case of a jump label print the real address of the piece of code where a mismatch was detected. This is right before the system panics, so there is nothing revealed. Signed-off-by: Heiko Carstens Signed-off-by: Sasha Levin --- arch/s390/kernel/jump_label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kernel/jump_label.c b/arch/s390/kernel/jump_label.c index ab584e8e3527..9156653b56f6 100644 --- a/arch/s390/kernel/jump_label.c +++ b/arch/s390/kernel/jump_label.c @@ -36,7 +36,7 @@ static void jump_label_bug(struct jump_entry *entry, struct insn *expected, unsigned char *ipe = (unsigned char *)expected; unsigned char *ipn = (unsigned char *)new; - pr_emerg("Jump label code mismatch at %pS [%p]\n", ipc, ipc); + pr_emerg("Jump label code mismatch at %pS [%px]\n", ipc, ipc); pr_emerg("Found: %6ph\n", ipc); pr_emerg("Expected: %6ph\n", ipe); pr_emerg("New: %6ph\n", ipn); -- 2.30.2