03 Aug, 2016

3 commits

  • For pure bool function's return value, bool is a little better more or
    less than int.

    Link: http://lkml.kernel.org/r/1469331815-2026-1-git-send-email-chengang@emindsoft.com.cn
    Signed-off-by: Chen Gang
    Acked-by: Michael Ellerman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chen Gang
     
  • There was only one use of __initdata_refok and __exit_refok

    __init_refok was used 46 times against 82 for __ref.

    Those definitions are obsolete since commit 312b1485fb50 ("Introduce new
    section reference annotations tags: __ref, __refdata, __refconst")

    This patch removes the following compatibility definitions and replaces
    them treewide.

    /* compatibility defines */
    #define __init_refok __ref
    #define __initdata_refok __refdata
    #define __exit_refok __ref

    I can also provide separate patches if necessary.
    (One patch per tree and check in 1 month or 2 to remove old definitions)

    [akpm@linux-foundation.org: coding-style fixes]
    Link: http://lkml.kernel.org/r/1466796271-3043-1-git-send-email-fabf@skynet.be
    Signed-off-by: Fabian Frederick
    Cc: Ingo Molnar
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Fabian Frederick
     
  • Pull more s390 updates from Martin Schwidefsky:

    - some cleanup for the hugetlbfs pte/pmd conversion functions

    - the code to check for the minimum CPU type is converted from
    assembler to C and an informational message is added in case the CPU
    is not new enough to run the kernel

    - bug fixes

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
    s390/ftrace/jprobes: Fix conflict between jprobes and function graph tracing
    s390: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
    s390/zcrypt: fix possible memory leak in ap_module_init()
    s390/numa: only set possible nodes within node_possible_map
    s390/als: fix compile with gcov enabled
    s390/facilities: do not generate DWORDS define anymore
    s390/als: print missing facilities on facility mismatch
    s390/als: print machine type on facility mismatch
    s390/als: convert architecture level set code to C
    s390/sclp: move uninitialized data to data section
    s390/zcrypt: Fix zcrypt suspend/resume behavior
    s390/cio: fix premature wakeup during chp configure
    s390/cio: convert cfg_lock mutex to spinlock
    s390/mm: clean up pte/pmd encoding

    Linus Torvalds
     

02 Aug, 2016

11 commits

  • Merge drm updates from Dave Airlie:
    "This is the main drm pull request for 4.8.

    I'm down with a cold at the moment so hopefully this isn't in too bad
    a state, I finished pulling stuff last week mostly (nouveau fixes just
    went in today), so only this message should be influenced by illness.
    Apologies to anyone who's major feature I missed :-)

    Core:
    Lockless GEM BO freeing
    Non-blocking atomic work
    Documentation changes (rst/sphinx)
    Prep for new fencing changes
    Simple display helpers
    Master/auth changes
    Register/unregister rework
    Loads of trivial patches/fixes.

    New stuff:
    ARM Mali display driver (not the 3D chip)
    sii902x RGB->HDMI bridge

    Panel:
    Support for new panels
    Improved backlight support

    Bridge:
    Convert ADV7511 to bridge driver
    ADV7533 support
    TC358767 (DSI/DPI to eDP) encoder chip support

    i915:
    BXT support enabled by default
    GVT-g infrastructure
    GuC command submission and fixes
    BXT workarounds
    SKL/BKL workarounds
    Demidlayering device registration
    Thundering herd fixes
    Missing pci ids
    Atomic updates

    amdgpu/radeon:
    ATPX improvements for better dGPU power control on PX systems
    New power features for CZ/BR/ST
    Pipelined BO moves and evictions in TTM
    GPU scheduler improvements
    GPU reset improvements
    Overclocking on dGPUs with amdgpu
    Polaris powermanagement enabled

    nouveau:
    GK20A/GM20B volt and clock improvements.
    Initial support for GP100/GP104 GPUs, GP104 will not yet support
    acceleration due to NVIDIA having not released firmware for them as of yet.

    exynos:
    Exynos5433 SoC with IOMMU support.

    vc4:
    Shader validation for branching

    imx-drm:
    Atomic mode setting conversion
    Reworked DMFC FIFO allocation
    External bridge support

    analogix-dp:
    RK3399 eDP support
    Lots of fixes.

    rockchip:
    Lots of small fixes.

    msm:
    DT bindings cleanups
    Shrinker and madvise support
    ASoC HDMI codec support

    tegra:
    Host1x driver cleanups
    SOR reworking for DP support
    Runtime PM support

    omapdrm:
    PLL enhancements
    Header refactoring
    Gamma table support

    arcgpu:
    Simulator support

    virtio-gpu:
    Atomic modesetting fixes.

    rcar-du:
    Misc fixes.

    mediatek:
    MT8173 HDMI support

    sti:
    ASOC HDMI codec support
    Minor fixes

    fsl-dcu:
    Suspend/resume support
    Bridge support

    amdkfd:
    Minor fixes.

    etnaviv:
    Enable GPU clock gating

    hisilicon:
    Vblank and other fixes"

    * tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux: (1575 commits)
    drm/nouveau/gr/nv3x: fix instobj write offsets in gr setup
    drm/nouveau/acpi: fix lockup with PCIe runtime PM
    drm/nouveau/acpi: check for function 0x1B before using it
    drm/nouveau/acpi: return supported DSM functions
    drm/nouveau/acpi: ensure matching ACPI handle and supported functions
    drm/nouveau/fbcon: fix font width not divisible by 8
    drm/amd/powerplay: remove enable_clock_power_gatings_tasks from initialize and resume events
    drm/amd/powerplay: move clockgating to after ungating power in pp for uvd/vce
    drm/amdgpu: add query device id and revision id into system info entry at CGS
    drm/amdgpu: add new definition in bif header
    drm/amd/powerplay: rename smum header guards
    drm/amdgpu: enable UVD context buffer for older HW
    drm/amdgpu: fix default UVD context size
    drm/amdgpu: fix incorrect type of info_id
    drm/amdgpu: make amdgpu_cgs_call_acpi_method as static
    drm/amdgpu: comment out unused defaults_staturn_pro static const structure to fix the build
    drm/amdgpu: enable UVD VM only on polaris
    drm/amdgpu: increase timeout of IB test
    drm/amdgpu: add destroy session when generate VCE destroy msg.
    drm/amd: fix deadlock of job_list_lock V2
    ...

    Linus Torvalds
     
  • Switch to MULTIPLATFORM"

    Missed conflict between commit c86f51737f8d ("ARM: clps711x: Switch to
    MULTIPLATFORM") from the arm-soc tree and commit 250e46aa3bb3
    ("clocksource/drivers/clps_711x: Add the COMPILE_TEST option") from the
    clockevents tree.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     
  • Pull ia64 updates from Tony Luck:
    "Miscellaneous ia64 cleanups"

    * tag 'please-pull-misc-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
    ia64: salinfo: use a waitqueue instead a sema down/up combo
    ia64: efi: use timespec64 for persistent clock

    Linus Torvalds
     
  • Pull 64-bit ARM DT updates from Olof Johansson:
    "Just as the 32-bit contents, the 64-bit device tree branch also
    contains a number of additions this release cycle.

    New platforms:
    - LG LG1313
    - Mediatek MT6755
    - Renesas r8a7796
    - Broadcom 2837

    Other platforms with larger updates are:
    - Nvidia X1 platforms (USB 3.0, regulators, display subsystem)
    - Mediatek MT8173 (display subsystem added)
    - Rockchip RK3399 (a lot of new peripherals)
    - ARM Juno reference implementation (SCPI power domains, coresight,
    thermal)"

    * tag 'armsoc-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (118 commits)
    arm64: tegra: Enable HDMI on Jetson TX1
    arm64: tegra: Add sor1_src clock
    arm64: tegra: Add XUSB powergates on Tegra210
    arm64: tegra: Add DPAUX pinctrl bindings
    arm64: tegra: Add ACONNECT bus node for Tegra210
    arm64: tegra: Add audio powergate node for Tegra210
    arm64: tegra: Add regulators for Tegra210 Smaug
    arm64: tegra: Correct Tegra210 XUSB mailbox interrupt
    arm64: tegra: Enable XUSB controller on Jetson TX1
    arm64: tegra: Enable debug serial on Jetson TX1
    arm64: tegra: Add Tegra210 XUSB controller
    arm64: tegra: Add Tegra210 XUSB pad controller
    arm64: tegra: Add DSI panel on Jetson TX1
    arm64: tegra: p2597: Add SDMMC power supplies
    arm64: tegra: Add PMIC support on Jetson TX1
    Revert "ARM64: DTS: meson-gxbb: switch ethernet to real clock"
    arm64: dts: hi6220: Add pl031 RTC support
    arm64: dts: r8a7796/salvator-x: Enable watchdog timer
    arm64: dts: r8a7796: Add RWDT node
    arm64: dts: r8a7796: Use SYSC "always-on" PM Domain
    ...

    Linus Torvalds
     
  • Pull ARM DT updates from Olof Johansson:
    "Device tree contents continue to be the largest branches we submit.
    This time around, some of the contents worth pointing out is:

    New SoC platforms:
    - Freescale i.MX 7Solo
    - Broadcom BCM23550
    - Cirrus Logic EP7209 and EP7211 (clps711x platforms)_
    - Hisilicon HI3519
    - Renesas R8A7792

    Some of the other delta that is sticking out, line-count wise:
    - Exynos moves of IP blocks under an SoC bus, which causes a large
    delta due to indentation changes
    - a new Tegra K1 board: Apalis
    - a bunch of small updates to many Allwinner platforms; new hardware
    support, some cleanup, etc"

    * tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (426 commits)
    ARM: dts: sun8i: Add dts file for inet86dz board
    ARM: dts: sun8i: Add dts file for Polaroid MID2407PXE03 tablet
    ARM: dts: sun8i: Use sun8i-reference-design-tablet for ga10h dts
    ARM: dts: sun8i: Use sun8i-reference-design-tablet for polaroid mid2809pxe04
    ARM: dts: sun8i: reference-design-tablet: Add drivevbus-supply
    ARM: dts: Copy sun8i-q8-common.dtsi sun8i-reference-design-tablet.dtsi
    ARM: dts: sun5i: Use sun5i-reference-design-tablet.dtsi for utoo p66 dts
    ARM: dts: sun5i: Use sun5i-reference-design-tablet.dtsi for dit4350 dts
    ARM: dts: sun5i: reference-design-tablet: Remove mention of q8
    ARM: dts: sun5i: reference-design-tablet: Set lradc vref to avcc
    ARM: dts: sun5i: Rename sun5i-q8-common.dtsi sun5i-reference-design-tablet.dtsi
    ARM: dts: sun5i: Move q8 display bits to sun5i-a13-q8-tablet.dts
    ARM: dts: sunxi: Rename sunxi-q8-common.dtsi sunxi-reference-design-tablet.dtsi
    ARM: dts: at91: Don't build unnecessary dtbs
    ARM: dts: at91: sama5d3x: separate motherboard gmac and emac definitions
    ARM: dts: at91: at91sam9g25ek: fix isi endpoint node
    ARM: dts: at91: move isi definition to at91sam9g25ek
    ARM: dts: at91: fix i2c-gpio node name
    ARM: dts: at91: vinco: fix regulator name
    ARM: dts: at91: ariag25 : fix onewire node
    ...

    Linus Torvalds
     
  • Pull ARM SoC driver updates from Olof Johansson:
    "Driver updates for ARM SoCs.

    A slew of changes this release cycle. The reset driver tree, that we
    merge through arm-soc for historical reasons, is also sizable this
    time around.

    Among the changes:

    - clps711x: Treewide changes to compatible strings, merged here for simplicity.
    - Qualcomm: SCM firmware driver cleanups, move to platform driver
    - ux500: Major cleanups, removal of old mach-specific infrastructure.
    - Atmel external bus memory driver
    - Move of brcmstb platform to the rest of bcm
    - PMC driver updates for tegra, various fixes and improvements
    - Samsung platform driver updates to support 64-bit Exynos platforms
    - Reset controller cleanups moving to devm_reset_controller_register() APIs
    - Reset controller driver for Amlogic Meson
    - Reset controller driver for Hisilicon hi6220
    - ARM SCPI power domain support"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (100 commits)
    ARM: ux500: consolidate base platform files
    ARM: ux500: move soc_id driver to drivers/soc
    ARM: ux500: call ux500_setup_id later
    ARM: ux500: consolidate soc_device code in id.c
    ARM: ux500: remove cpu_is_u* helpers
    ARM: ux500: use CLK_OF_DECLARE()
    ARM: ux500: move l2x0 init to .init_irq
    mfd: db8500 stop passing around platform data
    ASoC: ab8500-codec: remove platform data based probe
    ARM: ux500: move ab8500_regulator_plat_data into driver
    ARM: ux500: remove unused regulator data
    soc: raspberrypi-power: add CONFIG_OF dependency
    firmware: scpi: add CONFIG_OF dependency
    video: clps711x-fb: Changing the compatibility string to match with the smallest supported chip
    input: clps711x-keypad: Changing the compatibility string to match with the smallest supported chip
    pwm: clps711x: Changing the compatibility string to match with the smallest supported chip
    serial: clps711x: Changing the compatibility string to match with the smallest supported chip
    irqchip: clps711x: Changing the compatibility string to match with the smallest supported chip
    clocksource: clps711x: Changing the compatibility string to match with the smallest supported chip
    clk: clps711x: Changing the compatibility string to match with the smallest supported chip
    ...

    Linus Torvalds
     
  • Pull ARM SoC defconfig updates from Olof Johansson:
    "Defconfig additions, removals, etc.

    Most of these are small changes adding the options for newly
    upstreamed drivers, or drivers needed for new board support.

    - removed Broadcom bcm_defconfig, targets are all covered in
    multi_v7_defconfig

    - new defconfig: multi_v4t_defconfig"

    * tag 'armsoc-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (43 commits)
    ARM: multi_v7_defconfig: enable STMicroelectronics DRM Support
    ARM: multi_v7_defconfig: enable STMicroelectronics BDISP 2D blitter driver
    ARM: omap2plus_defconfig: Fix USB selection to keep Ethernet working
    ARM: configs: lpc18xx: enable adc and dac iio drivers
    ARM: config: Add a multi_v4t_defconfig
    ARM: multi_v7_defconfig: add ACT8945A
    ARM: at91/defconfig: Add ACT8945A driver
    ARM: imx_v6_v7_defconfig: Select ADS7846 support
    ARM: configs: qualcomm: Add MDM9615 missing defconfigs
    ARM: multi_v7_defconfig: Enable vivid driver as a module
    ARM: exynos_defconfig: Enable vivid driver as a module
    ARM: defconfig: enable the MSM8660 pin controller
    ARM: imx_v6_v7_defconfig: enable USB FFS gadget
    ARM: socfpga: enable PL330 DMA in socfpga_defconfig
    ARM: socfpga: add PCIe to socfpga_defconfig
    ARM: multi_v7_defconfig: defconfig: Enable r8a7792 SoC
    ARM: shmobile: defconfig: Enable r8a7792 SoC
    ARM: Remove bcm_defconfig
    ARM: multi_v7_defconfig: Enable Broadcom Kona watchdog
    ARM: multi_v7_defconfig: Enable Broadcom STB PWM
    ...

    Linus Torvalds
     
  • Pull 64-bit ARM SoC updates from Olof Johansson:
    "Changes to platform code for 64-bit ARM platforms.

    Nearly all of these are defconfig updates to enable new drivers or old
    drivers still used on these 64-bit platforms.

    Added platforms for this release are:

    - Broadcom BCM2837
    - Renesas R8A7796"

    * tag 'armsoc-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (22 commits)
    arm64: remove duplicate PWM entry in defconfig
    arm64: Update default configuration
    arm64: defconfig: Enable more IP blocks for Exynos7 and Exynos5433
    arm64: amlogic: select gxbb clk driver
    arm64: defconfig: Enable S2MPS11 clock and S3C RTC driver
    arm64: marvell: enable Armada 3700 clock drivers
    arm64: defconfig: enable msm8996 pinctrl support
    arm64: defconfig: Enable qcom msm8996 clk drivers
    arm: defconfig: Enable PM8941 pwr key
    arm64: defconfig: enable stmmac and realtek PHY as modules
    arm64: Kconfig: select PM{,_GENERIC_DOMAINS} for ARCH_VEXPRESS
    arm64: defconfig: enable SENSORS_ARM_SCPI
    arm64: defconfig: enable Generic on-chip SRAM driver
    arm64: configs: enable PCIe driver for Armada 7K/8K
    arm64: Add platform selection for BCM2835.
    arm64: defconfig: disable plain NEON implementation of AES
    arm64: Allow for different DMA and CPU bus offsets
    arm64: defconfig: enable Renesas R8A7796 SoC
    arm64: defconfig: Enable Cadence MACB/GEM support
    ARM64: Kconfig: Select the Amlogic Meson pin controller driver
    ...

    Linus Torvalds
     
  • Pull ARM SoC platform updates from Olof Johansson:
    "Improved and new platform support for various SoCs:

    New SoC support:
    - Broadcom BCM23550
    - Freescale i.MX7Solo
    - Qualcomm MDM9615
    - Renesas r8a7792

    Improvements:
    - convert clps711x to multiplatform
    - debug uart improvements for Atmel platforms
    - Tango platform improvements: HOTPLUG_CPU, Suspend-to-ram
    - OMAP tweaks and improvements to hwmod
    - OMAP support for kexec on SMP"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (109 commits)
    ARM: davinci: fix build break because of undeclared dm365_evm_snd_data
    ARM: s3c64xx: smartq: Avoid sparse warnings
    ARM: sti: Implement dummy L2 cache's write_sec
    ARM: STi: Update machine _namestr to be more generic.
    arm: meson: explicitly select clk drivers
    ARM: tango: add Suspend-to-RAM support
    ARM: hisi: consolidate the hisilicon machine entries
    ARM: tango: fix CONFIG_HOTPLUG_CPU=n build
    MAINTAINERS: Update BCM281XX/BCM11XXX/BCM216XX entry
    MAINTAINERS: Update BCM63XX entry
    MAINTAINERS: Add NS2 entry
    MAINTAINERS: Fix nsp false-positives
    MAINTAINERS: Change L to M for Broadcom ARM/ARM64 SoC entries
    ARM: debug: Enable DEBUG_BCM_5301X for Northstar Plus SoCs
    ARM: clps711x: Switch to MULTIPLATFORM
    ARM: clps711x: Remove boards support
    ARM: clps711x: Add basic DT support
    ARM: clps711x: Reduce static map size
    ARM: SAMSUNG: Constify iomem address passed to s5p_init_cpu
    ARM: oxnas: Change OX810SE default driver config
    ...

    Linus Torvalds
     
  • Pull ARM SoC cleanups from Olof Johansson:
    "The cleanup branch keeps going down in size as we've completed a lot
    of the major legacy platform removals and conversions.

    A handful of changes this time around, some of the themes or larger
    sets are:

    - A bunch of i.MX cleanups around platform detection, init call cleanups
    - Misc fixes of missing/implicit includes
    - Removal of ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB"

    * tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (40 commits)
    ARM: mps2: fix typo
    ARM: s3c64xx: avoid warning about 'struct device_node'
    bus: mvebu-mbus: make mvebu_mbus_syscore_ops static
    bus: mvebu-mbus: fix __iomem on register pointers
    ARM: tegra: Remove board_init_funcs array
    ARM: iop: Fix indentation
    ARM: imx: remove cpu_is_mx*()
    ARM: imx: remove last call to cpu_is_mx5*
    ARM: imx: rework mx27_pm_init() call
    ARM: imx: deconstruct mx3_idle
    ARM: imx: deconstruct mxc_rnga initialization
    ARM: imx: remove cpu_is_mx1 check
    ARM: i.MX: Do not explicitly call l2x0_of_init()
    ARM: i.MX: system.c: Tweak prefetch settings for performance
    ARM: i.MX: system.c: Replace magic numbers
    ARM: i.MX: system.c: Remove redundant errata 752271 code
    ARM: i.MX: system.c: Convert goto to if statement
    ARM: Kirkwood: fix kirkwood_pm_init() declaration/type
    ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static
    ARM: orion5x: make orion5x_legacy_handle_irq static
    ...

    Linus Torvalds
     
  • Pull x86 header cleanups from Ingo Molnar:
    "This tree is a cleanup of the x86 tree reducing spurious uses of
    module.h - which should improve build performance a bit"

    * 'x86-headers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86, crypto: Restore MODULE_LICENSE() to glue_helper.c so it loads
    x86/apic: Remove duplicated include from probe_64.c
    x86/ce4100: Remove duplicated include from ce4100.c
    x86/headers: Include spinlock_types.h in x8664_ksyms_64.c for missing spinlock_t
    x86/platform: Delete extraneous MODULE_* tags fromm ts5500
    x86: Audit and remove any remaining unnecessary uses of module.h
    x86/kvm: Audit and remove any unnecessary uses of module.h
    x86/xen: Audit and remove any unnecessary uses of module.h
    x86/platform: Audit and remove any unnecessary uses of module.h
    x86/lib: Audit and remove any unnecessary uses of module.h
    x86/kernel: Audit and remove any unnecessary uses of module.h
    x86/mm: Audit and remove any unnecessary uses of module.h
    x86: Don't use module.h just for AUTHOR / LICENSE tags

    Linus Torvalds
     

01 Aug, 2016

1 commit

  • Pull watchdog updates from Wim Van Sebroeck:
    "Core:
    - min and max timeout improvements, WDOG_HW_RUNNING improvements,
    status funtionality
    - Add a device managed API for watchdog_register_device()

    New watchdog drivers:
    - Aspeed SoCs
    - Maxim PMIC MAX77620
    - Amlogic Meson GXBB SoC

    Enhancements:
    - support for the r8a7796 watchdog device
    - support for F81866 watchdog device
    - support for 5th variation of Apollo Lake
    - support for MCP78S chipset
    - clean-up of softdog.c watchdog device driver
    - pic32-wdt and pic32-dmt fixes
    - Documentation/watchdog: watchdog-test improvements
    - several other fixes and improvements"

    * git://www.linux-watchdog.org/linux-watchdog: (50 commits)
    watchdog: gpio_wdt: Fix missing platform_set_drvdata() in gpio_wdt_probe()
    watchdog: core: Clear WDOG_HW_RUNNING before calling the stop function
    watchdog: core: Fix error handling of watchdog_dev_init()
    watchdog: pic32-wdt: Fix return value check in pic32_wdt_drv_probe()
    watchdog: pic32-dmt: Remove .owner field for driver
    watchdog: pic32-wdt: Remove .owner field for driver
    watchdog: renesas-wdt: Add support for the r8a7796 wdt
    Documentation/watchdog: check return value for magic close
    watchdog: sbsa: Drop status function
    watchdog: Implement status function in watchdog core
    watchdog: tangox: Set max_hw_heartbeat_ms instead of max_timeout
    watchdog: change watchdog_need_worker logic
    watchdog: add support for MCP78S chipset in nv_tco
    watchdog: bcm2835_wdt: remove redundant ->set_timeout callback
    watchdog: bcm2835_wdt: constify _ops and _info structures
    dt-bindings: watchdog: Add Meson GXBB Watchdog bindings
    watchdog: Add Meson GXBB Watchdog Driver
    watchdog: qcom: configure BARK time in addition to BITE time
    watchdog: qcom: add option for standalone watchdog not in timer block
    watchdog: qcom: update device tree bindings
    ...

    Linus Torvalds
     

31 Jul, 2016

15 commits

  • This fixes the same issue Steven already fixed for x86
    in following commit:

    237d28db036e ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing

    It fixes the crash, that happens when function graph tracing
    and jprobes are used simultaneously. Please refer to above
    commit for details.

    Signed-off-by: Jiri Olsa
    Signed-off-by: Martin Schwidefsky
    Acked-by: Steven Rostedt

    Jiri Olsa
     
  • AT_VECTOR_SIZE_ARCH should be defined with the maximum number of
    NEW_AUX_ENT entries that ARCH_DLINFO can contain, but it wasn't defined
    for s390 at all even though ARCH_DLINFO can contain one NEW_AUX_ENT when
    VDSO is enabled.

    This shouldn't be a problem as AT_VECTOR_SIZE_BASE includes space for
    AT_BASE_PLATFORM which s390 doesn't use, but lets define it now and add
    the comment above ARCH_DLINFO as found in several other architectures to
    remind future modifiers of ARCH_DLINFO to keep AT_VECTOR_SIZE_ARCH up to
    date.

    Fixes: b020632e40c3 ("[S390] introduce vdso on s390")
    Signed-off-by: James Hogan
    Signed-off-by: Martin Schwidefsky
    Cc: Heiko Carstens
    Cc: linux-s390@vger.kernel.org

    James Hogan
     
  • Make sure that only those nodes appear in the node_possible_map that
    may actually be used. Usually that means that the node online and
    possible maps are identical. For mode "plain" we only have one node,
    for mode "emu" we have "emu_nodes" nodes.

    Before this the possible map included (with default config) 16 nodes
    while usually only one was used. That made a couple of loops that
    iterated over all possible nodes do more work than necessary.

    Signed-off-by: Heiko Carstens
    Acked-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Fix this one when gcov is enabled:

    arch/s390/kernel/als.o:(.data+0x118): undefined reference to `__gcov_merge_add'
    arch/s390/kernel/als.o: In function `_GLOBAL__sub_I_65535_0_verify_facilities':
    (.text.startup+0x8): undefined reference to `__gcov_init'

    Please merge with "s390/als: convert architecture level set code to C".

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • The architecture level set code has been converted to C and doesn't
    need a define to figure out array sizes. Since the old code was the
    only user of the DWORDS define, we can get rid of it again.

    Signed-off-by: Heiko Carstens
    Reviewed-by: Sascha Silbe
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • If the kernel needs more facilities to run than the machine provides
    it is running on, print the facility bit numbers which are missing.

    This allows to easily tell what went wrong and if simply the machine
    does not provide a required facility or if either the kernel or the
    hypervisor may have a bug.

    Signed-off-by: Heiko Carstens
    Reviewed-by: Sascha Silbe
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • If we have a facility mismatch the kernel only emits a warning that
    the processor is not recent enough and stops operating. This doesn't
    give us a lot of an idea of what actually went wrong.

    As a first step print the machine type in addition.

    Signed-off-by: Heiko Carstens
    Reviewed-by: Sascha Silbe
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • There is no reason to have this code in assembly language. Therefore
    convert it to C.

    Note that this code needs special treatment: it is called very early
    and one of the side effects is that e.g. the bss section is not
    cleared. Therefore the preferred way for static variables is to put
    them on the stack which has a size of 16KB.

    There is no functional change with this patch.

    Signed-off-by: Heiko Carstens
    Reviewed-by: Sascha Silbe
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • The early sclp code may be called before the bss section is
    cleared. Therefore move all variables to the data section.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • The hugetlbfs ptepmd conversion functions currently assume that the pmd
    bit layout is consistent with the pte layout, which is not really true.

    The SW read and write bits are encoded as the sequence "wr" in a pte, but
    in a pmd it is "rw". The hugetlbfs conversion assumes that the sequence
    is identical in both cases, which results in swapped read and write bits
    in the pmd. In practice this is not a problem, because those pmd bits are
    only relevant for THP pmds and not for hugetlbfs pmds. The hugetlbfs code
    works on (fake) ptes, and the converted pte bits are correct.

    There is another variation in pte/pmd encoding which affects dirty
    prot-none ptes/pmds. In this case, a pmd has both its HW read-only and
    invalid bit set, while it is only the invalid bit for a pte. This also has
    no effect in practice, but it should better be consistent.

    This patch fixes both inconsistencies by changing the SW read/write bit
    layout for pmds as well as the PAGE_NONE encoding for ptes. It also makes
    the hugetlbfs conversion functions more robust by introducing a
    move_set_bit() macro that uses the pte/pmd bit #defines instead of
    constant shifts.

    Signed-off-by: Gerald Schaefer
    Signed-off-by: Martin Schwidefsky

    Gerald Schaefer
     
  • Pull powerpc updates from Michael Ellerman:
    "Highlights:
    - PowerNV PCI hotplug support.
    - Lots more Power9 support.
    - eBPF JIT support on ppc64le.
    - Lots of cxl updates.
    - Boot code consolidation.

    Bug fixes:
    - Fix spin_unlock_wait() from Boqun Feng
    - Fix stack pointer corruption in __tm_recheckpoint() from Michael
    Neuling
    - Fix multiple bugs in memory_hotplug_max() from Bharata B Rao
    - mm: Ensure "special" zones are empty from Oliver O'Halloran
    - ftrace: Separate the heuristics for checking call sites from
    Michael Ellerman
    - modules: Never restore r2 for a mprofile-kernel style mcount() call
    from Michael Ellerman
    - Fix endianness when reading TCEs from Alexey Kardashevskiy
    - start rtasd before PCI probing from Greg Kurz
    - PCI: rpaphp: Fix slot registration for multiple slots under a PHB
    from Tyrel Datwyler
    - powerpc/mm: Add memory barrier in __hugepte_alloc() from Sukadev
    Bhattiprolu

    Cleanups & fixes:
    - Drop support for MPIC in pseries from Rashmica Gupta
    - Define and use PPC64_ELF_ABI_v2/v1 from Michael Ellerman
    - Remove unused symbols in asm-offsets.c from Rashmica Gupta
    - Fix SRIOV not building without EEH enabled from Russell Currey
    - Remove kretprobe_trampoline_holder from Thiago Jung Bauermann
    - Reduce log level of PCI I/O space warning from Benjamin
    Herrenschmidt
    - Add array bounds checking to crash_shutdown_handlers from Suraj
    Jitindar Singh
    - Avoid -maltivec when using clang integrated assembler from Anton
    Blanchard
    - Fix array overrun in ppc_rtas() syscall from Andrew Donnellan
    - Fix error return value in cmm_mem_going_offline() from Rasmus
    Villemoes
    - export cpu_to_core_id() from Mauricio Faria de Oliveira
    - Remove old symbols from defconfigs from Andrew Donnellan
    - Update obsolete comments in setup_32.c about entry conditions from
    Benjamin Herrenschmidt
    - Add comment explaining the purpose of setup_kdump_trampoline() from
    Benjamin Herrenschmidt
    - Merge the RELOCATABLE config entries for ppc32 and ppc64 from Kevin
    Hao
    - Remove RELOCATABLE_PPC32 from Kevin Hao
    - Fix .long's in tlb-radix.c to more meaningful from Balbir Singh

    Minor cleanups & fixes:
    - Andrew Donnellan, Anna-Maria Gleixner, Anton Blanchard, Benjamin
    Herrenschmidt, Bharata B Rao, Christophe Leroy, Colin Ian King,
    Geliang Tang, Greg Kurz, Madhavan Srinivasan, Michael Ellerman,
    Michael Ellerman, Stephen Rothwell, Stewart Smith.

    Freescale updates from Scott:
    - "Highlights include more 8xx optimizations, device tree updates,
    and MVME7100 support."

    PowerNV PCI hotplug from Gavin Shan:
    - PCI: Add pcibios_setup_bridge()
    - Override pcibios_setup_bridge()
    - Remove PCI_RESET_DELAY_US
    - Move pnv_pci_ioda_setup_opal_tce_kill() around
    - Increase PE# capacity
    - Allocate PE# in reverse order
    - Create PEs in pcibios_setup_bridge()
    - Setup PE for root bus
    - Extend PCI bridge resources
    - Make pnv_ioda_deconfigure_pe() visible
    - Dynamically release PE
    - Update bridge windows on PCI plug
    - Delay populating pdn
    - Support PCI slot ID
    - Use PCI slot reset infrastructure
    - Introduce pnv_pci_get_slot_id()
    - Functions to get/set PCI slot state
    - PCI/hotplug: PowerPC PowerNV PCI hotplug driver
    - Print correct PHB type names

    Power9 idle support from Shreyas B. Prabhu:
    - set power_save func after the idle states are initialized
    - Use PNV_THREAD_WINKLE macro while requesting for winkle
    - make hypervisor state restore a function
    - Rename idle_power7.S to idle_book3s.S
    - Rename reusable idle functions to hardware agnostic names
    - Make pnv_powersave_common more generic
    - abstraction for saving SPRs before entering deep idle states
    - Add platform support for stop instruction
    - cpuidle/powernv: Use CPUIDLE_STATE_MAX instead of MAX_POWERNV_IDLE_STATES
    - cpuidle/powernv: cleanup cpuidle-powernv.c
    - cpuidle/powernv: Add support for POWER ISA v3 idle states
    - Use deepest stop state when cpu is offlined

    Power9 PMU from Madhavan Srinivasan:
    - factor out power8 pmu macros and defines
    - factor out power8 pmu functions
    - factor out power8 __init_pmu code
    - Add power9 event list macros for generic and cache events
    - Power9 PMU support
    - Export Power9 generic and cache events to sysfs

    Power9 preliminary interrupt & PCI support from Benjamin Herrenschmidt:
    - Add XICS emulation APIs
    - Move a few exception common handlers to make room
    - Add support for HV virtualization interrupts
    - Add mechanism to force a replay of interrupts
    - Add ICP OPAL backend
    - Discover IODA3 PHBs
    - pci: Remove obsolete SW invalidate
    - opal: Add real mode call wrappers
    - Rename TCE invalidation calls
    - Remove SWINV constants and obsolete TCE code
    - Rework accessing the TCE invalidate register
    - Fallback to OPAL for TCE invalidations
    - Use the device-tree to get available range of M64's
    - Check status of a PHB before using it
    - pci: Don't try to allocate resources that will be reassigned

    Other Power9:
    - Send SIGBUS on unaligned copy and paste from Chris Smart
    - Large Decrementer support from Oliver O'Halloran
    - Load Monitor Register Support from Jack Miller

    Performance improvements from Anton Blanchard:
    - Avoid load hit store in __giveup_fpu() and __giveup_altivec()
    - Avoid load hit store in setup_sigcontext()
    - Remove assembly versions of strcpy, strcat, strlen and strcmp
    - Align hot loops of some string functions

    eBPF JIT from Naveen N. Rao:
    - Fix/enhance 32-bit Load Immediate implementation
    - Optimize 64-bit Immediate loads
    - Introduce rotate immediate instructions
    - A few cleanups
    - Isolate classic BPF JIT specifics into a separate header
    - Implement JIT compiler for extended BPF

    Operator Panel driver from Suraj Jitindar Singh:
    - devicetree/bindings: Add binding for operator panel on FSP machines
    - Add inline function to get rc from an ASYNC_COMP opal_msg
    - Add driver for operator panel on FSP machines

    Sparse fixes from Daniel Axtens:
    - make some things static
    - Introduce asm-prototypes.h
    - Include headers containing prototypes
    - Use #ifdef __BIG_ENDIAN__ #else for REG_BYTE
    - kvm: Clarify __user annotations
    - Pass endianness to sparse
    - Make ppc_md.{halt, restart} __noreturn

    MM fixes & cleanups from Aneesh Kumar K.V:
    - radix: Update LPCR HR bit as per ISA
    - use _raw variant of page table accessors
    - Compile out radix related functions if RADIX_MMU is disabled
    - Clear top 16 bits of va only on older cpus
    - Print formation regarding the the MMU mode
    - hash: Update SDR1 size encoding as documented in ISA 3.0
    - radix: Update PID switch sequence
    - radix: Update machine call back to support new HCALL.
    - radix: Add LPID based tlb flush helpers
    - radix: Add a kernel command line to disable radix
    - Cleanup LPCR defines

    Boot code consolidation from Benjamin Herrenschmidt:
    - Move epapr_paravirt_early_init() to early_init_devtree()
    - cell: Don't use flat device-tree after boot
    - ge_imp3a: Don't use the flat device-tree after boot
    - mpc85xx_ds: Don't use the flat device-tree after boot
    - mpc85xx_rdb: Don't use the flat device-tree after boot
    - Don't test for machine type in rtas_initialize()
    - Don't test for machine type in smp_setup_cpu_maps()
    - dt: Add of_device_compatible_match()
    - Factor do_feature_fixup calls
    - Move 64-bit feature fixup earlier
    - Move 64-bit memory reserves to setup_arch()
    - Use a cachable DART
    - Move FW feature probing out of pseries probe()
    - Put exception configuration in a common place
    - Remove early allocation of the SMU command buffer
    - Move MMU backend selection out of platform code
    - pasemi: Remove IOBMAP allocation from platform probe()
    - mm/hash: Don't use machine_is() early during boot
    - Don't test for machine type to detect HEA special case
    - pmac: Remove spurrious machine type test
    - Move hash table ops to a separate structure
    - Ensure that ppc_md is empty before probing for machine type
    - Move 64-bit probe_machine() to later in the boot process
    - Move 32-bit probe() machine to later in the boot process
    - Get rid of ppc_md.init_early()
    - Move the boot time info banner to a separate function
    - Move setting of {i,d}cache_bsize to initialize_cache_info()
    - Move the content of setup_system() to setup_arch()
    - Move cache info inits to a separate function
    - Re-order the call to smp_setup_cpu_maps()
    - Re-order setup_panic()
    - Make a few boot functions __init
    - Merge 32-bit and 64-bit setup_arch()

    Other new features:
    - tty/hvc: Use IRQF_SHARED for OPAL hvc consoles from Sam Mendoza-Jonas
    - tty/hvc: Use opal irqchip interface if available from Sam Mendoza-Jonas
    - powerpc: Add module autoloading based on CPU features from Alastair D'Silva
    - crypto: vmx - Convert to CPU feature based module autoloading from Alastair D'Silva
    - Wake up kopald polling thread before waiting for events from Benjamin Herrenschmidt
    - xmon: Dump ISA 2.06 SPRs from Michael Ellerman
    - xmon: Dump ISA 2.07 SPRs from Michael Ellerman
    - Add a parameter to disable 1TB segs from Oliver O'Halloran
    - powerpc/boot: Add OPAL console to epapr wrappers from Oliver O'Halloran
    - Assign fixed PHB number based on device-tree properties from Guilherme G. Piccoli
    - pseries: Add pseries hotplug workqueue from John Allen
    - pseries: Add support for hotplug interrupt source from John Allen
    - pseries: Use kernel hotplug queue for PowerVM hotplug events from John Allen
    - pseries: Move property cloning into its own routine from Nathan Fontenot
    - pseries: Dynamic add entires to associativity lookup array from Nathan Fontenot
    - pseries: Auto-online hotplugged memory from Nathan Fontenot
    - pseries: Remove call to memblock_add() from Nathan Fontenot

    cxl:
    - Add set and get private data to context struct from Michael Neuling
    - make base more explicitly non-modular from Paul Gortmaker
    - Use for_each_compatible_node() macro from Wei Yongjun
    - Frederic Barrat
    - Abstract the differences between the PSL and XSL
    - Make vPHB device node match adapter's
    - Philippe Bergheaud
    - Add mechanism for delivering AFU driver specific events
    - Ignore CAPI adapters misplaced in switched slots
    - Refine slice error debug messages
    - Andrew Donnellan
    - static-ify variables to fix sparse warnings
    - PCI/hotplug: pnv_php: export symbols and move struct types needed by cxl
    - PCI/hotplug: pnv_php: handle OPAL_PCI_SLOT_OFFLINE power state
    - Add cxl_check_and_switch_mode() API to switch bi-modal cards
    - remove dead Kconfig options
    - fix potential NULL dereference in free_adapter()
    - Ian Munsie
    - Update process element after allocating interrupts
    - Add support for CAPP DMA mode
    - Fix allowing bogus AFU descriptors with 0 maximum processes
    - Fix allocating a minimum of 2 pages for the SPA
    - Fix bug where AFU disable operation had no effect
    - Workaround XSL bug that does not clear the RA bit after a reset
    - Fix NULL pointer dereference on kernel contexts with no AFU interrupts
    - powerpc/powernv: Split cxl code out into a separate file
    - Add cxl_slot_is_supported API
    - Enable bus mastering for devices using CAPP DMA mode
    - Move cxl_afu_get / cxl_afu_put to base
    - Allow a default context to be associated with an external pci_dev
    - Do not create vPHB if there are no AFU configuration records
    - powerpc/powernv: Add support for the cxl kernel api on the real phb
    - Add support for using the kernel API with a real PHB
    - Add kernel APIs to get & set the max irqs per context
    - Add preliminary workaround for CX4 interrupt limitation
    - Add support for interrupts on the Mellanox CX4
    - Workaround PE=0 hardware limitation in Mellanox CX4
    - powerpc/powernv: Fix pci-cxl.c build when CONFIG_MODULES=n

    selftests:
    - Test unaligned copy and paste from Chris Smart
    - Load Monitor Register Tests from Jack Miller
    - Cyril Bur
    - exec() with suspended transaction
    - Use signed long to read perf_event_paranoid
    - Fix usage message in context_switch
    - Fix generation of vector instructions/types in context_switch
    - Michael Ellerman
    - Use "Delta" rather than "Error" in normal output
    - Import Anton's mmap & futex micro benchmarks
    - Add a test for PROT_SAO"

    * tag 'powerpc-4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (263 commits)
    powerpc/mm: Parenthesise IS_ENABLED() in if condition
    tty/hvc: Use opal irqchip interface if available
    tty/hvc: Use IRQF_SHARED for OPAL hvc consoles
    selftests/powerpc: exec() with suspended transaction
    powerpc: Improve comment explaining why we modify VRSAVE
    powerpc/mm: Drop unused externs for hpte_init_beat[_v3]()
    powerpc/mm: Rename hpte_init_lpar() and move the fallback to a header
    powerpc/mm: Fix build break when PPC_NATIVE=n
    crypto: vmx - Convert to CPU feature based module autoloading
    powerpc: Add module autoloading based on CPU features
    powerpc/powernv/ioda: Fix endianness when reading TCEs
    powerpc/mm: Add memory barrier in __hugepte_alloc()
    powerpc/modules: Never restore r2 for a mprofile-kernel style mcount() call
    powerpc/ftrace: Separate the heuristics for checking call sites
    powerpc: Merge 32-bit and 64-bit setup_arch()
    powerpc/64: Make a few boot functions __init
    powerpc: Re-order setup_panic()
    powerpc: Re-order the call to smp_setup_cpu_maps()
    powerpc/32: Move cache info inits to a separate function
    powerpc/64: Move the content of setup_system() to setup_arch()
    ...

    Linus Torvalds
     
  • Pull x86 microcode updates from Thomas Gleixner:

    - more work to make the microcode loader robust

    - a fix for the micro code load precedence

    - fixes for initrd loading with randomized memory

    - less printk noise on SMP machines

    * 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/asm, x86/microcode: Add __PAGE_OFFSET_BASE define on 32-bit
    x86/microcode/intel: Fix initrd loading with CONFIG_RANDOMIZE_MEMORY=y
    x86/microcode: Remove unused symbol exports
    x86/microcode/intel: Do not issue microcode updates messages on each CPU
    Documentation/microcode: Document some aspects for more clarity
    x86/microcode/AMD: Make amd_ucode_patch[] static
    x86/microcode/intel: Unexport save_mc_for_early()
    x86/microcode/intel: Rename load_microcode_early() to find_microcode_patch()
    x86/microcode: Propagate save_microcode_in_initrd() retval
    x86/microcode: Get rid of find_cpio_data()'s dummy offset arg
    lib/cpio: Make find_cpio_data()'s offset arg optional
    x86/microcode: Fix suspend to RAM with builtin microcode
    x86/microcode: Fix loading precedence

    Linus Torvalds
     
  • Pull x86 cpufeature updates from Thomas Gleixner:

    - a workaround for the MONITOR instruction erratum of Goldmont CPUs

    - small fixes and cleanups here and there

    * 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/cpu: Add workaround for MONITOR instruction erratum on Goldmont based CPUs
    x86/cpu: Rename "WESTMERE2" family to "NEHALEM_G"
    x86/amd_nb: Clean up init path
    x86/cpufeature: Add helper macro for mask check macros
    x86/cpufeature: Make sure DISABLED/REQUIRED macros are updated
    x86/cpufeature: Update cpufeaure macros

    Linus Torvalds
     
  • Pull DeviceTree updates from Rob Herring:

    - remove most of_platform_populate() calls in arch code. Now the DT
    core code calls it in the default case and platforms only need to
    call it if they have special needs

    - use pr_fmt on all the DT core print statements

    - CoreSight binding doc improvements to block name descriptions

    - add dt_to_config script which can parse dts files and list
    corresponding kernel config options

    - fix memory leak hit with a PowerMac DT

    - correct a bunch of STMicro compatible strings to use the correct
    vendor prefix

    - fix DA9052 PMIC binding doc to match what is actually used in dts
    files

    * tag 'devicetree-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (35 commits)
    documentation: da9052: Update regulator bindings names to match DA9052/53 DTS expectations
    xtensa: Partially Revert "xtensa: Remove unnecessary of_platform_populate with default match table"
    xtensa: Fix build error due to missing include file
    MIPS: ath79: Add missing include file
    Fix spelling errors in Documentation/devicetree
    ARM: dts: fix STMicroelectronics compatible strings
    powerpc/dts: fix STMicroelectronics compatible strings
    Documentation: dt: i2c: use correct STMicroelectronics vendor prefix
    scripts/dtc: dt_to_config - kernel config options for a devicetree
    of: fdt: mark unflattened tree as detached
    of: overlay: add resolver error prints
    coresight: document binding acronyms
    Documentation/devicetree: document cavium-pip rx-delay/tx-delay properties
    of: use pr_fmt prefix for all console printing
    of/irq: Mark initialised interrupt controllers as populated
    of: fix memory leak related to safe_name()
    Revert "of/platform: export of_default_bus_match_table"
    of: unittest: use of_platform_default_populate() to populate default bus
    memory: omap-gpmc: use of_platform_default_populate() to populate default bus
    bus: uniphier-system-bus: use of_platform_default_populate() to populate default bus
    ...

    Linus Torvalds
     
  • Pull clk updates from Michael Turquette:
    "The bulk of the changes are updates and fixes to existing clk provider
    drivers, along with a pretty standard number of new drivers. The core
    recieved a small number of updates as well.

    Core changes of note:
    - removed CLK_IS_ROOT flag

    New clk provider drivers:
    - Renesas r8a7796 clock pulse generator / module standby and
    software reset
    - Allwinner sun8i H3 clock controller unit
    - AmLogic meson8b clock controller (rewritten)
    - AmLogic gxbb clock controller
    - support for some new ICs was added by simple changes to static
    data tables for chips sharing the same family

    Driver updates of note:
    - the Allwinner sunxi clock driver infrastucture was rewritten to
    comform to the state of the art at drivers/clk/sunxi-ng. The old
    implementation is still supported for backwards compatibility with
    the DT ABI"

    * tag 'clk-for-linus-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (162 commits)
    clk: Makefile: re-sort and clean up
    Revert "clk: gxbb: expose CLKID_MMC_PCLK"
    clk: samsung: Allow modular build of the Audio Subsystem CLKCON driver
    clk: samsung: make clk-s5pv210-audss explicitly non-modular
    clk: exynos5433: remove CLK_IGNORE_UNUSED flag from SPI clocks
    clk: oxnas: Add hardware dependencies
    clk: imx7d: do not set parent of ethernet time/ref clocks
    ARM: dt: sun8i: switch the H3 to the new CCU driver
    clk: sunxi-ng: h3: Fix Kconfig symbol typo
    clk: sunxi-ng: h3: Fix audio clock divider offset
    clk: sunxi-ng: Add H3 clocks
    clk: sunxi-ng: Add N-K-M-P factor clock
    clk: sunxi-ng: Add N-K-M Factor clock
    clk: sunxi-ng: Add N-M-factor clock support
    clk: sunxi-ng: Add N-K-factor clock support
    clk: sunxi-ng: Add M-P factor clock support
    clk: sunxi-ng: Add divider
    clk: sunxi-ng: Add phase clock support
    clk: sunxi-ng: Add mux clock support
    clk: sunxi-ng: Add gate clock support
    ...

    Linus Torvalds
     

30 Jul, 2016

10 commits

  • Freescale updates from Scott:

    "Highlights include more 8xx optimizations, device tree updates,
    and MVME7100 support."

    Michael Ellerman
     
  • Pull audit updates from Paul Moore:
    "Six audit patches for 4.8.

    There are a couple of style and minor whitespace tweaks for the logs,
    as well as a minor fixup to catch errors on user filter rules, however
    the major improvements are a fix to the s390 syscall argument masking
    code (reviewed by the nice s390 folks), some consolidation around the
    exclude filtering (less code, always a win), and a double-fetch fix
    for recording the execve arguments"

    * 'stable-4.8' of git://git.infradead.org/users/pcmoore/audit:
    audit: fix a double fetch in audit_log_single_execve_arg()
    audit: fix whitespace in CWD record
    audit: add fields to exclude filter by reusing user filter
    s390: ensure that syscall arguments are properly masked on s390
    audit: fix some horrible switch statement style crimes
    audit: fixup: log on errors from filter user rules

    Linus Torvalds
     
  • Pull security subsystem updates from James Morris:
    "Highlights:

    - TPM core and driver updates/fixes
    - IPv6 security labeling (CALIPSO)
    - Lots of Apparmor fixes
    - Seccomp: remove 2-phase API, close hole where ptrace can change
    syscall #"

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (156 commits)
    apparmor: fix SECURITY_APPARMOR_HASH_DEFAULT parameter handling
    tpm: Add TPM 2.0 support to the Nuvoton i2c driver (NPCT6xx family)
    tpm: Factor out common startup code
    tpm: use devm_add_action_or_reset
    tpm2_i2c_nuvoton: add irq validity check
    tpm: read burstcount from TPM_STS in one 32-bit transaction
    tpm: fix byte-order for the value read by tpm2_get_tpm_pt
    tpm_tis_core: convert max timeouts from msec to jiffies
    apparmor: fix arg_size computation for when setprocattr is null terminated
    apparmor: fix oops, validate buffer size in apparmor_setprocattr()
    apparmor: do not expose kernel stack
    apparmor: fix module parameters can be changed after policy is locked
    apparmor: fix oops in profile_unpack() when policy_db is not present
    apparmor: don't check for vmalloc_addr if kvzalloc() failed
    apparmor: add missing id bounds check on dfa verification
    apparmor: allow SYS_CAP_RESOURCE to be sufficient to prlimit another task
    apparmor: use list_next_entry instead of list_entry_next
    apparmor: fix refcount race when finding a child profile
    apparmor: fix ref count leak when profile sha1 hash is read
    apparmor: check that xindex is in trans_table bounds
    ...

    Linus Torvalds
     
  • Pull power management fix from Rafael Wysocki:
    "Fix a nasty (and really hard to debug) memory corruption during resume
    from hibernation on x86-64 (that leads to a kernel panic most of the
    time) due to the use of a stale stack pointer value in FRAME_BEGIN
    (Josh Poimboeuf)"

    * tag 'pm-urgent-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    x86/power/64: Fix hibernation return address corruption

    Linus Torvalds
     
  • Pull smp hotplug updates from Thomas Gleixner:
    "This is the next part of the hotplug rework.

    - Convert all notifiers with a priority assigned

    - Convert all CPU_STARTING/DYING notifiers

    The final removal of the STARTING/DYING infrastructure will happen
    when the merge window closes.

    Another 700 hundred line of unpenetrable maze gone :)"

    * 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (70 commits)
    timers/core: Correct callback order during CPU hot plug
    leds/trigger/cpu: Move from CPU_STARTING to ONLINE level
    powerpc/numa: Convert to hotplug state machine
    arm/perf: Fix hotplug state machine conversion
    irqchip/armada: Avoid unused function warnings
    ARC/time: Convert to hotplug state machine
    clocksource/atlas7: Convert to hotplug state machine
    clocksource/armada-370-xp: Convert to hotplug state machine
    clocksource/exynos_mct: Convert to hotplug state machine
    clocksource/arm_global_timer: Convert to hotplug state machine
    rcu: Convert rcutree to hotplug state machine
    KVM/arm/arm64/vgic-new: Convert to hotplug state machine
    smp/cfd: Convert core to hotplug state machine
    x86/x2apic: Convert to CPU hotplug state machine
    profile: Convert to hotplug state machine
    timers/core: Convert to hotplug state machine
    hrtimer: Convert to hotplug state machine
    x86/tboot: Convert to hotplug state machine
    arm64/armv8 deprecated: Convert to hotplug state machine
    hwtracing/coresight-etm4x: Convert to hotplug state machine
    ...

    Linus Torvalds
     
  • Pull sparc updates from David Miller:

    1) Double spin lock bug in sunhv serial driver, from Dan Carpenter.

    2) Use correct RSS estimate when determining whether to grow the huge
    TSB or not, from Mike Kravetz.

    3) Don't use full three level page tables for hugepages, PMD level is
    sufficient. From Nitin Gupta.

    4) Mask out extraneous bits from TSB_TAG_ACCESS register, we only want
    the address bits.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
    sparc64: Trim page tables for 8M hugepages
    sparc64 mm: Fix base TSB sizing when hugetlb pages are used
    sparc: serial: sunhv: fix a double lock bug
    sparc32: off by ones in BUG_ON()
    sparc: Don't leak context bits into thread->fault_address

    Linus Torvalds
     
  • Pull ARC updates from Vineet Gupta:
    "Things have been calm here - nothing much except for a few fixes"

    * tag 'arc-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
    ARC: mm: don't loose PTE_SPECIAL in pte_modify()
    ARC: dma: fix address translation in arc_dma_free
    ARC: typo fix in mm/ioremap.c
    ARC: fix linux-next build breakage

    Linus Torvalds
     
  • * pm-sleep:
    x86/power/64: Fix hibernation return address corruption

    Rafael J. Wysocki
     
  • Pull AVR32 updates from Hans-Christian Noren Egtvedt.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32:
    avr32: off by one in at32_init_pio()
    avr32: fixup code style in unistd.h and syscall_table.S
    avr32: wire up preadv2 and pwritev2 syscalls

    Linus Torvalds
     
  • Pull ARM updates from Russell King:
    "Included in this update are:

    - Patches from Gregory Clement to fix the coherent DMA cases in our
    dma-mapping code.

    - A number of CPU errata updates and fixes.

    - ARM cpuidle improvements from Jisheng Zhang.

    - Fix from Kees for the location of _etext.

    - Cleanups from Masahiro Yamada to avoid duplicated messages during
    the kernel build, and remove CONFIG_ARCH_HAS_BARRIERS.

    - Remove a udelay loop limitation, allowing for faster CPUs to
    calibrate the delay correctly.

    - Cleanup some left-overs from the SW PAN implementation.

    - Ensure that a modified address limit is not visible to exception
    handlers"

    * 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm: (21 commits)
    ARM: 8586/1: cpuidle: make arm_cpuidle_suspend() a bit more efficient
    ARM: 8585/1: cpuidle: fix !cpuidle_ops[cpu].init case during init
    ARM: 8561/4: dma-mapping: Fix the coherent case when iommu is used
    ARM: 8561/3: dma-mapping: Don't use outer_flush_range when the L2C is coherent
    ARM: 8560/1: errata: Workaround errata A12 825619 / A17 852421
    ARM: 8559/1: errata: Workaround erratum A12 821420
    ARM: 8558/1: errata: Workaround errata A12 818325/852422 A17 852423
    ARM: save and reset the address limit when entering an exception
    ARM: 8577/1: Fix Cortex-A15 798181 errata initialization
    ARM: 8584/1: floppy: avoid gcc-6 warning
    ARM: 8583/1: mm: fix location of _etext
    ARM: 8582/1: remove unused CONFIG_ARCH_HAS_BARRIERS
    ARM: 8306/1: loop_udelay: remove bogomips value limitation
    ARM: 8581/1: add missing to arch/arm/kernel/devtree.c
    ARM: 8576/1: avoid duplicating "Kernel: arch/arm/boot/*Image is ready"
    ARM: 8556/1: on a generic DT system: do not touch l2x0
    ARM: uaccess: remove put_user() code duplication
    ARM: 8580/1: Remove orphaned __addr_ok() definition
    ARM: get rid of horrible *(unsigned int *)(regs + 1)
    ARM: introduce svc_pt_regs structure
    ...

    Linus Torvalds