Re: [PATCH] lkdtm: include cacheflush.h

2014-03-22 Thread Kees Cook
On Fri, Mar 21, 2014 at 1:36 PM, Paul Gortmaker wrote: > On 14-03-21 03:33 PM, Kees Cook wrote: >> On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker >> wrote: >>> On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook wrote: Some architectures need cacheflush.h explicitly included (mips) for use

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-22 Thread Kees Cook
On Fri, Mar 21, 2014 at 1:36 PM, Paul Gortmaker paul.gortma...@windriver.com wrote: On 14-03-21 03:33 PM, Kees Cook wrote: On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker paul.gortma...@windriver.com wrote: On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook keesc...@chromium.org wrote: Some

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Paul Gortmaker
On 14-03-21 03:33 PM, Kees Cook wrote: > On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker > wrote: >> On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook wrote: >>> Some architectures need cacheflush.h explicitly included (mips) for >>> use of flush_icache_range(): >>> >>> config: make ARCH=mips

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Kees Cook
On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker wrote: > On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook wrote: >> Some architectures need cacheflush.h explicitly included (mips) for >> use of flush_icache_range(): >> >> config: make ARCH=mips allmodconfig >> All error/warnings: >> >>

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Paul Gortmaker
On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook wrote: > Some architectures need cacheflush.h explicitly included (mips) for > use of flush_icache_range(): > > config: make ARCH=mips allmodconfig > All error/warnings: > >> ERROR: "flush_icache_range" undefined! The linux-next builds still

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Paul Gortmaker
On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook keesc...@chromium.org wrote: Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range(): config: make ARCH=mips allmodconfig All error/warnings: ERROR: flush_icache_range undefined! The linux-next

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Kees Cook
On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker paul.gortma...@windriver.com wrote: On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook keesc...@chromium.org wrote: Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range(): config: make ARCH=mips allmodconfig

Re: [PATCH] lkdtm: include cacheflush.h

2014-03-21 Thread Paul Gortmaker
On 14-03-21 03:33 PM, Kees Cook wrote: On Fri, Mar 21, 2014 at 12:31 PM, Paul Gortmaker paul.gortma...@windriver.com wrote: On Fri, Feb 14, 2014 at 6:58 PM, Kees Cook keesc...@chromium.org wrote: Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range():

[PATCH] lkdtm: include cacheflush.h

2014-02-14 Thread Kees Cook
Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range(): config: make ARCH=mips allmodconfig All error/warnings: >> ERROR: "flush_icache_range" undefined! Reported-by: Fengguang Wu Signed-off-by: Kees Cook --- drivers/misc/lkdtm.c |1 +

[PATCH] lkdtm: include cacheflush.h

2014-02-14 Thread Kees Cook
Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range(): config: make ARCH=mips allmodconfig All error/warnings: ERROR: flush_icache_range undefined! Reported-by: Fengguang Wu fengguang...@intel.com Signed-off-by: Kees Cook