03 Jan, 2008

3 commits

  • This reverts commit 6f5391c283d7fdcf24bf40786ea79061919d1e1d ("[SCSI]
    Get rid of scsi_cmnd->done") that was supposed to be a cleanup commit,
    but apparently it causes regressions:

    Bug 9370 - v2.6.24-rc2-409-g9418d5d: attempt to access beyond end of device
    http://bugzilla.kernel.org/show_bug.cgi?id=9370

    this patch should be reintroduced in a more split-up form to make
    testing of it easier.

    Signed-off-by: Ingo Molnar
    Acked-by: Matthew Wilcox
    Cc: James Bottomley
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Both SLUB and SLAB really did almost exactly the same thing for
    /proc/slabinfo setup, using duplicate code and per-allocator #ifdef's.

    This just creates a common CONFIG_SLABINFO that is enabled by both SLUB
    and SLAB, and shares all the setup code. Maybe SLOB will want this some
    day too.

    Reviewed-by: Pekka Enberg
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • We need to register slabinfo to procfs when CONFIG_SLUB is enabled to
    make the file actually visible to user-space.

    Signed-off-by: Pekka Enberg
    Acked-by: Ingo Molnar
    Signed-off-by: Linus Torvalds

    Pekka Enberg
     

02 Jan, 2008

8 commits


01 Jan, 2008

2 commits


30 Dec, 2007

3 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    [SERIAL]: Fix section mismatches in Sun serial console drivers.

    Linus Torvalds
     
  • Because of workqueue delay, the put_device could be called before
    device_del, so move it to del_conn.

    Signed-off-by: Dave Young
    Signed-off-by: David S. Miller

    Dave Young
     
  • When a delayed ACK representing two packets arrives, there are two RTT
    samples available, one for each packet. The first (in order of seq
    number) will be artificially long due to the delay waiting for the
    second packet, the second will trigger the ACK and so will not itself
    be delayed.

    According to rfc1323, the SRTT used for RTO calculation should use the
    first rtt, so receivers echo the timestamp from the first packet in
    the delayed ack. For congestion control however, it seems measuring
    delayed ack delay is not desirable as it varies independently of
    congestion.

    The patch below causes seq_rtt and last_ackt to be updated with any
    available later packet rtts which should have less (and hopefully
    zero) delack delay. The rtt value then gets passed to
    ca_ops->pkts_acked().

    Where TCP_CONG_RTT_STAMP was set, effort was made to supress RTTs from
    within a TSO chunk (!fully_acked), using only the final ACK (which
    includes any TSO delay) to generate RTTs. This patch removes these
    checks so RTTs are passed for each ACK to ca_ops->pkts_acked().

    For non-delay based congestion control (cubic, h-tcp), rtt is
    sometimes used for rtt-scaling. In shortening the RTT, this may make
    them a little less aggressive. Delay-based schemes (eg vegas, veno,
    illinois) should get a cleaner, more accurate congestion signal,
    particularly for small cwnds. The congestion control module can
    potentially also filter out bad RTTs due to the delayed ack alarm by
    looking at the associated cnt which (where delayed acking is in use)
    should probably be 1 if the alarm went off or greater if the ACK was
    triggered by a packet.

    Signed-off-by: Gavin McCullagh
    Acked-by: Ilpo Järvinen
    Signed-off-by: David S. Miller

    Gavin McCullagh
     

29 Dec, 2007

3 commits

  • We're exporting an __init function, oops :-)

    The core issue here is that add_preferred_console() is marked
    as __init, this makes it impossible to invoke this thing from
    a driver probe routine which is what the Sparc serial drivers
    need to do.

    There is no harm in dropping the __init marker. This code will
    actually work properly when invoked from a modular driver,
    except that init will probably not pick up the console change
    without some other support code.

    Then we can drop the __init from sunserial_console_match()
    and we're no longer exporting an __init function to modules.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • David Brownell pointed out a regression in my recent "Fix ip command
    line processing" patch. It turns out to be a fairly blatant oversight on
    my part whereby ic_enable is never set, and thus autoconfiguration is
    never enabled. Clearly my testing was broken :-(

    The solution that I have is to set ic_enable to 1 if we hit
    ip_auto_config_setup(), which basically means that autoconfiguration is
    activated unless told otherwise. I then flip ic_enable to 0 if ip=off,
    ip=none, ip=::::::off or ip=::::::none using ic_proto_name();

    The incremental patch is below, let me know if a non-incremental version
    is prepared, as I did as for the original patch to be reverted pending a
    fix.

    Signed-off-by: Simon Horman
    Signed-off-by: David S. Miller

    Simon Horman
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] PS3: Fix printing of os-area magic numbers
    [POWERPC] Oprofile: Remove dependency on spufs module

    Linus Torvalds
     

28 Dec, 2007

5 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
    [CRYPTO] padlock: Fix spurious ECB page fault

    Linus Torvalds
     
  • It appears that some PCI-E bridges do the wrong thing in the presense of
    CRS Software Visibility and MMCONFIG. In particular, it looks like an
    ATI bridge (device ID 7936) will return 0001 in the vendor ID field of
    any bridged devices indefinitely.

    Not enabling CRS SV avoids the problem, and as we currently do not
    really make good use of the feature anyway (we just time out rather than
    do any threaded discovery as suggested by the CRS specs), we're better
    off just not enabling it.

    This should fix a slew of problem reports with random devices (generally
    graphics adapters or fairly high-performance networking cards, since it
    only affected PCI-E) not getting properly recognized on these AMD systems.

    If we really want to use CRS-SV, we may end up eventually needing a
    whitelist of systems where this should be enabled, along with some kind
    of "pcibios_enable_crs()" query to call the system-specific code.

    Suggested-by: Loic Prylli
    Tested-by: Kai Ruhnau
    Cc: Matthew Wilcox
    Cc: Greg Kroah-Hartman
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Fix a bug in the printing of the os-area magic numbers which assumed
    that magic numbers were zero terminated strings. The magic numbers
    are represented in memory as integers. If the os-area sections are
    not initialized correctly they could contained random data that would
    be printed to the display. Also unify the handling of header and db
    magic numbers and make both of type array of u8.

    Signed-off-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Geoff Levand
     
  • This removes an OProfile dependency on the spufs module. This
    dependency was causing a problem for multiplatform systems that are
    built with support for Oprofile on Cell but try to load the oprofile
    module on a non-Cell system.

    Signed-off-by: Bob Nelson
    Signed-off-by: Arnd Bergmann
    Acked-by: Jeremy Kerr
    Signed-off-by: Paul Mackerras

    Bob Nelson
     
  • The xcryptecb instruction always processes an even number of blocks so
    we need to ensure th existence of an extra block if we have to process
    an odd number of blocks.

    Signed-off-by: Herbert Xu

    Herbert Xu
     

27 Dec, 2007

11 commits


26 Dec, 2007

3 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
    cmd64x: fix hwif->chipset setup
    MAINTAINERS: update ide-cd entry
    ide-cd: fix 'ireason' reporting in cdrom_pc_intr()
    ide-cd: fix error message in cdrom_pc_intr()
    ide-cd: add error message for DMA error to cdrom_read_intr()
    ide-cd: fix error messages in cdrom_write_intr()
    ide-cd: add missing 'ireason' masking to cdrom_write_intr()
    ide-cd: fix error messages in cdrom_{read,write}_check_ireason()
    ide-cd: use ide_cd_release() in ide_cd_probe()
    ide-cd: fix ACER/AOpen 24X CDROM speed reporting on big-endian machines
    ide-cd: fix SAMSUNG CD-ROM SCR-3231 quirk
    drivers/ide/: Spelling fixes

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb:
    V4L/DVB (6876): ivtv: mspx4xx needs a longer i2c udelay
    V4L/DVB (6871): Kconfig: VIDEO_CX23885 must select DVB_LGDT330X

    Linus Torvalds
     
  • This reverts commit fbdcf18df73758b2e187ab94678b30cd5f6ff9f9.

    As pointed out by Yanmin Zhang, the problem was already fixed
    differently (and correctly), and rather than fix anything, it actually
    causes us to create a sub-optimal sched-domains hierarchy (not setting
    up the domain belonging to the core) when CONFIG_X86_HT=y.

    Requested-by: Yanmin Zhang
    Acked-by: Ingo Molnar
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

24 Dec, 2007

2 commits

  • commit 528a572daea90aa41db92683e5a8756acef514c4 ("ide: add ->chipset field
    to ide_pci_device_t") broke hwif->chipset setup (it is now set to ide_cmd646
    for CMD648 instead of CMD646). It seems that the breakage happend while
    I was moving patches around (cmd64x_chipsets[] entries for CMD646 and CMD648
    are identical except for 'name' field). Fix it and bump driver version.

    Cc: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Reopen ide-cd for maintainership.

    Signed-off-by: Borislav Petkov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Borislav Petkov