Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1526362

Re: [HMM v13 07/18] mm/ZONE_DEVICE/x86: add support for un-addressable device memory

From Jerome Glisse <jglisse@redhat.com>
Newsgroups linux.kernel
Subject Re: [HMM v13 07/18] mm/ZONE_DEVICE/x86: add support for un-addressable device memory
Date 2016-11-21 06:10 +0100
Message-ID <sFP1D-59B-5@gated-at.bofh.it> (permalink)
References <sEUZr-1B7-3@gated-at.bofh.it> <sEUZr-1B7-17@gated-at.bofh.it> <sFMdr-3fW-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Nov 21, 2016 at 01:08:56PM +1100, Balbir Singh wrote:
> 
> 
> On 19/11/16 05:18, Jérôme Glisse wrote:
> > It does not need much, just skip populating kernel linear mapping
> > for range of un-addressable device memory (it is pick so that there
> > is no physical memory resource overlapping it). All the logic is in
> > share mm code.
> > 
> > Only support x86-64 as this feature doesn't make much sense with
> > constrained virtual address space of 32bits architecture.
> > 
> 
> Is there a reason this would not work on powerpc64 for example?
> Could you document the limitations -- testing/APIs/missing features?

It should be straight forward for powerpc64, i haven't done it but i
certainly can try to get access to some powerpc64 and add support for
it.

The only thing to do is to avoid creating kernel linear mapping for the
un-addressable memory (just for safety reasons we do not want any read/
write to invalid physical address).

Cheers,
Jérôme

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[HMM v13 07/18] mm/ZONE_DEVICE/x86: add support for un-addressable device memory Jérôme Glisse <jglisse@redhat.com> - 2016-11-18 18:20 +0100
  Re: [HMM v13 07/18] mm/ZONE_DEVICE/x86: add support for  un-addressable device memory Balbir Singh <bsingharora@gmail.com> - 2016-11-21 03:10 +0100
    Re: [HMM v13 07/18] mm/ZONE_DEVICE/x86: add support for  un-addressable device memory Jerome Glisse <jglisse@redhat.com> - 2016-11-21 06:10 +0100

csiph-web