Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-12-10 Thread Tony Lindgren
* Kees Cook [141210 13:18]: > On Tue, Sep 16, 2014 at 1:50 PM, Tony Lindgren wrote: > > From: Tony Lindgren > > Date: Thu, 11 Sep 2014 15:02:37 -0700 > > Subject: [PATCH] pstore-ram: Allow optional mapping with pgprot_noncached > > > > On some ARMs the memory can be mapped pgprot_noncached()

Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-12-10 Thread Kees Cook
On Tue, Sep 16, 2014 at 1:50 PM, Tony Lindgren wrote: > From: Tony Lindgren > Date: Thu, 11 Sep 2014 15:02:37 -0700 > Subject: [PATCH] pstore-ram: Allow optional mapping with pgprot_noncached > > On some ARMs the memory can be mapped pgprot_noncached() and still > be working for atomic

Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-12-10 Thread Kees Cook
On Tue, Sep 16, 2014 at 1:50 PM, Tony Lindgren t...@atomide.com wrote: From: Tony Lindgren t...@atomide.com Date: Thu, 11 Sep 2014 15:02:37 -0700 Subject: [PATCH] pstore-ram: Allow optional mapping with pgprot_noncached On some ARMs the memory can be mapped pgprot_noncached() and still be

Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-12-10 Thread Tony Lindgren
* Kees Cook keesc...@chromium.org [141210 13:18]: On Tue, Sep 16, 2014 at 1:50 PM, Tony Lindgren t...@atomide.com wrote: From: Tony Lindgren t...@atomide.com Date: Thu, 11 Sep 2014 15:02:37 -0700 Subject: [PATCH] pstore-ram: Allow optional mapping with pgprot_noncached On some ARMs the

Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-09-16 Thread Tony Lindgren
* Russell King - ARM Linux [140912 16:16]: > On Fri, Sep 12, 2014 at 11:32:25AM -0700, Tony Lindgren wrote: > > On some ARMs at least the memory can be mapped pgprot_noncached() > > and still be working for atomic operations. As pointed out by > > Colin Cross , in some cases you do want to use >

Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-09-16 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [140912 16:16]: On Fri, Sep 12, 2014 at 11:32:25AM -0700, Tony Lindgren wrote: On some ARMs at least the memory can be mapped pgprot_noncached() and still be working for atomic operations. As pointed out by Colin Cross ccr...@android.com, in

Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-09-12 Thread Russell King - ARM Linux
On Fri, Sep 12, 2014 at 11:32:25AM -0700, Tony Lindgren wrote: > On some ARMs at least the memory can be mapped pgprot_noncached() > and still be working for atomic operations. As pointed out by > Colin Cross , in some cases you do want to use > pgprot_noncached() if the SoC supports it to see a

[PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-09-12 Thread Tony Lindgren
On some ARMs at least the memory can be mapped pgprot_noncached() and still be working for atomic operations. As pointed out by Colin Cross , in some cases you do want to use pgprot_noncached() if the SoC supports it to see a debug printk just before a write hanging the system. On ARMs, the

[PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-09-12 Thread Tony Lindgren
On some ARMs at least the memory can be mapped pgprot_noncached() and still be working for atomic operations. As pointed out by Colin Cross ccr...@android.com, in some cases you do want to use pgprot_noncached() if the SoC supports it to see a debug printk just before a write hanging the system.

Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-09-12 Thread Russell King - ARM Linux
On Fri, Sep 12, 2014 at 11:32:25AM -0700, Tony Lindgren wrote: On some ARMs at least the memory can be mapped pgprot_noncached() and still be working for atomic operations. As pointed out by Colin Cross ccr...@android.com, in some cases you do want to use pgprot_noncached() if the SoC supports