24 Sep, 2009

40 commits

  • We're weaning the core code off handing cpumask's around on-stack.
    This introduces arch_send_call_function_ipi_mask().

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • We're weaning the core code off handing cpumask's around on-stack.
    This introduces arch_send_call_function_ipi_mask(), and by defining
    it, the old arch_send_call_function_ipi is defined by the core code.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • We're weaning the core code off handing cpumask's around on-stack.
    This introduces arch_send_call_function_ipi_mask(), and by defining
    it, the old arch_send_call_function_ipi is defined by the core code.

    We also take the chance to wean the implementations off the
    obsolescent for_each_cpu_mask(): making send_ipi_mask take the pointer
    seemed the most natural way to ensure all implementations used
    for_each_cpu.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • We're weaning the core code off handing cpumask's around on-stack.
    This introduces arch_send_call_function_ipi_mask(), and by defining
    it, the old arch_send_call_function_ipi is defined by the core code.

    We also take the chance to wean the implementations off the
    obsolescent for_each_cpu_mask(): making send_ipi_mask take the pointer
    seemed the most natural way to ensure all implementations used
    for_each_cpu.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • We're weaning the core code off handing cpumask's around on-stack.
    This introduces arch_send_call_function_ipi_mask().

    We also take the chance to wean the send_ipi_message off the
    obsolescent for_each_cpu_mask(): making it take a pointer seemed the
    most natural way to do this.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • There were replaced by topology_core_cpumask and topology_thread_cpumask.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • There were replaced by topology_core_cpumask and topology_thread_cpumask.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • There were replaced by topology_core_cpumask and topology_thread_cpumask.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • There were replaced by topology_core_cpumask and topology_thread_cpumask.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • There were replaced by topology_core_cpumask and topology_thread_cpumask.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • Everyone is now using smp_call_function_many().

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • smp_call_function_many is the new version: it takes a pointer. Also,
    use mm accessor macro while we're changing this.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • You're not supposed to pass cpumasks on the stack in that case.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • set_cpus_allowed() is on the way out; replace it with
    set_cpus_allowed_ptr().

    Reference: http://lkml.org/lkml/2008/11/6/448

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Rusty Russell

    Bjorn Helgaas
     
  • By 7be23e278f, mask field was deleted by irqaction. However, it was not
    deleted from comment.

    Signed-off-by: Nobuhiro Iwamatsu
    CC: Rusty Russell
    Signed-off-by: Rusty Russell

    Nobuhiro Iwamatsu
     
  • Up until 1.1.83, the primitive human tribes used struct sigaction for
    interrupts. The sa_mask field was overloaded to hold a pointer to the
    name.

    When someone created the new "struct irqaction" they carried across
    the "mask" field as a kind of ancestor worship: the fact that it was
    unused makes clear its spiritual significance.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • This snuck in after the patch which removed all the others.

    Signed-off-by: Rusty Russell
    Cc: Ingo Molnar

    Rusty Russell
     
  • It's only defined for NR_CPUS > BITS_PER_LONG; cpu_all_mask is always
    defined (and const).

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • (Thanks to Al Viro for reminding me of this, via Ingo)

    CPU_MASK_ALL is the (deprecated) "all bits set" cpumask, defined as so:

    #define CPU_MASK_ALL (cpumask_t) { { ... } }

    Taking the address of such a temporary is questionable at best,
    unfortunately 321a8e9d (cpumask: add CPU_MASK_ALL_PTR macro) added
    CPU_MASK_ALL_PTR:

    #define CPU_MASK_ALL_PTR (&CPU_MASK_ALL)

    Which formalizes this practice. One day gcc could bite us over this
    usage (though we seem to have gotten away with it so far).

    So replace everywhere which used &CPU_MASK_ALL or CPU_MASK_ALL_PTR
    with the modern "cpu_all_mask" (a real struct cpumask *), and remove
    CPU_MASK_ALL_PTR altogether.

    Signed-off-by: Rusty Russell
    Acked-by: Ingo Molnar
    Reported-by: Al Viro
    Cc: Mike Travis

    Rusty Russell
     
  • (Thanks to Al Viro for reminding me of this, via Ingo)

    CPU_MASK_ALL is the (deprecated) "all bits set" cpumask, defined as so:

    #define CPU_MASK_ALL (cpumask_t) { { ... } }

    Taking the address of such a temporary is questionable at best,
    unfortunately 321a8e9d (cpumask: add CPU_MASK_ALL_PTR macro) added
    CPU_MASK_ALL_PTR:

    #define CPU_MASK_ALL_PTR (&CPU_MASK_ALL)

    Which formalizes this practice. One day gcc could bite us over this
    usage (though we seem to have gotten away with it so far).

    Now all callers are removed, we kill it.

    Signed-off-by: Rusty Russell
    Acked-by: Ingo Molnar
    Reported-by: Al Viro
    Cc: Mike Travis

    Rusty Russell
     
  • Signed-off-by: Rusty Russell

    Rusty Russell
     
  • cpumask_of_pcibus() is the new version.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • cpumask_of_pcibus() is the new version.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • cpumask_of_pcibus() is the new version.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • Remove open-coded zalloc_cpumask_var() and zalloc_cpumask_var_node().

    Signed-off-by: Li Zefan
    Signed-off-by: Rusty Russell

    Li Zefan
     
  • * 'ixp4xx' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux-2.6:
    Add MAINTAINERS entry for ARM/INTEL IXP4xx arch support.
    ixp4xx: arch_idle() documentation fixup
    ixp4xx: timer and clocks cleanups

    Linus Torvalds
     
  • Fix new kernel-doc warnings in serial_core.[hc] files.

    Warning(include/linux/serial_core.h:485): No description found for parameter 'uport'
    Warning(include/linux/serial_core.h:485): Excess function parameter 'port' description in 'uart_handle_dcd_change'
    Warning(include/linux/serial_core.h:511): No description found for parameter 'uport'
    Warning(include/linux/serial_core.h:511): Excess function parameter 'port' description in 'uart_handle_cts_change'
    Warning(drivers/serial/serial_core.c:2437): No description found for parameter 'uport'
    Warning(drivers/serial/serial_core.c:2437): Excess function parameter 'port' description in 'uart_add_one_port'
    Warning(drivers/serial/serial_core.c:2509): No description found for parameter 'uport'
    Warning(drivers/serial/serial_core.c:2509): Excess function parameter 'port' description in 'uart_remove_one_port'

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

    Randy Dunlap
     
  • Commit ebd2c8f6d2ec4012c267ecb95e72a57b8355a705 removed struct uart_info and
    commit bdc04e3174e18f475289fa8f4144f66686326b7e further moved delta_msr_wait.
    Fix up the MN10300 on-chip serial port drivers to comply with this.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Use asm/generic-hardirq.h to build asm/hardirq.h and also remove the unused
    idle_timestamp field in irq_cpustat whilst we're at it.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     
  • …nel/git/frob/linux-2.6-roland

    * 'x86/ptrace-syscall-exit' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland:
    x86: ptrace: sysret path should reach syscall_trace_leave

    Linus Torvalds
     
  • * git://git.infradead.org/battery-2.6:
    power_supply: Add driver for the PMU on WM831x PMICs
    ds2760_battery: Fix integer overflow for time_to_empty_now
    wm97xx_battery: Convert to dev_pm_ops
    wm97xx_battery: Use irq to detect charger state
    wm97xx_battery: Use platform_data
    wm97xx-core: Pass platform_data to battery
    ds2760_battery: implement set_charged() feature
    power_supply: get_by_name and set_charged functionality
    power_supply: EXPORT_SYMBOL cleanups
    ds2760_battery: add current_accum module parameter
    ds2760_battery: handle full_active_uAh == 0 case correctly
    ds2760_battery: add rated_capacity module parameter
    ds2760_battery: export more features
    ds2760_battery: delay power supply registration
    wm8350_power: Implement charge type property
    power_supply: Add a charge_type property, and use it for olpc driver
    olpc_battery: Add an 'error' sysfs device that displays raw errors
    Revert "power: remove POWER_SUPPLY_PROP_CAPACITY_LEVEL"

    Linus Torvalds
     
  • * 'drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm/radeon/r600: set correct pitch for 4 byte copy
    drm/radeon: consolidate family flags used in pciids.

    Linus Torvalds
     
  • * git://git.infradead.org/mtd-2.6: (58 commits)
    mtd: jedec_probe: add PSD4256G6V id
    mtd: OneNand support for Nomadik 8815 SoC (on NHK8815 board)
    mtd: nand: driver for Nomadik 8815 SoC (on NHK8815 board)
    m25p80: Add Spansion S25FL129P serial flashes
    jffs2: Use SLAB_HWCACHE_ALIGN for jffs2_raw_{dirent,inode} slabs
    mtd: sh_flctl: register sh_flctl using platform_driver_probe()
    mtd: nand: txx9ndfmc: transfer 512 byte at a time if possible
    mtd: nand: fix tmio_nand ecc correction
    mtd: nand: add __nand_correct_data helper function
    mtd: cfi_cmdset_0002: add 0xFF intolerance for M29W128G
    mtd: inftl: fix fold chain block number
    mtd: jedec: fix compilation problem with I28F640C3B definition
    mtd: nand: fix ECC Correction bug for SMC ordering for NDFC driver
    mtd: ofpart: Check availability of reg property instead of name property
    driver/Makefile: Initialize "mtd" and "spi" before "net"
    mtd: omap: adding DMA mode support in nand prefetch/post-write
    mtd: omap: add support for nand prefetch-read and post-write
    mtd: add nand support for w90p910 (v2)
    mtd: maps: add mtd-ram support to physmap_of
    mtd: pxa3xx_nand: add single-bit error corrections reporting
    ...

    Linus Torvalds
     
  • * 'vgaarb-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    vgaarb: make client interface config invariant.

    Linus Torvalds
     
  • * git://git.infradead.org/iommu-2.6: (23 commits)
    intel-iommu: Disable PMRs after we enable translation, not before
    intel-iommu: Kill DMAR_BROKEN_GFX_WA option.
    intel-iommu: Fix integer wrap on 32 bit kernels
    intel-iommu: Fix integer overflow in dma_pte_{clear_range,free_pagetable}()
    intel-iommu: Limit DOMAIN_MAX_PFN to fit in an 'unsigned long'
    intel-iommu: Fix kernel hang if interrupt remapping disabled in BIOS
    intel-iommu: Disallow interrupt remapping if not all ioapics covered
    intel-iommu: include linux/dmi.h to use dmi_ routines
    pci/dmar: correct off-by-one error in dmar_fault()
    intel-iommu: Cope with yet another BIOS screwup causing crashes
    intel-iommu: iommu init error path bug fixes
    intel-iommu: Mark functions with __init
    USB: Work around BIOS bugs by quiescing USB controllers earlier
    ia64: IOMMU passthrough mode shouldn't trigger swiotlb init
    intel-iommu: make domain_add_dev_info() call domain_context_mapping()
    intel-iommu: Unify hardware and software passthrough support
    intel-iommu: Cope with broken HP DC7900 BIOS
    iommu=pt is a valid early param
    intel-iommu: double kfree()
    intel-iommu: Kill pointless intel_unmap_single() function
    ...

    Fixed up trivial include lines conflict in drivers/pci/intel-iommu.c

    Linus Torvalds
     
  • Impact: cleanup

    No need for redeclaration.

    Signed-off-by: Rusty Russell
    Signed-off-by: Andrew Morton
    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    Rusty Russell
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (41 commits)
    regulator: Add some brief design documentation
    regulator: fix voltage range in da9034 ldo12
    regulator/driver: be more specific in nanodoc for is_enabled
    regulator/lp3971: drop unnecessary initialization
    regulator: drop 'default n'
    regulator: fix typos
    regulator: fix calculation of voltage range in da9034_set_ldo12_voltage()
    regulator: update a filename in documentation
    drivers/regulator/Kconfig: fix typo (s/Usersapce/Userspace/) in REGULATOR_USERSPACE_CONSUMER description
    REGULATOR Handle positive returncode from enable
    regulator: tps650xx - build fixes for x86_64
    Fix some regulator documentation
    Regulator: Adding TPS65023 and TPS6507x in Kconfig and Makefile
    Regulator: Add TPS6507x regulator driver
    Regulator: Add TPS65023 regulator driver
    regulator: userspace: use sysfs_create_group
    regulator: Add GPIO enable control to fixed voltage regulator driver
    Regulator: Implement list_voltage for pcf50633 regulator driver.
    regulator: regulator_enable() permission checking
    regulator: Push locking for regulator_is_enabled() out
    ...

    Linus Torvalds
     
  • * 'fix/misc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: lx6464es - remove unused struct member
    ALSA: lx6464es - cleanup of rmh message bus function
    ALSA: pcm - Simplify snd_pcm_drain() implementation

    Linus Torvalds
     
  • * 'fix/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ASoC: wm8753: fix mapping when MONOMIX is set to Stereo
    ASoC: some minor changes for AD1836 and AD1938 codec drivers
    ASoC: DaVinci: Fixes to McASP configuration
    ASoC: Blackfin I2S: fix resuming when device hasn't been used
    ASoC: Blackfin I2S: add lost platform_device parameter to resume function
    ASoC: fix typos in Blackfin headers
    ASoC: bf5xx-sport: the irq save/restore funcs take an unsigned long
    ASoC: Blackfin AC97: add a few missing multichannel define handling

    Linus Torvalds
     
  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: (22 commits)
    [S390] Update default configuration.
    [S390] hibernate: Do real CPU swap at resume time
    [S390] dasd: tolerate devices that have no feature codes
    [S390] zcrypt: Do not add/remove devices in s/r callbacks
    [S390] hibernate: make sure pfn_is_nosave handles lowcore pages
    [S390] smp: introduce LC_ORDER and simplify lowcore handling
    [S390] ptrace: use common code for simple peek/poke operations
    [S390] fix disabled_wait inline assembly clobber list
    [S390] Change kernel_page_present coding style.
    [S390] hibernation: reset system after resume
    [S390] hibernation: fix guest page hinting related crash
    [S390] Get rid of init_module/delete_module compat functions.
    [S390] Convert sys_execve to function with parameters.
    [S390] Convert sys_clone to function with parameters.
    [S390] qdio: change state of all primed input buffers
    [S390] qdio: reduce per device debug messages
    [S390] cio: introduce consistent subchannel scanning
    [S390] cio: idset use actual number of ssids
    [S390] cio: dont kfree vmalloced memory
    [S390] cio: introduce css_settle
    ...

    Linus Torvalds