Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2319332pxb; Mon, 20 Sep 2021 18:42:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNbpeVVccA42TqQn7wGJg1p7a8ZyhH184UeHT6Y9akYIdV4EifE4wcf4dAhn2k6uC9caRv X-Received: by 2002:a05:6638:3813:: with SMTP id i19mr21822853jav.16.1632188542195; Mon, 20 Sep 2021 18:42:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632188542; cv=none; d=google.com; s=arc-20160816; b=K9TaT468lAAGIbr7qfYCdvDS5r3oSZkyCZL2IEwrv0wuQ45OAxA8T32mr1uj1p10hl Rp7MyfmdfZ9Aq3OI9+qNkOd3f13TCcBkq5bL4gP5GPtUg6PnGufr3Tyi//AXFFlA9AHL y+k9TioTkOIPzXD7aVlF1+3BnuXlrRTps/GeSqkBAUqTbojV9S3SembwvhPSw1+gIAzP SWoYPVaZDxvEuUzAwXcqlty8oSlrxHcnO/a/9NbOazmsdVcKAD12PIwYUhRm8I16dgzi ixl+CHRat/H3CY6ciP/5F50EEMn1X8JkHrk1Fw289sTLV5gDT8piIIZRChZCBgxZt/Rb O6DA== 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=iWEKzTYHk0nnv0wtaMSjcBHCa248UJZa2AlZvh/o1TQ=; b=yFTvXO88AZAaz7BptyUfsw9fL/QELk3CAWn2vsNN+gGnMsKaSEsdEplIsQDYKfYB4i zq1Dsp//D3dfFhsGGraD4Jlv8jf8UA/ubqgc8zmvrsEsQkYnQE359cHknk1UzBFF3o0G d5Z4ZuoY1a4RPekd35m/Eci5jCo0/0E6MMNMSynM8JVLZ4Q/5XQi2k8Y/CujSBdjB2tD XhMlUzGUKA0IPzVlnQR633ZvO9+fRgF6aP2z3Oy63q1gSDNTR0IsehlFi5KZ1zqy4yY3 D+EbyAXbZeW7tO0lkFJooIH4vzyDkD6f0hi7Kw9JFASS97Nl1Ku1jbVqlIvo2Ec/5uLr +qGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FIuOUPE+; 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 s18si14031203ilj.28.2021.09.20.18.42.11; Mon, 20 Sep 2021 18:42:22 -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=FIuOUPE+; 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 S244656AbhITQx0 (ORCPT + 99 others); Mon, 20 Sep 2021 12:53:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:39398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244201AbhITQuN (ORCPT ); Mon, 20 Sep 2021 12:50:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A76216135D; Mon, 20 Sep 2021 16:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632156526; bh=26DpxREAUW4RnhxRwr/LD/ekH0ARh3OLBDizhE3yZ2o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FIuOUPE+dVrqSd4MN6f/mpcGdHCCbRyBewc3e4sPKHLf87qSkojreMkqz17ND0Bc+ +MPnlzOIlmUX4MjfL6Lp4brEWuFlE95Kg17uyXiTQxb8nxLkzM3tCEOjkTlLLV7Hph w3C+z/Wt1T1Q+tnm9F+ma7bMlALwWlt/mGKqPulU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Heiko Carstens , Sasha Levin Subject: [PATCH 4.4 100/133] s390/jump_label: print real address in a case of a jump label bug Date: Mon, 20 Sep 2021 18:42:58 +0200 Message-Id: <20210920163915.901816529@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163912.603434365@linuxfoundation.org> References: <20210920163912.603434365@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 083b05f5f5ab..cbc187706648 100644 --- a/arch/s390/kernel/jump_label.c +++ b/arch/s390/kernel/jump_label.c @@ -43,7 +43,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