10 Sep, 2013

1 commit

  • Pull mtd updates from David Woodhouse:
    - factor out common code from MTD tests
    - nand-gpio cleanup and portability to non-ARM
    - m25p80 support for 4-byte addressing chips, other new chips
    - pxa3xx cleanup and support for new platforms
    - remove obsolete alauda, octagon-5066 drivers
    - erase/write support for bcm47xxsflash
    - improve detection of ECC requirements for NAND, controller setup
    - NFC acceleration support for atmel-nand, read/write via SRAM
    - etc

    * tag 'for-linus-20130909' of git://git.infradead.org/linux-mtd: (184 commits)
    mtd: chips: Add support for PMC SPI Flash chips in m25p80.c
    mtd: ofpart: use for_each_child_of_node() macro
    mtd: mtdswap: replace strict_strtoul() with kstrtoul()
    mtd cs553x_nand: use kzalloc() instead of memset
    mtd: atmel_nand: fix error return code in atmel_nand_probe()
    mtd: bcm47xxsflash: writing support
    mtd: bcm47xxsflash: implement erasing support
    mtd: bcm47xxsflash: convert to module_platform_driver instead of init/exit
    mtd: bcm47xxsflash: convert kzalloc to avoid invalid access
    mtd: remove alauda driver
    mtd: nand: mxc_nand: mark 'const' properly
    mtd: maps: cfi_flagadm: add missing __iomem annotation
    mtd: spear_smi: add missing __iomem annotation
    mtd: r852: Staticize local symbols
    mtd: nandsim: Staticize local symbols
    mtd: impa7: add missing __iomem annotation
    mtd: sm_ftl: Staticize local symbols
    mtd: m25p80: add support for mr25h10
    mtd: m25p80: make CONFIG_M25PXX_USE_FAST_READ safe to enable
    mtd: m25p80: Pass flags through CAT25_INFO macro
    ...

    Linus Torvalds
     

07 Sep, 2013

2 commits

  • Pull trivial tree from Jiri Kosina:
    "The usual trivial updates all over the tree -- mostly typo fixes and
    documentation updates"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (52 commits)
    doc: Documentation/cputopology.txt fix typo
    treewide: Convert retrun typos to return
    Fix comment typo for init_cma_reserved_pageblock
    Documentation/trace: Correcting and extending tracepoint documentation
    mm/hotplug: fix a typo in Documentation/memory-hotplug.txt
    power: Documentation: Update s2ram link
    doc: fix a typo in Documentation/00-INDEX
    Documentation/printk-formats.txt: No casts needed for u64/s64
    doc: Fix typo "is is" in Documentations
    treewide: Fix printks with 0x%#
    zram: doc fixes
    Documentation/kmemcheck: update kmemcheck documentation
    doc: documentation/hwspinlock.txt fix typo
    PM / Hibernate: add section for resume options
    doc: filesystems : Fix typo in Documentations/filesystems
    scsi/megaraid fixed several typos in comments
    ppc: init_32: Fix error typo "CONFIG_START_KERNEL"
    treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks
    page_isolation: Fix a comment typo in test_pages_isolated()
    doc: fix a typo about irq affinity
    ...

    Linus Torvalds
     
  • Pull f2fs updates from Jaegeuk Kim:
    "This patch-set includes the following major enhancement patches:
    - support inline xattrs
    - add sysfs support to control GCs explicitly
    - add proc entry to show the current segment usage information
    - improve the GC/SSR performance

    The other bug fixes are as follows:
    - avoid the overflow on status calculation
    - fix some error handling routines
    - fix inconsistent xattr states after power-off-recovery
    - fix incorrect xattr node offset definition
    - fix deadlock condition in fsync
    - fix the fdatasync routine for power-off-recovery"

    * tag 'for-f2fs-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (40 commits)
    f2fs: optimize gc for better performance
    f2fs: merge more bios of node block writes
    f2fs: avoid an overflow during utilization calculation
    f2fs: trigger GC when there are prefree segments
    f2fs: use strncasecmp() simplify the string comparison
    f2fs: fix omitting to update inode page
    f2fs: support the inline xattrs
    f2fs: add the truncate_xattr_node function
    f2fs: introduce __find_xattr for readability
    f2fs: reserve the xattr space dynamically
    f2fs: add flags for inline xattrs
    f2fs: fix error return code in init_f2fs_fs()
    f2fs: fix wrong BUG_ON condition
    f2fs: fix memory leak when init f2fs filesystem fail
    f2fs: fix a compound statement label error
    f2fs: avoid writing inode redundantly when creating a file
    f2fs: alloc_page() doesn't return an ERR_PTR
    f2fs: should cover i_xattr_nid with its xattr node page lock
    f2fs: check the free space first in new_node_page
    f2fs: clean up the needless end 'return' of void function
    ...

    Linus Torvalds
     

04 Sep, 2013

1 commit

  • Pull staging tree merge from Greg KH:
    "Here's the bit staging tree pull request for 3.12-rc1.

    Lots of staging driver updates, and fixes. Lustre is finally enabled
    in the build, and lots of cleanup started happening in it. There's a
    new wireless driver in here, and 2 new TTY drivers, which cause the
    overall lines added/removed to be quite large on the "added" side.

    The IIO driver updates are also coming through here, as they are tied
    to the staging iio drivers"

    * tag 'staging-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (942 commits)
    staging: dwc2: make dwc2_core_params documentation more complete
    staging: dwc2: validate the value for phy_utmi_width
    staging: dwc2: interpret all hwcfg and related register at init time
    staging: dwc2: properly mask the GRXFSIZ register
    staging: dwc2: remove redundant register reads
    staging: dwc2: re-use hptxfsiz variable
    staging: dwc2: simplify debug output in dwc_hc_init
    staging: dwc2: add missing shift
    staging: dwc2: simplify register shift expressions
    staging: dwc2: only read the snpsid register once
    staging: dwc2: unshift non-bool register value constants
    staging: dwc2: fix off-by-one in check for max_packet_count parameter
    staging: dwc2: remove specific fifo size constants
    Staging:BCM:DDRInit.c:Renaming __FUNCTION__
    staging: bcm: remove Version.h file.
    staging: rtl8188eu: off by one in rtw_set_802_11_add_wep()
    staging: r8188eu: copying one byte too much
    staging: rtl8188eu: || vs && typo
    staging: r8188eu: off by one bugs
    staging: crystalhd: Resolve sparse 'different base types' warnings.
    ...

    Linus Torvalds
     

31 Aug, 2013

4 commits


29 Aug, 2013

1 commit


27 Aug, 2013

1 commit


15 Aug, 2013

1 commit


13 Aug, 2013

1 commit


06 Aug, 2013

2 commits

  • Add sysfs entry gc_idle to control the gc policy. Where
    gc_idle = 1 corresponds to selecting a cost benefit approach,
    while gc_idle = 2 corresponds to selecting a greedy approach
    to garbage collection. The selection is mutually exclusive one
    approach will work at any point. If gc_idle = 0, then this
    option is disabled.

    Cc: Gu Zheng
    Signed-off-by: Namjae Jeon
    Signed-off-by: Pankaj Kumar
    Reviewed-by: Gu Zheng
    [Jaegeuk Kim: change the select_gc_type() flow slightly]
    Signed-off-by: Jaegeuk Kim

    Namjae Jeon
     
  • Add sysfs entries to control the timing parameters for
    f2fs gc thread.

    Various Sysfs options introduced are:
    gc_min_sleep_time: Min Sleep time for GC in ms
    gc_max_sleep_time: Max Sleep time for GC in ms
    gc_no_gc_sleep_time: Default Sleep time for GC in ms

    Cc: Gu Zheng
    Signed-off-by: Namjae Jeon
    Signed-off-by: Pankaj Kumar
    Reviewed-by: Gu Zheng
    [Jaegeuk Kim: fix an umount bug and some minor changes]
    Signed-off-by: Jaegeuk Kim

    Namjae Jeon
     

04 Aug, 2013

3 commits


23 Jul, 2013

1 commit

  • Pull block IO driver bits from Jens Axboe:
    "As I mentioned in the core block pull request, due to real life
    circumstances the driver pull request would be late. Now it looks
    like -rc2 late... On the plus side, apart form the rsxx update, these
    are all things that I could argue could go in later in the cycle as
    they are fixes and not features. So even though things are late, it's
    not ALL bad.

    The pull request contains:

    - Updates to bcache, all bug fixes, from Kent.

    - A pile of drbd bug fixes (no big features this time!).

    - xen blk front/back fixes.

    - rsxx driver updates, some of them deferred form 3.10. So should be
    well cooked by now"

    * 'for-3.11/drivers' of git://git.kernel.dk/linux-block: (63 commits)
    bcache: Allocation kthread fixes
    bcache: Fix GC_SECTORS_USED() calculation
    bcache: Journal replay fix
    bcache: Shutdown fix
    bcache: Fix a sysfs splat on shutdown
    bcache: Advertise that flushes are supported
    bcache: check for allocation failures
    bcache: Fix a dumb race
    bcache: Use standard utility code
    bcache: Update email address
    bcache: Delete fuzz tester
    bcache: Document shrinker reserve better
    bcache: FUA fixes
    drbd: Allow online change of al-stripes and al-stripe-size
    drbd: Constants should be UPPERCASE
    drbd: Ignore the exit code of a fence-peer handler if it returns too late
    drbd: Fix rcu_read_lock balance on error path
    drbd: fix error return code in drbd_init()
    drbd: Do not sleep inside rcu
    bcache: Refresh usage docs
    ...

    Linus Torvalds
     

14 Jul, 2013

4 commits

  • Pull x86 platform driver updates from Matthew Garrett:
    "Nothing overly exciting here - a couple of new drivers that don't do a
    great deal, along with some miscellaneous fixes and a couple of small
    feature enablement patches"

    * 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86:
    x86 platform drivers: fix gpio leak
    toshiba_acpi: Add dependency on SERIO_I8042
    asus-nb-wmi: set wapf=4 for ASUSTeK COMPUTER INC. 1015E/U
    Add trivial driver to disable Intel Smart Connect
    Add support driver for Intel Rapid Start Technology
    hp-wmi: add supports for POST code error
    asus-wmi: control wlan-led only if wapf == 4
    drivers/platform/x86/intel_ips: Convert to module_pci_driver
    asus-nb-wmi: ignore ALS notification key code
    asus-wmi: append newline to messages
    x86: asus-laptop: fix invalid point access
    x86: msi-laptop: fix memleak
    amilo-rfkill: Add dependency on SERIO_I8042
    dell-laptop: fix error return code in dell_init()
    hp-wmi: Enable hotkeys on some systems

    Linus Torvalds
     
  • Pull perf fixes from Thomas Gleixner:
    - fix for do_div() abuse on x86
    - locking fix in perf core
    - a pile of (build) fixes and cleanups in perf tools

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (27 commits)
    perf/x86: Fix incorrect use of do_div() in NMI warning
    perf: Fix perf_lock_task_context() vs RCU
    perf: Remove WARN_ON_ONCE() check in __perf_event_enable() for valid scenario
    perf: Clone child context from parent context pmu
    perf script: Fix broken include in Context.xs
    perf tools: Fix -ldw/-lelf link test when static linking
    perf tools: Revert regression in configuration of Python support
    perf tools: Fix perf version generation
    perf stat: Fix per-socket output bug for uncore events
    perf symbols: Fix vdso list searching
    perf evsel: Fix missing increment in sample parsing
    perf tools: Update symbol_conf.nr_events when processing attribute events
    perf tools: Fix new_term() missing free on error path
    perf tools: Fix parse_events_terms() segfault on error path
    perf evsel: Fix count parameter to read call in event_format__new
    perf tools: fix a typo of a Power7 event name
    perf tools: Fix -x/--exclude-other option for report command
    perf evlist: Enhance perf_evlist__start_workload()
    perf record: Remove -f/--force option
    perf record: Remove -A/--append option
    ...

    Linus Torvalds
     
  • Pull InfiniBand/RDMA changes from Roland Dreier:
    - AF_IB (native IB addressing) for CMA from Sean Hefty
    - new mlx5 driver for Mellanox Connect-IB adapters (including post
    merge request fixes)
    - SRP fixes from Bart Van Assche (including fix to first merge request)
    - qib HW driver updates
    - resurrection of ocrdma HW driver development
    - uverbs conversion to create fds with O_CLOEXEC set
    - other small changes and fixes

    * tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (66 commits)
    mlx5: Return -EFAULT instead of -EPERM
    IB/qib: Log all SDMA errors unconditionally
    IB/qib: Fix module-level leak
    mlx5_core: Adjust hca_cap.uar_page_sz to conform to Connect-IB spec
    IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline
    IB/uverbs: Use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()
    mlx5_core: Fixes for sparse warnings
    IB/mlx5: Make profile[] static in main.c
    mlx5: Fix parameter type of health_handler_t
    mlx5: Add driver for Mellanox Connect-IB adapters
    IB/core: Add reserved values to enums for low-level driver use
    IB/srp: Bump driver version and release date
    IB/srp: Make HCA completion vector configurable
    IB/srp: Maintain a single connection per I_T nexus
    IB/srp: Fail I/O fast if target offline
    IB/srp: Skip host settle delay
    IB/srp: Avoid skipping srp_reset_host() after a transport error
    IB/srp: Fix remove_one crash due to resource exhaustion
    IB/qib: New transmitter tunning settings for Dell 1.1 backplane
    IB/core: Fix error return code in add_port()
    ...

    Linus Torvalds
     
  • Pull media updates from Mauro Carvalho Chehab:
    "This series contain:
    - new i2c video drivers: ml86v7667 (video decoder),
    ths8200 (video encoder)
    - a new video driver for EasyCap cards based on Fushicai USBTV007
    - Improved support for OF and embedded systems, with V4L2 async
    initialization and a better support for clocks
    - API cleanups on the ioctls used by the v4l2 debug tool
    - Lots of cleanups
    - As usual, several driver improvements and new cards additions
    - Revert two changesets that change the minimal symbol rate for
    stv0399, as request by Manu
    - Update MAINTAINERS and other files to point to my new e-mail"

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (378 commits)
    MAINTAINERS & ABI: Update to point to my new email
    [media] stb0899: restore minimal rate to 5Mbauds
    [media] exynos4-is: Correct colorspace handling at FIMC-LITE
    [media] exynos4-is: Set valid initial format on FIMC.n subdevs
    [media] exynos4-is: Set valid initial format on FIMC-IS-ISP subdev pads
    [media] exynos4-is: Fix format propagation on FIMC-IS-ISP subdev
    [media] exynos4-is: Set valid initial format at FIMC-LITE
    [media] exynos4-is: Fix format propagation on FIMC-LITE.n subdevs
    [media] MAINTAINERS: Update S5P/Exynos FIMC driver entry
    [media] Documentation: Update driver's directory in video4linux/fimc.txt
    [media] exynos4-is: Change fimc-is firmware file names
    [media] exynos4-is: Add support for Exynos5250 MIPI-CSIS
    [media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver
    [media] exynos4-is: Drop drvdata handling in fimc-lite for non-dt platforms
    [media] media: i2c: tvp514x: remove manual setting of subdev name
    [media] media: i2c: tvp7002: remove manual setting of subdev name
    [media] mem2mem: set missing v4l2_dev pointer
    [media] wl128x: add missing struct v4l2_device
    [media] tvp514x: Fix init seqeunce
    [media] saa7134: Fix sparse warnings by adding __user annotation
    ...

    Linus Torvalds
     

11 Jul, 2013

3 commits

  • Pull module updates from Rusty Russell:
    "Nothing interesting. Except the most embarrassing bugfix ever. But
    let's ignore that"

    * tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
    module: cleanup call chain.
    module: do percpu allocation after uniqueness check. No, really!
    modules: don't fail to load on unknown parameters.
    ABI: Clarify when /sys/module/MODULENAME is created
    There is no /sys/parameters
    module: don't modify argument of module_kallsyms_lookup_name()

    Linus Torvalds
     
  • Intel Rapid Start Technology is a firmware-based suspend-to-disk
    implementation. Once placed in S3, the device will wake once either a
    timeout elapses or the battery reaches a critical level. It will then resume
    to the firmware and copy the contents of RAM to a specialised partition, and
    then power off the machine. If the user turns the machine back on the
    firmware will copy the contents of the partition back to RAM and then resume
    from S3 as normal.

    This driver provides an interface for configuring the wakeup events and
    timeout. It still requires firmware support and an appropriate suspend
    partition.

    Signed-off-by: Matthew Garrett
    Signed-off-by: Matthew Garrett

    Matthew Garrett
     
  • Pull pwm changes from Thierry Reding:
    "A new driver supports driving PWM signals using the TPU unit found on
    various Renesas SoCs. Furthermore support is added for the NXP
    PCA9685 LED controller. Another big chunk is the sysfs interface
    which has been in the works for quite some time.

    The remaining patches are a random assortment of cleanups and fixes"

    * tag 'for-3.11-rc1' of git://gitorious.org/linux-pwm/linux-pwm:
    pwm: pwm-tiehrpwm: Use clk_enable/disable instead clk_prepare/unprepare.
    pwm: pca9685: Fix wrong argument to set MODE1_SLEEP bit
    pwm: renesas-tpu: Add MODULE_ALIAS to make module auto loading work
    pwm: renesas-tpu: fix return value check in tpu_probe()
    pwm: Add Renesas TPU PWM driver
    pwm: Add sysfs interface
    pwm: Fill in missing .owner fields
    pwm: add pca9685 driver
    pwm: atmel-tcb: prepare clk before calling enable
    pwm: devm: alloc correct pointer size
    pwm: mxs: Let device core handle pinctrl
    MAINTAINERS: Update PWM subsystem entry

    Linus Torvalds
     

09 Jul, 2013

1 commit

  • In the Power7 PMU guide:
    https://www.power.org/documentation/commonly-used-metrics-for-performance-analysis/
    PM_BRU_MPRED is referred to as PM_BR_MPRED.

    It fixed the typo by changing the name of the event in kernel and
    documentation accordingly.

    This patch changes the ABI, there are some reasons I think it's ok:

    - It is relatively new interface, specific to the Power7 platform.

    - No tools that we know of actually use this interface at this point
    (none are listed near the interface).

    - Users of this interface (eg oprofile users migrating to perf)
    would be more used to the "PM_BR_MPRED" rather than "PM_BRU_MPRED".

    - These are in the ABI/testing at this point rather than ABI/stable,
    so hoping we have some wiggle room.

    Signed-off-by: Runzhen Wang
    Acked-by: Michael Ellerman
    Cc: icycoder@gmail.com
    Cc: linuxppc-dev@lists.ozlabs.org
    Cc: Michael Ellerman
    Cc: Paul Mackerras
    Cc: Runzhen Wang
    Cc: Sukadev Bhattiprolu
    Cc: Xiao Guangrong
    Link: http://lkml.kernel.org/r/1372407297-6996-2-git-send-email-runzhen@linux.vnet.ibm.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Runzhen Wang
     

08 Jul, 2013

1 commit


05 Jul, 2013

1 commit

  • Pull HID updates from Jiri Kosina:
    - HID battery handling cleanup by David Herrmann
    - ELO 4000/4500 driver, which has been finally ported to be proper HID
    driver by Jiri Slaby
    - ps3remote driver functionality is now provided by generic sony
    driver, by Jiri Kosina
    - PS2/3 Buzz controllers support, by Colin Leitner
    - rework of wiimote driver including full extensions hotpluggin
    support, sub-device modularization and speaker support by David
    Herrmann

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (55 commits)
    HID: wacom: Intuos4 battery charging changes
    HID: i2c-hid: support sending HID output reports using the output register
    HID: kye: Add report fixup for Genius Gila Gaming mouse
    HID: wiimote: support Nintendo Wii U Pro Controller
    Input: make gamepad API keycodes more clear
    input: document gamepad API and add extra keycodes
    HID: explain out-of-range check better
    HID: fix false positive out of range values
    HID: wiimote: fix coccinelle warnings
    HID: roccat: check cdev_add return value
    HID: fold ps3remote driver into generic Sony driver
    HID: hyperv: convert alloc+memcpy to memdup
    HID: core: fix reporting of raw events
    HID: wiimote: discard invalid EXT data reports
    HID: wiimote: fix classic controller parsing
    HID: wiimote: init EXT/MP during device detection
    HID: wiimote: fix DRM debug-attr to correctly parse input
    HID: wiimote: add MP quirks
    HID: wiimote: remove old static extension support
    HID: wiimote: add "bboard_calib" attribute
    ...

    Linus Torvalds
     

04 Jul, 2013

1 commit

  • Pull power management and ACPI updates from Rafael Wysocki:
    "This time the total number of ACPI commits is slightly greater than
    the number of cpufreq commits, but Viresh Kumar (who works on cpufreq)
    remains the most active patch submitter.

    To me, the most significant change is the addition of offline/online
    device operations to the driver core (with the Greg's blessing) and
    the related modifications of the ACPI core hotplug code. Next are the
    freezer updates from Colin Cross that should make the freezing of
    tasks a bit less heavy weight.

    We also have a couple of regression fixes, a number of fixes for
    issues that have not been identified as regressions, two new drivers
    and a bunch of cleanups all over.

    Highlights:

    - Hotplug changes to support graceful hot-removal failures.

    It sometimes is necessary to fail device hot-removal operations
    gracefully if they cannot be carried out completely. For example,
    if memory from a memory module being hot-removed has been allocated
    for the kernel's own use and cannot be moved elsewhere, it's
    desirable to fail the hot-removal operation in a graceful way
    rather than to crash the kernel, but currenty a success or a kernel
    crash are the only possible outcomes of an attempted memory
    hot-removal. Needless to say, that is not a very attractive
    alternative and it had to be addressed.

    However, in order to make it work for memory, I first had to make
    it work for CPUs and for this purpose I needed to modify the ACPI
    processor driver. It's been split into two parts, a resident one
    handling the low-level initialization/cleanup and a modular one
    playing the actual driver's role (but it binds to the CPU system
    device objects rather than to the ACPI device objects representing
    processors). That's been sort of like a live brain surgery on a
    patient who's riding a bike.

    So this is a little scary, but since we found and fixed a couple of
    regressions it caused to happen during the early linux-next testing
    (a month ago), nobody has complained.

    As a bonus we remove some duplicated ACPI hotplug code, because the
    ACPI-based CPU hotplug is now going to use the common ACPI hotplug
    code.

    - Lighter weight freezing of tasks.

    These changes from Colin Cross and Mandeep Singh Baines are
    targeted at making the freezing of tasks a bit less heavy weight
    operation. They reduce the number of tasks woken up every time
    during the freezing, by using the observation that the freezer
    simply doesn't need to wake up some of them and wait for them all
    to call refrigerator(). The time needed for the freezer to decide
    to report a failure is reduced too.

    Also reintroduced is the check causing a lockdep warining to
    trigger when try_to_freeze() is called with locks held (which is
    generally unsafe and shouldn't happen).

    - cpufreq updates

    First off, a commit from Srivatsa S Bhat fixes a resume regression
    introduced during the 3.10 cycle causing some cpufreq sysfs
    attributes to return wrong values to user space after resume. The
    fix is kind of fresh, but also it's pretty obvious once Srivatsa
    has identified the root cause.

    Second, we have a new freqdomain_cpus sysfs attribute for the
    acpi-cpufreq driver to provide information previously available via
    related_cpus. From Lan Tianyu.

    Finally, we fix a number of issues, mostly related to the
    CPUFREQ_POSTCHANGE notifier and cpufreq Kconfig options and clean
    up some code. The majority of changes from Viresh Kumar with bits
    from Jacob Shin, Heiko Stübner, Xiaoguang Chen, Ezequiel Garcia,
    Arnd Bergmann, and Tang Yuantian.

    - ACPICA update

    A usual bunch of updates from the ACPICA upstream.

    During the 3.4 cycle we introduced support for ACPI 5 extended
    sleep registers, but they are only supposed to be used if the
    HW-reduced mode bit is set in the FADT flags and the code attempted
    to use them without checking that bit. That caused suspend/resume
    regressions to happen on some systems. Fix from Lv Zheng causes
    those registers to be used only if the HW-reduced mode bit is set.

    Apart from this some other ACPICA bugs are fixed and code cleanups
    are made by Bob Moore, Tomasz Nowicki, Lv Zheng, Chao Guan, and
    Zhang Rui.

    - cpuidle updates

    New driver for Xilinx Zynq processors is added by Michal Simek.

    Multidriver support simplification, addition of some missing
    kerneldoc comments and Kconfig-related fixes come from Daniel
    Lezcano.

    - ACPI power management updates

    Changes to make suspend/resume work correctly in Xen guests from
    Konrad Rzeszutek Wilk, sparse warning fix from Fengguang Wu and
    cleanups and fixes of the ACPI device power state selection
    routine.

    - ACPI documentation updates

    Some previously missing pieces of ACPI documentation are added by
    Lv Zheng and Aaron Lu (hopefully, that will help people to
    uderstand how the ACPI subsystem works) and one outdated doc is
    updated by Hanjun Guo.

    - Assorted ACPI updates

    We finally nailed down the IA-64 issue that was the reason for
    reverting commit 9f29ab11ddbf ("ACPI / scan: do not match drivers
    against objects having scan handlers"), so we can fix it and move
    the ACPI scan handler check added to the ACPI video driver back to
    the core.

    A mechanism for adding CMOS RTC address space handlers is
    introduced by Lan Tianyu to allow some EC-related breakage to be
    fixed on some systems.

    A spec-compliant implementation of acpi_os_get_timer() is added by
    Mika Westerberg.

    The evaluation of _STA is added to do_acpi_find_child() to avoid
    situations in which a pointer to a disabled device object is
    returned instead of an enabled one with the same _ADR value. From
    Jeff Wu.

    Intel BayTrail PCH (Platform Controller Hub) support is added to
    the ACPI driver for Intel Low-Power Subsystems (LPSS) and that
    driver is modified to work around a couple of known BIOS issues.
    Changes from Mika Westerberg and Heikki Krogerus.

    The EC driver is fixed by Vasiliy Kulikov to use get_user() and
    put_user() instead of dereferencing user space pointers blindly.

    Code cleanups are made by Bjorn Helgaas, Nicholas Mazzuca and Toshi
    Kani.

    - Assorted power management updates

    The "runtime idle" helper routine is changed to take the return
    values of the callbacks executed by it into account and to call
    rpm_suspend() if they return 0, which allows us to reduce the
    overall code bloat a bit (by dropping some code that's not
    necessary any more after that modification).

    The runtime PM documentation is updated by Alan Stern (to reflect
    the "runtime idle" behavior change).

    New trace points for PM QoS are added by Sahara
    ().

    PM QoS documentation is updated by Lan Tianyu.

    Code cleanups are made and minor issues are addressed by Bernie
    Thompson, Bjorn Helgaas, Julius Werner, and Shuah Khan.

    - devfreq updates

    New driver for the Exynos5-bus device from Abhilash Kesavan.

    Minor cleanups, fixes and MAINTAINERS update from MyungJoo Ham,
    Abhilash Kesavan, Paul Bolle, Rajagopal Venkat, and Wei Yongjun.

    - OMAP power management updates

    Adaptive Voltage Scaling (AVS) SmartReflex voltage control driver
    updates from Andrii Tseglytskyi and Nishanth Menon."

    * tag 'pm+acpi-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (162 commits)
    cpufreq: Fix cpufreq regression after suspend/resume
    ACPI / PM: Fix possible NULL pointer deref in acpi_pm_device_sleep_state()
    PM / Sleep: Warn about system time after resume with pm_trace
    cpufreq: don't leave stale policy pointer in cdbs->cur_policy
    acpi-cpufreq: Add new sysfs attribute freqdomain_cpus
    cpufreq: make sure frequency transitions are serialized
    ACPI: implement acpi_os_get_timer() according the spec
    ACPI / EC: Add HP Folio 13 to ec_dmi_table in order to skip DSDT scan
    ACPI: Add CMOS RTC Operation Region handler support
    ACPI / processor: Drop unused variable from processor_perflib.c
    cpufreq: tegra: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: s3c64xx: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: omap: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: imx6q: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: exynos: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: dbx500: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: davinci: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: arm-big-little: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: powernow-k8: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: pcc: call CPUFREQ_POSTCHANGE notfier in error cases
    ...

    Linus Torvalds
     

03 Jul, 2013

3 commits

  • Pull perf updates from Ingo Molnar:
    "Kernel improvements:

    - watchdog driver improvements by Li Zefan
    - Power7 CPI stack events related improvements by Sukadev Bhattiprolu
    - event multiplexing via hrtimers and other improvements by Stephane
    Eranian
    - kernel stack use optimization by Andrew Hunter
    - AMD IOMMU uncore PMU support by Suravee Suthikulpanit
    - NMI handling rate-limits by Dave Hansen
    - various hw_breakpoint fixes by Oleg Nesterov
    - hw_breakpoint overflow period sampling and related signal handling
    fixes by Jiri Olsa
    - Intel Haswell PMU support by Andi Kleen

    Tooling improvements:

    - Reset SIGTERM handler in workload child process, fix from David
    Ahern.
    - Makefile reorganization, prep work for Kconfig patches, from Jiri
    Olsa.
    - Add automated make test suite, from Jiri Olsa.
    - Add --percent-limit option to 'top' and 'report', from Namhyung
    Kim.
    - Sorting improvements, from Namhyung Kim.
    - Expand definition of sysfs format attribute, from Michael Ellerman.

    Tooling fixes:

    - 'perf tests' fixes from Jiri Olsa.
    - Make Power7 CPI stack events available in sysfs, from Sukadev
    Bhattiprolu.
    - Handle death by SIGTERM in 'perf record', fix from David Ahern.
    - Fix printing of perf_event_paranoid message, from David Ahern.
    - Handle realloc failures in 'perf kvm', from David Ahern.
    - Fix divide by 0 in variance, from David Ahern.
    - Save parent pid in thread struct, from David Ahern.
    - Handle JITed code in shared memory, from Andi Kleen.
    - Fixes for 'perf diff', from Jiri Olsa.
    - Remove some unused struct members, from Jiri Olsa.
    - Add missing liblk.a dependency for python/perf.so, fix from Jiri
    Olsa.
    - Respect CROSS_COMPILE in liblk.a, from Rabin Vincent.
    - No need to do locking when adding hists in perf report, only 'top'
    needs that, from Namhyung Kim.
    - Fix alignment of symbol column in in the hists browser (top,
    report) when -v is given, from NAmhyung Kim.
    - Fix 'perf top' -E option behavior, from Namhyung Kim.
    - Fix bug in isupper() and islower(), from Sukadev Bhattiprolu.
    - Fix compile errors in bp_signal 'perf test', from Sukadev
    Bhattiprolu.

    ... and more things"

    * 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (102 commits)
    perf/x86: Disable PEBS-LL in intel_pmu_pebs_disable()
    perf/x86: Fix shared register mutual exclusion enforcement
    perf/x86/intel: Support full width counting
    x86: Add NMI duration tracepoints
    perf: Drop sample rate when sampling is too slow
    x86: Warn when NMI handlers take large amounts of time
    hw_breakpoint: Introduce "struct bp_cpuinfo"
    hw_breakpoint: Simplify *register_wide_hw_breakpoint()
    hw_breakpoint: Introduce cpumask_of_bp()
    hw_breakpoint: Simplify the "weight" usage in toggle_bp_slot() paths
    hw_breakpoint: Simplify list/idx mess in toggle_bp_slot() paths
    perf/x86/intel: Add mem-loads/stores support for Haswell
    perf/x86/intel: Support Haswell/v4 LBR format
    perf/x86/intel: Move NMI clearing to end of PMI handler
    perf/x86/intel: Add Haswell PEBS support
    perf/x86/intel: Add simple Haswell PMU support
    perf/x86/intel: Add Haswell PEBS record support
    perf/x86/intel: Fix sparse warning
    perf/x86/amd: AMD IOMMU Performance Counter PERF uncore PMU implementation
    perf/x86/amd: Add IOMMU Performance Counter resource management
    ...

    Linus Torvalds
     
  • Pull driver core updates from Greg KH:
    "Here's the big driver core merge for 3.11-rc1

    Lots of little things, and larger firmware subsystem updates, all
    described in the shortlog. Nice thing here is that we finally get rid
    of CONFIG_HOTPLUG, after 10+ years, thanks to Stephen Rohtwell (it had
    been always on for a number of kernel releases, now it's just
    removed)"

    * tag 'driver-core-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (27 commits)
    driver core: device.h: fix doc compilation warnings
    firmware loader: fix another compile warning with PM_SLEEP unset
    build some drivers only when compile-testing
    firmware loader: fix compile warning with PM_SLEEP set
    kobject: sanitize argument for format string
    sysfs_notify is only possible on file attributes
    firmware loader: simplify holding module for request_firmware
    firmware loader: don't export cache_firmware and uncache_firmware
    drivers/base: Use attribute groups to create sysfs memory files
    firmware loader: fix compile warning
    firmware loader: fix build failure with !CONFIG_FW_LOADER_USER_HELPER
    Documentation: Updated broken link in HOWTO
    Finally eradicate CONFIG_HOTPLUG
    driver core: firmware loader: kill FW_ACTION_NOHOTPLUG requests before suspend
    driver core: firmware loader: don't cache FW_ACTION_NOHOTPLUG firmware
    Documentation: Tidy up some drivers/base/core.c kerneldoc content.
    platform_device: use a macro instead of platform_driver_register
    firmware: move EXPORT_SYMBOL annotations
    firmware: Avoid deadlock of usermodehelper lock at shutdown
    dell_rbu: Select CONFIG_FW_LOADER_USER_HELPER explicitly
    ...

    Linus Torvalds
     
  • Pull staging tree update from Greg KH:
    "Here's the large staging tree merge for 3.11-rc1

    Huge thing here is the Lustre client code. Unfortunatly, due to it
    not building properly on a wide variety of different architectures
    (this was production code???), it is currently disabled from the build
    so as to not annoy people.

    Other than Lustre, there are loads of comedi patches, working to clean
    up that subsystem, iio updates and new drivers, and a load of cleanups
    from the OPW applicants in their quest to get a summer internship.

    All of these have been in the linux-next releases for a while (hence
    the Lustre code being disabled)"

    Fixed up trivial conflict in drivers/staging/serqt_usb2/serqt_usb2.c due
    to independent renamings in the staging driver cleanup and the USB
    tree..

    * tag 'staging-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (868 commits)
    Revert "Revert "Revert "staging/lustre: drop CONFIG_BROKEN dependency"""
    staging: rtl8192u: fix line length in r819xU_phy.h
    staging: rtl8192u: rename variables in r819xU_phy.h
    staging: rtl8192u: fix comments in r819xU_phy.h
    staging: rtl8192u: fix whitespace in r819xU_phy.h
    staging: rtl8192u: fix newlines in r819xU_phy.c
    staging: comedi: unioxx5: use comedi_alloc_spriv()
    staging: comedi: unioxx5: fix unioxx5_detach()
    silicom: checkpatch: errors caused by macros
    Staging: silicom: remove the board_t typedef in bpctl_mod.c
    Staging: silicom: capitalize labels in the bp_media_type enum
    Staging: silicom: remove bp_media_type enum typedef
    staging: rtl8192u: replace msleep(1) with usleep_range() in r819xU_phy.c
    staging: rtl8192u: rename dwRegRead and rtStatus in r819xU_phy.c
    staging: rtl8192u: replace __FUNCTION__ in r819xU_phy.c
    staging: rtl8192u: limit line size in r819xU_phy.c
    zram: allow request end to coincide with disksize
    staging: drm/imx: use generic irq chip unused field to block out invalid irqs
    staging: drm/imx: use generic irqchip
    staging: drm/imx: ipu-dmfc: use defines for ipu channel numbers
    ...

    Linus Torvalds
     

02 Jul, 2013

2 commits

  • /sys/module/MODULENAME is not created unconditionally. This can be
    confusing so document the current conditions.

    Signed-off-by: Jean Delvare
    Cc: Rusty Russell
    Cc: Rob Landley
    Signed-off-by: Rusty Russell

    Jean Delvare
     
  • Several InfiniBand HCAs allow configuring the completion vector per
    CQ. This allows spreading the workload created by IB completion
    interrupts over multiple MSI-X vectors and hence over multiple CPU
    cores. In other words, configuring the completion vector properly not
    only allows reducing latency on an initiator connected to multiple
    SRP targets but also allows improving throughput.

    Signed-off-by: Bart Van Assche
    Acked-by: David Dillow
    Signed-off-by: Roland Dreier

    Bart Van Assche
     

29 Jun, 2013

1 commit


28 Jun, 2013

4 commits

  • …/git/konrad/xen into for-3.11/drivers

    Konrad writes:

    It has the 'feature-max-indirect-segments' implemented in both backend
    and frontend. The current problem with the backend and frontend is that the
    segment size is limited to 11 pages. It means we can at most squeeze in 44kB per
    request. The ring can hold 32 (next power of two below 36) requests, meaning we
    can do 1.4M of outstanding requests. Nowadays that is not enough.

    The problem in the past was addressed in two ways - but neither one went upstream.
    The first solution to this proposed by Justin from Spectralogic was to negotiate
    the segment size. This means that the ‘struct blkif_sring_entry’ is now a variable size.
    It can expand from 112 bytes (cover 11 pages of data - 44kB) to 1580 bytes
    (256 pages of data - so 1MB). It is a simple extension by just making the array in the
    request expand from 11 to a variable size negotiated. But it had limits: this extension
    still limits the number of segments per request to 255 (as the total number must be
    specified in the request, which only has an 8-bit field for that purpose).

    The other solution (from Intel - Ronghui) was to create one extra ring that only has the
    ‘struct blkif_request_segment’ in them. The ‘struct blkif_request’ would be changed to have
    an index in said ‘segment ring’. There is only one segment ring. This means that the size of
    the initial ring is still the same. The requests would point to the segment and enumerate out
    how many of the indexes it wants to use. The limit is of course the size of the segment.
    If one assumes a one-page segment this means we can in one request cover ~4MB.

    Those patches were posted as RFC and the author never followed up on the ideas on changing
    it to be a bit more flexible.

    There is yet another mechanism that could be employed  (which these patches implement) - and it
    borrows from VirtIO protocol. And that is the ‘indirect descriptors’. This very similar to
    what Intel suggests, but with a twist. The twist is to negotiate how many of these
    'segment' pages (aka indirect descriptor pages) we want to support (in reality we negotiate
    how many entries in the segment we want to cover, and we module the number if it is
    bigger than the segment size).

    This means that with the existing 36 slots in the ring (single page) we can cover:
    32 slots * each blkif_request_indirect covers: 512 * 4096 ~= 64M. Since we ample space
    in the blkif_request_indirect to span more than one indirect page, that number (64M)
    can be also multiplied by eight = 512MB.

    Roger Pau Monne took the idea and implemented them in these patches. They work
    great and the corner cases (migration between backends with and without this extension)
    work nicely. The backend has a limit right now off how many indirect entries
    it can handle: one indirect page, and at maximum 256 entries (out of 512 - so 50% of the page
    is used). That comes out to 32 slots * 256 entries in a indirect page * 1 indirect page
    per request * 4096 = 32MB.

    This is a conservative number that can change in the future. Right now it strikes
    a good balance between giving excellent performance, memory usage in the backend, and
    balancing the needs of many guests.

    In the patchset there is also the split of the blkback structure to be per-VBD.
    This means that the spinlock contention we had with many guests trying to do I/O and
    all the blkback threads hitting the same lock has been eliminated.

    Also there are bug-fixes to deal with oddly sized sectors, insane amounts on
    th ring, and also a security fix (posted earlier).

    Jens Axboe
     
  • * pm-devfreq:
    MAINTAINERS: update mailing list for devfreq(DVFS).
    PM / devfreq: fix typo "CPU_EXYNOS4.12" twice
    PM / devfreq: fix missing unlock on error in exynos4_busfreq_pm_notifier_event()
    PM / devfreq: add comments and Documentation
    PM / devfreq: account suspend/resume for stats
    PM / devfreq: Add Exynos5-bus devfreq driver for Exynos5250
    PM / devfreq: Move exynos4 devfreq driver into a new sub-directory

    Rafael J. Wysocki
     
  • * acpi-doc:
    Documentation / CPU hotplug: Rephrase the outdated description for MADT entries
    ACPI / video: update video_extension.txt for backlight control
    ACPI / video: move video_extension.txt to Documentation/acpi
    ACPI / video: add description for brightness_switch_enabled
    ACPI: Add ACPI namespace documentation
    ACPI: Add sysfs ABI documentation
    ACPI: Update MAINTAINERS file to include Documentation/acpi

    Rafael J. Wysocki
     
  • Commits fcf8058 (cpufreq: Simplify cpufreq_add_dev()) and aa77a52
    (cpufreq: acpi-cpufreq: Don't set policy->related_cpus from .init())
    changed the contents of the "related_cpus" sysfs attribute on systems
    where acpi-cpufreq is used and user space can't get the list of CPUs
    which are in the same hardware coordination CPU domain (provided by
    the ACPI AML method _PSD) via "related_cpus" any more.

    To make up for that loss add a new sysfs attribute "freqdomian_cpus"
    for the acpi-cpufreq driver which exposes the list of CPUs in the
    same domain regardless of whether it is coordinated by hardware or
    software.

    [rjw: Changelog, documentation]
    References: https://bugzilla.kernel.org/show_bug.cgi?id=58761
    Reported-by: Jean-Philippe Halimi
    Signed-off-by: Lan Tianyu
    Acked-by: Viresh Kumar
    Signed-off-by: Rafael J. Wysocki

    Lan Tianyu
     

25 Jun, 2013

1 commit