1. 09 2月, 2007 6 次提交
  2. 14 12月, 2006 2 次提交
    • R
      [PATCH] Optimize D-cache alias handling on fork · ec8c0446
      Ralf Baechle 提交于
      Virtually index, physically tagged cache architectures can get away
      without cache flushing when forking.  This patch adds a new cache
      flushing function flush_cache_dup_mm(struct mm_struct *) which for the
      moment I've implemented to do the same thing on all architectures
      except on MIPS where it's a no-op.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ec8c0446
    • R
      [PATCH] getting rid of all casts of k[cmz]alloc() calls · 5cbded58
      Robert P. J. Day 提交于
      Run this:
      
      	#!/bin/sh
      	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
      	  echo "De-casting $f..."
      	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
      	done
      
      And then go through and reinstate those cases where code is casting pointers
      to non-pointers.
      
      And then drop a few hunks which conflicted with outstanding work.
      
      Cc: Russell King <rmk@arm.linux.org.uk>, Ian Molton <spyro@f2s.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Paul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Ian Kent <raven@themaw.net>
      Cc: Steven French <sfrench@us.ibm.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5cbded58
  3. 09 12月, 2006 1 次提交
    • A
      [PATCH] tty: preparatory structures for termios revamp · be90038a
      Alan Cox 提交于
      In order to sort out our struct termios and add proper speed control we need
      to separate the kernel and user termios structures.  Glibc is fine but the
      other libraries rely on the kernel exported struct termios and we need to
      extend this without breaking the ABI/API
      
      To do so we add a struct ktermios which is the kernel view of a termios
      structure and overlaps the struct termios with extra fields on the end for
      now.  (That limitation will go away in later patches).  Some platforms (eg
      alpha) planned ahead and thus use the same struct for both, others did not.
      
      This just adds the structures but does not use them, it seems a sensible
      splitting point for bisect if there are compile failures (not that I expect
      them)
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      be90038a
  4. 08 12月, 2006 6 次提交
  5. 05 12月, 2006 1 次提交
  6. 03 12月, 2006 1 次提交
  7. 02 12月, 2006 1 次提交
  8. 01 12月, 2006 1 次提交
  9. 06 11月, 2006 1 次提交
  10. 26 10月, 2006 2 次提交
  11. 12 10月, 2006 1 次提交
  12. 05 10月, 2006 6 次提交
  13. 02 10月, 2006 1 次提交
  14. 26 9月, 2006 2 次提交
    • H
      [PATCH] AVR32 MTD: Static Memory Controller driver · bc157b75
      Haavard Skinnemoen 提交于
      This patchset adds the necessary drivers and infrastructure to access the
      external flash on the ATSTK1000 board through the MTD subsystem.  With this
      stuff in place, it will be possible to use a jffs2 filesystem stored in the
      external flash as a root filesystem.  It might also be possible to update the
      boot loader if you drop the write protection of partition 0.
      
      As suggested by David Woodhouse, I reworked the patches to use the physmap
      driver instead of introducing a separate mapping driver for the ATSTK1000.
      I've also cleaned up the hsmc header by removing useless comments and
      converting spaces to tabs (my headerfile generator needs some work.)
      
      Unfortunately, I couldn't unlock the flash in fixup_use_atmel_lock because the
      erase regions hadn't been set up yet, so I had to do it from cfi_amdstd_setup
      instead.
      
      This patch:
      
      This adds a simple API for configuring the static memory controller along with
      an implementation for the Atmel HSMC.
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      bc157b75
    • H
      [PATCH] avr32 architecture · 5f97f7f9
      Haavard Skinnemoen 提交于
      This adds support for the Atmel AVR32 architecture as well as the AT32AP7000
      CPU and the AT32STK1000 development board.
      
      AVR32 is a new high-performance 32-bit RISC microprocessor core, designed for
      cost-sensitive embedded applications, with particular emphasis on low power
      consumption and high code density.  The AVR32 architecture is not binary
      compatible with earlier 8-bit AVR architectures.
      
      The AVR32 architecture, including the instruction set, is described by the
      AVR32 Architecture Manual, available from
      
      http://www.atmel.com/dyn/resources/prod_documents/doc32000.pdf
      
      The Atmel AT32AP7000 is the first CPU implementing the AVR32 architecture.  It
      features a 7-stage pipeline, 16KB instruction and data caches and a full
      Memory Management Unit.  It also comes with a large set of integrated
      peripherals, many of which are shared with the AT91 ARM-based controllers from
      Atmel.
      
      Full data sheet is available from
      
      http://www.atmel.com/dyn/resources/prod_documents/doc32003.pdf
      
      while the CPU core implementation including caches and MMU is documented by
      the AVR32 AP Technical Reference, available from
      
      http://www.atmel.com/dyn/resources/prod_documents/doc32001.pdf
      
      Information about the AT32STK1000 development board can be found at
      
      http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3918
      
      including a BSP CD image with an earlier version of this patch, development
      tools (binaries and source/patches) and a root filesystem image suitable for
      booting from SD card.
      
      Alternatively, there's a preliminary "getting started" guide available at
      http://avr32linux.org/twiki/bin/view/Main/GettingStarted which provides links
      to the sources and patches you will need in order to set up a cross-compiling
      environment for avr32-linux.
      
      This patch, as well as the other patches included with the BSP and the
      toolchain patches, is actively supported by Atmel Corporation.
      
      [dmccr@us.ibm.com: Fix more pxx_page macro locations]
      [bunk@stusta.de: fix `make defconfig']
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NDave McCracken <dmccr@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5f97f7f9