11 Mar, 2013

3 commits

  • Pull perf fixes from Ingo Molnar:
    "Misc minor fixes mostly related to tracing"

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    s390: Fix a header dependencies related build error
    tracing: update documentation of snapshot utility
    tracing: Do not return EINVAL in snapshot when not allocated
    tracing: Add help of snapshot feature when snapshot is empty
    ftrace: Update the kconfig for DYNAMIC_FTRACE

    Linus Torvalds
     
  • Pull networking fixes from David Miller:

    1) Missing cancel of work items in mac80211 MLME, from Ben Greear.

    2) Fix DMA mapping handling in iwlwifi by using coherent DMA for
    command headers, from Johannes Berg.

    3) Decrease the amount of pressure on the page allocator by using order
    1 pages less in iwlwifi, from Emmanuel Grumbach.

    4) Fix mesh PS broadcast OOPS in mac80211, from Marco Porsch.

    5) Don't forget to recalculate idle state in mac80211 monitor
    interface, from Felix Fietkau.

    6) Fix varargs in netfilter conntrack handler, from Joe Perches.

    7) Need to reset entire chip when command queue fills up in iwlwifi,
    from Emmanuel Grumbach.

    8) The TX antenna value must be valid when calibrations are performed
    in iwlwifi, fix from Dor Shaish.

    9) Don't generate netfilter audit log entries when audit is disabled,
    from Gao Feng.

    10) Deal with DMA unit hang on e1000e during power state transitions,
    from Bruce Allan.

    11) Remove BUILD_BUG_ON check from igb driver, from Alexander Duyck.

    12) Fix lockdep warning on i2c handling of igb driver, from Carolyn
    Wyborny.

    13) Fix several TTY handling issues in IRDA ircomm tty driver, from
    Peter Hurley.

    14) Several QFQ packet scheduler fixes from Paolo Valente.

    15) When VXLAN encapsulates on transmit, we have to reset the netfilter
    state. From Zang MingJie.

    16) Fix jiffie check in net_rx_action() so that we really cap the
    processing at 2HZ. From Eric Dumazet.

    17) Fix erroneous trigger of IP option space exhaustion, when routers
    are pre-specified and we are looking to see if we can insert a
    timestamp, we will have the space. From David Ward.

    18) Fix various issues in benet driver wrt waiting for firmware to
    finish POST after resets or errors. From Gavin Shan and Sathya
    Perla.

    19) Fix TX locking in SFC driver, from Ben Hutchings.

    20) Like the VXLAN fix above, when we encap in a TUN device we have to
    reset the netfilter state. This should fix several strange crashes
    reported by Dave Jones and others. From Eric Dumazet.

    21) Don't forget to clean up MAC address resources when shutting down a
    port in mlx4 driver, from Yan Burman.

    22) Fix divide by zero in vmxnet3 driver, from Bhavesh Davda.

    23) Fix device statistic regression in tg3 when the driver is using
    phylib, from Nithin Sujir.

    24) Fix info leak in several netlink handlers, from Mathias Krause.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (79 commits)
    6lowpan: Fix endianness issue in is_addr_link_local().
    rrunner.c: fix possible memory leak in rr_init_one()
    dcbnl: fix various netlink info leaks
    rtnl: fix info leak on RTM_GETLINK request for VF devices
    bridge: fix mdb info leaks
    tg3: Update link_up flag for phylib devices
    ipv6: stop multicast forwarding to process interface scoped addresses
    bridging: fix rx_handlers return code
    netlabel: fix build problems when CONFIG_IPV6=n
    drivers/isdn: checkng length to be sure not memory overflow
    net/rds: zero last byte for strncpy
    bnx2x: Fix SFP+ misconfiguration in iSCSI boot scenario
    bnx2x: Fix intermittent long KR2 link up time
    macvlan: Set IFF_UNICAST_FLT flag to prevent unnecessary promisc mode.
    team: unsyc the devices addresses when port is removed
    bridge: add missing vid to br_mdb_get()
    Fix: sparse warning in inet_csk_prepare_forced_close
    afkey: fix a typo
    MAINTAINERS: Update qlcnic maintainers list
    netlabel: correctly list all the static label mappings
    ...

    Linus Torvalds
     
  • Pull input updates from Dmitry Torokhov:
    "Except for the largish change to the ALPS driver adding "Dolphin V1"
    support and Wacom getting a new signature of yet another device, the
    rest are straightforward driver fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: mms114 - Fix regulator enable and disable paths
    Input: ads7864 - check return value of regulator enable
    Input: tc3589x-keypad - fix keymap size
    Input: wacom - add support for 0x10d
    Input: ALPS - update documentation for recent touchpad driver mods
    Input: ALPS - add "Dolphin V1" touchpad support
    Input: ALPS - remove unused argument to alps_enter_command_mode()
    Input: cypress_ps2 - fix trackpadi found in Dell XPS12

    Linus Torvalds
     

09 Mar, 2013

1 commit

  • Update email address and CREDITS info. xenotime.net is defunct.

    Signed-off-by: Randy Dunlap
    Cc: Harry Wei
    Cc: Keiichi KII
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

08 Mar, 2013

3 commits

  • Now, "snapshot" file returns success on a reset of snapshot buffer
    even if the buffer wasn't allocated, instead of returning EINVAL.
    This patch updates snapshot desctiption according to the change.

    Link: http://lkml.kernel.org/r/51399409.4090207@hitachi.com

    Signed-off-by: Hiraku Toyooka
    Signed-off-by: Steven Rostedt

    Hiraku Toyooka
     
  • Pull ACPI and power management fixes from Rafael J Wysocki:

    - Two fixes for the new intel_pstate driver from Dirk Brandewie.

    - Fix for incorrect usage of the .find_bridge() callback from struct
    acpi_bus_type in the USB core and subsequent removal of that callback
    from Rafael J Wysocki.

    - ACPI processor driver cleanups from Chen Gang and Syam Sidhardhan.

    - ACPI initialization and error messages fix from Joe Perches.

    - Operating Performance Points documentation improvement from Nishanth
    Menon.

    - Fixes for memory leaks and potential concurrency issues and sysfs
    attributes leaks during device removal in the core device PM QoS code
    from Rafael J Wysocki.

    - Calxeda Highbank cpufreq driver simplification from Emilio López.

    - cpufreq comment cleanup from Namhyung Kim.

    - Fix for a section mismatch in Calxeda Highbank interprocessor
    communication code from Mark Langsdorf (this is not a PM fix strictly
    speaking, but the code in question went in through the PM tree).

    * tag 'pm+acpi-3.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq / intel_pstate: Do not load on VM that does not report max P state.
    cpufreq / intel_pstate: Fix intel_pstate_init() error path
    ACPI / glue: Drop .find_bridge() callback from struct acpi_bus_type
    ACPI / glue: Add .match() callback to struct acpi_bus_type
    ACPI / porocessor: Beautify code, pr->id is u32 which is never < 0
    ACPI / processor: Remove redundant NULL check before kfree
    ACPI / Sleep: Avoid interleaved message on errors
    PM / QoS: Remove device PM QoS sysfs attributes at the right place
    PM / QoS: Fix concurrency issues and memory leaks in device PM QoS
    cpufreq: highbank: do not initialize array with a loop
    PM / OPP: improve introductory documentation
    cpufreq: Fix a typo in comment
    mailbox, pl320-ipc: remove __init from probe function

    Linus Torvalds
     
  • Pull hwmon patches from Guenter Roeck:
    "Bug fixes for sht15 and ltc2978 driver plus some documentation
    updates"

    * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    hwmon: (sht15) Check return value of regulator_enable()
    hwmon: (adt7410) Document ADT7420 support
    hwmon: (pmbus/ltc2978) Use detected chip ID to select supported functionality
    hwmon: (pmbus/ltc2978) Fix peak attribute handling
    hwmon: (pmbus/ltc2978) Update datasheet links
    hwmon: Update my e-mail address in driver documentation

    Linus Torvalds
     

07 Mar, 2013

1 commit


06 Mar, 2013

1 commit

  • Pull md updates from NeilBrown:
    "Mostly little bugfixes.

    Only "feature" is a new RAID10 layout which slightly improves the
    number of sets of devices that can concurrently fail, without data
    loss."

    * tag 'md-3.9' of git://neil.brown.name/md:
    md: expedite metadata update when switching read-auto -> active
    md: remove CONFIG_MULTICORE_RAID456
    md/raid1,raid10: fix deadlock with freeze_array()
    md/raid0: improve error message when converting RAID4-with-spares to RAID0
    md: raid0: fix error return from create_stripe_zones.
    md: fix two bugs when attempting to resize RAID0 array.
    DM RAID: Add support for MD's RAID10 "far" and "offset" algorithms
    MD RAID10: Improve redundancy for 'far' and 'offset' algorithms (part 2)
    MD RAID10: Improve redundancy for 'far' and 'offset' algorithms (part 1)
    MD RAID10: Minor non-functional code changes
    md: raid1,10: Handle REQ_WRITE_SAME flag in write bios
    md: protect against crash upon fsync on ro array

    Linus Torvalds
     

04 Mar, 2013

8 commits

  • Make Operating Performance Points (OPP) library introductory chapter
    a little more reader-friendly. Split the chapter into two sections,
    highlight the definition with an example and minor rewording to be
    verbose.

    Reported-by: Linus Torvalds
    Signed-off-by: Nishanth Menon
    Reviewed-by: Randy Dunlap
    Signed-off-by: Rafael J. Wysocki

    Nishanth Menon
     
  • The adt7410 driver supports the ADT7420, but its documentation file
    makes no mention of that. Add this refrence, and a brief a description
    of the differences between the ADT7410 and the ADT7420.

    Signed-off-by: Jean Delvare
    Cc: Lars-Peter Clausen
    Cc: Hartmut Knaack
    Cc: Guenter Roeck
    Signed-off-by: Guenter Roeck

    Jean Delvare
     
  • Links to datasheets are no longer valid. Provide links to product information
    instead (which provides links to the datasheets and is hopefully more
    persistent).

    Signed-off-by: Guenter Roeck
    Acked-by: Jean Delvare

    Guenter Roeck
     
  • Most of the hwmon driver documentation still listed my old invalid e-mail
    address. Fix it.

    Signed-off-by: Guenter Roeck
    Acked-by: Jean Delvare

    Guenter Roeck
     
  • Pull new ImgTec Meta architecture from James Hogan:
    "This adds core architecture support for Imagination's Meta processor
    cores, followed by some later miscellaneous arch/metag cleanups and
    fixes which I kept separate to ease review:

    - Support for basic Meta 1 (ATP) and Meta 2 (HTP) core architecture
    - A few fixes all over, particularly for symbol prefixes
    - A few privilege protection fixes
    - Several cleanups (setup.c includes, split out a lot of
    metag_ksyms.c)
    - Fix some missing exports
    - Convert hugetlb to use vm_unmapped_area()
    - Copy device tree to non-init memory
    - Provide dma_get_sgtable()"

    * tag 'metag-v3.9-rc1-v4' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag: (61 commits)
    metag: Provide dma_get_sgtable()
    metag: prom.h: remove declaration of metag_dt_memblock_reserve()
    metag: copy devicetree to non-init memory
    metag: cleanup metag_ksyms.c includes
    metag: move mm/init.c exports out of metag_ksyms.c
    metag: move usercopy.c exports out of metag_ksyms.c
    metag: move setup.c exports out of metag_ksyms.c
    metag: move kick.c exports out of metag_ksyms.c
    metag: move traps.c exports out of metag_ksyms.c
    metag: move irq enable out of irqflags.h on SMP
    genksyms: fix metag symbol prefix on crc symbols
    metag: hugetlb: convert to vm_unmapped_area()
    metag: export clear_page and copy_page
    metag: export metag_code_cache_flush_all
    metag: protect more non-MMU memory regions
    metag: make TXPRIVEXT bits explicit
    metag: kernel/setup.c: sort includes
    perf: Enable building perf tools for Meta
    metag: add boot time LNKGET/LNKSET check
    metag: add __init to metag_cache_probe()
    ...

    Linus Torvalds
     
  • Pull watchdog updates from Wim Van Sebroeck:
    "This contains:
    - fixes and improvements
    - devicetree bindings
    - conversion to watchdog generic framework of the following drivers:
    - booke_wdt
    - bcm47xx_wdt.c
    - at91sam9_wdt
    - Removal of old STMP3xxx driver
    - Addition of following new drivers:
    - new driver for STMP3xxx and i.MX23/28
    - Retu watchdog driver"

    * git://www.linux-watchdog.org/linux-watchdog: (30 commits)
    watchdog: sp805_wdt depends on ARM
    watchdog: davinci_wdt: update to devm_* API
    watchdog: davinci_wdt: use devm managed clk get
    watchdog: at91rm9200: add DT support
    watchdog: add timeout-sec property binding
    watchdog: at91sam9_wdt: Convert to use the watchdog framework
    watchdog: omap_wdt: Add option nowayout
    watchdog: core: dt: add support for the timeout-sec dt property
    watchdog: bcm47xx_wdt.c: add hard timer
    watchdog: bcm47xx_wdt.c: rename wdt_time to timeout
    watchdog: bcm47xx_wdt.c: rename ops methods
    watchdog: bcm47xx_wdt.c: use platform device
    watchdog: bcm47xx_wdt.c: convert to watchdog core api
    watchdog: Convert BookE watchdog driver to watchdog infrastructure
    watchdog: s3c2410_wdt: Use devm_* functions
    watchdog: remove old STMP3xxx driver
    watchdog: add new driver for STMP3xxx and i.MX23/28
    rtc: stmp3xxx: add wdt-accessor function
    watchdog: introduce retu_wdt driver
    watchdog: intel_scu_watchdog: fix Kconfig dependency
    ...

    Linus Torvalds
     
  • Pull second set of slave-dmaengine updates from Vinod Koul:
    "Arnd's patch moves the dw_dmac to use generic DMA binding. I agreed
    to merge this late as it will avoid the conflicts between trees.

    The second patch from Matt adding a dma_request_slave_channel_compat
    API was supposed to be picked up, but somehow never got picked up.
    Some patches dependent on this are already in -next :("

    * 'next' of git://git.infradead.org/users/vkoul/slave-dma:
    dmaengine: dw_dmac: move to generic DMA binding
    dmaengine: add dma_request_slave_channel_compat()

    Linus Torvalds
     
  • Pull x86 platform driver updates from Matthew Garrett:
    "Mostly relatively small updates, along with some hardware enablement
    for Sony hardware and a pile of updates to Google's Chromebook driver"

    * 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86: (49 commits)
    ideapad-laptop: Depend on BACKLIGHT_CLASS_DEVICE instead of selecting it
    ideapad: depends on backlight subsystem and update comment
    Platform: x86: chromeos_laptop - add i915 gmbuses to adapter names
    Platform: x86: chromeos_laptop - Add isl light sensor for Pixel
    Platform: x86: chromeos_laptop - Add a more general add_i2c_device
    Platform: x86: chromeos_laptop - Add Pixel Touchscreen
    Platform: x86: chromeos_laptop - Add support for probing devices
    Platform: x86: chromeos_laptop - Add Pixel Trackpad
    hp-wmi: fix handling of platform device
    sony-laptop: leak in error handling sony_nc_lid_resume_setup()
    hp-wmi: Add support for SMBus hotkeys
    asus-wmi: Fix unused function build warning
    acer-wmi: avoid the warning of 'devices' may be used uninitialized
    drivers/platform/x86/thinkpad_acpi.c: Handle HKEY event 0x6040
    Platform: x86: chromeos_laptop - Add HP Pavilion 14
    Platform: x86: chromeos_laptop - Add Taos tsl2583 device
    Platform: x86: chromeos_laptop - Add Taos tsl2563 device
    Platform: x86: chromeos_laptop - Add Acer C7 trackpad
    Platform: x86: chromeos_laptop - Rename setup_lumpy_tp to setup_cyapa_smbus_tp
    asus-laptop: always report brightness key events
    ...

    Linus Torvalds
     

03 Mar, 2013

6 commits

  • Pull MTD update from David Woodhouse:
    "Fairly unexciting MTD merge for 3.9:

    - misc clean-ups in the MTD command-line partitioning parser
    (cmdlinepart)
    - add flash locking support for STmicro chips serial flash chips, as
    well as for CFI command set 2 chips.
    - new driver for the ELM error correction HW module found in various
    TI chips, enable the OMAP NAND driver to use the ELM HW error
    correction
    - added number of new serial flash IDs
    - various fixes and improvements in the gpmi NAND driver
    - bcm47xx NAND driver improvements
    - make the mtdpart module actually removable"

    * tag 'for-linus-20130301' of git://git.infradead.org/linux-mtd: (45 commits)
    mtd: map: BUG() in non handled cases
    mtd: bcm47xxnflash: use pr_fmt for module prefix in messages
    mtd: davinci_nand: Use managed resources
    mtd: mtd_torturetest can cause stack overflows
    mtd: physmap_of: Convert device allocation to managed devm_kzalloc()
    mtd: at91: atmel_nand: for PMECC, add code to check the ONFI parameter ECC requirement.
    mtd: atmel_nand: make pmecc-cap, pmecc-sector-size in dts is optional.
    mtd: atmel_nand: avoid to report an error when lookup table offset is 0.
    mtd: bcm47xxsflash: adjust names of bus-specific functions
    mtd: bcm47xxpart: improve probing of nvram partition
    mtd: bcm47xxpart: add support for other erase sizes
    mtd: bcm47xxnflash: register this as normal driver
    mtd: bcm47xxnflash: fix message
    mtd: bcm47xxsflash: register this as normal driver
    mtd: bcm47xxsflash: write number of written bytes
    mtd: gpmi: add sanity check for the ECC
    mtd: gpmi: set the Golois Field bit for mx6q's BCH
    mtd: devices: elm: Removes literals in elm DT node
    mtd: gpmi: fix a dereferencing freed memory error
    mtd: fix the wrong timeo for panic_nand_wait()
    ...

    Linus Torvalds
     
  • Add basic metag documentation. This includes an outline description of
    the ABIs (including syscall ABI) and calling conventions, similar to the
    one in Documentation/frv/.

    Signed-off-by: James Hogan
    Cc: Rob Landley
    Cc: Al Viro
    Cc: linux-doc@vger.kernel.org

    James Hogan
     
  • Meta core internal interrupts (from HWSTATMETA and friends) are vectored
    onto the TR1 core trigger for the current thread. This is demultiplexed
    in irq-metag.c to individual Linux IRQs for each internal interrupt.

    External SoC interrupts (from HWSTATEXT and friends) are vectored onto
    the TR2 core trigger for the current thread. This is demultiplexed in
    irq-metag-ext.c to individual Linux IRQs for each external SoC interrupt.
    The external irqchip has devicetree bindings for configuring the number
    of irq banks and the type of masking available.

    Signed-off-by: James Hogan
    Cc: Arnd Bergmann
    Cc: Grant Likely
    Cc: Rob Herring
    Cc: Rob Landley
    Cc: Dom Cobley
    Cc: Simon Arlott
    Cc: Viresh Kumar
    Cc: Maxime Ripard
    Cc: devicetree-discuss@lists.ozlabs.org
    Cc: linux-doc@vger.kernel.org

    James Hogan
     
  • Pull device-mapper update from Alasdair G Kergon:
    "The main addition here is a long-desired target framework to allow an
    SSD to be used as a cache in front of a slower device. Cache tuning
    is delegated to interchangeable policy modules so these can be
    developed independently of the mechanics needed to shuffle the data
    around.

    Other than that, kcopyd users acquire a throttling parameter, ioctl
    buffer usage gets streamlined, more mempool reliance is reduced and
    there are a few other bug fixes and tidy-ups."

    * tag 'dm-3.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm: (30 commits)
    dm cache: add cleaner policy
    dm cache: add mq policy
    dm: add cache target
    dm persistent data: add bitset
    dm persistent data: add transactional array
    dm thin: remove cells from stack
    dm bio prison: pass cell memory in
    dm persistent data: add btree_walk
    dm: add target num_write_bios fn
    dm kcopyd: introduce configurable throttling
    dm ioctl: allow message to return data
    dm ioctl: optimize functions without variable params
    dm ioctl: introduce ioctl_flags
    dm: merge io_pool and tio_pool
    dm: remove unused _rq_bio_info_cache
    dm: fix limits initialization when there are no data devices
    dm snapshot: add missing module aliases
    dm persistent data: set some btree fn parms const
    dm: refactor bio cloning
    dm: rename bio cloning functions
    ...

    Linus Torvalds
     
  • Pull SCSI updates from James Bottomley:
    "This is an assorted set of stragglers into the merge window with
    driver updates for qla2xxx, megaraid_sas, storvsc and ufs.

    It also includes pulls of the uapi tree (all the remaining SCSI
    pieces) and the fcoe tree (updates to fcoe and libfc)"

    * tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (81 commits)
    [SCSI] ufs: Separate PCI code into glue driver
    [SCSI] ufs: Segregate PCI Specific Code
    [SCSI] scsi: fix lpfc build when wmb() is defined as mb()
    [SCSI] storvsc: Handle dynamic resizing of the device
    [SCSI] storvsc: Restructure error handling code on command completion
    [SCSI] storvsc: avoid usage of WRITE_SAME
    [SCSI] aacraid: suppress two GCC warnings
    [SCSI] hpsa: check for dma_mapping_error in hpsa_passthru ioctls
    [SCSI] hpsa: reorganize error handling in hpsa_passthru_ioctl
    [SCSI] hpsa: check for dma_mapping_error in hpsa_map_sg_chain_block
    [SCSI] hpsa: Check for dma_mapping_error for all code paths using fill_cmd
    [SCSI] hpsa: Check for dma_mapping_error in hpsa_map_one
    [SCSI] dc395x: uninitialized variable in device_alloc()
    [SCSI] Fix range check in scsi_host_dif_capable()
    [SCSI] storvsc: Initialize the sglist
    [SCSI] mpt2sas: Add support for OEM specific controller
    [SCSI] ipr: Fix oops while resetting an ipr adapter
    [SCSI] fnic: Fnic Trace Utility
    [SCSI] fnic: New debug flags and debug log messages
    [SCSI] fnic: fnic driver may hit BUG_ON on device reset
    ...

    Linus Torvalds
     
  • Tim found:

    WARNING: at arch/x86/kernel/smpboot.c:324 topology_sane.isra.2+0x6f/0x80()
    Hardware name: S2600CP
    sched: CPU #1's llc-sibling CPU #0 is not on the same node! [node: 1 != 0]. Ignoring dependency.
    smpboot: Booting Node 1, Processors #1
    Modules linked in:
    Pid: 0, comm: swapper/1 Not tainted 3.9.0-0-generic #1
    Call Trace:
    set_cpu_sibling_map+0x279/0x449
    start_secondary+0x11d/0x1e5

    Don Morris reproduced on a HP z620 workstation, and bisected it to
    commit e8d195525809 ("acpi, memory-hotplug: parse SRAT before memblock
    is ready")

    It turns out movable_map has some problems, and it breaks several things

    1. numa_init is called several times, NOT just for srat. so those
    nodes_clear(numa_nodes_parsed)
    memset(&numa_meminfo, 0, sizeof(numa_meminfo))
    can not be just removed. Need to consider sequence is: numaq, srat, amd, dummy.
    and make fall back path working.

    2. simply split acpi_numa_init to early_parse_srat.
    a. that early_parse_srat is NOT called for ia64, so you break ia64.
    b. for (i = 0; i < MAX_LOCAL_APIC; i++)
    set_apicid_to_node(i, NUMA_NO_NODE)
    still left in numa_init. So it will just clear result from early_parse_srat.
    it should be moved before that....
    c. it breaks ACPI_TABLE_OVERIDE...as the acpi table scan is moved
    early before override from INITRD is settled.

    3. that patch TITLE is total misleading, there is NO x86 in the title,
    but it changes critical x86 code. It caused x86 guys did not
    pay attention to find the problem early. Those patches really should
    be routed via tip/x86/mm.

    4. after that commit, following range can not use movable ram:
    a. real_mode code.... well..funny, legacy Node0 [0,1M) could be hot-removed?
    b. initrd... it will be freed after booting, so it could be on movable...
    c. crashkernel for kdump...: looks like we can not put kdump kernel above 4G
    anymore.
    d. init_mem_mapping: can not put page table high anymore.
    e. initmem_init: vmemmap can not be high local node anymore. That is
    not good.

    If node is hotplugable, the mem related range like page table and
    vmemmap could be on the that node without problem and should be on that
    node.

    We have workaround patch that could fix some problems, but some can not
    be fixed.

    So just remove that offending commit and related ones including:

    f7210e6c4ac7 ("mm/memblock.c: use CONFIG_HAVE_MEMBLOCK_NODE_MAP to
    protect movablecore_map in memblock_overlaps_region().")

    01a178a94e8e ("acpi, memory-hotplug: support getting hotplug info from
    SRAT")

    27168d38fa20 ("acpi, memory-hotplug: extend movablemem_map ranges to
    the end of node")

    e8d195525809 ("acpi, memory-hotplug: parse SRAT before memblock is
    ready")

    fb06bc8e5f42 ("page_alloc: bootmem limit with movablecore_map")

    42f47e27e761 ("page_alloc: make movablemem_map have higher priority")

    6981ec31146c ("page_alloc: introduce zone_movable_limit[] to keep
    movable limit for nodes")

    34b71f1e04fc ("page_alloc: add movable_memmap kernel parameter")

    4d59a75125d5 ("x86: get pg_data_t's memory from other node")

    Later we should have patches that will make sure kernel put page table
    and vmemmap on local node ram instead of push them down to node0. Also
    need to find way to put other kernel used ram to local node ram.

    Reported-by: Tim Gardner
    Reported-by: Don Morris
    Bisected-by: Don Morris
    Tested-by: Don Morris
    Signed-off-by: Yinghai Lu
    Cc: Tony Luck
    Cc: Thomas Renninger
    Cc: Tejun Heo
    Cc: Tang Chen
    Cc: Yasuaki Ishimatsu
    Signed-off-by: Linus Torvalds

    Yinghai Lu
     

02 Mar, 2013

5 commits

  • Pull new ARC architecture from Vineet Gupta:
    "Initial ARC Linux port with some fixes on top for 3.9-rc1:

    I would like to introduce the Linux port to ARC Processors (from
    Synopsys) for 3.9-rc1. The patch-set has been discussed on the public
    lists since Nov and has received a fair bit of review, specially from
    Arnd, tglx, Al and other subsystem maintainers for DeviceTree, kgdb...

    The arch bits are in arch/arc, some asm-generic changes (acked by
    Arnd), a minor change to PARISC (acked by Helge).

    The series is a touch bigger for a new port for 2 main reasons:

    1. It enables a basic kernel in first sub-series and adds
    ptrace/kgdb/.. later

    2. Some of the fallout of review (DeviceTree support, multi-platform-
    image support) were added on top of orig series, primarily to
    record the revision history.

    This updated pull request additionally contains

    - fixes due to our GNU tools catching up with the new syscall/ptrace
    ABI

    - some (minor) cross-arch Kconfig updates."

    * tag 'arc-v3.9-rc1-late' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc: (82 commits)
    ARC: split elf.h into uapi and export it for userspace
    ARC: Fixup the current ABI version
    ARC: gdbserver using regset interface possibly broken
    ARC: Kconfig cleanup tracking cross-arch Kconfig pruning in merge window
    ARC: make a copy of flat DT
    ARC: [plat-arcfpga] DT arc-uart bindings change: "baud" => "current-speed"
    ARC: Ensure CONFIG_VIRT_TO_BUS is not enabled
    ARC: Fix pt_orig_r8 access
    ARC: [3.9] Fallout of hlist iterator update
    ARC: 64bit RTSC timestamp hardware issue
    ARC: Don't fiddle with non-existent caches
    ARC: Add self to MAINTAINERS
    ARC: Provide a default serial.h for uart drivers needing BASE_BAUD
    ARC: [plat-arcfpga] defconfig for fully loaded ARC Linux
    ARC: [Review] Multi-platform image #8: platform registers SMP callbacks
    ARC: [Review] Multi-platform image #7: SMP common code to use callbacks
    ARC: [Review] Multi-platform image #6: cpu-to-dma-addr optional
    ARC: [Review] Multi-platform image #5: NR_IRQS defined by ARC core
    ARC: [Review] Multi-platform image #4: Isolate platform headers
    ARC: [Review] Multi-platform image #3: switch to board callback
    ...

    Linus Torvalds
     
  • Pull MIPS updates from Ralf Baechle:

    o Add basic support for the Mediatek/Ralink Wireless SoC family.

    o The Qualcomm Atheros platform is extended by support for the new
    QCA955X SoC series as well as a bunch of patches that get the code
    ready for OF support.

    o Lantiq and BCM47XX platform have a few improvements and bug fixes.

    o MIPS has sent a few patches that get the kernel ready for the
    upcoming microMIPS support.

    o The rest of the series is made up of small bug fixes and cleanups
    that relate to various parts of the MIPS code. The biggy in there is
    a whitespace cleanup. After I was sent another set of whitespace
    cleanup patches I decided it was the time to clean the whitespace
    "issues" for once and and that touches many files below arch/mips/.

    Fix up silly conflicts, mostly due to whitespace cleanups.

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (105 commits)
    MIPS: Quit exporting kernel internel break codes to uapi/asm/break.h
    MIPS: remove broken conditional inside vpe loader code
    MIPS: SMTC: fix implicit declaration of set_vi_handler
    MIPS: early_printk: drop __init annotations
    MIPS: Probe for and report hardware virtualization support.
    MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board
    MIPS: ath79: add USB controller registration code for the QCA955X SoCs
    MIPS: ath79: add PCI controller registration code for the QCA955X SoCs
    MIPS: ath79: add WMAC registration code for the QCA955X SoCs
    MIPS: ath79: register UART for the QCA955X SoCs
    MIPS: ath79: add QCA955X specific glue to ath79_device_reset_{set, clear}
    MIPS: ath79: add GPIO setup code for the QCA955X SoCs
    MIPS: ath79: add IRQ handling code for the QCA955X SoCs
    MIPS: ath79: add clock setup code for the QCA955X SoCs
    MIPS: ath79: add SoC detection code for the QCA955X SoCs
    MIPS: ath79: add early printk support for the QCA955X SoCs
    MIPS: ath79: fix WMAC IRQ resource assignment
    mips: reserve elfcorehdr
    mips: Make sure kernel memory is in iomem
    MIPS: ath79: use dynamically allocated USB platform devices
    ...

    Linus Torvalds
     
  • A simple cache policy that writes back all data to the origin.

    This is used to decommission a dm cache by emptying it.

    Signed-off-by: Heinz Mauelshagen
    Signed-off-by: Joe Thornber
    Signed-off-by: Alasdair G Kergon

    Heinz Mauelshagen
     
  • A cache policy that uses a multiqueue ordered by recent hit
    count to select which blocks should be promoted and demoted.
    This is meant to be a general purpose policy. It prioritises
    reads over writes.

    Signed-off-by: Joe Thornber
    Signed-off-by: Alasdair G Kergon

    Joe Thornber
     
  • Add a target that allows a fast device such as an SSD to be used as a
    cache for a slower device such as a disk.

    A plug-in architecture was chosen so that the decisions about which data
    to migrate and when are delegated to interchangeable tunable policy
    modules. The first general purpose module we have developed, called
    "mq" (multiqueue), follows in the next patch. Other modules are
    under development.

    Signed-off-by: Joe Thornber
    Signed-off-by: Heinz Mauelshagen
    Signed-off-by: Mike Snitzer
    Signed-off-by: Alasdair G Kergon

    Joe Thornber
     

01 Mar, 2013

11 commits

  • Add DT support for at91rm9200_wdt.

    Signed-off-by: Joachim Eastwood
    Signed-off-by: Wim Van Sebroeck

    Joachim Eastwood
     
  • this patchset add the timeout-sec property to the following drivers:
    orion_wdt, pnx4008_wdt, s3c2410_wdt and at91sam9_wdt.

    The at91sam9_wdt is tested on evk-pr3,
    the other drivers are compile tested only.

    Signed-off-by: Fabio Porcedda
    Cc: Andrew Lunn
    Cc: Jason Cooper
    Cc: Wolfram Sang
    Cc: Masanari Iida
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Cc: Andrew Victor
    Cc: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Signed-off-by: Wim Van Sebroeck

    Fabio Porcedda
     
  • Add support for watchdog drivers to initialize/set the timeout field
    of the watchdog_device structure. The timeout field is initialised
    either with the module timeout parameter value (if valid) or with the
    timeout-sec dt property (if valid). If both are invalid the initial
    value is unchanged.

    Signed-off-by: Fabio Porcedda
    Acked-by: Nicolas Ferre
    Signed-off-by: Wim Van Sebroeck

    Fabio Porcedda
     
  • Cc: Grant Likely
    Cc: devicetree-discuss@lists.ozlabs.org
    Signed-off-by: Gabor Juhos
    Signed-off-by: Wim Van Sebroeck

    Gabor Juhos
     
  • FCoE Updates for 3.9

    Signed-off-by: James Bottomley

    James Bottomley
     
  • Pull ARM SoC mvebu platform changes from Olof Johansson:
    "This series contains changes for the Marvell EBU platforms (mvebu,
    orion, kirkwood, dove) that were not part of the first set of pull
    requests because of dependencies on the MMC tree, and being submitted
    a little late.

    Notable changes are:

    - More devices get moved out of board files into device tree
    descriptions. The remaining devices listed in there have patches
    that will get sent for 3.10, after which we can remove a lot of the
    board files entirely. We are doing the pinctrl and mmc drivers
    here, ethernet and PCI still remain.

    - SMP support for mvebu is improved with support for the local
    interrupt controller.

    - The Guruplug board file gets replaced with a DT description.

    Unfortunately, the dependency on the MMC tree turned out to be a much
    larger problem than expected, when the MMC maintainer rebased the
    patches in his tree that all of the patches in this branch are based
    on, which caused merge conflicts between the new and old versions of
    those patches.

    To work around the merge conflicts, this branch rebases all patches on
    top of the respective MMC patches that did get merged into 3.9. The
    patches are all identical to the versions that were part of
    linux-next, but have a new commit date."

    * tag 'late-mvebu-rebased' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (90 commits)
    arm: mvebu: enable the SD card slot on Armada 370 Reference Design board
    ARM: kirkwood: topkick: init mvsdio via DT
    ARM: kirkwood: nsa310: convert to pinctrl
    ARM: Kirkwood: topkick: Enable i2c bus.
    ARM: kirkwood: topkick: convert to pinctrl
    ARM: dove: convert serial DT nodes to clocks property
    arm: mvebu: Add SPI flash on Armada 370 DB board
    arm: mvebu: Add SPI flash on Armada XP-DB board
    arm: mvebu: Add SPI flash on Armada XP-GP board
    arm: mvebu: Add support for SPI controller in Armada 370/XP
    clocksource: update and move armada-370-xp-timer documentation to timer directory
    arm: mvebu: update DT to support local timers
    ARM: Dove: convert usb host controller to DT
    arm: mvebu: Enable USB controllers on Armada 370/XP boards
    arm: mvebu: Add support for USB host controllers in Armada 370/XP
    arm: mvebu: add button for OpenBlocks AX3-4
    ARM: Kirkwood: Convert NS2 to gpio-poweroff.
    ARM: Kirkwood: Convert NSA310 I2C to device tree
    ARM: Kirkwood: Convert NSA310 to use gpio-poweroff driver
    ARM: Kirkwood: Convert NSA310 to DT based regulators.
    ...

    Linus Torvalds
     
  • Pull ARM SoC i.MX DT changes from Olof Johansson:
    "This branch contains of devicetree changes for the Freescale i.MX
    platform.

    The base patch of the branch changes the format of the dts files to a
    slightly different format that makes it easier to do derivative board
    definitions, but it also introduces a lot of churn in the process
    since every line of the file is touched.

    On top of that are a handful of the regular changes; enabling more
    boards as DT-based instead of legacy board files (mx25pdk), enabling
    another driver for devicetree and thus adding bindings (onewire), etc.

    I'm not happy about the churn, and will likely not take it for other
    platforms in the future."

    * tag 'late-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (21 commits)
    ARM: dts: add dtsi for imx6q and imx6dl
    ARM: dts: rename imx6q.dtsi to imx6qdl.dtsi
    ARM: dts: i.MX6: Add regulator delay support
    ARM: dts: Add device tree entry for onewire master on i.MX53
    ARM: i.MX53: Add clocks for i.mx53 onewire master.
    W1: Add device tree support to MXC onewire master.
    ARM: imx: enable imx6q-cpufreq support
    ARM: dts: Add apf51 basic support
    ARM i.MX6: change mxs usbphy clock usage
    ARM: dts: imx6q: Remove silicon version from SDMA firmware
    ARM i.MX53: dts: add oftree for MBa53 baseboard
    ARM i.MX53: add dts for the TQ tqma53 module
    ARM: dts: imx53: pinctrl update
    ARM i.MX51 babbage: Add keypad support
    ARM: dts: imx: Add imx51 KPP entry
    ARM: dts: imx25-karo-tx25: Put status entry in the end
    ARM: mx25pdk: Add device tree support
    ARM: dts: imx: use nodes label in board dts
    ARM: dts: add missing imx dtb targets
    ARM: boot: dts: Add an entry for imx27-pdk.dtb
    ...

    Linus Torvalds
     
  • Pull thermal management updates from Zhang Rui:
    "Highlights:

    - introduction of Dove thermal sensor driver.

    - introduction of Kirkwood thermal sensor driver.

    - introduction of intel_powerclamp thermal cooling device driver.

    - add interrupt and DT support for rcar thermal driver.

    - add thermal emulation support which allows platform thermal driver
    to do software/hardware emulation for thermal issues."

    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (36 commits)
    thermal: rcar: remove __devinitconst
    thermal: return an error on failure to register thermal class
    Thermal: rename thermal governor Kconfig option to avoid generic naming
    thermal: exynos: Use the new thermal trend type for quick cooling action.
    Thermal: exynos: Add support for temperature falling interrupt.
    Thermal: Dove: Add Themal sensor support for Dove.
    thermal: Add support for the thermal sensor on Kirkwood SoCs
    thermal: rcar: add Device Tree support
    thermal: rcar: remove machine_power_off() from rcar_thermal_notify()
    thermal: rcar: add interrupt support
    thermal: rcar: add read/write functions for common/priv data
    thermal: rcar: multi channel support
    thermal: rcar: use mutex lock instead of spin lock
    thermal: rcar: enable CPCTL to use hardware TSC deciding
    thermal: rcar: use parenthesis on macro
    Thermal: fix a build warning when CONFIG_THERMAL_EMULATION cleared
    Thermal: fix a wrong comment
    thermal: sysfs: Add a new sysfs node emul_temp for thermal emulation
    PM: intel_powerclamp: off by one in start_power_clamp()
    thermal: exynos: Miscellaneous fixes to support falling threshold interrupt
    ...

    Linus Torvalds
     
  • Pull dma-buf framework updates from Sumit Semwal:
    "Refcounting implemented for vmap in core dma-buf"

    * tag 'tag-for-linus-3.9' of git://git.linaro.org/people/sumitsemwal/linux-dma-buf:
    CHROMIUM: dma-buf: restore args on failure of dma_buf_mmap
    dma-buf: implement vmap refcounting in the interface logic

    Linus Torvalds
     
  • Pull block IO core bits from Jens Axboe:
    "Below are the core block IO bits for 3.9. It was delayed a few days
    since my workstation kept crashing every 2-8h after pulling it into
    current -git, but turns out it is a bug in the new pstate code (divide
    by zero, will report separately). In any case, it contains:

    - The big cfq/blkcg update from Tejun and and Vivek.

    - Additional block and writeback tracepoints from Tejun.

    - Improvement of the should sort (based on queues) logic in the plug
    flushing.

    - _io() variants of the wait_for_completion() interface, using
    io_schedule() instead of schedule() to contribute to io wait
    properly.

    - Various little fixes.

    You'll get two trivial merge conflicts, which should be easy enough to
    fix up"

    Fix up the trivial conflicts due to hlist traversal cleanups (commit
    b67bfe0d42ca: "hlist: drop the node parameter from iterators").

    * 'for-3.9/core' of git://git.kernel.dk/linux-block: (39 commits)
    block: remove redundant check to bd_openers()
    block: use i_size_write() in bd_set_size()
    cfq: fix lock imbalance with failed allocations
    drivers/block/swim3.c: fix null pointer dereference
    block: don't select PERCPU_RWSEM
    block: account iowait time when waiting for completion of IO request
    sched: add wait_for_completion_io[_timeout]
    writeback: add more tracepoints
    block: add block_{touch|dirty}_buffer tracepoint
    buffer: make touch_buffer() an exported function
    block: add @req to bio_{front|back}_merge tracepoints
    block: add missing block_bio_complete() tracepoint
    block: Remove should_sort judgement when flush blk_plug
    block,elevator: use new hashtable implementation
    cfq-iosched: add hierarchical cfq_group statistics
    cfq-iosched: collect stats from dead cfqgs
    cfq-iosched: separate out cfqg_stats_reset() from cfq_pd_reset_stats()
    blkcg: make blkcg_print_blkgs() grab q locks instead of blkcg lock
    block: RCU free request_queue
    blkcg: implement blkg_[rw]stat_recursive_sum() and blkg_[rw]stat_merge()
    ...

    Linus Torvalds
     
  • Timer driver for Armada 370 and Armada XP have gained local timers
    support. So it needs new resources information regarding the IRQs
    and the registers.

    Also move the documentation in the new and more accurate directory

    Signed-off-by: Gregory CLEMENT
    Signed-off-by: Jason Cooper

    Gregory CLEMENT
     

28 Feb, 2013

1 commit

  • Merge third patch-bumb from Andrew Morton:
    "This wraps me up for -rc1.
    - Lots of misc stuff and things which were deferred/missed from
    patchbombings 1 & 2.
    - ocfs2 things
    - lib/scatterlist
    - hfsplus
    - fatfs
    - documentation
    - signals
    - procfs
    - lockdep
    - coredump
    - seqfile core
    - kexec
    - Tejun's large IDR tree reworkings
    - ipmi
    - partitions
    - nbd
    - random() things
    - kfifo
    - tools/testing/selftests updates
    - Sasha's large and pointless hlist cleanup"

    * emailed patches from Andrew Morton : (163 commits)
    hlist: drop the node parameter from iterators
    kcmp: make it depend on CHECKPOINT_RESTORE
    selftests: add a simple doc
    tools/testing/selftests/Makefile: rearrange targets
    selftests/efivarfs: add create-read test
    selftests/efivarfs: add empty file creation test
    selftests: add tests for efivarfs
    kfifo: fix kfifo_alloc() and kfifo_init()
    kfifo: move kfifo.c from kernel/ to lib/
    arch Kconfig: centralise CONFIG_ARCH_NO_VIRT_TO_BUS
    w1: add support for DS2413 Dual Channel Addressable Switch
    memstick: move the dereference below the NULL test
    drivers/pps/clients/pps-gpio.c: use devm_kzalloc
    Documentation/DMA-API-HOWTO.txt: fix typo
    include/linux/eventfd.h: fix incorrect filename is a comment
    mtd: mtd_stresstest: use prandom_bytes()
    mtd: mtd_subpagetest: convert to use prandom library
    mtd: mtd_speedtest: use prandom_bytes
    mtd: mtd_pagetest: convert to use prandom library
    mtd: mtd_oobtest: convert to use prandom library
    ...

    Linus Torvalds