10 Feb, 2020

2 commits

  • Pull more Kbuild updates from Masahiro Yamada:

    - fix randconfig to generate a sane .config

    - rename hostprogs-y / always to hostprogs / always-y, which are more
    natual syntax.

    - optimize scripts/kallsyms

    - fix yes2modconfig and mod2yesconfig

    - make multiple directory targets ('make foo/ bar/') work

    * tag 'kbuild-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    kbuild: make multiple directory targets work
    kconfig: Invalidate all symbols after changing to y or m.
    kallsyms: fix type of kallsyms_token_table[]
    scripts/kallsyms: change table to store (strcut sym_entry *)
    scripts/kallsyms: rename local variables in read_symbol()
    kbuild: rename hostprogs-y/always to hostprogs/always-y
    kbuild: fix the document to use extra-y for vmlinux.lds
    kconfig: fix broken dependency in randconfig-generated .config

    Linus Torvalds
     
  • Pull new zonefs file system from Damien Le Moal:
    "Zonefs is a very simple file system exposing each zone of a zoned
    block device as a file.

    Unlike a regular file system with native zoned block device support
    (e.g. f2fs or the on-going btrfs effort), zonefs does not hide the
    sequential write constraint of zoned block devices to the user. As a
    result, zonefs is not a POSIX compliant file system. Its goal is to
    simplify the implementation of zoned block devices support in
    applications by replacing raw block device file accesses with a richer
    file based API, avoiding relying on direct block device file ioctls
    which may be more obscure to developers.

    One example of this approach is the implementation of LSM
    (log-structured merge) tree structures (such as used in RocksDB and
    LevelDB) on zoned block devices by allowing SSTables to be stored in a
    zone file similarly to a regular file system rather than as a range of
    sectors of a zoned device. The introduction of the higher level
    construct "one file is one zone" can help reducing the amount of
    changes needed in the application while at the same time allowing the
    use of zoned block devices with various programming languages other
    than C.

    Zonefs IO management implementation uses the new iomap generic code.
    Zonefs has been successfully tested using a functional test suite
    (available with zonefs userland format tool on github) and a prototype
    implementation of LevelDB on top of zonefs"

    * tag 'zonefs-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs:
    zonefs: Add documentation
    fs: New zonefs file system

    Linus Torvalds
     

09 Feb, 2020

4 commits

  • Pull ARM SoC-related driver updates from Olof Johansson:
    "Various driver updates for platforms:

    - Nvidia: Fuse support for Tegra194, continued memory controller
    pieces for Tegra30

    - NXP/FSL: Refactorings of QuickEngine drivers to support
    ARM/ARM64/PPC

    - NXP/FSL: i.MX8MP SoC driver pieces

    - TI Keystone: ring accelerator driver

    - Qualcomm: SCM driver cleanup/refactoring + support for new SoCs.

    - Xilinx ZynqMP: feature checking interface for firmware. Mailbox
    communication for power management

    - Overall support patch set for cpuidle on more complex hierarchies
    (PSCI-based)

    and misc cleanups, refactorings of Marvell, TI, other platforms"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (166 commits)
    drivers: soc: xilinx: Use mailbox IPI callback
    dt-bindings: power: reset: xilinx: Add bindings for ipi mailbox
    drivers: soc: ti: knav_qmss_queue: Pass lockdep expression to RCU lists
    MAINTAINERS: Add brcmstb PCIe controller entry
    soc/tegra: fuse: Unmap registers once they are not needed anymore
    soc/tegra: fuse: Correct straps' address for older Tegra124 device trees
    soc/tegra: fuse: Warn if straps are not ready
    soc/tegra: fuse: Cache values of straps and Chip ID registers
    memory: tegra30-emc: Correct error message for timed out auto calibration
    memory: tegra30-emc: Firm up hardware programming sequence
    memory: tegra30-emc: Firm up suspend/resume sequence
    soc/tegra: regulators: Do nothing if voltage is unchanged
    memory: tegra: Correct reset value of xusb_hostr
    soc/tegra: fuse: Add APB DMA dependency for Tegra20
    bus: tegra-aconnect: Remove PM_CLK dependency
    dt-bindings: mediatek: add MT6765 power dt-bindings
    soc: mediatek: cmdq: delete not used define
    memory: tegra: Add support for the Tegra194 memory controller
    memory: tegra: Only include support for enabled SoCs
    memory: tegra: Support DVFS on Tegra186 and later
    ...

    Linus Torvalds
     
  • Pull ARM Device-tree updates from Olof Johansson:
    "New SoCs:

    - Atmel/Microchip SAM9X60 (ARM926 SoC)

    - OMAP 37xx gets split into AM3703/AM3715/DM3725, who are all
    variants of it with different GPU/media IP configurations.

    - ST stm32mp15 SoCs (1-2 Cortex-A7, CAN, GPU depending on SKU)

    - ST Ericsson ab8505 (variant of ab8500) and db8520 (variant of
    db8500)

    - Unisoc SC9863A SoC (8x Cortex-A55 mobile chipset w/ GPU, modem)

    - Qualcomm SC7180 (8-core 64bit SoC, unnamed CPU class)

    New boards:

    - Allwinner:
    + Emlid Neutis SoM (H3 variant)
    + Libre Computer ALL-H3-IT
    + PineH64 Model B

    - Amlogic:
    + Libretech Amlogic GX PC (s905d and s912-based variants)

    - Atmel/Microchip:
    + Kizboxmini, sam9x60 EK, sama5d27 Wireless SOM (wlsom1)

    - Marvell:
    + Armada 385-based SolidRun Clearfog GTR

    - NXP:
    + Gateworks GW59xx boards based on i.MX6/6Q/6QDL
    + Tolino Shine 3 eBook reader (i.MX6sl)
    + Embedded Artists COM (i.MX7ULP)
    + SolidRun CLearfog CX/ITX and HoneyComb (LX2160A-based systems)
    + Google Coral Edge TPU (i.MX8MQ)

    - Rockchip:
    + Radxa Dalang Carrier (supports rk3288 and rk3399 SOMs)
    + Radxa Rock Pi N10 (RK3399Pro-based)
    + VMARC RK3399Pro SOM

    - ST:
    + Reference boards for stm32mp15

    - ST Ericsson:
    + Samsung Galaxy S III mini (GT-I8190)
    + HREF520 reference board for DB8520

    - TI OMAP:
    + Gen1 Amazon Echo (OMAP3630-based)

    - Qualcomm:
    + Inforce 6640 Single Board Computer (msm8996-based)
    + SC7180 IDP (SC7180-based)"

    * tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (623 commits)
    dt-bindings: fix compilation error of the example in marvell,mmp3-hsic-phy.yaml
    arm64: dts: ti: k3-am654-base-board: Add CSI2 OV5640 camera
    arm64: dts: ti: k3-am65-main Add CAL node
    arm64: dts: ti: k3-j721e-main: Add McASP nodes
    arm64: dts: ti: k3-am654-main: Add McASP nodes
    arm64: dts: ti: k3-j721e: DMA support
    arm64: dts: ti: k3-j721e-main: Move secure proxy and smmu under main_navss
    arm64: dts: ti: k3-j721e-main: Correct main NAVSS representation
    arm64: dts: ti: k3-j721e: Correct the address for MAIN NAVSS
    arm64: dts: ti: k3-am65: DMA support
    arm64: dts: ti: k3-am65-main: Move secure proxy under cbass_main_navss
    arm64: dts: ti: k3-am65-main: Correct main NAVSS representation
    ARM: dts: aspeed: rainier: Add UCD90320 power sequencer
    ARM: dts: aspeed: rainier: Switch PSUs to unknown version
    arm64: dts: rockchip: Kill off "simple-panel" compatibles
    ARM: dts: rockchip: Kill off "simple-panel" compatibles
    arm64: dts: rockchip: rename dwmmc node names to mmc
    ARM: dts: rockchip: rename dwmmc node names to mmc
    arm64: dts: exynos: Rename Samsung and Exynos to lowercase
    arm64: dts: uniphier: add reset-names to NAND controller node
    ...

    Linus Torvalds
     
  • Pull ARM SoC platform updates from Olof Johansson:
    "Most of these are smaller fixes that have accrued, and some continued
    cleanup of OMAP platforms towards shared frameworks.

    One new SoC from Atmel/Microchip: sam9x60"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (35 commits)
    ARM: OMAP2+: Fix undefined reference to omap_secure_init
    ARM: s3c64xx: Drop unneeded select of TIMER_OF
    ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
    ARM: s3c24xx: Switch to atomic pwm API in rx1950
    ARM: OMAP2+: sleep43xx: Call secure suspend/resume handlers
    ARM: OMAP2+: Use ARM SMC Calling Convention when OP-TEE is available
    ARM: OMAP2+: Introduce check for OP-TEE in omap_secure_init()
    ARM: OMAP2+: Add omap_secure_init callback hook for secure initialization
    ARM: at91: Documentation: add sam9x60 product and datasheet
    ARM: at91: pm: use of_device_id array to find the proper shdwc node
    ARM: at91: pm: use SAM9X60 PMC's compatible
    ARM: imx: only select ARM_ERRATA_814220 for ARMv7-A
    ARM: zynq: use physical cpuid in zynq_slcr_cpu_stop/start
    ARM: tegra: Use clk_m CPU on Tegra124 LP1 resume
    ARM: tegra: Modify reshift divider during LP1
    ARM: tegra: Enable PLLP bypass during Tegra124 LP1
    ARM: samsung: Rename Samsung and Exynos to lowercase
    ARM: exynos: Correct the help text for platform Kconfig option
    ARM: bcm: Select ARM_AMBA for ARCH_BRCMSTB
    ARM: brcmstb: Add debug UART entry for 7216
    ...

    Linus Torvalds
     
  • Pull vfs file system parameter updates from Al Viro:
    "Saner fs_parser.c guts and data structures. The system-wide registry
    of syntax types (string/enum/int32/oct32/.../etc.) is gone and so is
    the horror switch() in fs_parse() that would have to grow another case
    every time something got added to that system-wide registry.

    New syntax types can be added by filesystems easily now, and their
    namespace is that of functions - not of system-wide enum members. IOW,
    they can be shared or kept private and if some turn out to be widely
    useful, we can make them common library helpers, etc., without having
    to do anything whatsoever to fs_parse() itself.

    And we already get that kind of requests - the thing that finally
    pushed me into doing that was "oh, and let's add one for timeouts -
    things like 15s or 2h". If some filesystem really wants that, let them
    do it. Without somebody having to play gatekeeper for the variants
    blessed by direct support in fs_parse(), TYVM.

    Quite a bit of boilerplate is gone. And IMO the data structures make a
    lot more sense now. -200LoC, while we are at it"

    * 'merge.nfs-fs_parse.1' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (25 commits)
    tmpfs: switch to use of invalfc()
    cgroup1: switch to use of errorfc() et.al.
    procfs: switch to use of invalfc()
    hugetlbfs: switch to use of invalfc()
    cramfs: switch to use of errofc() et.al.
    gfs2: switch to use of errorfc() et.al.
    fuse: switch to use errorfc() et.al.
    ceph: use errorfc() and friends instead of spelling the prefix out
    prefix-handling analogues of errorf() and friends
    turn fs_param_is_... into functions
    fs_parse: handle optional arguments sanely
    fs_parse: fold fs_parameter_desc/fs_parameter_spec
    fs_parser: remove fs_parameter_description name field
    add prefix to fs_context->log
    ceph_parse_param(), ceph_parse_mon_ips(): switch to passing fc_log
    new primitive: __fs_parse()
    switch rbd and libceph to p_log-based primitives
    struct p_log, variants of warnf() et.al. taking that one instead
    teach logfc() to handle prefices, give it saner calling conventions
    get rid of cg_invalf()
    ...

    Linus Torvalds
     

08 Feb, 2020

8 commits

  • Pull fuse fixes from Miklos Szeredi:

    - Fix a regression introduced in v5.1 that triggers WARNINGs for some
    fuse filesystems

    - Fix an xfstest failure

    - Allow overlayfs to be used on top of fuse/virtiofs

    - Code and documentation cleanups

    * tag 'fuse-fixes-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
    fuse: use true,false for bool variable
    Documentation: filesystems: convert fuse to RST
    fuse: Support RENAME_WHITEOUT flag
    fuse: don't overflow LLONG_MAX with end offset
    fix up iter on short count in fuse_direct_io()

    Linus Torvalds
     
  • Pull Documentation fixes from Jonathan Corbet:
    "A handful of small documentation fixes that wandered in"

    * tag 'docs-5.6-2' of git://git.lwn.net/linux:
    Allow git builds of Sphinx
    Documentation: changes.rst: update several outdated project URLs
    Documentation: build warnings related to missing blank lines after explicit markups has been fixed
    mailmap: add entry for Tiezhu Yang
    Documentation/ko_KR/howto: Update a broken link
    Documentation/ko_KR/howto: Update broken web addresses
    docs/locking: Fix outdated section names

    Linus Torvalds
     
  • Pull i2c updates from Wolfram Sang:
    "i2c core:

    - huge improvements and refactorizations of the Linux I2C
    documentation (lots of thanks to Luca for doing it and Jean for the
    careful review)

    - subsystem wide API conversion to i2c_new_client_device()

    - remove obsolete parport-light driver

    - smaller core updates (removal of 'extern', enabling more compile
    testing, use more helper macros)

    - and quite a bunch of driver updates (new IDs, simplifications,
    better PM, support of atomic transfers and other improvements)

    i2c-mux:

    - The main feature is the idle-state rework of the pca954x driver
    from Biwen Li

    at24 driver:

    - minor maintenance: update the license tag, sort headers

    - move support for the write-protect pin into nvmem core

    - add a reference to the new wp-gpios property in nvmem to at25
    bindings

    - add support for regulator and pm_runtime control"

    * 'i2c/for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (91 commits)
    i2c: cros-ec-tunnel: Fix ACPI identifier
    i2c: cros-ec-tunnel: Fix slave device enumeration
    i2c: stm32f7: add PM_SLEEP suspend/resume support
    i2c: cadence: Fix wording in i2c-cadence driver
    i2c: cadence: Fix power management order of operations
    i2c: cadence: Fix error printing in case of defer
    i2c: cadence: Handle transfer_size rollover
    i2c: i801: Add support for Intel Comet Lake PCH-V
    docs: i2c: writing-clients: properly name the stop condition
    docs: i2c: i2c-protocol: use same wording as smbus-protocol
    docs: i2c: rename sections so the overall picture is clearer
    docs: i2c: old-module-parameters: use monospace instead of ""
    docs: i2c: old-module-parameters: clarify this is for obsolete kernels
    docs: i2c: old-module-parameters: fix internal hyperlink
    docs: i2c: instantiating-devices: use monospace for sysfs attributes
    docs: i2c: instantiating-devices: rearrange static instatiation
    docs: i2c: instantiating-devices: fix internal hyperlink
    docs: i2c: smbus-protocol: improve I2C Block transactions description
    docs: i2c: smbus-protocol: fix punctuation
    docs: i2c: smbus-protocol: fix typo
    ...

    Linus Torvalds
     
  • Pull more power management updates from Rafael Wysocki:

    - Update the recently merged CPR (Core Power Reduction) support in the
    AVS (Adaptive Voltage Scaling) subsystem (Brendan Higgins, Nathan
    Chancellor, Niklas Cassel)

    - Update the rockchip-io AVS driver (Heiko Stuebner)

    - Add two more module parameters to intel_idle on top of the recently
    merged material (Rafael Wysocki)

    - Clean up a piece of cpuidle documentation and consolidate system
    sleep states documentation (Rafael Wysocki)

    * tag 'pm-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpuidle: Documentation: Clean up PM QoS description
    Documentation: admin-guide: PM: Update sleep states documentation
    intel_idle: Introduce 'states_off' module parameter
    intel_idle: Introduce 'use_acpi' module parameter
    power: avs: qcom-cpr: Avoid clang -Wsometimes-uninitialized in cpr_scale
    power: avs: qcom-cpr: add unspecified HAS_IOMEM dependency
    PM / AVS: rockchip-io: fix the supply naming for the emmc supply on px30
    power: avs: qcom-cpr: add a printout after the driver has been initialized

    Linus Torvalds
     
  • Pull clk fixes from Stephen Boyd:
    "A collection of fixes:

    - Make of_clk.h self contained

    - Fix new qcom DT bindings that just merged to match the DTS files

    - Fix qcom clk driver to properly detect DFS clk frequencies

    - Fix the ls1028a driver to not deref a pointer before assigning it"

    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
    of: clk: Make self-contained
    clk: qcom: Use ARRAY_SIZE in videocc-sc7180 for parent clocks
    clk: qcom: Get rid of the test clock for videocc-sc7180
    dt-bindings: clock: Cleanup qcom,videocc bindings for sdm845/sc7180
    clk: qcom: Use ARRAY_SIZE in gpucc-sc7180 for parent clocks
    clk: qcom: Get rid of the test clock for gpucc-sc7180
    dt-bindings: clock: Fix qcom,gpucc bindings for sdm845/sc7180/msm8998
    clk: qcom: Use ARRAY_SIZE in dispcc-sc7180 for parent clocks
    clk: qcom: Get rid of the test clock for dispcc-sc7180
    clk: qcom: Get rid of fallback global names for dispcc-sc7180
    dt-bindings: clock: Fix qcom,dispcc bindings for sdm845/sc7180
    clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
    clk: ls1028a: fix a dereference of pointer 'parent' before a null check
    dt-bindings: clk: qcom: Fix self-validation, split, and clean cruft
    clk: qcom: Don't overwrite 'cfg' in clk_rcg2_dfs_populate_freq()

    Linus Torvalds
     
  • Pull watchdog updates from Wim Van Sebroeck:

    - add IT8786 chipset ID

    - addition of sam9x60 compatible watchdog

    - da9062 improvements

    - fix UAF in reboot notifier handling in watchdog core code

    - other fixes and small improvements

    * tag 'linux-watchdog-5.6-rc1' of git://www.linux-watchdog.org/linux-watchdog:
    watchdog: da9062: make restart handler atomic safe
    watchdog: mtk_wdt: mt2712: Add reset controller
    watchdog: mtk_wdt: mt8183: Add reset controller
    dt-bindings: mediatek: mt2712: Add #reset-cells
    dt-bindings: mediatek: mt8183: Add #reset-cells
    dt-bindings: watchdog: da9062: add suspend disable option
    watchdog: it87_wdt: add IT8786 ID
    watchdog: dw_wdt: ping watchdog to reset countdown before start
    watchdog: fix UAF in reboot notifier handling in watchdog core code
    watchdog: cadence: Skip printing pointer value
    watchdog: qcom: Use platform_get_irq_optional() for bark irq
    watchdog: da9062: add power management ops
    watchdog: make DesignWare watchdog allow users to set bigger timeout value
    drivers: watchdog: stm32_iwdg: set WDOG_HW_RUNNING at probe
    watchdog: sama5d4_wdt: addition of sam9x60 compatible watchdog

    Linus Torvalds
     
  • Unused now.

    Signed-off-by: Eric Sandeen
    Acked-by: David Howells
    Signed-off-by: Al Viro

    Eric Sandeen
     
  • Its behaviour is identical to that of fs_value_is_filename.
    It makes no sense, anyway - LOOKUP_EMPTY affects nothing
    whatsoever once the pathname has been imported from userland.
    And both fs_value_is_filename and fs_value_is_filename_empty
    carry an already imported pathname.

    Signed-off-by: Al Viro

    Al Viro
     

07 Feb, 2020

3 commits

  • * pm-avs:
    power: avs: qcom-cpr: Avoid clang -Wsometimes-uninitialized in cpr_scale
    power: avs: qcom-cpr: add unspecified HAS_IOMEM dependency
    PM / AVS: rockchip-io: fix the supply naming for the emmc supply on px30
    power: avs: qcom-cpr: add a printout after the driver has been initialized

    * pm-cpuidle:
    cpuidle: Documentation: Clean up PM QoS description
    intel_idle: Introduce 'states_off' module parameter
    intel_idle: Introduce 'use_acpi' module parameter

    Rafael J. Wysocki
     
  • Add the new file Documentation/filesystems/zonefs.txt to document
    zonefs principles and user-space tool usage.

    Signed-off-by: Damien Le Moal
    Reviewed-by: Dave Chinner

    Damien Le Moal
     
  • Pull more KVM updates from Paolo Bonzini:
    "s390:
    - fix register corruption
    - ENOTSUPP/EOPNOTSUPP mixed
    - reset cleanups/fixes
    - selftests

    x86:
    - Bug fixes and cleanups
    - AMD support for APIC virtualization even in combination with
    in-kernel PIT or IOAPIC.

    MIPS:
    - Compilation fix.

    Generic:
    - Fix refcount overflow for zero page"

    * tag 'kvm-5.6-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (42 commits)
    KVM: vmx: delete meaningless vmx_decache_cr0_guest_bits() declaration
    KVM: x86: Mark CR4.UMIP as reserved based on associated CPUID bit
    x86: vmxfeatures: rename features for consistency with KVM and manual
    KVM: SVM: relax conditions for allowing MSR_IA32_SPEC_CTRL accesses
    KVM: x86: Fix perfctr WRMSR for running counters
    x86/kvm/hyper-v: don't allow to turn on unsupported VMX controls for nested guests
    x86/kvm/hyper-v: move VMX controls sanitization out of nested_enable_evmcs()
    kvm: mmu: Separate generating and setting mmio ptes
    kvm: mmu: Replace unsigned with unsigned int for PTE access
    KVM: nVMX: Remove stale comment from nested_vmx_load_cr3()
    KVM: MIPS: Fold comparecount_func() into comparecount_wakeup()
    KVM: MIPS: Fix a build error due to referencing not-yet-defined function
    x86/kvm: do not setup pv tlb flush when not paravirtualized
    KVM: fix overflow of zero page refcount with ksm running
    KVM: x86: Take a u64 when checking for a valid dr7 value
    KVM: x86: use raw clock values consistently
    KVM: x86: reorganize pvclock_gtod_data members
    KVM: nVMX: delete meaningless nested_vmx_run() declaration
    KVM: SVM: allow AVIC without split irqchip
    kvm: ioapic: Lazy update IOAPIC EOI
    ...

    Linus Torvalds
     

06 Feb, 2020

13 commits

  • Converts fuse.txt to reStructuredText format, improving the presentation
    without changing much of the underlying content.

    Signed-off-by: Daniel W. S. Almeida
    Signed-off-by: Miklos Szeredi

    Daniel W. S. Almeida
     
  • Pull tracing updates from Steven Rostedt:

    - Added new "bootconfig".

    This looks for a file appended to initrd to add boot config options,
    and has been discussed thoroughly at Linux Plumbers.

    Very useful for adding kprobes at bootup.

    Only enabled if "bootconfig" is on the real kernel command line.

    - Created dynamic event creation.

    Merges common code between creating synthetic events and kprobe
    events.

    - Rename perf "ring_buffer" structure to "perf_buffer"

    - Rename ftrace "ring_buffer" structure to "trace_buffer"

    Had to rename existing "trace_buffer" to "array_buffer"

    - Allow trace_printk() to work withing (some) tracing code.

    - Sort of tracing configs to be a little better organized

    - Fixed bug where ftrace_graph hash was not being protected properly

    - Various other small fixes and clean ups

    * tag 'trace-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (88 commits)
    bootconfig: Show the number of nodes on boot message
    tools/bootconfig: Show the number of bootconfig nodes
    bootconfig: Add more parse error messages
    bootconfig: Use bootconfig instead of boot config
    ftrace: Protect ftrace_graph_hash with ftrace_sync
    ftrace: Add comment to why rcu_dereference_sched() is open coded
    tracing: Annotate ftrace_graph_notrace_hash pointer with __rcu
    tracing: Annotate ftrace_graph_hash pointer with __rcu
    bootconfig: Only load bootconfig if "bootconfig" is on the kernel cmdline
    tracing: Use seq_buf for building dynevent_cmd string
    tracing: Remove useless code in dynevent_arg_pair_add()
    tracing: Remove check_arg() callbacks from dynevent args
    tracing: Consolidate some synth_event_trace code
    tracing: Fix now invalid var_ref_vals assumption in trace action
    tracing: Change trace_boot to use synth_event interface
    tracing: Move tracing selftests to bottom of menu
    tracing: Move mmio tracer config up with the other tracers
    tracing: Move tracing test module configs together
    tracing: Move all function tracing configs together
    tracing: Documentation for in-kernel synthetic event API
    ...

    Linus Torvalds
     
  • …erry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "Mostly cleanups and minor improvements with some new chip support for
    some drivers"

    * tag 'pwm/for-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (37 commits)
    pwm: Remove set but not set variable 'pwm'
    pwm: sun4i: Initialize variables before use
    pwm: stm32: Remove automatic output enable
    pwm: sun4i: Narrow scope of local variable
    pwm: bcm2835: Allow building for ARCH_BRCMSTB
    pwm: imx27: Eliminate error message for defer probe
    pwm: sun4i: Fix inconsistent IS_ERR and PTR_ERR
    pwm: sun4i: Move pwm_calculate() out of spin_lock()
    pwm: omap-dmtimer: Allow compiling with COMPILE_TEST
    pwm: omap-dmtimer: put_device() after of_find_device_by_node()
    pwm: omap-dmtimer: Simplify error handling
    pwm: omap-dmtimer: Remove PWM chip in .remove before making it unfunctional
    pwm: Implement tracing for .get_state() and .apply_state()
    pwm: rcar: Document inability to set duty_cycle = 0
    pwm: rcar: Drop useless call to pwm_get_state()
    pwm: Fix minor Kconfig whitespace issues
    pwm: atmel: Implement .get_state()
    pwm: atmel: Use register accessors for channels
    pwm: atmel: Document known weaknesses of both hardware and software
    pwm: atmel: Replace loop in prescale calculation by ad-hoc calculation
    ...

    Linus Torvalds
     
  • Pull dmaengine fixes from Vinod Koul:
    "Fixes for:

    - Documentation build error fix

    - Fix dma_request_chan() error return

    - Remove unneeded conversion in idxd driver

    - Fix pointer check for dma_async_device_channel_register()

    - Fix slave-channel symlink cleanup"

    * tag 'dmaengine-fix-5.6-rc1' of git://git.infradead.org/users/vkoul/slave-dma:
    dmaengine: Cleanups for the slave channel symlink support
    dmaengine: fix null ptr check for __dma_async_device_channel_register()
    dmaengine: idxd: fix boolconv.cocci warnings
    dmaengine: Fix return value for dma_request_chan() in case of failure
    dmaengine: doc: Properly indent metadata title

    Linus Torvalds
     
  • Pull iommu updates from Joerg Roedel:

    - Allow compiling the ARM-SMMU drivers as modules.

    - Fixes and cleanups for the ARM-SMMU drivers and io-pgtable code
    collected by Will Deacon. The merge-commit (6855d1ba7537) has all the
    details.

    - Cleanup of the iommu_put_resv_regions() call-backs in various
    drivers.

    - AMD IOMMU driver cleanups.

    - Update for the x2APIC support in the AMD IOMMU driver.

    - Preparation patches for Intel VT-d nested mode support.

    - RMRR and identity domain handling fixes for the Intel VT-d driver.

    - More small fixes and cleanups.

    * tag 'iommu-updates-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (87 commits)
    iommu/amd: Remove the unnecessary assignment
    iommu/vt-d: Remove unnecessary WARN_ON_ONCE()
    iommu/vt-d: Unnecessary to handle default identity domain
    iommu/vt-d: Allow devices with RMRRs to use identity domain
    iommu/vt-d: Add RMRR base and end addresses sanity check
    iommu/vt-d: Mark firmware tainted if RMRR fails sanity check
    iommu/amd: Remove unused struct member
    iommu/amd: Replace two consecutive readl calls with one readq
    iommu/vt-d: Don't reject Host Bridge due to scope mismatch
    PCI/ATS: Add PASID stubs
    iommu/arm-smmu-v3: Return -EBUSY when trying to re-add a device
    iommu/arm-smmu-v3: Improve add_device() error handling
    iommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE
    iommu/arm-smmu-v3: Add second level of context descriptor table
    iommu/arm-smmu-v3: Prepare for handling arm_smmu_write_ctx_desc() failure
    iommu/arm-smmu-v3: Propagate ssid_bits
    iommu/arm-smmu-v3: Add support for Substream IDs
    iommu/arm-smmu-v3: Add context descriptor tables allocators
    iommu/arm-smmu-v3: Prepare arm_smmu_s1_cfg for SSID support
    ACPI/IORT: Parse SSID property of named component node
    ...

    Linus Torvalds
     
  • Pull xen updates from Juergen Gross:

    - fix a bug introduced in 5.5 in the Xen gntdev driver

    - fix the Xen balloon driver when running on ancient Xen versions

    - allow Xen stubdoms to control interrupt enable flags of
    passed-through PCI cards

    - release resources in Xen backends under memory pressure

    * tag 'for-linus-5.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    xen/blkback: Consistently insert one empty line between functions
    xen/blkback: Remove unnecessary static variable name prefixes
    xen/blkback: Squeeze page pools if a memory pressure is detected
    xenbus/backend: Protect xenbus callback with lock
    xenbus/backend: Add memory pressure handler callback
    xen/gntdev: Do not use mm notifiers with autotranslating guests
    xen/balloon: Support xend-based toolstack take two
    xen-pciback: optionally allow interrupt enable flag writes

    Linus Torvalds
     
  • Pull devicetree fixes from Rob Herring:

    - Fix incorrect $id paths in schemas

    - Two fixes for Intel LGM SoC binding schemas

    * tag 'devicetree-fixes-for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    dt-bindings: Fix paths in schema $id fields
    dt-bindings: PCI: intel: Fix dt_binding_check compilation failure
    dt-bindings: phy: Fix errors in intel,lgm-emmc-phy example

    Linus Torvalds
     
  • Pull more s390 updates from Vasily Gorbik:
    "The second round of s390 fixes and features for 5.6:

    - Add KPROBES_ON_FTRACE support

    - Add EP11 AES secure keys support

    - PAES rework and prerequisites for paes-s390 ciphers selftests

    - Fix page table upgrade for hugetlbfs"

    * tag 's390-5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
    s390/pkey/zcrypt: Support EP11 AES secure keys
    s390/zcrypt: extend EP11 card and queue sysfs attributes
    s390/zcrypt: add new low level ep11 functions support file
    s390/zcrypt: ep11 structs rework, export zcrypt_send_ep11_cprb
    s390/zcrypt: enable card/domain autoselect on ep11 cprbs
    s390/crypto: enable clear key values for paes ciphers
    s390/pkey: Add support for key blob with clear key value
    s390/crypto: Rework on paes implementation
    s390: support KPROBES_ON_FTRACE
    s390/mm: fix dynamic pagetable upgrade for hugetlbfs

    Linus Torvalds
     
  • Update projects URLs in the changes.rst file.

    Signed-off-by: Randy Dunlap
    Reviewed-by: Darrick J. Wong
    Acked-by: Theodore Ts'o
    Link: https://lore.kernel.org/r/a9c3c509-8f30-fcc4-d9e0-b53aeaa89e4f@infradead.org
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     
  • Fix for several documentation build warnings related to missing blank lines
    after explicit mark up.

    Exact warning message:
    WARNING: Explicit markup ends without a blank line; unexpected unindent.

    Signed-off-by: Sameer Rahmani
    Link: https://lore.kernel.org/r/20200203201543.24834-1-lxsameer@gnu.org
    Signed-off-by: Jonathan Corbet

    Sameer Rahmani
     
  • Signed-off-by: SeongJae Park
    Link: https://lore.kernel.org/r/20200131205237.29535-5-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     
  • Commit 0ea6e6112219 ("Documentation: update broken web addresses.")
    removed a link to 'http://patchwork.ozlabs.org' in howto, but the change
    has not applied to the Korean translation. This commit simply applies
    the change to the Korean translation. The link is restored now, though.

    Signed-off-by: SeongJae Park
    Link: https://lore.kernel.org/r/20200131205237.29535-4-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     
  • Commit 2e4f5382d12a ("locking/doc: Rename LOCK/UNLOCK to
    ACQUIRE/RELEASE") has not appied to 'spinlock.rst'. This commit updates
    the doc for the change.

    Signed-off-by: SeongJae Park
    Link: https://lore.kernel.org/r/20200131205237.29535-2-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     

05 Feb, 2020

6 commits

  • …/kvms390/linux into HEAD

    KVM: s390: Fixes and cleanups for 5.6
    - fix register corruption
    - ENOTSUPP/EOPNOTSUPP mixed
    - reset cleanups/fixes
    - selftests

    Paolo Bonzini
     
  • As the bootconfig is appended to the initrd it is not as easy to modify as
    the kernel command line. If there's some issue with the kernel, and the
    developer wants to boot a pristine kernel, it should not be needed to modify
    the initrd to remove the bootconfig for a single boot.

    As bootconfig is silently added (if the admin does not know where to look
    they may not know it's being loaded). It should be explicitly added to the
    kernel cmdline. The loading of the bootconfig is only done if "bootconfig"
    is on the kernel command line. This will let admins know that the kernel
    command line is extended.

    Note, after adding printk()s for when the size is too great or the checksum
    is wrong, exposed that the current method always looked for the boot config,
    and if this size and checksum matched, it would parse it (as if either is
    wrong a printk has been added to show this). It's better to only check this
    if the boot config is asked to be looked for.

    Link: https://lore.kernel.org/r/CAHk-=wjfjO+h6bQzrTf=YCZA53Y3EDyAs3Z4gEsT7icA3u_Psw@mail.gmail.com

    Acked-by: Masami Hiramatsu
    Suggested-by: Linus Torvalds
    Signed-off-by: Steven Rostedt (VMware)

    Steven Rostedt (VMware)
     
  • The $id path checks were inadequately checking the path part of the $id
    value. With the check fixed, there's a number of errors that need to be
    fixed. Most of the errors are including 'bindings/' in the path which
    should not be as that is considered the root.

    Cc: Andy Gross
    Cc: Bjorn Andersson
    Cc: Manivannan Sadhasivam
    Cc: Michael Turquette
    Cc: Shawn Guo
    Cc: Sascha Hauer
    Cc: Pengutronix Kernel Team
    Cc: Fabio Estevam
    Cc: NXP Linux Team
    Cc: Maxime Coquelin
    Cc: Alexandre Torgue
    Cc: "Nuno Sá"
    Cc: Jean Delvare
    Cc: Stefan Popa
    Cc: Jonathan Cameron
    Cc: Hartmut Knaack
    Cc: Lars-Peter Clausen
    Cc: Peter Meerwald-Stadler
    Cc: Marcus Folkesson
    Cc: Kent Gustavsson
    Cc: Dmitry Torokhov
    Cc: linux-clk@vger.kernel.org
    Cc: linux-iio@vger.kernel.org
    Cc: linux-input@vger.kernel.org
    Reviewed-by: Guenter Roeck
    Reviewed-by: Stephen Boyd
    Signed-off-by: Rob Herring

    Rob Herring
     
  • Clean up the language in one paragraph in the PM QoS description in
    Documentation/admin-guide/pm/cpuidle.rst.

    Signed-off-by: Rafael J. Wysocki

    Rafael J. Wysocki
     
  • Remove dependency as
    it is not present in the mainline tree. Use numeric value
    instead of LGM_GCLK_PCIE10 macro.

    Signed-off-by: Dilip Kota
    [robh: Also drop interrupt-parent from example]
    Signed-off-by: Rob Herring

    Dilip Kota
     
  • DT labels can't have '-' in them causing a compile failure in the example.
    Fixing that leads to more warnings:

    Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:23.13-33: Warning (reg_format): /example-0/chiptop@e0200000/emmc-phy@a8:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
    Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
    Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
    Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
    Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:21.33-26.13: Warning (avoid_default_addr_size): /example-0/chiptop@e0200000/emmc-phy@a8: Relying on default #address-cells value
    Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:21.33-26.13: Warning (avoid_default_addr_size): /example-0/chiptop@e0200000/emmc-phy@a8: Relying on default #size-cells value

    Fixes: 5bc999108025 ("dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY")
    Cc: Ramuthevar Vadivel Murugan
    Cc: Dafna Hirschfeld
    Cc: Kishon Vijay Abraham I
    Signed-off-by: Rob Herring

    Rob Herring
     

04 Feb, 2020

4 commits

  • Pull networking fixes from David Miller:

    1) Use after free in rxrpc_put_local(), from David Howells.

    2) Fix 64-bit division error in mlxsw, from Nathan Chancellor.

    3) Make sure we clear various bits of TCP state in response to
    tcp_disconnect(). From Eric Dumazet.

    4) Fix netlink attribute policy in cls_rsvp, from Eric Dumazet.

    5) txtimer must be deleted in stmmac suspend(), from Nicolin Chen.

    6) Fix TC queue mapping in bnxt_en driver, from Michael Chan.

    7) Various netdevsim fixes from Taehee Yoo (use of uninitialized data,
    snapshot panics, stack out of bounds, etc.)

    8) cls_tcindex changes hash table size after allocating the table, fix
    from Cong Wang.

    9) Fix regression in the enforcement of session ID uniqueness in l2tp.
    We only have to enforce uniqueness for IP based tunnels not UDP
    ones. From Ridge Kennedy.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (46 commits)
    gtp: use __GFP_NOWARN to avoid memalloc warning
    l2tp: Allow duplicate session creation with UDP
    r8152: Add MAC passthrough support to new device
    net_sched: fix an OOB access in cls_tcindex
    qed: Remove set but not used variable 'p_link'
    tc-testing: add missing 'nsPlugin' to basic.json
    tc-testing: fix eBPF tests failure on linux fresh clones
    net: hsr: fix possible NULL deref in hsr_handle_frame()
    netdevsim: remove unused sdev code
    netdevsim: use __GFP_NOWARN to avoid memalloc warning
    netdevsim: use IS_ERR instead of IS_ERR_OR_NULL for debugfs
    netdevsim: fix stack-out-of-bounds in nsim_dev_debugfs_init()
    netdevsim: fix panic in nsim_dev_take_snapshot_write()
    netdevsim: disable devlink reload when resources are being used
    netdevsim: fix using uninitialized resources
    bnxt_en: Fix TC queue mapping.
    bnxt_en: Fix logic that disables Bus Master during firmware reset.
    bnxt_en: Fix RDMA driver failure with SRIOV after firmware reset.
    bnxt_en: Refactor logic to re-enable SRIOV after firmware reset detected.
    net: stmmac: Delete txtimer in suspend()
    ...

    Linus Torvalds
     
  • Pull powerpc updates from Michael Ellerman:
    "A pretty small batch for us, and apologies for it being a bit late, I
    wanted to sneak Christophe's user_access_begin() series in.

    Summary:

    - Implement user_access_begin() and friends for our platforms that
    support controlling kernel access to userspace.

    - Enable CONFIG_VMAP_STACK on 32-bit Book3S and 8xx.

    - Some tweaks to our pseries IOMMU code to allow SVMs ("secure"
    virtual machines) to use the IOMMU.

    - Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE to the 32-bit
    VDSO, and some other improvements.

    - A series to use the PCI hotplug framework to control opencapi
    card's so that they can be reset and re-read after flashing a new
    FPGA image.

    As well as other minor fixes and improvements as usual.

    Thanks to: Alastair D'Silva, Alexandre Ghiti, Alexey Kardashevskiy,
    Andrew Donnellan, Aneesh Kumar K.V, Anju T Sudhakar, Bai Yingjie, Chen
    Zhou, Christophe Leroy, Frederic Barrat, Greg Kurz, Jason A.
    Donenfeld, Joel Stanley, Jordan Niethe, Julia Lawall, Krzysztof
    Kozlowski, Laurent Dufour, Laurentiu Tudor, Linus Walleij, Michael
    Bringmann, Nathan Chancellor, Nicholas Piggin, Nick Desaulniers,
    Oliver O'Halloran, Peter Ujfalusi, Pingfan Liu, Ram Pai, Randy Dunlap,
    Russell Currey, Sam Bobroff, Sebastian Andrzej Siewior, Shawn
    Anastasio, Stephen Rothwell, Steve Best, Sukadev Bhattiprolu, Thiago
    Jung Bauermann, Tyrel Datwyler, Vaibhav Jain"

    * tag 'powerpc-5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (131 commits)
    powerpc: configs: Cleanup old Kconfig options
    powerpc/configs/skiroot: Enable some more hardening options
    powerpc/configs/skiroot: Disable xmon default & enable reboot on panic
    powerpc/configs/skiroot: Enable security features
    powerpc/configs/skiroot: Update for symbol movement only
    powerpc/configs/skiroot: Drop default n CONFIG_CRYPTO_ECHAINIV
    powerpc/configs/skiroot: Drop HID_LOGITECH
    powerpc/configs: Drop NET_VENDOR_HP which moved to staging
    powerpc/configs: NET_CADENCE became NET_VENDOR_CADENCE
    powerpc/configs: Drop CONFIG_QLGE which moved to staging
    powerpc: Do not consider weak unresolved symbol relocations as bad
    powerpc/32s: Fix kasan_early_hash_table() for CONFIG_VMAP_STACK
    powerpc: indent to improve Kconfig readability
    powerpc: Provide initial documentation for PAPR hcalls
    powerpc: Implement user_access_save() and user_access_restore()
    powerpc: Implement user_access_begin and friends
    powerpc/32s: Prepare prevent_user_access() for user_access_end()
    powerpc/32s: Drop NULL addr verification
    powerpc/kuap: Fix set direction in allow/prevent_user_access()
    powerpc/32s: Fix bad_kuap_fault()
    ...

    Linus Torvalds
     
  • Pull remoteproc updates from Bjorn Andersson:
    "This adds support for the Mediatek MT8183 SCP, modem remoteproc on
    Qualcomm SC7180 platform, audio and sensor remoteprocs on Qualcomm
    MSM8998 and audio, compute, modem and sensor remoteprocs on Qualcomm
    SM8150.

    It adds votes for necessary power-domains for all Qualcomm TrustZone
    based remoteproc instances are held, fixes a bug related to remoteproc
    drivers registering before the core has been initialized and does
    clean up the Qualcomm modem remoteproc driver"

    * tag 'rproc-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc: (21 commits)
    remoteproc: qcom: q6v5-mss: Improve readability of reset_assert
    remoteproc: qcom: q6v5-mss: Use regmap_read_poll_timeout
    remoteproc: qcom: q6v5-mss: Rename boot status timeout
    remoteproc: qcom: q6v5-mss: Improve readability across clk handling
    remoteproc: use struct_size() helper
    remoteproc: Initialize rproc_class before use
    rpmsg: add rpmsg support for mt8183 SCP.
    remoteproc/mediatek: add SCP support for mt8183
    dt-bindings: Add a binding for Mediatek SCP
    remoteproc: mss: q6v5-mss: Add modem support on SC7180
    dt-bindings: remoteproc: qcom: Add Q6V5 Modem PIL binding for SC7180
    remoteproc: qcom: pas: Add MSM8998 ADSP and SLPI support
    dt-bindings: remoteproc: qcom: Add ADSP and SLPI support for MSM8998 SoC
    remoteproc: q6v5-mss: Remove mem clk from the active pool
    remoteproc: qcom: Remove unneeded semicolon
    remoteproc: qcom: pas: Add auto_boot flag
    remoteproc: qcom: pas: Add SM8150 ADSP, CDSP, Modem and SLPI support
    dt-bindings: remoteproc: qcom: SM8150 Add ADSP, CDSP, MPSS and SLPI support
    remoteproc: qcom: pas: Vote for active/proxy power domains
    dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5 PAS
    ...

    Linus Torvalds
     
  • Merge more updates from Andrew Morton:
    "The rest of MM and the rest of everything else: hotfixes, ipc, misc,
    procfs, lib, cleanups, arm"

    * emailed patches from Andrew Morton : (67 commits)
    ARM: dma-api: fix max_pfn off-by-one error in __dma_supported()
    treewide: remove redundant IS_ERR() before error code check
    include/linux/cpumask.h: don't calculate length of the input string
    lib: new testcases for bitmap_parse{_user}
    lib: rework bitmap_parse()
    lib: make bitmap_parse_user a wrapper on bitmap_parse
    lib: add test for bitmap_parse()
    bitops: more BITS_TO_* macros
    lib/string: add strnchrnul()
    proc: convert everything to "struct proc_ops"
    proc: decouple proc from VFS with "struct proc_ops"
    asm-generic/tlb: provide MMU_GATHER_TABLE_FREE
    asm-generic/tlb: rename HAVE_MMU_GATHER_NO_GATHER
    asm-generic/tlb: rename HAVE_MMU_GATHER_PAGE_SIZE
    asm-generic/tlb: rename HAVE_RCU_TABLE_FREE
    asm-generic/tlb: add missing CONFIG symbol
    asm-gemeric/tlb: remove stray function declarations
    asm-generic/tlb: avoid potential double flush
    mm/mmu_gather: invalidate TLB correctly on batch allocation failure and flush
    powerpc/mmu_gather: enable RCU_TABLE_FREE even for !SMP case
    ...

    Linus Torvalds