From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-yw0-x234.google.com ([2607:f8b0:4002:c05::234]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQYMZ-0004YI-6l for kexec@lists.infradead.org; Fri, 22 Jul 2016 11:11:27 +0000 Received: by mail-yw0-x234.google.com with SMTP id r9so100344362ywg.0 for ; Fri, 22 Jul 2016 04:11:06 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <57912ADF.8070803@cisco.com> References: <57841399.1030703@cisco.com> <578FCE9A.50305@cisco.com> <5790E80F.7080109@cisco.com> <57912ADF.8070803@cisco.com> From: Maxim Uvarov Date: Fri, 22 Jul 2016 14:11:05 +0300 Message-ID: Subject: Re: IO memory read from /proc/vmcore leads to hang. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Daniel Walker Cc: "xe-kernel@external.cisco.com" , "kexec@lists.infradead.org" I might be wrong but as I remember powerpc32 is deprecated in kexec-tools and all code use ppc64 directory even for 32 bit code... 2016-07-21 23:04 GMT+03:00 Daniel Walker : > On 07/21/2016 12:33 PM, Maxim Uvarov wrote: >> >> 2016-07-21 18:19 GMT+03:00 Daniel Walker : >>> >>> There appears to be no code which checks what is or is not System ram, >>> there is nothing that checks the device tree to see what is IO memory, >>> and >>> nothing reads /proc/iomem .. So AFAIK nothing cares if it's IO memory, or >>> system ram, and there's no method to config things to skip any memory in >>> the >>> system, except in makedumpfile which can skip symbols not IO memory. >>> >>> >> Daniel, unfortunately it's long time for me when I looked to powerpc >> code. But I just >> checked that here: >> >> kexec-tools-2.0.6/kexec/arch/ppc64/kexec-ppc64.c >> >> is probably what you need. > > > I have a powerpc32 .. In the powerpc64 file I only see something called > "reserved-ranges" which may do what I want, however, that doesn't exist in > the 32bit version. It appers the reserved-ranges is used by OPAL firmware , > which I don't have. There doesn't appear to be anything generic in ppc64 to > exclude device IO memory. > > Daniel -- Best regards, Maxim Uvarov _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec