Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2348945pxb; Mon, 20 Sep 2021 19:42:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYWmSrvhdPPNw5j0Q0nkc/iPxEHPP3SullhkqrbY2fqIFetCzdNZUf36sOuvLBNForL6D8 X-Received: by 2002:a05:6602:2ac7:: with SMTP id m7mr20979001iov.66.1632192123054; Mon, 20 Sep 2021 19:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632192123; cv=none; d=google.com; s=arc-20160816; b=I7eMFe0NAxo/QAhhHNmcVwhPGoWyvOuq1t9Fi5IMmMXMqx4wMTUiKpM0WTypoAylMc Oie7x7d2RK2K/sJeDhgn+m0cM2ZgMVV9NPgqOHZlfFIDJiOmMZ4Dzp2XnlxapNEC7sKF 3S8U70Lnv1OOU5CHlm+TFPkX47Yy8l/Q7WeUnKuVd1m1feH08pltVO4FBdZN39w7IvNV wRdfQXU/8d8D5gQHRGT1u7Oa1jPuyA9/Ds/IGAkPXTIKNYf5IoAI1KwE5rqKIZkaTE34 CdlB+TYoWo19v1f3slc5S4BxHIzsEl54GdU3Sm9qXJqdYxK1fim2s2TjsKsLTRQFbHkU 6m3A== 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=oKf+AdmJ+f3irMCapJID1ZEIq1Baq6d82B8jfENtnkG01saSbWPJHZx/PC73C97wJa RaG4xB4aJYGFSuagSyI7fuIPpUf5KoiG59SjsVppV9iSzGzJoUGrlt7DZ/A7kCxTzoin OqaCfmG3eFGV4o/sId2rTW7Yp/Vi5abUcDK/O70momd+VaP4nYVG4+Esa5/xnJLXTFQq hf7k/FnK4icmMKlN/dT94R8WL2msQOU/RSOTy6KPZqtKM48WlBI4AzmTahITCdtDwvSZ kSyjj6MLA7hX6Hny/KbByA8rufAuK/trLho0OHUTHvn8MnriV9CqdLklmrS96GRwI05E 6fzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ITz0HZ9j; 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 m19si12978497jat.15.2021.09.20.19.41.52; Mon, 20 Sep 2021 19:42:03 -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=ITz0HZ9j; 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 S1377119AbhITSPP (ORCPT + 99 others); Mon, 20 Sep 2021 14:15:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:33252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358837AbhITSIQ (ORCPT ); Mon, 20 Sep 2021 14:08:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D9D8A613D2; Mon, 20 Sep 2021 17:18:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158323; bh=uwA0nUERC+utH2fpcqTViMZbqrZcqe6qSSC9TEOQ8Yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ITz0HZ9jUwiqiMZeZsVJUQNMseIqM5CgB/NQ5kg3BL2hN0zZGnYg2PZ7/dUpPUhGt LyBlAeACf26MBH/1ogxiUT98hYAgTcHQK6UMgG7Pne52GJ+r5V8/CBKvZQHigzpNZC Xw4Hh6F5QZET2zrBumYtHokm7QFm5lkPPHywXv8c= 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.4 103/260] s390/jump_label: print real address in a case of a jump label bug Date: Mon, 20 Sep 2021 18:42:01 +0200 Message-Id: <20210920163934.630268438@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163931.123590023@linuxfoundation.org> References: <20210920163931.123590023@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