17 Jan, 2009

5 commits


16 Jan, 2009

10 commits

  • The forthcoming OCTEON SOC Compact Flash driver needs an additional
    timing value that was not available in the ata_timing table. I add a
    new column for dmack_hold time. The values were obtained from the
    Compact Flash specification Rev 4.1.

    Signed-off-by: David Daney
    Signed-off-by: Jeff Garzik

    David Daney
     
  • for SAS drivers.

    Caught by Ke Wei (and team?) at Marvell.

    Also, move the ata_scsi_ioctl export to libata-scsi.c, as that seems to be the
    general trend.

    Acked-by: James Bottomley
    Signed-off-by: Jeff Garzik

    Jeff Garzik
     
  • When mode setting is first initialized, the driver will call into
    drm_helper_initial_config() to set up an initial output and framebuffer
    configuration. This routine is responsible for probing the available
    connectors, encoders, and crtcs, looking for modes and putting together
    something reasonable (where reasonable is defined as "allows kernel
    messages to be visible on as many displays as possible").

    However, the code was a bit too aggressive in setting default modes when
    none were found on a given connector. Even if some connectors had modes,
    any connectors found lacking modes would have the default 800x600 mode added
    to their mode list, which in some cases could cause problems later down the
    line. In my case, the LVDS was perfectly available, but the initial config
    code added 800x600 modes to both of the detected but unavailable HDMI
    connectors (which are on my non-existent docking station). This ended up
    preventing later code from setting a mode on my LVDS, which is bad.

    This patch fixes that behavior by making the initial config code walk
    through the connectors first, counting the available modes, before it decides
    to add any default modes to a possibly connected output. It also fixes the
    logic in drm_target_preferred() that was causing zeroed out modes to be set
    as the preferred mode for a given connector, even if no modes were available.

    Signed-off-by: Jesse Barnes
    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Jesse Barnes
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (95 commits)
    b44: GFP_DMA skb should not escape from driver
    korina: do not use IRQF_SHARED with IRQF_DISABLED
    korina: do not stop queue here
    korina: fix handling tx_chain_tail
    korina: do tx at the right position
    korina: do schedule napi after testing for it
    korina: rework korina_rx() for use with napi
    korina: disable napi on close and restart
    korina: reset resource buffer size to 1536
    korina: fix usage of driver_data
    bnx2x: First slow path interrupt race
    bnx2x: MTU Filter
    bnx2x: Indirection table initialization index
    bnx2x: Missing brackets
    bnx2x: Fixing the doorbell size
    bnx2x: Endianness issues
    bnx2x: VLAN tagged packets without VLAN offload
    bnx2x: Protecting the link change indication
    bnx2x: Flow control updated before reporting the link
    bnx2x: Missing mask when calculating flow control
    ...

    Linus Torvalds
     
  • Impact: fix 15 make headers_check warnings:

    include of is preferred over

    Signed-off-by: Jaswinder Singh Rajput
    Cc: Ingo Molnar
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaswinder Singh Rajput
     
  • Unlike other alphas, marvel doesn't have real PC-style CMOS clock hardware
    - RTC accesses are emulated via PAL calls. Unfortunately, for unknown
    reason these calls work only on CPU #0. So current implementation for
    arbitrary CPU makes CMOS_READ/WRITE to be executed on CPU #0 via IPI.
    However, for obvious reason this doesn't work with standard
    get/set_rtc_time() functions, where a bunch of CMOS accesses is done with
    disabled interrupts.

    Solved by making the IPI calls for entire get/set_rtc_time() functions,
    not for individual CMOS accesses. Which is also a lot more effective
    performance-wise.

    The patch is largely based on the code from Jay Estabrook.
    My changes:
    - tweak asm-generic/rtc.h by adding a couple of #defines to
    avoid a massive code duplication in arch/alpha/include/asm/rtc.h;
    - sys_marvel.c: fix get/set_rtc_time() return values (Jay's FIXMEs).

    NOTE: this fixes *only* LIB_RTC drivers. Legacy (CONFIG_RTC) driver
    wont't work on marvel. Actually I think that we should just disable
    CONFIG_RTC on alpha (maybe in 2.6.30?), like most other arches - AFAIK,
    all modern distributions use LIB_RTC anyway.

    Signed-off-by: Ivan Kokshaysky
    Cc: Richard Henderson
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ivan Kokshaysky
     
  • Use the standard magic.h for btrfs and squashfs.

    Signed-off-by: Qinghuang Feng
    Cc: Phillip Lougher
    Cc: Chris Mason
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Qinghuang Feng
     
  • Fix __request_region() parameter kernel-doc notation and parameter name:

    Warning(linux-2.6.28-git10//kernel/resource.c:627): No description found for parameter 'flags'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Fix jbd header file kernel-doc notation:

    Warning(linux-2.6.28-git13//include/linux/jbd.h:823): No description found for parameter 'j_average_commit_time'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Move Documentation/cpusets.txt and Documentation/controllers/* to
    Documentation/cgroups/

    Signed-off-by: Li Zefan
    Acked-by: KAMEZAWA Hiroyuki
    Acked-by: Balbir Singh
    Acked-by: Paul Menage
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Li Zefan
     

15 Jan, 2009

7 commits

  • This adds an init_dummy_netdev() function that gets a network device
    structure (allocation and lifetime entirely under caller's control) and
    initialize the minimum amount of fields so it can be used to schedule
    NAPI polls without registering a full blown interface. This is to be
    used by drivers that need to tie several hardware interfaces to a single
    NAPI poll scheduler due to HW limitations.

    It also updates the ibm_newemac driver to use that, this fixing the
    oops on 2.6.29 due to passing NULL as "dev" to netif_napi_add()

    Symbol is exported GPL only a I don't think we want binary drivers doing
    that sort of acrobatics (if we want them at all).

    Signed-off-by: Benjamin Herrenschmidt
    Tested-by: Geert Uytterhoeven
    Signed-off-by: David S. Miller

    Benjamin Herrenschmidt
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (29 commits)
    powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/chips/
    powerpc/83xx: Make serial ports work on MPC8315E-RDB w/ FSL U-Boots
    powerpc/e500mc: Doorbells need to be taken w/exceptions disabled
    powerpc: Enable PS3 options and QPACE in ppc64_defconfig
    powerpc/powermac: Fix occasional SMP boot failure
    powerpc/cacheinfo: Rename cache_dir per-cpu variable
    hvc_console: Use kzalloc() instead of kmalloc() + memset()
    hvc_console: Do not set low_latency when using interrupts
    hvc_console: Call free_irq() only if request_irq() was successful
    hvc_console: Change an mb() to smp_mb() and add some comments
    powerpc: Cleanup from l64 to ll64 change: drivers/net
    powerpc: Cleanup from l64 to ll64 change: drivers/char
    powerpc: Cleanup from l64 to ll64 change: arch code
    powerpc: Change u64/s64 to a long long integer type
    powerpc/kexec: Check crash_base for relocatable kernel
    powerpc: Make dummy section a valid note header
    Xilinx: SPI: updated driver for device tree
    drivers/of: Add the of_find_i2c_device_by_node function.
    powerpc/xsysace: add compatible string for non-ipcore instance
    powerpc/mpc52xx: remove dead code from GPIO driver
    ...

    Linus Torvalds
     
  • * 'syscalls' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (44 commits)
    [CVE-2009-0029] s390 specific system call wrappers
    [CVE-2009-0029] System call wrappers part 33
    [CVE-2009-0029] System call wrappers part 32
    [CVE-2009-0029] System call wrappers part 31
    [CVE-2009-0029] System call wrappers part 30
    [CVE-2009-0029] System call wrappers part 29
    [CVE-2009-0029] System call wrappers part 28
    [CVE-2009-0029] System call wrappers part 27
    [CVE-2009-0029] System call wrappers part 26
    [CVE-2009-0029] System call wrappers part 25
    [CVE-2009-0029] System call wrappers part 24
    [CVE-2009-0029] System call wrappers part 23
    [CVE-2009-0029] System call wrappers part 22
    [CVE-2009-0029] System call wrappers part 21
    [CVE-2009-0029] System call wrappers part 20
    [CVE-2009-0029] System call wrappers part 19
    [CVE-2009-0029] System call wrappers part 18
    [CVE-2009-0029] System call wrappers part 17
    [CVE-2009-0029] System call wrappers part 16
    [CVE-2009-0029] System call wrappers part 15
    ...

    Linus Torvalds
     
  • Add swab.h to kbuild.asm and remove the individual entries from
    each arch, mark as unifdef as some arches have some kernel-only
    bits inside.

    Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
    IDE: fix sparse signed-ness errors with host->host_busy
    ide: fix suspend regression
    tx4938ide: Fix build error due to read_sff_dma_status moving
    ide: remove unused CONFIG_BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ
    sl82c105: remove dead code
    via82cxxx: fix cable warning message
    ide: can't use SSD/non-rotational queue flag for all CFA devices
    it821x.c: use dev->revision instead of pci_read_config_byte
    it821x: Add ultra_mask quirk for Vortex86SX
    ide: fix accidental LOCKDEP breakage caused by local_irq_set() removal

    Linus Torvalds
     
  • The host_busy field in struct ide_host defaults to a
    signed-long, where most arch's test_and_set_bit_*
    macros use an unsigned long.

    Change to using an unsigned long, which on ARM removes
    the following sparse errors:

    drivers/ide/ide-io.c:681:8: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:681:8: expected unsigned long volatile *p
    drivers/ide/ide-io.c:681:8: got long volatile *
    drivers/ide/ide-io.c:681:8: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:681:8: expected unsigned long volatile *p
    drivers/ide/ide-io.c:681:8: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *

    Signed-off-by: Ben Dooks
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Ben Dooks
     
  • On Vortex86SX with IDE controller revision 0x11 ultra DMA must be
    disabled. This patch was tested by DMP and seems to work.

    It is a cleaned up version of their older Kernel patch:
    http://www.dmp.com.tw/tech/vortex86sx/patch-2.6.24-DMP.gz

    Tested-by: Shawn Lin
    Signed-off-by: Brandon Philips
    Cc: Alan Cox
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Brandon Philips
     

14 Jan, 2009

10 commits


13 Jan, 2009

8 commits

  • reorder struct xt_match to remove 8 bytes of padding and make its size
    128 bytes.

    This saves a small amount of data space in each of the xt netfilter
    modules and fits xt_match in one 128 byte cache line.

    Signed-off-by: Richard Kennedy
    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Richard Kennedy
     
  • Fix a comment in include/linux/netdevice.h.

    Signed-off-by: Krzysztof Hałasa
    Signed-off-by: David S. Miller

    Krzysztof Hałasa
     
  • Benjamin Herrenschmidt
     
  • …/git/tip/linux-2.6-tip

    * 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sparc64: Fix cpumask related build failure
    smp_call_function_single(): be slightly less stupid, fix
    smp_call_function_single(): be slightly less stupid
    rcu: fix bug in rcutorture system-shutdown code

    Linus Torvalds
     
  • * 'for-next' of git://git.o-hand.com/linux-mfd:
    mfd: Fix twl4030-core build
    mfd: Ensure sm501 GPIO pin mode is GPIO when configured
    mfd: dm355 evm MMC/SD card detection
    regulator: PCF50633 pmic driver
    input: PCF50633 input driver
    power_supply: PCF50633 battery charger driver
    rtc: PCF50633 rtc driver
    mfd: PCF50633 gpio support
    mfd: PCF50633 adc driver
    mfd: PCF50633 core driver

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (37 commits)
    ucc_geth: use correct UCCE macros
    net_dma: acquire/release dma channels on ifup/ifdown
    cxgb3: Keep LRO off if disabled when interface is down
    sfc: SFT9001: Fix condition for LNPGA power-off
    dccp ccid-3: Fix RFC reference
    smsc911x: register irq with device name, not driver name
    smsc911x: fix smsc911x_reg_read compiler warning
    forcedeth: napi schedule lock fix
    net: fix section mismatch warnings in dccp/ccids/lib/tfrc.c
    forcedeth: remove mgmt unit for mcp79 chipset
    qlge: Remove dynamic alloc of rx ring control blocks.
    qlge: Fix schedule while atomic issue.
    qlge: Remove support for device ID 8000.
    qlge: Get rid of split addresses in hardware control blocks.
    qlge: Get rid of volatile usage for shadow register.
    forcedeth: version bump and copyright
    forcedeth: xmit lock fix
    netdev: missing validate_address hooks
    netdev: add missing set_mac_address hook
    netdev: gianfar: add MII ioctl handler
    ...

    Linus Torvalds
     
  • * 'for_2.6.29' of git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6:
    Fix small typo
    misdn: indentation and braces disagree - add braces
    misdn: one handmade ARRAY_SIZE converted
    drivers/isdn/hardware/mISDN: move a dereference below a NULL test
    indentation & braces disagree - add braces
    Make parameter debug writable
    BUGFIX: used NULL pointer at ioctl(sk,IMGETDEVINFO,&devinfo) when devinfo.id not registered

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (30 commits)
    m68k: Fix --build-id breakage for sun3
    m68k: Wire up sys_restart_syscall
    fbdev: Kill Atari vblank cursor blinking
    m68k: zorro - Use %pR to print resources
    m68k: dio - Kill resource_size_t format warnings
    m68k: dmasound - Kill warn_unused_result warnings
    m68k: zorro - Kill warn_unused_result warnings
    m68k: dio - Kill warn_unused_result warnings
    m68k: atafb - Kill warn_unused_result warnings
    m68k: amiserial - Kill warn_unused_result warnings
    m68k: ser_a2232 - Kill warn_unused_result warnings
    m68k: vme_scc - Kill warn_unused_result warnings
    m68k: sun3 core - Kill warn_unused_result warnings
    m68k: mvme147 core - Kill warn_unused_result warnings
    m68k: mac core - Kill warn_unused_result warnings
    m68k: hp300 core - Kill warn_unused_result warnings
    m68k: atari core - Kill warn_unused_result warnings
    m68k: apollo core - Kill warn_unused_result warnings
    m68k: amiga core - Kill warn_unused_result warnings
    m68k: Kill several external declarations in source files
    ...

    Linus Torvalds