1. 28 11月, 2008 2 次提交
    • R
      d73e60b7
    • R
      Allow architectures to override copy_user_highpage() · 487ff320
      Russell King 提交于
      With aliasing VIPT cache support, the ARM implementation of
      clear_user_page() and copy_user_page() sets up a temporary kernel space
      mapping such that we have the same cache colour as the userspace page.
      This avoids having to consider any userspace aliases from this operation.
      
      However, when highmem is enabled, kmap_atomic() have to setup mappings.
      The copy_user_highpage() and clear_user_highpage() call these functions
      before delegating the copies to copy_user_page() and clear_user_page().
      
      The effect of this is that each of the *_user_highpage() functions setup
      their own kmap mapping, followed by the *_user_page() functions setting
      up another mapping.  This is rather wasteful.
      
      Thankfully, copy_user_highpage() can be overriden by architectures by
      defining __HAVE_ARCH_COPY_USER_HIGHPAGE.  However, replacement of
      clear_user_highpage() is more difficult because its inline definition
      is not conditional.  It seems that you're expected to define
      __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE and provide a replacement
      __alloc_zeroed_user_highpage() implementation instead.
      
      The allocation itself is fine, so we don't want to override that.  What
      we really want to do is to override clear_user_highpage() with our own
      version which doesn't kmap_atomic() unnecessarily.
      
      Other VIPT architectures (PARISC and SH) would also like to override
      this function as well.
      Acked-by: NHugh Dickins <hugh@veritas.com>
      Acked-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      Acked-by: NPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      487ff320
  2. 27 11月, 2008 2 次提交
  3. 26 11月, 2008 1 次提交
  4. 25 11月, 2008 1 次提交
    • T
      ARM: OMAP: Remove broken LCD driver for SX1 · 7953031d
      Tony Lindgren 提交于
      Recently the omap McBSP code was cleaned up to get rid of
      direct McBSP register tinkering by the drivers. Looks like
      lcd_sx1.c never got converted, and now it breaks builds.
      
      It seems the lcd_sx1.c driver is attempting SPI mode, but
      doing it in a different way compared to omap_mcbsp_set_spi_mode().
      
      Remove the broken driver, patches welcome to add it back when
      done properly by patching both mcbsp.c and lcd_sx1.c.
      
      Cc: Vovan888@gmail.com
      Cc: linux-fbdev-devel@lists.sourceforge.net
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7953031d
  5. 23 11月, 2008 1 次提交
  6. 22 11月, 2008 2 次提交
  7. 21 11月, 2008 25 次提交
  8. 20 11月, 2008 6 次提交