Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758809Ab3GZNLs (ORCPT ); Fri, 26 Jul 2013 09:11:48 -0400 Received: from charlotte.tuxdriver.com ([70.61.120.58]:51784 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757889Ab3GZNLq (ORCPT ); Fri, 26 Jul 2013 09:11:46 -0400 Date: Fri, 26 Jul 2013 09:11:14 -0400 From: Neil Horman To: Anton Blanchard Cc: Benjamin Herrenschmidt , Scott Wood , Paul Mackerras , Rusty Russell , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] module: ppc64 module CRC relocation fix causes perf issues Message-ID: <20130726131114.GA11633@hmsreliant.think-freely.org> References: <20130718140045.6794ecd5@kryten> <1374274770.5357.33@snotra> <20130725083427.56e36010@kryten> <1374707665.6142.18.camel@pasglop> <20130725130212.GA19366@hmsreliant.think-freely.org> <20130726111913.201ab9d4@kryten> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130726111913.201ab9d4@kryten> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.9 (--) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1173 Lines: 29 On Fri, Jul 26, 2013 at 11:19:13AM +1000, Anton Blanchard wrote: > > Hi Neil, > > > Sorry I'm a bit late to the thread, I've ben swamped. Has someone > > tested this with kexec/kdump? Thats why the origional patch was > > created, because when kexec loads the kernel at a different physical > > address, the relocations messed with the module crc's, and modules > > couldn't load during the kexec boot. Assuming that kernaddr_start > > gets set appropriately during boot, using PHYSICAL_START should be > > fine, but I wanted to check, and don't currently have access to a > > powerpc system to do so. Neil > > I tested a relocatable kernel forced to run at a non zero physical > address (ie basically kdump). I verified CRCs were bad with your > original patch backed out, and were good with this patch applied. > > Anton > Perfect, sounds like a sufficient test to me. Acked-by: Neil Horman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/