From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754715AbdLFEcJ (ORCPT ); Tue, 5 Dec 2017 23:32:09 -0500 Received: from ozlabs.org ([103.22.144.67]:60355 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754625AbdLFEcG (ORCPT ); Tue, 5 Dec 2017 23:32:06 -0500 From: Michael Ellerman To: Kamalesh Babulal Cc: Kamalesh Babulal , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, live-patching@vger.kernel.org, Josh Poimboeuf , Balbir Singh Subject: Re: [PATCH v4 3/3] powerpc/modules: Improve restore_r2() error message In-Reply-To: <20171114092910.20399-4-kamalesh@linux.vnet.ibm.com> References: <20171114092910.20399-1-kamalesh@linux.vnet.ibm.com> <20171114092910.20399-4-kamalesh@linux.vnet.ibm.com> Date: Wed, 06 Dec 2017 15:32:01 +1100 Message-ID: <87374ofpdq.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kamalesh Babulal writes: > From: Josh Poimboeuf > > Print the function address associated with the restore_r2() error to > make it easier to debug the problem. > > Also clarify the wording a bit. > > Before: > > module_64: patch_foo: Expect noop after relocate, got 3c820000 > > After: > > module_64: patch_foo: Expected noop after call, got 7c630034 at netdev_has_upper_dev+0x54/0xb0 [patch_foo] I renamed noop to nop, as that's the name of the instruction. cheers