Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 17, 2007
  1. Linux 2.6.24-rc3

    Linus Torvalds authored
  2. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    Linus Torvalds authored
    …/git/jmorris/selinux-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6:
      SELinux: return EOPNOTSUPP not ENOTSUPP
  3. Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm

    Linus Torvalds authored
    * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
      [ARM] 4638/1: pxa: use PXA3xx specific macros to define clks
      [ARM] remove useless setting of VM_RESERVED
  4. Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq

    Linus Torvalds authored
    * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
      [CPUFREQ] Fix up whitespace in conservative governor.
      [CPUFREQ] Make cpufreq_conservative handle out-of-sync events properly
      [CPUFREQ] architectural pstate driver for powernow-k8
Commits on Nov 16, 2007
  1. @eparis

    SELinux: return EOPNOTSUPP not ENOTSUPP

    eparis authored James Morris committed
    ENOTSUPP is not a valid error code in the kernel (it is defined in some
    NFS internal error codes and has been improperly used other places).  In
    the !CONFIG_SECURITY_SELINUX case though it is possible that we could
    return this from selinux_audit_rule_init().  This patch just returns the
    userspace valid EOPNOTSUPP.
    
    Signed-off-by: Eric Paris <eparis@redhat.com>
    Signed-off-by: James Morris <jmorris@namei.org>
  2. @ericmiao

    [ARM] 4638/1: pxa: use PXA3xx specific macros to define clks

    ericmiao authored Russell King committed
    PXA3xx uses its own clk_pxa3xx_cken_ops, modify the code to use the
    PXA3xx specific macros to define its clocks
    
    Signed-off-by: eric miao <eric.miao@marvell.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  3. dirty page balancing: Get rid of broken unmapped_ratio logic

    Linus Torvalds authored
    This code harks back to the days when we didn't count dirty mapped
    pages, which led us to try to balance the number of dirty unmapped pages
    by how much unmapped memory there was in the system.
    
    That makes no sense any more, since now the dirty counts include the
    mapped pages.  Not to mention that the math doesn't work with HIGHMEM
    machines anyway, and causes the unmapped_ratio to potentially turn
    negative (which we do catch thanks to clamping it at a minimum value,
    but I mention that as an indication of how broken the code is).
    
    The code also was written at a time when the default dirty ratio was
    much larger, and the unmapped_ratio logic effectively capped that large
    dirty ratio a bit.  Again, we've since lowered the dirty ratio rather
    aggressively, further lessening the point of that code.
    
    Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  4. Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/…

    Linus Torvalds authored
    …davem/net-2.6
    
    * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
      [NETFILTER]: Fix NULL pointer dereference in nf_nat_move_storage()
      [SUNHME]: VLAN support for sunhme
      [CHELSIO]: Fix skb->dev setting.
      [NETFILTER]: fix compat_nf_sockopt typo
      [INET]: Fix potential kfree on vmalloc-ed area of request_sock_queue
      [VIA_VELOCITY]: Don't oops on MTU change.
      iwl4965: fix not correctly dealing with hotunplug
      rt2x00: Fix chipset revision validation
      iwl3945: place CCK rates in front of OFDM for supported rates
      mac80211: Fix queuing of scan containing a SSID
  5. Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-…

    Linus Torvalds authored
    …linus
    
    * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
      [MIPS] N32 needs to use the compat version of sys_nfsservctl.
      [MIPS] irq_cpu: use handle_percpu_irq handler to avoid dropping interrupts.
      [MIPS] Sibyte: Fix name of clocksource.
      [MIPS] SNI: s/achknowledge/acknowledge/
      [MIPS] Makefile: Fix canonical system names
      [MIPS] vpe: handle halting TCs in an errata safe way.
      [MIPS] Sibyte: Stop timers before programming next even.
      [MIPS] Sibyte: Increase minimum oneshot timer interval to two ticks.
      [MIPS] Lasat: Fix overlap of interrupt number ranges.
      [MIPS] SNI PCIT CPLUS: workaround for b0rked irq wiring of onboard PCI bus 1
      [MIPS] Fix shadow register support.
      [MIPS] Change get_cycles to always return 0.
      [MIPS] Fix typo in R3000 TRACE_IRQFLAGS code
      [MIPS] Sibyte: Replace use of removed IO_SPACE_BASE with IOADDR.
      [MIPS] iounmap if in vr41xx_pciu_init() pci clock is over 33MHz
      [MIPS] BCM1480: Remove duplicate acknowledge of timer interrupt.
      [MIPS] Sibyte: pin timer interrupt to their cores.
      [MIPS] Qemu: Add early printk, your friend in a cold night.
      [MIPS] Convert reference to mem_map to pfn_to_page().
      [MIPS] Sibyte: resurrect old cache hack.
Commits on Nov 15, 2007
  1. @davem330

    [NETFILTER]: Fix NULL pointer dereference in nf_nat_move_storage()

    Evgeniy Polyakov authored davem330 committed
    Reported by Chuck Ebbert as:
    
    	https://bugzilla.redhat.com/show_bug.cgi?id=259501#c14
    
    This routine is called each time hash should be replaced, nf_conn has
    extension list which contains pointers to connection tracking users
    (like nat, which is right now the only such user), so when replace takes
    place it should copy own extensions. Loop above checks for own
    extension, but tries to move higer-layer one, which can lead to above
    oops.
    
    Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  2. @davem330

    [SUNHME]: VLAN support for sunhme

    Chris Poon authored davem330 committed
    This patch enables VLAN support on sunhme by increasing BMAC_TXMAX/BMAC_RXMAX
    and allocating extra space via skb_put for the VLAN header.
     
    Signed-off-by: Chris Poon <dev-null@telus.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  3. @ralfbaechle

    [MIPS] N32 needs to use the compat version of sys_nfsservctl.

    ralfbaechle authored
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  4. @ralfbaechle

    [MIPS] irq_cpu: use handle_percpu_irq handler to avoid dropping inter…

    ralfbaechle authored
    …rupts.
    
    This matters to any sort of device that is wired to one of the CPU
    interrupt pins on an SMP system.  Typically the scenario is most easily
    triggered with the count/compare timer interrupt where the same interrupt
    number and thus irq_desc is used on each processor.
    
       CPU A			CPU B
    
       do_IRQ()
       generic_handle_irq()
       handle_level_irq()
       spin_lock(desc_lock)
       set IRQ_INPROGRESS
       spin_unlock(desc_lock)
    				do_IRQ()
    				generic_handle_irq()
    				handle_level_irq()
    				spin_lock(desc_lock)
    				IRQ_INPROGRESS set => bail out
       spin_lock(desc_lock)
       clear IRQ_INPROGRESS
       spin_unlock(desc_lock)
    
    In case of the cp0 compare interrupt this means the interrupt will be
    acked and not handled or re-armed on CPU b, so there won't be any timer
    interrupt until the count register wraps around.
    
    With kernels 2.6.20 ... 2.6.23 we usually were lucky that things were just
    working right on VSMP because the count registers are synchronized on
    bootup so it takes something that disables interrupts for a long time on
    one processor to trigger this one.
    
    For scenarios where an interrupt is multicasted or broadcasted over several
    CPUs the existing code was safe and the fix will break it.  There is no
    way to know in the interrupt controller code because it is abstracted from
    the platform code.  I think we do not have such a setup currently, so this
    should be ok.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  5. @ralfbaechle

    [MIPS] Sibyte: Fix name of clocksource.

    ralfbaechle authored
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  6. @ralfbaechle

    [MIPS] SNI: s/achknowledge/acknowledge/

    Maciej W. Rozycki authored ralfbaechle committed
    Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  7. @ralfbaechle

    [MIPS] Makefile: Fix canonical system names

    Maciej W. Rozycki authored ralfbaechle committed
    The GNU `config.guess' uses "linux-gnu" as the canonical system name.
    Fix the list of compiler prefixes checked to spell it correctly.
    
    Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  8. @ralfbaechle

    [MIPS] vpe: handle halting TCs in an errata safe way.

    Nigel Stephens authored ralfbaechle committed
    Adds a JR.HB after halting a TC, to ensure that the TC has really halted.
    only modifies the TCSTATUS register when the TC is safely halted.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  9. @ralfbaechle

    [MIPS] Sibyte: Stop timers before programming next even.

    ralfbaechle authored
    We have no guarantee by the generic time code that the timer is stopped
    when the ->next_event method is called.  Modifying the Timer Initial Count
    register while the timer is enabled has UNPREDICTABLE effect according to
    the BCM1250/BCM1125/BCM1125H User Manual.  So stop the timer before
    reprogramming.
    
    This is a paranoia fix; no ill effects have been observed previously.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  10. @ralfbaechle

    [MIPS] Sibyte: Increase minimum oneshot timer interval to two ticks.

    ralfbaechle authored
    For the old minimum of a single tick a value of zero would be programmed
    into the init value register which in the BCM1250/BCM1125/BCM1125H User
    Manual in the Timer Special Cases section is documented to have
    UNPREDICTABLE effect.
    
    Observable sympthoms of this bug were hangs of several seconds on the
    console during bootup and later if both dyntick and highres timer options
    were activated.
    
    In theory contiguous mode of the timers is also affected but in an act of
    hopeless lack of realism I'll assume nobody will ever configure a KERNEL
    for HZ > 500kHz but if so I leave that to evolution to sort out.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  11. @ralfbaechle

    [MIPS] Lasat: Fix overlap of interrupt number ranges.

    Yoichi Yuasa authored ralfbaechle committed
    The range of MIPS_CPU IRQ and the range of LASAT IRQ overlap.
    
    Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  12. @ralfbaechle

    [MIPS] SNI PCIT CPLUS: workaround for b0rked irq wiring of onboard PC…

    Thomas Bogendoerfer authored ralfbaechle committed
    …I bus 1
    
    Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  13. @ralfbaechle

    [MIPS] Fix shadow register support.

    ralfbaechle authored
    Shadow register support would not possibly have worked on multicore
    systems.  The support code for it was also depending not on MIPS R2 but
    VSMP or SMTC kernels even though it makes perfect sense with UP kernels.
    
    SR sets are a scarce resource and the expected usage pattern is that
    users actually hardcode the register set numbers in their code.  So fix
    the allocator by ditching it.  Move the remaining CPU probe bits into
    the generic CPU probe.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  14. @ralfbaechle

    [MIPS] Change get_cycles to always return 0.

    ralfbaechle authored
    This avoids us executing an mfc0 c0_count instruction on processors which
    don't have but also on certain R4000 and R4400 versions where reading from
    the count register just in the very moment when its value equals
    c0_compare will result in the timer interrupt getting lost.
    
    There is still a number of users of get_cycles remaining outside the
    arch code:
    
    crypto/tcrypt.c:                start = get_cycles();
    crypto/tcrypt.c:                end = get_cycles();
    crypto/tcrypt.c:                start = get_cycles();
    crypto/tcrypt.c:                end = get_cycles();
    crypto/tcrypt.c:                start = get_cycles();
    crypto/tcrypt.c:                end = get_cycles();
    drivers/char/hangcheck-timer.c: return get_cycles();
    drivers/char/hangcheck-timer.c: printk("Hangcheck: Using get_cycles().\n");
    drivers/char/random.c:  sample.cycles = get_cycles();
    drivers/input/joystick/analog.c:#define GET_TIME(x)     do { x = get_cycles(); }
    include/linux/arcdevice.h:          _x = get_cycles(); \
    include/linux/arcdevice.h:          _y = get_cycles(); \
    mm/slub.c:      if (!s->defrag_ratio || get_cycles() % 1024 > s->defrag_ratio)
    mm/slub.c:      p += 64 + (get_cycles() & 0xff) * sizeof(void *);
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  15. @ralfbaechle

    [MIPS] Fix typo in R3000 TRACE_IRQFLAGS code

    Atsushi Nemoto authored ralfbaechle committed
    Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  16. @ralfbaechle

    [MIPS] Sibyte: Replace use of removed IO_SPACE_BASE with IOADDR.

    ralfbaechle authored
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  17. @ralfbaechle

    [MIPS] iounmap if in vr41xx_pciu_init() pci clock is over 33MHz

    Roel Kluin authored ralfbaechle committed
    iounmap if pci clock is over 33MHz.  Cosmetic because the iomap() in this
    case is just a bit of address magic.
    
    Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
    Acked-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  18. @ralfbaechle

    [MIPS] BCM1480: Remove duplicate acknowledge of timer interrupt.

    ralfbaechle authored
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  19. @ralfbaechle

    [MIPS] Sibyte: pin timer interrupt to their cores.

    ralfbaechle authored
    Or strange things will happen.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  20. @ralfbaechle

    [MIPS] Qemu: Add early printk, your friend in a cold night.

    ralfbaechle authored
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  21. @ralfbaechle

    [MIPS] Convert reference to mem_map to pfn_to_page().

    ralfbaechle authored
    This was crashing the combination of highmem and sparsemem.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  22. @ralfbaechle

    [MIPS] Sibyte: resurrect old cache hack.

    ralfbaechle authored
    The recent switch of the Sibyte SOCs from the processor specific cache
    managment code in c-sb1.c to c-r4k.c lost this old hack
    
        [MIPS] Hack for SB1 cache issues
    
        Removing flush_icache_page a while ago broke SB1 which was using an empty
        flush_data_cache_page function.  This glues things well enough so a more
        efficient but also more intrusive solution can be found later.
    
        Signed-Off-By: Thiemo Seufer <ths@networkno.de>
        Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    
    in the hope it was no longer needed.  As it turns it still is so resurrect
    it until there is a better solution.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  23. @davem330

    [CHELSIO]: Fix skb->dev setting.

    Divy Le Ray authored davem330 committed
    eth_type_trans() now sets skb->dev.  Access skb->def after it gets
    set.
    
    Signed-off-by: Divy Le Ray <divy@chelsio.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  24. @kaber @davem330

    [NETFILTER]: fix compat_nf_sockopt typo

    kaber authored davem330 committed
    It should pass opt to the ->get/->set functions, not ops.
    
    Tested-by: Luca Tettamanti <kronos.it@gmail.com>
    Signed-off-by: Patrick McHardy <kaber@trash.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  25. Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-s…

    Linus Torvalds authored
    …ched
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched:
      sched: reorder SCHED_FEAT_ bits
      sched: make sched_nr_latency static
      sched: remove activate_idle_task()
      sched: fix __set_task_cpu() SMP race
      sched: fix SCHED_FIFO tasks & FAIR_GROUP_SCHED
      sched: fix accounting of interrupts during guest execution on s390
  26. sched: reorder SCHED_FEAT_ bits

    Ingo Molnar authored
    reorder SCHED_FEAT_ bits so that the used ones come first. Makes
    tuning instructions easier.
    
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
Something went wrong with that request. Please try again.