From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5] helo=mx0a-001b2d01.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bSXaB-0001u1-LK for kexec@lists.infradead.org; Wed, 27 Jul 2016 22:45:44 +0000 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u6RMiBHE085917 for ; Wed, 27 Jul 2016 18:45:22 -0400 Received: from e24smtp05.br.ibm.com (e24smtp05.br.ibm.com [32.104.18.26]) by mx0b-001b2d01.pphosted.com with ESMTP id 24eauhqgjt-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 27 Jul 2016 18:45:22 -0400 Received: from localhost by e24smtp05.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 27 Jul 2016 19:45:20 -0300 From: Thiago Jung Bauermann Subject: Re: [PATCH v1 1/4] kexec: (bugfix) calc correct end address of memory ranges in device tree Date: Wed, 27 Jul 2016 19:45:13 -0300 In-Reply-To: References: MIME-Version: 1.0 Message-Id: <3562841.ROYbCgkeeq@hactar> 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: kexec@lists.infradead.org Cc: Geoff Levand , Pratyush Anand , Simon Horman , linux-arm-kernel@lists.infradead.org, AKASHI Takahiro Hello, Am Dienstag, 19 Juli 2016, 23:28:13 schrieb Geoff Levand: > From: AKASHI Takahiro > > The end address of "reg" attribute in device tree's memory should be > inclusive. Actually, there's a bug/inconsistency in kexec-tools right now. crashdump-arm.c expect usablemem_rgns.ranges[i].end to be the last byte in the range, but crashdump-powerpc.c, crashdump-ppc64.c and fs2dt.c expect it to be the first byte after the range. -- []'s Thiago Jung Bauermann IBM Linux Technology Center _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 From: bauerman@linux.vnet.ibm.com (Thiago Jung Bauermann) Date: Wed, 27 Jul 2016 19:45:13 -0300 Subject: [PATCH v1 1/4] kexec: (bugfix) calc correct end address of memory ranges in device tree In-Reply-To: References: Message-ID: <3562841.ROYbCgkeeq@hactar> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello, Am Dienstag, 19 Juli 2016, 23:28:13 schrieb Geoff Levand: > From: AKASHI Takahiro > > The end address of "reg" attribute in device tree's memory should be > inclusive. Actually, there's a bug/inconsistency in kexec-tools right now. crashdump-arm.c expect usablemem_rgns.ranges[i].end to be the last byte in the range, but crashdump-powerpc.c, crashdump-ppc64.c and fs2dt.c expect it to be the first byte after the range. -- []'s Thiago Jung Bauermann IBM Linux Technology Center