07 Mar, 2009

3 commits


20 Feb, 2009

2 commits


04 Feb, 2009

3 commits


03 Feb, 2009

25 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI hotplug: Change link order of pciehp & acpiphp
    PCI hotplug: fakephp: Allocate PCI resources before adding the device
    PCI MSI: Fix undefined shift by 32
    PCI PM: Do not wait for buses in B2 or B3 during resume
    PCI PM: Power up devices before restoring their state
    PCI PM: Fix hibernation breakage on EeePC 701
    PCI: irq and pci_ids patch for Intel Tigerpoint DeviceIDs
    PCI PM: Fix suspend error paths and testing facility breakage

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    slub: fix per cpu kmem_cache_cpu array memory leak
    kmalloc: return NULL instead of link failure

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    fbdev/atyfb: Fix DSP config on some PowerMacs & PowerBooks
    powerpc: Fix oops on some machines due to incorrect pr_debug()
    powerpc/ps3: Printing fixups for l64 to ll64 convserion drivers/net
    powerpc/5200: update device tree binding documentation
    powerpc/5200: Bugfix for PCI mapping of memory and IMMR
    powerpc/5200: update defconfigs

    Linus Torvalds
     
  • …l/git/tip/linux-2.6-tip

    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched_rt: don't use first_cpu on cpumask created with cpumask_and
    sched: fix buddie group latency
    sched: clear buddies more aggressively
    sched: symmetric sync vs avg_overlap
    sched: fix sync wakeups
    cpuset: fix possible deadlock in async_rebuild_sched_domains

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (45 commits)
    V4L/DVB (10411): s5h1409: Perform s5h1409 soft reset after tuning
    V4L/DVB (10403): saa7134-alsa: saa7130 doesn't support digital audio
    V4L/DVB (10229): ivtv: fix memory leak
    V4L/DVB (10385): gspca - main: Fix memory leak when USB disconnection while streaming.
    V4L/DVB (10325): em28xx: Fix for fail to submit URB with IRQs and Pre-emption Disabled
    V4L/DVB (10317): radio-mr800: fix radio->muted and radio->stereo
    V4L/DVB (10314): cx25840: ignore TUNER_SET_CONFIG in the command callback.
    V4L/DVB (10288): af9015: bug fix: stick does not work always when plugged
    V4L/DVB (10287): af9015: fix second FE
    V4L/DVB (10270): saa7146: fix unbalanced mutex_lock/unlock
    V4L/DVB (10265): budget.c driver: Kernel oops: "BUG: unable to handle kernel paging request at ffffffff
    V4L/DVB (10261): em28xx: fix kernel panic on audio shutdown
    V4L/DVB (10257): em28xx: Fix for KWorld 330U Board
    V4L/DVB (10256): em28xx: Fix for KWorld 330U AC97
    V4L/DVB (10254): em28xx: Fix audio URB transfer buffer race condition
    V4L/DVB (10250): cx25840: fix regression: fw not loaded on first use
    V4L/DVB (10248): v4l-dvb: fix a bunch of compile warnings.
    V4L/DVB (10243): em28xx: fix compile warning
    V4L/DVB (10240): Fix obvious swapped names in v4l2_subdev logic
    V4L/DVB (10233): [PATCH] Terratec Cinergy DT XS Diversity new USB ID (0ccd:0081)
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
    pxamci: enable DMA for write ops after CMD/RESP
    pxamci: replace #ifdef CONFIG_PXA27x with if (cpu_is_pxa27x())
    ricoh_mmc: Use suspend_late/resume_early
    mmci: Add support for ST Micro derivate
    mmc: Add a MX2/MX3 specific SDHC driver

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
    icside: fix PCB version 6 support (v2)
    tx4939ide: typo fix and minor cleanup
    ide: add CS5536 host driver (v3)
    ide: Force VIA IDE legacy interrupts for AmigaOne boards
    IDE: Unregister and disable devices if initialization fails.
    ide: fix ide_register_port() failure handling
    ide: struct device - replace bus_id with dev_name(), dev_set_name()
    ide-cd: fix DMA for non bio-backed requests

    Linus Torvalds
     
  • * 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/dvrabel/uwb:
    uwb: lock rc->rsvs_lock with spin_lock_bh()
    wusb: timeout when waiting for ASL/PZL updates in whci-hcd
    uwb: remove unused #include 's
    wusb: return -ENOTCONN when resetting a port with no connected device
    uwb: safely remove all reservations

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    block: add text file detailing queue/ sysfs files
    bio.h: If they MUST be inlined, then use __always_inline
    Fix misleading comment in bio.h
    block: fix inconsistent parenthesisation of QUEUE_FLAG_DEFAULT
    block: fix oops in blk_queue_io_stat()

    Linus Torvalds
     
  • The host really shouldn't be notifying us of config changes
    before the device status is VIRTIO_CONFIG_S_DRIVER or
    VIRTIO_CONFIG_S_DRIVER_OK.

    However, if we do happen to be interrupted while we're not
    attached to a driver, we really shouldn't oops. Prevent
    this simply by checking that device->driver is non-NULL
    before trying to notify the driver of config changes.

    Problem observed by doing a "set_link virtio.0 down" with
    QEMU before the net driver had been loaded.

    Signed-off-by: Mark McLoughlin
    Signed-off-by: Rusty Russell
    Signed-off-by: Linus Torvalds

    Mark McLoughlin
     
  • Current refcounting for modules (done if CONFIG_MODULE_UNLOAD=y) is
    using a lot of memory.

    Each 'struct module' contains an [NR_CPUS] array of full cache lines.

    This patch uses existing infrastructure (percpu_modalloc() &
    percpu_modfree()) to allocate percpu space for the refcount storage.

    Instead of wasting NR_CPUS*128 bytes (on i386), we now use
    nr_cpu_ids*sizeof(local_t) bytes.

    On a typical distro, where NR_CPUS=8, shiping 2000 modules, we reduce
    size of module files by about 2 Mbytes. (1Kb per module)

    Instead of having all refcounters in the same memory node - with TLB misses
    because of vmalloc() - this new implementation permits to have better
    NUMA properties, since each CPU will use storage on its preferred node,
    thanks to percpu storage.

    Signed-off-by: Eric Dumazet
    Signed-off-by: Rusty Russell
    Signed-off-by: Linus Torvalds

    Eric Dumazet
     
  • With the PXA270 MMC hardware, there seems to be an issue of
    data corruption on writes where a 4KB data block is offset
    by one byte.

    If we delay enabling the DMA for writes until after the CMD/RESP
    has finished, the problem seems to be fixed.

    related to PXA270 Erratum #91

    Tested-by: Vernon Sauder
    Signed-off-by: Cliff Brake
    Acked-by: Eric Miao
    Signed-off-by: Pierre Ossman

    Cliff Brake
     
  • Signed-off-by: Cliff Brake
    Acked-by: Eric Miao
    Signed-off-by: Pierre Ossman

    Cliff Brake
     
  • If ricoh_mmc suspends before sdhci_pci, it will pull the card
    out from under the controller, which could leave the system in
    a very confused state.

    Using suspend_late/resume_early ensures that sdhci_pci suspends first
    and resumes second.

    Signed-off-by: Philip Langdale
    Signed-off-by: Pierre Ossman

    philipl@overt.org
     
  • This patch adds support for the ST Microelectronics version of
    the PL180 PrimeCell. They use designer ID 0x80 and have a few
    alterations/bugfixes related to open drain and HW flow control.
    They also add some SDIO registers, I am unsure if these are
    in ST HW only or if this is things also added in later ARM
    revisions, but they are included in the mmci.h file for
    completeness.

    Signed-off-by: Linus Walleij
    Signed-off-by: Pierre Ossman

    Linus Walleij
     
  • This patch adds a MX2/MX3 specific SDHC driver. The hardware is basically
    the same as in the MX1, but unlike the MX1 controller the MX2
    controller just works as expected. Since the MX1 driver has more
    workarounds for bugs than anything else I had no success with supporting
    MX1 and MX2 in a sane way in one driver.

    Signed-off-by: Sascha Hauer
    Signed-off-by: Pierre Ossman

    Sascha Hauer
     
  • We need to pass struct ide_port_info also to ide_host_register().

    v2:
    Fix v5/v6 mismatch noticed by Russell.

    Cc: Russell King
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • The bcount is greater than 0 and less than or equal to 0x10000.
    Thus '(bcount & 0xffff) == 0x0000' can be simplified as 'bcount == 0x10000'.

    Suggested-by: Sergei Shtylyov
    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Atsushi Nemoto
     
  • This is a port of libata's pata_cs5536.c (written by Martin K. Petersen)
    to IDE subsystem.

    Changes done while at it:

    * Reprogram PIO/MWDMA timings if needed before and after DMA transfer
    (chipset uses shared PIO/MWDMA timings).

    * Fix cable detection to report 80-wires cable if BIOS set it for any
    device on a port (IDE core will do drive-side cable detection later).

    * Don't disable UDMA while programming PIO timings.

    * Simplify PCI/MSR support.

    Pros of having IDE host driver in addition to libata's one:

    * IDE is much lighter than SCSI+libata, the host driver itself is also
    a bit smaller:

    text data bss dec hex filename
    1261 496 4 1761 6e1 drivers/ata/pata_cs5536.o
    1242 128 4 1374 55e drivers/ide/cs5536.o

    * This allows use of IDE features which are unavailable under libata.

    v2:
    * Fixes per review from Sergei:
    - simplify dependency check in Kconfig
    - use IDE_DRV_MASK also for ->drive_data
    - disable UDMA when programming MWDMA
    - program new DTC timings only when necessary
    - fix printk() level in cs5536_init_one()

    * Fix patch description according to comments from Alan and Sergei.

    v3:
    * Smarter masking of UDMA bits per Sergei's suggestion.

    Cc: Martin K. Petersen
    Cc: Karl Auerbach
    Cc: Alan Cox
    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • The AmigaOne uses the onboard VIA IDE controller in legacy mode (like the
    Pegasos).

    Signed-off-by: Gerhard Pircher
    Cc: "Grant Likely"
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Gerhard Pircher
     
  • On reboot the loop in device_shutdown gets confused by these partially
    initialized devices and goes into an infinite loop. Therefore unregister
    and disable these devices.

    Signed-off-by: Ian Campbell
    [bart: remove leftover hwif->present clearing + update patch description]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Ian Campbell
     
  • * Factor out port freeing from ide_host_free() to ide_free_port().

    * Add ide_disable_port() and use it on ide_register_port() failure.

    Cc: Ian Campbell
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Signed-off-by: Kay Sievers
    Cc: linux-ide@vger.kernel.org
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Kay Sievers
     
  • This one fixes http://bugzilla.kernel.org/show_bug.cgi?id=12320.

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

    Borislav Petkov
     
  • …linux-2.6 into for-upstream

    David Vrabel
     

02 Feb, 2009

7 commits