From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx200.postini.com [74.125.245.200]) by kanga.kvack.org (Postfix) with SMTP id 036B56B0005 for ; Thu, 4 Apr 2013 01:21:02 -0400 (EDT) Received: by mail-oa0-f49.google.com with SMTP id j6so2325877oag.22 for ; Wed, 03 Apr 2013 22:21:02 -0700 (PDT) Message-ID: <515D0DB7.7000001@gmail.com> Date: Thu, 04 Apr 2013 13:20:55 +0800 From: Simon Jeons MIME-Version: 1.0 Subject: Re: [PATCH] x86: add phys addr validity check for /dev/mem mmap References: <1364905733-23937-1-git-send-email-fhrbata@redhat.com> <515B2802.1050405@zytor.com> <515CD359.40004@gmail.com> <515CD3BF.5010104@zytor.com> <515CD4A7.6070903@gmail.com> <515CD81D.6020603@zytor.com> In-Reply-To: <515CD81D.6020603@zytor.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: "H. Peter Anvin" Cc: Frantisek Hrbata , linux-kernel@vger.kernel.org, linux-mm@kvack.org, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, oleg@redhat.com, kamaleshb@in.ibm.com, hechjie@cn.ibm.com Hi H.Peter, On 04/04/2013 09:32 AM, H. Peter Anvin wrote: > On 04/03/2013 06:17 PM, Simon Jeons wrote: >> e820 also contain mmio, correct? > No. How to check which address is used by mmio? /proc/iomem, correct? > >> So cpu should not access address beyond >> e820 map(RAM+MMIO). > No. > > -hpa > > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org