Re: Crash on FSL Book3E due to pte_pgprot()? (was Re: [PATCH v3 12/24] powerpc/mm: use pte helpers in generic code)

2018-10-17 Thread Aneesh Kumar K.V
On 10/17/18 4:42 PM, Christophe Leroy wrote: On 10/17/2018 10:32 AM, Michael Ellerman wrote: Christophe Leroy writes: On 10/17/2018 12:59 AM, Michael Ellerman wrote: ... The question is what's the right way to fix it? Should pte_pgprot() not be filtering those bits out on book3e? I think

Re: Crash on FSL Book3E due to pte_pgprot()? (was Re: [PATCH v3 12/24] powerpc/mm: use pte helpers in generic code)

2018-10-17 Thread Aneesh Kumar K.V
pc/mm: use pte helpers in generic code") > Signed-off-by: Christophe Leroy > --- > arch/powerpc/mm/pgtable_32.c | 3 ++- > arch/powerpc/mm/pgtable_64.c | 4 ++-- > 2 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgta

Re: [Lsf-pc] [LSF/MM TOPIC] Un-addressable device memory and block/fs implications

2016-12-19 Thread Aneesh Kumar K.V
Jan Kara writes: > On Tue 13-12-16 16:24:33, Jerome Glisse wrote: >> On Wed, Dec 14, 2016 at 08:10:41AM +1100, Dave Chinner wrote: >> > On Tue, Dec 13, 2016 at 03:31:13PM -0500, Jerome Glisse wrote: >> > > On Wed, Dec 14, 2016 at 07:15:15AM +1100, Dave Chinner wrote: >> > > > On Tue, Dec 13, 2016

[LSF/MM ATTEND] Un-addressable device memory and block/fs implications

2016-12-15 Thread Aneesh Kumar K.V
Jerome Glisse writes: > I would like to discuss un-addressable device memory in the context of > filesystem and block device. Specificaly how to handle write-back, read, > ... when a filesystem page is migrated to device memory that CPU can not > access. > > I intend to post a patchset leveraging

Re: [Lsf-pc] [LSF/MM TOPIC] Un-addressable device memory and block/fs implications

2016-12-15 Thread Aneesh Kumar K.V
Jan Kara writes: > On Wed 14-12-16 12:15:14, Jerome Glisse wrote: > page handling> > >> > So won't it be easier to leave the pagecache page where it is and *copy* it >> > to the device? Can the device notify us *before* it is going to modify a >> > page, not just after it has modified it? Possib