lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091122132915.GA3046@elte.hu>
Date:	Sun, 22 Nov 2009 14:29:15 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Ilya Loginov <isloginov@...il.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	David Woodhouse <dwmw2@...radead.org>,
	linux-kernel@...r.kernel.org, Peter Horton <phorton@...box.co.uk>,
	"Ed L. Cashin" <ecashin@...aid.com>,
	Jens Axboe <jens.axboe@...cle.com>
Subject: Re: [PATCH] mtd: fix mtd_blkdevs problem with caches on some
 architectures (2.6.31)


* Ilya Loginov <isloginov@...il.com> wrote:

> What do you think about this version of patch?
> Is it good enought?
> 
> Signed-off-by: Ilya Loginov <isloginov@...il.com>
> ---
>  arch/alpha/include/asm/cacheflush.h         |    1 +
>  arch/arm/include/asm/cacheflush.h           |    1 +
>  arch/avr32/include/asm/cacheflush.h         |    1 +
>  arch/blackfin/include/asm/cacheflush.h      |    2 ++
>  arch/cris/include/asm/cacheflush.h          |    1 +
>  arch/frv/include/asm/cacheflush.h           |    1 +
>  arch/h8300/include/asm/cacheflush.h         |    1 +
>  arch/ia64/include/asm/cacheflush.h          |    1 +
>  arch/m32r/include/asm/cacheflush.h          |    3 +++
>  arch/m68k/include/asm/cacheflush_mm.h       |    1 +
>  arch/m68k/include/asm/cacheflush_no.h       |    1 +
>  arch/microblaze/include/asm/cacheflush.h    |    1 +
>  arch/mips/include/asm/cacheflush.h          |    1 +
>  arch/mn10300/include/asm/cacheflush.h       |    1 +
>  arch/parisc/include/asm/cacheflush.h        |    1 +
>  arch/powerpc/include/asm/cacheflush.h       |    1 +
>  arch/s390/include/asm/cacheflush.h          |    1 +
>  arch/sh/include/asm/cacheflush.h            |    1 +
>  arch/sh/include/cpu-common/cpu/cacheflush.h |    1 +
>  arch/sh/include/cpu-sh2a/cpu/cacheflush.h   |    1 +
>  arch/sh/include/cpu-sh3/cpu/cacheflush.h    |    1 +
>  arch/sh/include/cpu-sh4/cpu/cacheflush.h    |    1 +
>  arch/sh/include/cpu-sh5/cpu/cacheflush.h    |    1 +
>  arch/sparc/include/asm/cacheflush_32.h      |    1 +
>  arch/sparc/include/asm/cacheflush_64.h      |    1 +
>  arch/x86/include/asm/cacheflush.h           |    1 +
>  arch/xtensa/include/asm/cacheflush.h        |    2 ++
>  drivers/mtd/mtd_blkdevs.c                   |    2 ++
>  include/linux/bio.h                         |   19 +++++++++++++++++++
>  include/linux/blkdev.h                      |   18 ++++++++++++++++++
>  30 files changed, 70 insertions(+)

patch looks mangled in the middle:

> --- a/arch/x86/include/asm/cacheflush.h
> +++ b/arch/x86/include/asm/cacheflush.h
> @@ -12,6 +12,7 @@ static inline void flush_cache_range(struct
> vm_area_struct *vma, unsigned long start, unsigned long end) { }
>  static inline void flush_cache_page(struct vm_area_struct *vma,
>  				    unsigned long vmaddr, unsigned
> long pfn) { } +#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 0
>  static inline void flush_dcache_page(struct page *page) { }
>  static inline void flush_dcache_mmap_lock(struct address_space
> *mapping) { } static inline void flush_dcache_mmap_unlock(struct
> address_space *mapping) { } diff --git

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ