Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754698AbbEMVsB (ORCPT ); Wed, 13 May 2015 17:48:01 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:38552 "EHLO mail-ig0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754520AbbEMVr7 (ORCPT ); Wed, 13 May 2015 17:47:59 -0400 Message-ID: <5553C68C.6000000@gmail.com> Date: Wed, 13 May 2015 14:47:56 -0700 From: David Daney User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Leonid Yegoshin CC: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, ralf@linux-mips.org Subject: Re: [PATCH] MIPS64: 48 bit physaddr support in memory maps References: <20150513185519.27601.4253.stgit@ubuntu-yegoshin> In-Reply-To: <20150513185519.27601.4253.stgit@ubuntu-yegoshin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1300 Lines: 39 On 05/13/2015 11:55 AM, Leonid Yegoshin wrote: > Originally, it was set to 40bits only but I6400 has 48bits of physaddr. > Why not go to the architectural limit of 59 bits? > Signed-off-by: Leonid Yegoshin > --- > arch/mips/include/asm/addrspace.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/mips/include/asm/addrspace.h b/arch/mips/include/asm/addrspace.h > index ba0925c84b75..d54137602ac5 100644 > --- a/arch/mips/include/asm/addrspace.h > +++ b/arch/mips/include/asm/addrspace.h > @@ -53,7 +53,7 @@ > */ > #define CPHYSADDR(a) ((_ACAST32_(a)) & 0x1fffffff) > #define XPHYSADDR(a) ((_ACAST64_(a)) & \ > - _CONST64_(0x000000ffffffffff)) > + _CONST64_(0x0000ffffffffffff)) > > #ifdef CONFIG_64BIT > > > -- > 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/ > > -- 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/