public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Ilya Loginov <isloginov@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	David Woodhouse <dwmw2@infradead.org>,
	linux-kernel@vger.kernel.org, Peter Horton <phorton@bitbox.co.uk>,
	"Ed L. Cashin" <ecashin@coraid.com>,
	Jens Axboe <jens.axboe@oracle.com>
Subject: Re: [PATCH] mtd: fix mtd_blkdevs problem with caches on some architectures (2.6.31)
Date: Sun, 22 Nov 2009 14:29:15 +0100	[thread overview]
Message-ID: <20091122132915.GA3046@elte.hu> (raw)
In-Reply-To: <20091122124631.908a32c4.isloginov@gmail.com>


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

> What do you think about this version of patch?
> Is it good enought?
> 
> Signed-off-by: Ilya Loginov <isloginov@gmail.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

  parent reply	other threads:[~2009-11-22 13:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-18 14:08 [PATCH] mtd: fix mtd_blkdevs problem with caches on some architectures (2.6.31) Ilya Loginov
2009-11-21  0:37 ` Andrew Morton
2009-11-21 14:04   ` Ilya Loginov
2009-11-21 17:54     ` Andrew Morton
2009-11-21 23:11       ` Ilya Loginov
2009-11-21 23:26         ` Andrew Morton
2009-11-21 23:36           ` Ilya Loginov
2009-11-22  9:46           ` Ilya Loginov
2009-11-22  9:53             ` David Woodhouse
2009-11-22 18:49               ` Ilya Loginov
2009-11-22 13:29             ` Ingo Molnar [this message]
2009-11-22 13:55               ` Ilya Loginov
2009-11-22 18:48                 ` Andrew Morton
2009-11-22 19:18                   ` Ilya Loginov
2009-11-22 19:51                     ` Andrew Morton
2009-11-22 20:55                       ` Ilya Loginov
2009-11-24 20:48                         ` Andrew Morton
2009-11-25  1:01                           ` Ilya Loginov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091122132915.GA3046@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=dwmw2@infradead.org \
    --cc=ecashin@coraid.com \
    --cc=isloginov@gmail.com \
    --cc=jens.axboe@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phorton@bitbox.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox