02 Jun, 2010

4 commits

  • This extends some of the existing special casing for HAS_IOPORT
    platforms and gets it to the point where platforms can begin to
    conditionally select it.

    The major changes here are that the PIO routines themselves go away
    completely, including all of the machvec port mapping wrappers. With this
    in place it's possible for any non-machvec abusing platform to disable
    PIO completely. At present this is left as an opt-in until the abusers
    are the odd ones out instead of the majority.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • r8a66597-hcd is erroneously using PIO routines on MMIO registers, which
    presently blows up for any platform that elects to either override or do
    away with PIO routines. This managed to work for the common cases since
    the PIO routines were simply wrapped to their MMIO counterparts. This
    switches over to using the MMIO routines directly, and enables us to kill
    off a lot of superfluous casting in the process.

    Acked-by: Yoshihiro Shimoda
    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • r8a66597-udc is erroneously using PIO routines on MMIO registers, which
    presently blows up for any platform that elects to either override or do
    away with PIO routines. This managed to work for the common cases since
    the PIO routines were simply wrapped to their MMIO counterparts. This
    switches over to using the MMIO routines directly, and enables us to kill
    off a lot of superfluous casting in the process.

    Acked-by: Yoshihiro Shimoda
    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • m66592-udc is erroneously using PIO routines on MMIO registers, which
    presently blows up for any platform that elects to either override or do
    away with PIO routines. This managed to work for the common cases since
    the PIO routines were simply wrapped to their MMIO counterparts. This
    switches over to using the MMIO routines directly, and enables us to kill
    off a lot of superfluous casting in the process.

    Acked-by: Yoshihiro Shimoda
    Signed-off-by: Paul Mundt

    Paul Mundt
     

25 May, 2010

4 commits


24 May, 2010

25 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6:
    cmd640: fix kernel oops in test_irq() method
    pdc202xx_old: ignore "FIFO empty" bit in test_irq() method
    pdc202xx_old: wire test_irq() method for PDC2026x
    IDE: pass IRQ flags to the IDE core
    ide: fix comment typo in ide.h

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin: (30 commits)
    Blackfin: SMP: fix continuation lines
    Blackfin: acvilon: fix timeout usage for I2C
    Blackfin: fix typo in BF537 IRQ comment
    Blackfin: unify duplicate MEM_MT48LC32M8A2_75 kconfig options
    Blackfin: set ARCH_KMALLOC_MINALIGN
    Blackfin: use atomic kmalloc in L1 alloc so it too can be atomic
    Blackfin: another year of changes (update copyright in boot log)
    Blackfin: optimize strncpy a bit
    Blackfin: isram: clean up ITEST_COMMAND macro and improve the selftests
    Blackfin: move string functions to normal lib/ assembly
    Blackfin: SIC: cut down on IAR MMR reads a bit
    Blackfin: bf537-minotaur: fix build errors due to header changes
    Blackfin: kgdb: pass up the CC register instead of a 0 stub
    Blackfin: handle HW errors in the new "FAULT" printing code
    Blackfin: show the whole accumulator in the pseudo DBG insn
    Blackfin: support all possible registers in the pseudo instructions
    Blackfin: add support for the DBG (debug output) pseudo insn
    Blackfin: change the BUG opcode to an unused 16-bit opcode
    Blackfin: allow NMI watchdog to be used w/RETN as a scratch reg
    Blackfin: add support for the DBGA (debug assert) pseudo insn
    ...

    Linus Torvalds
     
  • * 'bkl/ioctl' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing:
    uml: Pushdown the bkl from harddog_kern ioctl
    sunrpc: Pushdown the bkl from sunrpc cache ioctl
    sunrpc: Pushdown the bkl from ioctl
    autofs4: Pushdown the bkl from ioctl
    uml: Convert to unlocked_ioctls to remove implicit BKL
    ncpfs: BKL ioctl pushdown
    coda: Clean-up whitespace problems in pioctl.c
    coda: BKL ioctl pushdown
    drivers: Push down BKL into various drivers
    isdn: Push down BKL into ioctl functions
    scsi: Push down BKL into ioctl functions
    dvb: Push down BKL into ioctl functions
    smbfs: Push down BKL into ioctl function
    coda/psdev: Remove BKL from ioctl function
    um/mmapper: Remove BKL usage
    sn_hwperf: Kill BKL usage
    hfsplus: Push down BKL into ioctl function

    Linus Torvalds
     
  • * git://git.infradead.org/battery-2.6:
    ds2760_battery: Document ABI change
    ds2760_battery: Make charge_now and charge_full writeable
    power_supply: Add support for writeable properties
    power_supply: Use attribute groups
    power_supply: Add test_power driver
    tosa_battery: Fix build error due to direct driver_data usage
    wm97xx_battery: Quieten sparse warning (bat_set_pdata not declared)
    ds2782_battery: Get rid of magic numbers in driver_data
    ds2782_battery: Add support for ds2786 battery gas gauge
    pda_power: Add function callbacks for suspend and resume
    wm831x_power: Use genirq
    Driver for Zipit Z2 battery chip
    ds2782_battery: Fix clientdata on removal

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

    * 'timers-for-linus-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    timers: Fix slack calculation for expired timers
    timekeeping: Fix timezone update

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (25 commits)
    sh: fix up sh7785lcr_32bit_defconfig.
    arch/sh/lib/strlen.S: Checkpatch cleanup
    sh: fix up sh7786 dmaengine build.
    sh: guard cookie consistency across termination in the DMA driver
    sh: prevent the DMA driver from unloading, while in use
    sh: fix Oops in the serial SCI driver
    sh: allow platforms to specify SD-card supported voltages
    mmc: let MFD's provide supported Vdd card voltages to tmio_mmc
    sh: disable SD-card write-protection detection on kfr2r09
    mfd: pass platform flags down to the tmio_mmc driver
    tmio: add a platform flag to disable card write-protection detection
    sh: Add SDHI DMA support to migor
    sh: Add SDHI DMA support to kfr2r09
    sh: Add SDHI DMA support to ms7724se
    sh: Add SDHI DMA support to ecovec
    mmc: add DMA support to tmio_mmc driver, when used on SuperH
    sh: prepare the SDHI MFD driver to pass DMA configuration to tmio_mmc.c
    mmc: prepare tmio_mmc for passing of DMA configuration from the MFD cell
    sh: add DMA slave definitions to sh7724
    sh: add DMA slaves for two SDHI controllers to sh7722
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.open-osd.org/linux-open-osd:
    exofs: confusion between kmap() and kmap_atomic() api
    exofs: Add default address_space_operations

    Linus Torvalds
     
  • This reverts commit 03ceedea972a82d343fa5c2528b3952fa9e615d5, since it
    breaks resume from suspend-to-ram on Rafael's Acer Ferrari One.
    NetworkManager thinks everything is ok, but it can't connect to the AP
    to get an IP address after the resume.

    In fact, it even breaks resume for non-ath9k chipsets: reverting it also
    fixes Rafael's Toshiba Protege R500 with the iwlagn driver. As Johannes
    says:

    "Indeed, this patch needs to be reverted. That mac80211 change is wrong
    and completely unnecessary."

    Reported-and-requested-by: Rafael J. Wysocki
    Acked-by: Johannes Berg
    Cc: Daniel Yingqiang Ma
    Cc: John W. Linville
    Cc: David Miller
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6:
    fat: convert to unlocked_ioctl
    fat: Cleanup nls_unload() usage
    fat: use pack_hex_byte() instead of custom one

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
    9p: Optimize TCREATE by eliminating a redundant fid clone.
    9p: cleanup: remove unneeded assignment
    9p: Add mksock support
    fs/9p: Make sure we properly instantiate dentry.
    9p: add 9P2000.L rename operation
    9p: add 9P2000.L statfs operation
    9p: VFS switches for 9p2000.L: VFS switches
    9p: VFS switches for 9p2000.L: protocol and client changes

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: (59 commits)
    ceph: reuse mon subscribe message instead of allocated anew
    ceph: avoid resending queued message to monitor
    ceph: Storage class should be before const qualifier
    ceph: all allocation functions should get gfp_mask
    ceph: specify max_bytes on readdir replies
    ceph: cleanup pool op strings
    ceph: Use kzalloc
    ceph: use common helper for aborted dir request invalidation
    ceph: cope with out of order (unsafe after safe) mds reply
    ceph: save peer feature bits in connection structure
    ceph: resync headers with userland
    ceph: use ceph. prefix for virtual xattrs
    ceph: throw out dirty caps metadata, data on session teardown
    ceph: attempt mds reconnect if mds closes our session
    ceph: clean up send_mds_reconnect interface
    ceph: wait for mds OPEN reply to indicate reconnect success
    ceph: only send cap releases when mds is OPEN|HUNG
    ceph: dicard cap releases on mds restart
    ceph: make mon client statfs handling more generic
    ceph: drop src address(es) from message header [new protocol feature]
    ...

    Linus Torvalds
     
  • * 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6:
    of: change of_match_device to work with struct device
    of: Remove duplicate fields from of_platform_driver
    drivercore: Add of_match_table to the common device drivers
    arch/microblaze: Move dma_mask from of_device into pdev_archdata
    arch/powerpc: Move dma_mask from of_device into pdev_archdata
    of: eliminate of_device->node and dev_archdata->{of,prom}_node
    of: Always use 'struct device.of_node' to get device node pointer.
    i2c/of: Allow device node to be passed via i2c_board_info
    driver-core: Add device node pointer to struct device
    of: protect contents of of_platform.h and of_device.h
    of/flattree: Make unflatten_device_tree() safe to call from any arch
    of/flattree: make of_fdt.h safe to unconditionally include.

    Linus Torvalds
     
  • * 'slab-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    slub: Use alloc_pages_exact_node() for page allocation
    slub: __kmalloc_node_track_caller should trace kmalloc_large_node case
    slub: Potential stack overflow
    crypto: Use ARCH_KMALLOC_MINALIGN for CRYPTO_MINALIGN now that it's exposed
    mm: Move ARCH_SLAB_MINALIGN and ARCH_KMALLOC_MINALIGN to
    mm: Move ARCH_SLAB_MINALIGN and ARCH_KMALLOC_MINALIGN to
    mm: Move ARCH_SLAB_MINALIGN and ARCH_KMALLOC_MINALIGN to
    slab: Fix missing DEBUG_SLAB last user
    slab: add memory hotplug support
    slab: Fix continuation lines

    Linus Torvalds
     
  • Add build testing using 'O=builddir'.

    Add build testing with various kconfig symbols disabled, listing
    common ones that are known to cause build problems.

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

    Randy Dunlap
     
  • The function name must be followed by a space, hypen, space, and a
    short description.

    Signed-off-by: Ben Hutchings
    Signed-off-by: Randy Dunlap
    Cc: Eric Moore
    Signed-off-by: Linus Torvalds

    Ben Hutchings
     
  • scsi_scan.c: fix incorrectly formatted kernel-doc notation
    & convert documentation of 2 functions into kernel-doc.

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

    Randy Dunlap
     
  • documentation: slightly more correct value for MAP_HUGETLB in map_hugetlb.c

    still not correct for alpha, mips, parisc or xtensa but working out of
    the box in the most common architectures without having to deal with
    complicated macros or including architecture specific headers.

    Signed-off-by: Carlo Marcelo Arenas Belon
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Carlo Marcelo Arenas Belon
     
  • Documentation/timers/hpet_example.c: fcntl.h is included more than once.
    Documentation/timers/hpet_example.c: signal.h is included more than once.

    Signed-off-by: Andrea Gelmini
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Andrea Gelmini
     
  • Update explanation of mmotm.
    Add explanation of drivers/staging/.

    Signed-off-by: Randy Dunlap
    Acked-by: Jonathan Corbet
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Add info on maintainers and persistent posting.
    Update git home page.

    Signed-off-by: Randy Dunlap
    Acked-by: Jonathan Corbet
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • In the example the module_init function should be static.

    Signed-off-by: H Hartley Sweeten
    Signed-off-by: Randy Dunlap
    Cc: David Woodhouse
    Signed-off-by: Linus Torvalds

    H Hartley Sweeten
     
  • commit 3bbb9ec946 (timers: Introduce the concept of timer slack for
    legacy timers) does not take the case into account when the timer is
    already expired. This broke wireless drivers.

    The solution is not to apply slack to already expired timers.

    Signed-off-by: Thomas Gleixner
    Cc: Arjan van de Ven

    Jeff Chua
     
  • commit 64ce4c2f (time: Clean up warp_clock()) breaks the timezone
    update in a very subtle way. To avoid the direct access to timekeeping
    internals it adds the timezone delta to the current time with
    timespec_add_safe(). This works nicely when the timezone delta is > 0.
    If timezone delta is < 0 then the wrap check in timespec_add_safe()
    triggers and timespec_add_safe() returns TIME_MAX and screws up
    timekeeping completely.

    The comment above timespec_add_safe() says:
    It's assumed that both values are valid (>= 0)

    Add the timezone seconds adjustment directly.

    Reported-by: Rafael J. Wysocki
    Tested-by: Rafael J. Wysocki
    Acked-by: John Stultz
    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • The build scripts inadvertently dropped this down to 29-bit, fix it
    back up.

    Reported-by: Raul Porcel
    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • arch/sh/lib/strlen.S:38: ERROR: trailing whitespace

    Signed-off-by: Andrea Gelmini
    Signed-off-by: Paul Mundt

    Andrea Gelmini
     

23 May, 2010

7 commits