Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752243AbbFYSof (ORCPT ); Thu, 25 Jun 2015 14:44:35 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:27050 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670AbbFYSo2 (ORCPT ); Thu, 25 Jun 2015 14:44:28 -0400 Subject: Re: [PATCH] ARM: use phys_addr_t in pfn_to_kaddr() To: Nicolas Pitre , Vitaly Andrianov References: <1435072386-13527-1-git-send-email-vitalya@ti.com> <558B0388.1040006@oracle.com> Cc: linux@arm.linux.org.uk, ssantosh@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org From: santosh shilimkar Organization: Oracle Corporation Message-ID: <558C4BE6.20009@oracle.com> Date: Thu, 25 Jun 2015 11:43:50 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 914 Lines: 33 On 6/25/2015 9:33 AM, Nicolas Pitre wrote: > On Wed, 24 Jun 2015, santosh shilimkar wrote: > >> On 6/23/2015 8:13 AM, Vitaly Andrianov wrote: >>> This patch fixes pfn_to_kaddr() to use phys_addr_t. Without this, >>> this macro is broken on LPAE systems. For physical addresses above >>> first 4GB result of shifting pfn with PAGE_SHIFT may be truncated. >>> >>> Signed-off-by: Vitaly Andrianov >>> --- >> Looks a valid fix. >> >> RMK, Nico, what you say ? > > Looks fine to me. > > Acked-by: Nicolas Pitre > Thanks Nico. Vitaly, I suggest you to drop this patch into RMK's patch system with mine and Nico's ack. Regards, Santosh -- 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/