25 Feb, 2010

4 commits


24 Feb, 2010

9 commits

  • * 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze:
    microblaze: Fix out_le32() macro
    microblaze: Fix cache loop function for cache range

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    Revert "block: improve queue_should_plug() by looking at IO depths"

    Linus Torvalds
     
  • Trailing semicolon causes compilation involving out_le32() to fail.

    Signed-off-by: Steven J. Magnani
    Signed-off-by: Michal Simek

    Steven J. Magnani
     
  • I create wrong asm code but none test shows that this part of code is wrong.
    I am not convinces that were good idea to create asm optimized macros
    for caches. The reason is that there is not optimization with previous code
    that's why make sense to add old code and do some benchmarking which
    functions are faster.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    net: bug fix for vlan + gro issue
    tc35815: Remove a wrong netif_wake_queue() call which triggers BUG_ON
    cdc_ether: new PID for Ericsson C3607w to the whitelist (resubmit)
    IPv6: better document max_addresses parameter
    MAINTAINERS: update mv643xx_eth maintenance status
    e1000: Fix DMA mapping error handling on RX
    iwlwifi: sanity check before counting number of tfds can be free
    iwlwifi: error checking for number of tfds in queue
    iwlwifi: set HT flags after channel in rxon

    Linus Torvalds
     
  • Traffic (tcp) doesnot start on a vlan interface when gro is enabled.
    Even the tcp handshake was not taking place.
    This is because, the eth_type_trans call before the netif_receive_skb
    in napi_gro_finish() resets the skb->dev to napi->dev from the previously
    set vlan netdev interface. This causes the ip_route_input to drop the
    incoming packet considering it as a packet coming from a martian source.

    I could repro this on 2.6.32.7 (stable) and 2.6.33-rc7.
    With this fix, the traffic starts and the test runs fine on both vlan
    and non-vlan interfaces.

    CC: Herbert Xu
    CC: Patrick McHardy
    Signed-off-by: Ajit Khaparde
    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Ajit Khaparde
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    ACPI: Be in TS_POLLING state during mwait based C-state entry
    ACPI: Fix regression where _PPC is not read at boot even when ignore_ppc=0
    acer-wmi: Respect current backlight level when loading

    Linus Torvalds
     
  • * 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm/vmwgfx: Fix queries if no dma buffer thrashing is occuring.
    drm/nv50: fix vram ptes on IGPs to point at stolen system memory
    drm/nv50: fix instmem binding on IGPs to point at stolen system memory
    drm/nv50: improve vram page table construction
    drm/nv50: more efficient clearing of gpu page table entries
    drm/nv50: make nv50_mem_vm_{bind,unbind} operate only on vram
    drm/nouveau: Fix up pre-nv17 analog load detection.

    Linus Torvalds
     
  • Revert the change made to arch/ia64/sn/kernel/setup.c by commit
    204fba4aa303ea4a7bb726a539bf4a5b9e3203d0 as it breaks the build.

    Fixing the build the b94b08081fcecf83fa690d6c5664f6316fe72208 way
    breaks xpc because genksyms then fails to generate an CRC for
    per_cpu____sn_cnodeid_to_nasid because of limitations in the
    generic genksyms code.

    Signed-off-by: Hedi Berriche
    Signed-off-by: Tony Luck

    Hedi Berriche
     

23 Feb, 2010

27 commits

  • David S. Miller
     
  • The netif_wake_queue() is called correctly (i.e. only on !txfull
    condition) from txdone routine. So Unconditional call to the
    netif_wake_queue() here is wrong. This might cause calling of
    start_xmit routine on txfull state and trigger BUG_ON.

    This bug does not happen when NAPI disabled. After txdone there
    must be at least one free tx slot. But with NAPI, this is not
    true anymore and the BUG_ON can hits on heavy load.

    In this driver NAPI was enabled on 2.6.33-rc1 so this is
    regression from 2.6.32 kernel.

    Reported-by: Ralf Roesch
    Signed-off-by: Atsushi Nemoto
    Signed-off-by: David S. Miller

    Atsushi Nemoto
     
  • This patch adds a new vid/pid to the cdc_ether whitelist.

    Device added:
    - Ericsson Mobile Broadband variant C3607w

    Signed-off-by: Torgny Johansson

    --
    To unsubscribe from this list: send the line "unsubscribe netdev" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Signed-off-by: David S. Miller

    Torgny Johansson
     
  • Andrew Morton wrote:
    >> >From ip-sysctl.txt file in kernel documentation I can see following description
    >> for max_addresses:
    >> max_addresses - INTEGER
    >> Number of maximum addresses per interface. 0 disables limitation.
    >> It is recommended not set too large value (or 0) because it would
    >> be too easy way to crash kernel to allow to create too much of
    >> autoconfigured addresses.
    ^^^^^^^^^^^^^^

    >> If this parameter applies only for auto-configured IP addressed, please state
    >> it more clearly in docs or rename the parameter to show that it refers to
    >> auto-configuration.

    It did mention autoconfigured in the text, but the below makes it more obvious.

    More clearly document IPv6 max_addresses parameter.

    Signed-off-by: Brian Haley
    Signed-off-by: David S. Miller

    Brian Haley
     
  • I am no longer with Marvell.

    Signed-off-by: Lennert Buytenhek
    Signed-off-by: David S. Miller

    Lennert Buytenhek
     
  • Check for error return from pci_map_single/pci_map_page and clean up.

    With this and the previous patch the driver was able to handle a significant
    percentage of errors (I set the fault injection rate to 10% and could still
    download large files at a reasonable speed).

    Signed-off-by: Anton Blanchard
    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Anton Blanchard
     
  • This reverts commit fb1e75389bd06fd5987e9cda1b4e0305c782f854.

    "Benjamin S." reports that the patch in question
    causes a big drop in sequential throughput for him, dropping from
    200MB/sec down to only 70MB/sec.

    Needs to be investigated more fully, for now lets just revert the
    offending commit.

    Conflicts:

    include/linux/blkdev.h

    Signed-off-by: Jens Axboe

    Jens Axboe
     
  • Intercept query commands and apply relocations to their guest pointers.

    Signed-off-by: Thomas Hellstrom
    Signed-off-by: Dave Airlie

    Thomas Hellstrom
     
  • * 'nouveau/for-airlied' of ../drm-nouveau-next:
    drm/nv50: fix vram ptes on IGPs to point at stolen system memory
    drm/nv50: fix instmem binding on IGPs to point at stolen system memory
    drm/nv50: improve vram page table construction
    drm/nv50: more efficient clearing of gpu page table entries
    drm/nv50: make nv50_mem_vm_{bind,unbind} operate only on vram
    drm/nouveau: Fix up pre-nv17 analog load detection.

    Dave Airlie
     
  • Len Brown
     
  • Len Brown
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
    MIPS: BCM47xx: Fix 128MB RAM support
    MIPS: Highmem: Fix build error

    Linus Torvalds
     
  • …/frob/linux-2.6-roland

    * 'parisc/tracehook' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland:
    Revert "parisc: HAVE_ARCH_TRACEHOOK"

    Linus Torvalds
     
  • 803bf5ec259941936262d10ecc84511b76a20921 ("fs/exec.c: restrict initial
    stack space expansion to rlimit") attempts to limit the initial stack to
    20*PAGE_SIZE. Unfortunately, in attempting ensure the stack is not
    reduced in size, we ended up not changing the stack at all.

    This size reduction check is not necessary as the expand_stack call does
    this already.

    This caused a regression in UML resulting in most guest processes being
    killed.

    Signed-off-by: Michael Neuling
    Reviewed-by: KOSAKI Motohiro
    Acked-by: WANG Cong
    Cc: Anton Blanchard
    Cc: Oleg Nesterov
    Cc: James Morris
    Cc: Serge Hallyn
    Cc: Benjamin Herrenschmidt
    Cc: Jouni Malinen
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Neuling
     
  • Commit 4410f3910947dcea8672280b3adecd53cec4e85e ("fbdev: add support for
    handoff from firmware to hw framebuffers") didn't add fb_destroy
    operation to efifb. Fix it and change aperture_size to match size
    passed to request_mem_region.

    Addresses http://bugzilla.kernel.org/show_bug.cgi?id=15151

    Signed-off-by: Marcin Slusarz
    Reported-by: Alex Zhavnerchik
    Tested-by: Alex Zhavnerchik
    Acked-by: Peter Jones
    Cc: Huang Ying
    Cc: Dave Airlie
    Cc: "Rafael J. Wysocki"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Marcin Slusarz
     
  • geode-mfgpt: restore previous behavior for selecting IRQ

    The MFGPT IRQ used to be, in order of decreasing priority,
    * IRQ supplied by the user as a boot-time parameter,
    * IRQ previously set by the BIOS or another driver,
    * default IRQ given at compile time.

    Return to this behavior, which got broken when splitting the
    MFGPT/clocksource driver for 2.6.33-rc1.

    Signed-off-by: Jens Rottmann
    Acked-by: Andres Salomon
    Cc: Jordan Crouse
    Cc: Ingo Molnar
    Cc: john stultz
    Acked-by: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jens Rottmann
     
  • This is retry of reverted 859ddf09743a8cc680af33f7259ccd0fd36bfe9d
    ("idr: fix a critical misallocation bug") which contained two bugs.

    * pa[idp->layers] should be cleared even if it's not used by
    sub_alloc() because it's used by mark idr_mark_full().

    * The original condition check also assigned pa[l] to p which the new
    code didn't do thus leaving p pointing at the wrong layer.

    Both problems have been fixed and the idr code has received good amount
    testing using userland testing setup where simple bitmap allocator is
    run parallel to verify the result of idr allocation.

    The bug this patch fixes is caused by sub_alloc() optimization path
    bypassing out-of-room condition check and restarting allocation loop
    with starting value higher than maximum allowed value. For detailed
    description, please read commit message of 859ddf09.

    Signed-off-by: Tejun Heo
    Based-on-patch-from: Eric Paris
    Reported-by: Eric Paris
    Tested-by: Stefan Lippers-Hollmann
    Tested-by: Serge Hallyn
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tejun Heo
     
  • find_task_by_vpid() is not safe without rcu_read_lock(). 2.6.33-rc7 got
    RCU protection for sys_setpriority() but missed it for sys_getpriority().

    Signed-off-by: Tetsuo Handa
    Cc: Oleg Nesterov
    Cc: "Paul E. McKenney"
    Acked-by: Serge Hallyn
    Acked-by: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tetsuo Handa
     
  • Presently the oom-killer is memcg aware and it finds the worst process
    from processes under memcg(s) in oom. Then, it kills victim's child
    first.

    It may kill a child in another cgroup and may not be any help for
    recovery. And it will break the assumption users have.

    This patch fixes it.

    Signed-off-by: KAMEZAWA Hiroyuki
    Reviewed-by: Minchan Kim
    Cc: Balbir Singh
    Reviewed-by: Daisuke Nishimura
    Acked-by: David Rientjes
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Signed-off-by: Ben Skeggs

    Ben Skeggs
     
  • This also modifies the unused PRAMIN PT entries to be all zeroes, can't
    really recall why I used 9/0 initially, just that it didn't work for
    some reason. It was likely masking a bug elsewhere that's since been
    fixed.

    Signed-off-by: Ben Skeggs

    Ben Skeggs
     
  • This commit changes nouveau to construct PTEs which look very much like
    the ones the binary driver creates.

    I presume that filling multiple PTEs identically with length flags and
    the physical address of the start of a block of VRAM is a hint to the
    memory controller that it need not perform additional page table lookups
    for that range of addresses.

    Signed-off-by: Ben Skeggs

    Ben Skeggs
     
  • Signed-off-by: Ben Skeggs

    Ben Skeggs
     
  • GART is handled elsewhere, no reason to have the code for it here too.

    Signed-off-by: Ben Skeggs

    Ben Skeggs
     
  • Signed-off-by: Francisco Jerez
    Signed-off-by: Ben Skeggs

    Francisco Jerez
     
  • Ignoring the last page when ddr size is 128M. Cached accesses to last page
    is causing the processor to prefetch using address above 128M stepping out
    of the DDR address space.

    Signed-off-by: Hauke Mehrtens
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/981/
    Signed-off-by: Ralf Baechle

    Hauke Mehrtens
     
  • arch/mips/mm/highmem.c: In function 'kmap_init':
    arch/mips/mm/highmem.c:130: error: 'init_mm' undeclared (first use in this function)
    arch/mips/mm/highmem.c:130: error: (Each undeclared identifier is reported only once
    arch/mips/mm/highmem.c:130: error: for each function it appears in.)

    Signed-off-by: Yoichi Yuasa
    Cc: linux-mips
    Patchwork: http://patchwork.linux-mips.org/patch/980/
    Signed-off-by: Ralf Baechle

    Yoichi Yuasa