1. 27 6月, 2005 7 次提交
  2. 26 6月, 2005 3 次提交
    • N
      [PATCH] sched: cleanup context switch locking · 4866cde0
      Nick Piggin 提交于
      Instead of requiring architecture code to interact with the scheduler's
      locking implementation, provide a couple of defines that can be used by the
      architecture to request runqueue unlocked context switches, and ask for
      interrupts to be enabled over the context switch.
      
      Also replaces the "switch_lock" used by these architectures with an oncpu
      flag (note, not a potentially slow bitflag).  This eliminates one bus
      locked memory operation when context switching, and simplifies the
      task_running function.
      Signed-off-by: NNick Piggin <nickpiggin@yahoo.com.au>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4866cde0
    • R
      [PATCH] ARM: Generic Dynamic Tick Timer support for ARM, take 4 · 8749af68
      Russell King 提交于
      This patch adds support for Dynamic Tick Timer for ARM. Dynamic Tick is
      also known as VST (Variable Scheduling Timeouts).
      
      Dynamic Tick has been in use in the OMAP tree since last October.  The
      patch is not intrusive, and does not do anything unless CONFIG_NO_IDLE_HZ
      is defined.  This patch has the following fixed based on comments from
      RMK:
      - Time is updated before calling interrupt handlers.
      - Added new interrupt flag SA_TIMER to avoid duplicate timer interrupts
      - Moved struct dyn_tick_timer to time.h until we at some point probably
        have an arch independent dyn-tick.h
      - Cleaned up testing for DYN_TICK_ENABLED in irq.c
      
       I've cleaned up this patch to fix some remaining issues:
       - Call the timer tick handler with irqs disabled, as it would be from
         a normal interrupt
       - if we have a dyn_tick, we better implement all methods.
       - generic timer_dyn_reprogram() call, to be called before sleeping
       - added command line option - "dyntick=" to allow boot-time control
         of this feature
          -- rmk
      
      Signed-off-by: Tony Lindgren
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      8749af68
    • L
      [PATCH] ARM: 2752/1: disable ixp2000 PCI I/O software workaround on chips that don't need it · 321ab6a5
      Lennert Buytenhek 提交于
      Patch from Lennert Buytenhek
      
      The later ixp2000 models don't need the PCI I/O workaround that we
      currently perform.  Add a config option to disable the workaround,
      and panic on boot if a kernel without the workaround is booted on a
      buggy chip.  As only pre-production ixp2000s need the workaround,
      the default is for it not to be configured in.
      Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: Deepak Saxena
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      321ab6a5
  3. 25 6月, 2005 5 次提交
  4. 24 6月, 2005 1 次提交
    • J
      [PATCH] streamline preempt_count type across archs · dcd497f9
      Jesper Juhl 提交于
      The preempt_count member of struct thread_info is currently either defined
      as int, unsigned int or __s32 depending on arch.  This patch makes the type
      of preempt_count an int on all archs.
      
      Having preempt_count be an unsigned type prevents the catching of
      preempt_count < 0 bugs, and using int on some archs and __s32 on others is
      not exactely "neat" - much nicer when it's just int all over.
      
      A previous version of this patch was already ACK'ed by Robert Love, and the
      only change in this version of the patch compared to the one he ACK'ed is
      that this one also makes sure the preempt_count member is consistently
      commented.
      Signed-off-by: NJesper Juhl <juhl-lkml@dif.dk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      dcd497f9
  5. 23 6月, 2005 1 次提交
  6. 22 6月, 2005 3 次提交
    • D
      [PATCH] I2C: add i2c driver for TPS6501x · 72cd7995
      David Brownell 提交于
      This adds an I2C driver for the TPS6501x series of power management chips.
      It's used on many OMAP based boards, and this driver has been widely used
      in the Linux-OMAP trees over the last year or so.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      72cd7995
    • I
      [PATCH] smp_processor_id() cleanup · 39c715b7
      Ingo Molnar 提交于
      This patch implements a number of smp_processor_id() cleanup ideas that
      Arjan van de Ven and I came up with.
      
      The previous __smp_processor_id/_smp_processor_id/smp_processor_id API
      spaghetti was hard to follow both on the implementational and on the
      usage side.
      
      Some of the complexity arose from picking wrong names, some of the
      complexity comes from the fact that not all architectures defined
      __smp_processor_id.
      
      In the new code, there are two externally visible symbols:
      
       - smp_processor_id(): debug variant.
      
       - raw_smp_processor_id(): nondebug variant. Replaces all existing
         uses of _smp_processor_id() and __smp_processor_id(). Defined
         by every SMP architecture in include/asm-*/smp.h.
      
      There is one new internal symbol, dependent on DEBUG_PREEMPT:
      
       - debug_smp_processor_id(): internal debug variant, mapped to
                                   smp_processor_id().
      
      Also, i moved debug_smp_processor_id() from lib/kernel_lock.c into a new
      lib/smp_processor_id.c file.  All related comments got updated and/or
      clarified.
      
      I have build/boot tested the following 8 .config combinations on x86:
      
       {SMP,UP} x {PREEMPT,!PREEMPT} x {DEBUG_PREEMPT,!DEBUG_PREEMPT}
      
      I have also build/boot tested x64 on UP/PREEMPT/DEBUG_PREEMPT.  (Other
      architectures are untested, but should work just fine.)
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NArjan van de Ven <arjan@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      39c715b7
    • A
      [PATCH] arm: irqs_disabled() type fix · 9a558cb4
      Andrew Morton 提交于
      kernel/sched.c: In function `__might_sleep':
      kernel/sched.c:5461: warning: int format, long unsigned int arg (arg 3)
      
      We expect irqs_disabled() to return an int (poor man's bool).
      Acked-by: NRussell King <rmk@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9a558cb4
  7. 21 6月, 2005 4 次提交
    • L
      [PATCH] ARM: 2701/1: free up ixp2000 timer 4 for the watchdog · e4fe1981
      Lennert Buytenhek 提交于
      Patch from Lennert Buytenhek
      
      The IXP2000 has four timers, but if we're on an A-step IXP2800, timer
      2 and 3 don't work.  We need two timers for timekeeping (one for the
      timer interrupt and one for tracking missed jiffies), so on early
      IXP2800s we have no other choice but to use timer 1 and 4 for that,
      but on all other IXP2000s we'd rather leave timer 4 free since that's
      the only timer we can use for the watchdog.
      So, on buggy IXP2000s (i.e. the A-step IXP2800) we use timer 4 for
      tracking missed jiffies, and on all all non-buggy IXP2000s (i.e.
      everything but the A-step IXP2800) we use timer 2.
      On a pre-production IXP2800, this patch should print these messages
      on boot:
      	Enabling IXP2800 erratum #25 workaround
      	Unable to use IXP2000 watchdog due to IXP2800 erratum #25
      On any non-buggy IXP2800 (as well as on IXP2400s) you shouldn't see
      anything at all, and the watchdog should be usable again.
      
      Signed-off-by: Lennert Buytenhek
      Signed-off-by: Deepak Saxena
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e4fe1981
    • C
      [PATCH] ARM: 2693/1: Add PCI support for Versatile/PB · c0da085a
      Catalin Marinas 提交于
      Patch from Catalin Marinas
      
      This patch adds PCI support for the Versatile PB926 platform.
      
      Signed-off-by: Colin King
      Signed-off-by: Catalin Marinas
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      c0da085a
    • B
      [PATCH] ARM: 2686/2: AAEC-2000 Core support · 038c5b60
      Bellido Nicolas 提交于
      Patch from Bellido Nicolas
      
      Core support for AAEC-2000 based platforms.
      This is an updated version of the previous patch, and takes
      into account Russell's comments.
      AAED-2000 default configuration will follow as soon
      as some problems with the bootloader are sorted out...
      
      Signed-off-by: Nicolas Bellido
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      038c5b60
    • R
      [PATCH] ARM: Add iomap support for ARM · 09f0551d
      Russell King 提交于
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      09f0551d
  8. 20 6月, 2005 2 次提交
  9. 19 6月, 2005 1 次提交
  10. 18 6月, 2005 1 次提交
  11. 17 6月, 2005 2 次提交
  12. 09 6月, 2005 1 次提交
  13. 04 6月, 2005 2 次提交
    • M
      [PATCH] ARM: 2696/1: remove ';' in ELF_DATA define in asm-arm{,26}/elf.h · 718a30a5
      Mike Frysinger 提交于
      Patch from Mike Frysinger
      
      the ELF_DATA define in both arm asm subdirs of linux/include/ contain a
      semicolon at the end.  this of course will cause any code that tries to use
      ELF_DATA in assignment or comparison to fail.  no other arch has a semicolon
      in their ELF_DATA defines.
      
      Signed-off-by: Mike Frysinger
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      718a30a5
    • D
      [PATCH] ARM: 2692/1: Fix compile warnings in include/asm-arm/arch-ixp2000/io.h · 4ab5c01c
      Deepak Saxena 提交于
      Patch from Deepak Saxena
      
      This patch fixes the following warnings:
      include/asm/arch/io.h: In function `insw':
      include/asm/arch/io.h:78: warning: comparison of distinct pointer types
      lacks acast
      include/asm/arch/io.h:79: warning: comparison of distinct pointer types
      lacks acast
      include/asm/arch/io.h: In function `outsw':
      include/asm/arch/io.h:103: warning: comparison of distinct pointer types
      lacks a cast
      include/asm/arch/io.h:104: warning: comparison of distinct pointer types
      lacks a cast
      include/asm/arch/io.h: In function `inw':
      include/asm/arch/io.h:127: warning: comparison of distinct pointer types
      lacks a cast
      
      Signed-off-by: Deepak Saxena
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      4ab5c01c
  14. 13 5月, 2005 1 次提交
  15. 11 5月, 2005 1 次提交
  16. 10 5月, 2005 2 次提交
  17. 05 5月, 2005 2 次提交
  18. 04 5月, 2005 1 次提交
    • A
      [PATCH] asm/signal.h unification · b1ecb4c3
      Al Viro 提交于
      New file - asm-generic/signal.h.  Contains declarations of
      __sighandler_t, __sigrestore_t, SIG_DFL, SIG_IGN, SIG_ERR and default
      definitions of SIG_BLOCK, SIG_UNBLOCK and SIG_SETMASK.
      
      asm-*/signal.h switched to including it.  The only exception is
      asm-parisc/signal.h that wants its own declaration of __sighandler_t;
      that one is left as-is.
      
      asm-ppc64/signal.h required one more thing - unlike everybody else it
      used __sigrestorer_t instead of usual __sigrestore_t.  PPC64 switched to
      common spelling.
      Signed-off-by: NAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b1ecb4c3