Linux-mm Archive on lore.kernel.org
 help / color / Atom feed
* Re: [PATCH v4 2/2] RISC-V: Implement sparsemem
       [not found]                         ` <alpine.DEB.2.21.9999.1908130921170.30024@viisi.sifive.com>
@ 2019-08-13 16:48                           ` Paul Walmsley
  0 siblings, 0 replies; only message in thread
From: Paul Walmsley @ 2019-08-13 16:48 UTC (permalink / raw)
  To: Logan Gunthorpe
  Cc: Greentime Hu, Rob Herring, Albert Ou, Andrew Waterman,
	Palmer Dabbelt, Linux Kernel Mailing List, Stephen Bates,
	Olof Johansson, greentime.hu, linux-riscv, Michael Clark,
	Christoph Hellwig, linux-mm

On Tue, 13 Aug 2019, Paul Walmsley wrote:

> On Tue, 13 Aug 2019, Logan Gunthorpe wrote:
> 
> > On 2019-08-13 12:04 a.m., Greentime Hu wrote:
> > 
> > > Every architecture with mmu defines their own pfn_valid().
> > 
> > Not true. Arm64, for example just uses the generic implementation in
> > mmzone.h. 
> 
> arm64 seems to define their own:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/Kconfig#n899
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/mm/init.c#n235
> 
> While there are many architectures which have their own pfn_valid(); 
> oddly, almost none of them set HAVE_ARCH_PFN_VALID ?

(fixed the linux-mm@ address)


- Paul


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190109203911.7887-1-logang@deltatee.com>
     [not found] ` <20190109203911.7887-3-logang@deltatee.com>
     [not found]   ` <CAEbi=3d0RNVKbDUwRL-o70O12XBV7q6n_UT-pLqFoh9omYJZKQ@mail.gmail.com>
     [not found]     ` <c4298fdd-6fd6-fa7f-73f7-5ff016788e49@deltatee.com>
     [not found]       ` <CAEbi=3cn4+7zk2DU1iRa45CDwTsJYfkAV8jXHf-S7Jz63eYy-A@mail.gmail.com>
     [not found]         ` <CAEbi=3eZcgWevpX9VO9ohgxVDFVprk_t52Xbs3-TdtZ+js3NVA@mail.gmail.com>
     [not found]           ` <0926a261-520e-4c40-f926-ddd40bb8ce44@deltatee.com>
     [not found]             ` <CAEbi=3ebNM-t_vA4OA7KCvQUF08o6VmL1j=kMojVnYsYsN_fBw@mail.gmail.com>
     [not found]               ` <e2603558-7b2c-2e5f-e28c-f01782dc4e66@deltatee.com>
     [not found]                 ` <CAEbi=3d7_xefYaVXEnMJW49Bzdbbmc2+UOwXWrCiBo7YkTAihg@mail.gmail.com>
     [not found]                   ` <96156909-1453-d487-ff66-a041d67c74d6@deltatee.com>
     [not found]                     ` <CAEbi=3dC86dhGdwdarS_x+6-5=WPydUBKjo613qRZxKLDAqU_g@mail.gmail.com>
     [not found]                       ` <5506c875-9387-acc9-a7fe-5b7c10036c40@deltatee.com>
     [not found]                         ` <alpine.DEB.2.21.9999.1908130921170.30024@viisi.sifive.com>
2019-08-13 16:48                           ` [PATCH v4 2/2] RISC-V: Implement sparsemem Paul Walmsley

Linux-mm Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mm/0 linux-mm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mm linux-mm/ https://lore.kernel.org/linux-mm \
		linux-mm@kvack.org linux-mm@archiver.kernel.org
	public-inbox-index linux-mm


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kvack.linux-mm


AGPL code for this site: git clone https://public-inbox.org/ public-inbox