Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1700855pxb; Thu, 16 Sep 2021 13:21:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJKawzjEnHbWk7nERdcEur525XMIK0SsV7n2pHCaG9kA2/u8/5AqHpwJiB+NcuDROD30Hd X-Received: by 2002:a05:6e02:1847:: with SMTP id b7mr5366321ilv.180.1631823660588; Thu, 16 Sep 2021 13:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631823660; cv=none; d=google.com; s=arc-20160816; b=HdzwajUONx+aZK5FcArn1/xy0FYR9kh/UyDwRAqcKiFRlIY28+pqNCDzYDVmWCQxfK HVjtSGPMrqYWN8RFrH8yiQAmdgS6yhvsHH7hRSp+1wj5JR8bWEOGEQk1nLCrbYqioWIG 9QW/NXQj/F+SV5zq16vMEd/UTEzsExB3KSv2O34wAhGOdnbPl70+T8msDxuDXFj0BCh6 FZ4wJn81nGxPbmMRPXf0+hsN1wlgiW672n0a0sMccplQvpInCbeaIjkgO62ZOwXdj/zv AoVavavoPuJReMv+KtCVhy5WEWvCNiuvsXBEUQpf8lhuj5u9iJzJrvqE7bNvTda6JXoU p7Bw== 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=UUUpeJ+O/zayh7y0LOxASt3qdE3O1rxrYvt6S0BkouNIh2pcAeCMIC9QpEQB6Wd9sw RDHKS8P4TdhrjD75KLpQuvKQi3gc147Gn89jMJebOjgEZlYSeajmivC6JtAAYFocr3xY hpy4/pVC/9ZzsyZipRit8MhdJGNbc0PwdieKY14m4ZK/V9eX/OnPE9+uCX5rqfwfjRvu 3lVc6nHq+Dg+WtNWhWYrbgLgTzmKOWS8ZGKIEilYLCdhJf50mzIm/bScGYSgXvglL3EF VfsURhLVwRMLfv1pgA1H3VuHK9QVeVl00cKgiJgMyAno7Ac13Hj/DH1W3ETXxClwyoLB mIXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lHd0YuMa; 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 m10si4541153ilu.53.2021.09.16.13.20.45; Thu, 16 Sep 2021 13:21:00 -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=lHd0YuMa; 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 S240731AbhIPQXu (ORCPT + 99 others); Thu, 16 Sep 2021 12:23:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:54968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240694AbhIPQOW (ORCPT ); Thu, 16 Sep 2021 12:14:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 35BAD613A4; Thu, 16 Sep 2021 16:10:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808617; bh=uwA0nUERC+utH2fpcqTViMZbqrZcqe6qSSC9TEOQ8Yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lHd0YuMahYIVXzsNAlgClqePMUPrjSaKDmldRDqa+WQ5q2lskPqdVY1bBHf47hOI/ o7SzIehSJM+yglo5E/I9lannS2y1dvD+RnLnXsNz8Ljaj4VNIdIGEcm+N/8//5se/D wQ+JDAP5rZ85/wjdrUUaKO9UHvJe2zE0zfLqZxsM= 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.10 159/306] s390/jump_label: print real address in a case of a jump label bug Date: Thu, 16 Sep 2021 17:58:24 +0200 Message-Id: <20210916155759.503605566@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@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