15 Dec, 2019

3 commits

  • Pull SCSI fixes from James Bottomley:
    "24 fixes, all in drivers. The lion's share (16) are qla2xxx and the
    rest are iscsi (3), ufs (2), smarpqi, lpfc and libsas"

    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (24 commits)
    scsi: iscsi: Avoid potential deadlock in iscsi_if_rx func
    scsi: iscsi: Fix a potential deadlock in the timeout handler
    scsi: smartpqi: Update attribute name to `driver_version`
    scsi: libsas: stop discovering if oob mode is disconnected
    scsi: ufs: Disable autohibern8 feature in Cadence UFS
    scsi: iscsi: qla4xxx: fix double free in probe
    scsi: ufs: Give an unique ID to each ufs-bsg
    scsi: qla2xxx: Add debug dump of LOGO payload and ELS IOCB
    scsi: qla2xxx: Ignore PORT UPDATE after N2N PLOGI
    scsi: qla2xxx: Don't defer relogin unconditonally
    scsi: qla2xxx: Send Notify ACK after N2N PLOGI
    scsi: qla2xxx: Configure local loop for N2N target
    scsi: qla2xxx: Fix PLOGI payload and ELS IOCB dump length
    scsi: qla2xxx: Don't call qlt_async_event twice
    scsi: qla2xxx: Allow PLOGI in target mode
    scsi: qla2xxx: Change discovery state before PLOGI
    scsi: qla2xxx: Drop superfluous INIT_WORK of del_work
    scsi: qla2xxx: Initialize free_work before flushing it
    scsi: qla2xxx: Use explicit LOGO in target mode
    scsi: qla2xxx: Ignore NULL pointer in tcm_qla2xxx_free_mcmd
    ...

    Linus Torvalds
     
  • Pull staging/IIO fixes from Greg KH:
    "Here are a number of small staging and IIO driver fixes for reported
    issues for 5.5-rc2

    Nothing major, a bunch of tiny IIO driver issues resolved, and some
    staging driver fixes for things that people ran into with 5.5-rc1.
    Full details are in the shortlog.

    All of these have been in linux-next with no reported issues"

    * tag 'staging-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (28 commits)
    fbtft: Fix the initialization from property algorithm
    staging: rtl8712: fix interface sanity check
    staging: rtl8188eu: fix interface sanity check
    staging: gigaset: add endpoint-type sanity check
    staging: gigaset: fix illegal free on probe errors
    staging: gigaset: fix general protection fault on probe
    staging: vchiq: call unregister_chrdev_region() when driver registration fails
    staging: exfat: fix multiple definition error of `rename_file'
    staging/wlan-ng: add CRC32 dependency in Kconfig
    staging: hp100: Fix build error without ETHERNET
    staging: fbtft: Do not hardcode SPI CS polarity inversion
    staging: exfat: properly support discard in clr_alloc_bitmap()
    staging/octeon: Mark Ethernet driver as BROKEN
    iio: adc: max9611: Fix too short conversion time delay
    iio: ad7949: fix channels mixups
    iio: imu: st_lsm6dsx: do not power-off accel if events are enabled
    iio: imu: st_lsm6dsx: track hw FIFO buffering with fifo_mask
    iio: imu: st_lsm6dsx: fix decimation factor estimation
    iio: imu: inv_mpu6050: fix temperature reporting using bad unit
    iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
    ...

    Linus Torvalds
     
  • Pull overlayfs fixes from Miklos Szeredi:
    "Fix some bugs and documentation"

    * tag 'ovl-fixes-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
    docs: filesystems: overlayfs: Fix restview warnings
    docs: filesystems: overlayfs: Rename overlayfs.txt to .rst
    ovl: relax WARN_ON() on rename to self
    ovl: fix corner case of non-unique st_dev;st_ino
    ovl: don't use a temp buf for encoding real fh
    ovl: make sure that real fid is 32bit aligned in memory
    ovl: fix lookup failure on multi lower squashfs

    Linus Torvalds
     

14 Dec, 2019

3 commits

  • Pull Devicetree fixes from Rob Herring:

    - Fix for dependency tracking caused by unittest interaction

    - Fix some schema errors in Tegra memory controller schema

    - Update Maxime Ripard's email address

    - Review fixes to TI cpsw-switch

    - Add wakeup-source prop for STM32 rproc. Got dropped in the schema
    conversion.

    * tag 'devicetree-fixes-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    of/platform: Unconditionally pause/resume sync state during kernel init
    dt-bindings: memory-controllers: tegra: Fix type references
    dt-bindings: Change maintainer address
    dt-bindings: net: ti: cpsw-switch: update to fix comments
    dt-bindings: remoteproc: stm32: add wakeup-source property

    Linus Torvalds
     
  • Pull device mapper fixes from Mike Snitzer:

    - Fix DM multipath by restoring full path selector functionality for
    bio-based configurations that don't haave a SCSI device handler.

    - Fix dm-btree removal to ensure non-root btree nodes have at least
    (max_entries / 3) entries. This resolves userspace thin_check
    utility's report of "too few entries in btree_node".

    - Fix both the DM thin-provisioning and dm-clone targets to properly
    flush the data device prior to metadata commit. This resolves the
    potential for inconsistency across a power loss event when the data
    device has a volatile writeback cache.

    - Small documentation fixes to dm-clone and dm-integrity.

    * tag 'for-5.5/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    docs: dm-integrity: remove reference to ARC4
    dm thin: Flush data device before committing metadata
    dm thin metadata: Add support for a pre-commit callback
    dm clone: Flush destination device before committing metadata
    dm clone metadata: Use a two phase commit
    dm clone metadata: Track exact changes per transaction
    dm btree: increase rebalance threshold in __rebalance2()
    dm: add dm-clone to the documentation index
    dm mpath: remove harmful bio-based optimization

    Linus Torvalds
     
  • Pull FIELD_SIZEOF conversion from Kees Cook:
    "A mostly mechanical treewide conversion from FIELD_SIZEOF() to
    sizeof_field(). This avoids the redundancy of having 2 macros
    (actually 3) doing the same thing, and consolidates on sizeof_field().
    While "field" is not an accurate name, it is the common name used in
    the kernel, and doesn't result in any unintended innuendo.

    As there are still users of FIELD_SIZEOF() in -next, I will clean up
    those during this coming development cycle and send the final old
    macro removal patch at that time"

    * tag 'sizeof_field-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
    treewide: Use sizeof_field() macro
    MIPS: OCTEON: Replace SIZEOF_FIELD() macro

    Linus Torvalds
     

13 Dec, 2019

2 commits

  • Json-schema requires a $ref to be under an 'allOf' if there are
    additional constraints otherwise the additional constraints are
    ignored. (Note that this behavior will be changed in draft8.)

    Fixes: 641262f5e1ed ("dt-bindings: memory: Add binding for NVIDIA Tegra30 External Memory Controller")
    Fixes: 785685b7a106 ("dt-bindings: memory: Add binding for NVIDIA Tegra30 Memory Controller")
    Fixes: 8da65c377b21 ("dt-bindings: memory: tegra30: Convert to Tegra124 YAML")
    Cc: Thierry Reding
    Cc: Jonathan Hunter
    Cc: linux-tegra@vger.kernel.org
    Reviewed-by: Dmitry Osipenko
    Signed-off-by: Rob Herring

    Rob Herring
     
  • While my email address has changed for a while, all the schemas I
    contributed still have the old one unfortunately. Update it.

    Signed-off-by: Maxime Ripard
    Signed-off-by: Rob Herring

    Maxime Ripard
     

12 Dec, 2019

1 commit

  • Pull erofs fixes from Gao Xiang:
    "Mainly address a regression reported by David recently observed
    together with overlayfs due to the improper return value of
    listxattr() without xattr. Update outdated expressions in document as
    well.

    Summary:

    - Fix improper return value of listxattr() with no xattr

    - Keep up documentation with latest code"

    * tag 'erofs-for-5.5-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
    erofs: update documentation
    erofs: zero out when listxattr is called with no xattr

    Linus Torvalds
     

11 Dec, 2019

2 commits


10 Dec, 2019

5 commits


09 Dec, 2019

3 commits

  • …jic23/iio into staging-linus

    Jonathan writes:

    First set of fixes for IIO in the 5.5 cycle.

    Mixture of old things people have just hit, and a few late breaking
    issues with things that went in during the merge window.

    Being sent promptly to resolve potential DT breakage causing
    issues for binding test builds.

    * ad7606
    - Avoid reading extra data from the device over what was intended.
    * ad7124
    - Enable the internal reference when in use.
    * ad7292
    - Fix up license for newly added binding. Better to not have this go
    out in a release with more limited header than intended.
    - Fix a constraint on number of channels.
    * ad7949
    - Fix an issue which can result in readouts being from the wrong channel.
    * hdc100x
    - Fix wrong ABI usage (units) for relative humidity channel.
    * intel mrfld
    - Allocate right amount of private data (currently allocating too much).
    * ltc2983
    - Avoid a potential issue with machine endianness and wrong length device
    tree read.
    * max1027
    - Clean up leak of an iio_trigger on probe failure.
    * max9611
    - Ensure we sleep long enough to successfully initialize the sensor.
    * mpu6050
    - Fix wrong ABI usage (units) for temperature channel.
    * st_accel
    - Fix an unused variable warning.
    * st_lsm6dsx
    - Fix decimation factor issue that can lead to missaligned datasets
    (and hence garbage)
    - Fix an issue with how we track enabled fifo channels.
    - Avoid powering off the device if wake up events are enabled.

    * tag 'iio-fixes-for-5.5a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
    iio: adc: max9611: Fix too short conversion time delay
    iio: ad7949: fix channels mixups
    iio: imu: st_lsm6dsx: do not power-off accel if events are enabled
    iio: imu: st_lsm6dsx: track hw FIFO buffering with fifo_mask
    iio: imu: st_lsm6dsx: fix decimation factor estimation
    iio: imu: inv_mpu6050: fix temperature reporting using bad unit
    iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
    iio: adc: max1027: fix not unregistered iio trigger
    iio: adc: intel_mrfld_adc: Allocating too much data in probe()
    iio: adc: ad7124: Enable internal reference
    dt-bindings: iio: adc: ad7292: fix constraint over channel quantity
    dt-bindings: iio: adc: ad7292: Update SPDX identifier
    iio: temperature: ltc2983: fix u32 read into a unsigned long long
    iio: st_accel: Fix unused variable warning
    iio: adc: ad7606: fix reading unnecessary data from device

    Greg Kroah-Hartman
     
  • Change items property of AD7292 channels to correctly constrain their
    quantity.

    Signed-off-by: Marcelo Schmitt
    Signed-off-by: Jonathan Cameron

    Marcelo Schmitt
     
  • Update SPDX identifier to the preferred dual GPL-2.0 OR BSD-2-Clause
    licensing.

    Signed-off-by: Marcelo Schmitt
    Signed-off-by: Jonathan Cameron

    Marcelo Schmitt
     

08 Dec, 2019

1 commit

  • Some on-disk structures, fields have been renamed in v5.4,
    the corresponding document should be updated as well.

    Also fix misrespresentation of file time and words about
    fixed-sized output compression, data inline, etc.

    Link: https://lore.kernel.org/r/20191207025509.6614-1-hsiangkao@aol.com/
    Signed-off-by: Gao Xiang

    Gao Xiang
     

07 Dec, 2019

2 commits

  • Pull more powerpc updates from Michael Ellerman:
    "A few commits splitting the KASAN instrumented bitops header in three,
    to match the split of the asm-generic bitops headers.

    This is needed on powerpc because we use the generic bitops for the
    non-atomic case only, whereas the existing KASAN instrumented bitops
    assume all the underlying operations are provided by the arch as
    arch_foo() versions.

    Thanks to: Daniel Axtens & Christophe Leroy"

    * tag 'powerpc-5.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
    docs/core-api: Remove possibly confusing sub-headings from Bit Operations
    powerpc: support KASAN instrumentation of bitops
    kasan: support instrumented bitops combined with generic bitops

    Linus Torvalds
     
  • Pull more drm updates from Dave Airlie:
    "Rob pointed out I missed his pull request for msm-next, it's been in
    next for a while outside of my tree so shouldn't cause any unexpected
    issues, it has some OCMEM support in drivers/soc that is acked by
    other maintainers as it's outside my tree.

    Otherwise it's a usual fixes pull, i915, amdgpu, the main ones, with
    some tegra, omap, mgag200 and one core fix.

    Summary:

    msm-next:
    - OCMEM support for a3xx and a4xx GPUs.
    - a510 support + display support

    core:
    - mst payload deletion fix

    i915:
    - uapi alignment fix
    - fix for power usage regression due to security fixes
    - change default preemption timeout to 640ms from 100ms
    - EHL voltage level display fixes
    - TGL DGL PHY fix
    - gvt - MI_ATOMIC cmd parser fix, CFL non-priv warning
    - CI spotted deadlock fix
    - EHL port D programming fix

    amdgpu:
    - VRAM lost fixes on BACO for CI/VI
    - navi14 DC fixes
    - misc SR-IOV, gfx10 fixes
    - XGMI fixes for arcturus
    - SRIOV fixes

    amdkfd:
    - KFD on ppc64le enabled
    - page table optimisations

    radeon:
    - fix for r1xx/2xx register checker.

    tegra:
    - displayport regression fixes
    - DMA API regression fixes

    mgag200:
    - fix devices that can't scanout except at 0 addr

    omap:
    - fix dma_addr refcounting"

    * tag 'drm-next-2019-12-06' of git://anongit.freedesktop.org/drm/drm: (100 commits)
    drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()
    drm/omap: fix dma_addr refcounting
    drm/tegra: Run hub cleanup on ->remove()
    drm/tegra: sor: Make the +5V HDMI supply optional
    drm/tegra: Silence expected errors on IOMMU attach
    drm/tegra: vic: Export module device table
    drm/tegra: sor: Implement system suspend/resume
    drm/tegra: Use proper IOVA address for cursor image
    drm/tegra: gem: Remove premature import restrictions
    drm/tegra: gem: Properly pin imported buffers
    drm/tegra: hub: Remove bogus connection mutex check
    ia64: agp: Replace empty define with do while
    agp: Add bridge parameter documentation
    agp: remove unused variable num_segments
    agp: move AGPGART_MINOR to include/linux/miscdevice.h
    agp: remove unused variable size in agp_generic_create_gatt_table
    drm/dp_mst: Fix build on systems with STACKTRACE_SUPPORT=n
    drm/radeon: fix r1xx/r2xx register checker for POT textures
    drm/amdgpu: fix GFX10 missing CSIB set(v3)
    drm/amdgpu: should stop GFX ring in hw_fini
    ...

    Linus Torvalds
     

06 Dec, 2019

5 commits

  • Pull ARM Device-tree updates from Olof Johansson:
    "As always, the bulk of updates. Some of the news this cycle:

    New SoC descriptions:
    - Broadcom BCM2711
    - Amlogic Meson A1 and G12
    - Freescale S32V234
    - Marvell Armada AP807/AP807-quad and CP115
    - Realtek RTD1293 and RTD1296
    - Rockchip RK3308

    New boards and platforms:
    - Allwinner: NanoPi Duo2
    - Amlogic: Ugoos am6
    - Atmel at91: Overkiz Kizbox2/4
    - Broadcom: RPi4, Luxul XWC-2000
    - Marvell: New Espressobin flavor
    - NXP: i.MX8MN LPDDR4 EVK, i.MX8QXP Colibri, S32V234 EVB, Netronix
    E60K02 and Kobo Clara HD, Kontron N6311 and N6411, OPOS6UL and
    OPOS6ULDev
    - Renesas: Salvator-XS
    - Rockchip: Beelink A1 (rk3308), rk3308 eval boards, rk3399-roc-pc"

    * tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (653 commits)
    ARM: dts: logicpd-torpedo: Disable USB Host
    arm: dts: mt6323: add keys, power-controller, rtc and codec
    arm64: dts: mt8183: add systimer0 device node
    dt-bindings: mediatek: update bindings for MT8183 systimer
    arm64: dts: rockchip: fix sdmmc detection on boot on rk3328-roc-cc
    arm64: dts: rockchip: Split rk3399-roc-pc for with and without mezzanine board.
    arm64: dts: rockchip: Add Beelink A1
    dt-bindings: ARM: rockchip: Add Beelink A1
    arm64: dts: rockchip: Add RK3328 audio pipelines
    arm64: dts: ti: k3-j721e-common-proc-board: Add USB ports
    arm64: dts: ti: k3-j721e-main: add USB controller nodes
    ARM: dts: aspeed-g6: Add timer description
    ARM: dts: aspeed: ast2600evb: Enable i2c buses
    ARM: dts: at91: add a dts and dtsi file for kizbox2 based boards
    dt-bindings: arm: at91: Document Kizbox2-2 board binding
    arm64: dts: meson-gx: fix i2c compatible
    arm64: dts: meson-gx: cec node should be disabled by default
    arm64: dts: meson-g12b-odroid-n2: add missing amlogic, s922x compatible
    arm64: dts: meson-gxm: fix gpu irq order
    arm64: dts: meson-g12a: fix gpu irq order
    ...

    Linus Torvalds
     
  • Pull ARM SoC driver updates from Olof Johansson:
    "Various driver updates for platforms:

    - A larger set of work on Tegra 2/3 around memory controller and
    regulator features, some fuse cleanups, etc..

    - MMP platform drivers, in particular for USB PHY, and other smaller
    additions.

    - Samsung Exynos 5422 driver for DMC (dynamic memory configuration),
    and ASV (adaptive voltage), allowing the platform to run at more
    optimal operating points.

    - Misc refactorings and support for RZ/G2N and R8A774B1 from Renesas

    - Clock/reset control driver for TI/OMAP

    - Meson-A1 reset controller support

    - Qualcomm sdm845 and sda845 SoC IDs for socinfo"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (150 commits)
    firmware: arm_scmi: Fix doorbell ring logic for !CONFIG_64BIT
    soc: fsl: add RCPM driver
    dt-bindings: fsl: rcpm: Add 'little-endian' and update Chassis definition
    memory: tegra: Consolidate registers definition into common header
    memory: tegra: Ensure timing control debug features are disabled
    memory: tegra: Introduce Tegra30 EMC driver
    memory: tegra: Do not handle error from wait_for_completion_timeout()
    memory: tegra: Increase handshake timeout on Tegra20
    memory: tegra: Print a brief info message about EMC timings
    memory: tegra: Pre-configure debug register on Tegra20
    memory: tegra: Include io.h instead of iopoll.h
    memory: tegra: Adapt for Tegra20 clock driver changes
    memory: tegra: Don't set EMC rate to maximum on probe for Tegra20
    memory: tegra: Add gr2d and gr3d to DRM IOMMU group
    memory: tegra: Set DMA mask based on supported address bits
    soc: at91: Add Atmel SFR SN (Serial Number) support
    memory: atmel-ebi: switch to SPDX license identifiers
    memory: atmel-ebi: move NUM_CS definition inside EBI driver
    soc: mediatek: Refactor bus protection control
    soc: mediatek: Refactor sram control
    ...

    Linus Torvalds
     
  • …erry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "Various changes and minor fixes across a couple of drivers"

    * tag 'pwm/for-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
    pwm: stm32: Pass breakinput instead of its values
    pwm: stm32: Remove clutter from ternary operator
    pwm: stm32: Validate breakinput data from DT
    pwm: Update comment on struct pwm_ops::apply
    pwm: sun4i: Fix incorrect calculation of duty_cycle/period
    pwm: stm32: Add power management support
    pwm: stm32: Split breakinput apply routine to ease PM support
    dt-bindings: pwm-stm32: Document pinctrl sleep state
    pwm: sun4i: Drop redundant assignment to variable pval
    dt-bindings: pwm: mediatek: Remove gratuitous compatible string for MT7629

    Linus Torvalds
     
  • Pull thermal management updates from Zhang Rui:

    - Fix a deadlock regression in thermal core framework, which was
    introduced in 5.3 (Wei Wang)

    - Initialize thermal control framework earlier to enable thermal
    mitigation during boot (Amit Kucheria)

    - Convert the Intelligent Power Allocator (IPA) thermal governor to
    follow the generic PM_EM instead of its own Energy Model (Quentin
    Perret)

    - Introduce a new Amlogic soc thermal driver (Guillaume La Roque)

    - Add interrupt support for tsens thermal driver (Amit Kucheria)

    - Add support for MSM8956/8976 in tsens thermal driver
    (AngeloGioacchino Del Regno)

    - Add support for r8a774b1 in rcar thermal driver (Biju Das)

    - Add support for Thermal Monitor Unit v2 in qoriq thermal driver
    (Yuantian Tang)

    - Some other fixes/cleanups on thermal core framework and soc thermal
    drivers (Colin Ian King, Daniel Lezcano, Hsin-Yi Wang, Tian Tao)

    * 'thermal/next' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux: (32 commits)
    thermal: Fix deadlock in thermal thermal_zone_device_check
    thermal: cpu_cooling: Migrate to using the EM framework
    thermal: cpu_cooling: Make the power-related code depend on IPA
    PM / EM: Declare EM data types unconditionally
    arm64: defconfig: Enable CONFIG_ENERGY_MODEL
    drivers: thermal: tsens: fix potential integer overflow on multiply
    thermal: cpu_cooling: Reorder the header file
    thermal: cpu_cooling: Remove pointless dependency on CONFIG_OF
    thermal: no need to set .owner when using module_platform_driver
    thermal: qcom: tsens-v1: Fix kfree of a non-pointer value
    cpufreq: qcom-hw: Move driver initialization earlier
    clk: qcom: Initialize clock drivers earlier
    cpufreq: Initialize cpufreq-dt driver earlier
    cpufreq: Initialize the governors in core_initcall
    thermal: Initialize thermal subsystem earlier
    thermal: Remove netlink support
    dt: thermal: tsens: Document compatible for MSM8976/56
    thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976
    MAINTAINERS: add entry for Amlogic Thermal driver
    thermal: amlogic: Add thermal driver to support G12 SoCs
    ...

    Linus Torvalds
     
  • Merge more updates from Andrew Morton:
    "Most of the rest of MM and various other things. Some Kconfig rework
    still awaits merges of dependent trees from linux-next.

    Subsystems affected by this patch series: mm/hotfixes, mm/memcg,
    mm/vmstat, mm/thp, procfs, sysctl, misc, notifiers, core-kernel,
    bitops, lib, checkpatch, epoll, binfmt, init, rapidio, uaccess, kcov,
    ubsan, ipc, bitmap, mm/pagemap"

    * akpm: (86 commits)
    mm: remove __ARCH_HAS_4LEVEL_HACK and include/asm-generic/4level-fixup.h
    um: add support for folded p4d page tables
    um: remove unused pxx_offset_proc() and addr_pte() functions
    sparc32: use pgtable-nopud instead of 4level-fixup
    parisc/hugetlb: use pgtable-nopXd instead of 4level-fixup
    parisc: use pgtable-nopXd instead of 4level-fixup
    nds32: use pgtable-nopmd instead of 4level-fixup
    microblaze: use pgtable-nopmd instead of 4level-fixup
    m68k: mm: use pgtable-nopXd instead of 4level-fixup
    m68k: nommu: use pgtable-nopud instead of 4level-fixup
    c6x: use pgtable-nopud instead of 4level-fixup
    arm: nommu: use pgtable-nopud instead of 4level-fixup
    alpha: use pgtable-nopud instead of 4level-fixup
    gpio: pca953x: tighten up indentation
    gpio: pca953x: convert to use bitmap API
    gpio: pca953x: use input from regs structure in pca953x_irq_pending()
    gpio: pca953x: remove redundant variable and check in IRQ handler
    lib/bitmap: introduce bitmap_replace() helper
    lib/test_bitmap: fix comment about this file
    lib/test_bitmap: move exp1 and exp2 upper for others to use
    ...

    Linus Torvalds
     

05 Dec, 2019

4 commits

  • Patch series " kcov: collect coverage from usb and vhost", v3.

    This patchset extends kcov to allow collecting coverage from backgound
    kernel threads. This extension requires custom annotations for each of
    the places where coverage collection is desired. This patchset
    implements this for hub events in the USB subsystem and for vhost
    workers. See the first patch description for details about the kcov
    extension. The other two patches apply this kcov extension to USB and
    vhost.

    Examples of other subsystems that might potentially benefit from this
    when custom annotations are added (the list is based on
    process_one_work() callers for bugs recently reported by syzbot):

    1. fs: writeback wb_workfn() worker,
    2. net: addrconf_dad_work()/addrconf_verify_work() workers,
    3. net: neigh_periodic_work() worker,
    4. net/p9: p9_write_work()/p9_read_work() workers,
    5. block: blk_mq_run_work_fn() worker.

    These patches have been used to enable coverage-guided USB fuzzing with
    syzkaller for the last few years, see the details here:

    https://github.com/google/syzkaller/blob/master/docs/linux/external_fuzzing_usb.md

    This patchset has been pushed to the public Linux kernel Gerrit
    instance:

    https://linux-review.googlesource.com/c/linux/kernel/git/torvalds/linux/+/1524

    This patch (of 3):

    Add background thread coverage collection ability to kcov.

    With KCOV_ENABLE coverage is collected only for syscalls that are issued
    from the current process. With KCOV_REMOTE_ENABLE it's possible to
    collect coverage for arbitrary parts of the kernel code, provided that
    those parts are annotated with kcov_remote_start()/kcov_remote_stop().

    This allows to collect coverage from two types of kernel background
    threads: the global ones, that are spawned during kernel boot in a
    limited number of instances (e.g. one USB hub_event() worker thread is
    spawned per USB HCD); and the local ones, that are spawned when a user
    interacts with some kernel interface (e.g. vhost workers).

    To enable collecting coverage from a global background thread, a unique
    global handle must be assigned and passed to the corresponding
    kcov_remote_start() call. Then a userspace process can pass a list of
    such handles to the KCOV_REMOTE_ENABLE ioctl in the handles array field
    of the kcov_remote_arg struct. This will attach the used kcov device to
    the code sections, that are referenced by those handles.

    Since there might be many local background threads spawned from
    different userspace processes, we can't use a single global handle per
    annotation. Instead, the userspace process passes a non-zero handle
    through the common_handle field of the kcov_remote_arg struct. This
    common handle gets saved to the kcov_handle field in the current
    task_struct and needs to be passed to the newly spawned threads via
    custom annotations. Those threads should in turn be annotated with
    kcov_remote_start()/kcov_remote_stop().

    Internally kcov stores handles as u64 integers. The top byte of a
    handle is used to denote the id of a subsystem that this handle belongs
    to, and the lower 4 bytes are used to denote the id of a thread instance
    within that subsystem. A reserved value 0 is used as a subsystem id for
    common handles as they don't belong to a particular subsystem. The
    bytes 4-7 are currently reserved and must be zero. In the future the
    number of bytes used for the subsystem or handle ids might be increased.

    When a particular userspace process collects coverage by via a common
    handle, kcov will collect coverage for each code section that is
    annotated to use the common handle obtained as kcov_handle from the
    current task_struct. However non common handles allow to collect
    coverage selectively from different subsystems.

    Link: http://lkml.kernel.org/r/e90e315426a384207edbec1d6aa89e43008e4caf.1572366574.git.andreyknvl@google.com
    Signed-off-by: Andrey Konovalov
    Cc: Dmitry Vyukov
    Cc: Greg Kroah-Hartman
    Cc: Alan Stern
    Cc: "Michael S. Tsirkin"
    Cc: Jason Wang
    Cc: Arnd Bergmann
    Cc: Steven Rostedt
    Cc: David Windsor
    Cc: Elena Reshetova
    Cc: Anders Roxell
    Cc: Alexander Potapenko
    Cc: Marco Elver
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrey Konovalov
     
  • Follow the kernel conventions, rename addr_in_gen_pool to
    gen_pool_has_addr.

    [sjhuang@iluvatar.ai: fix Documentation/ too]
    Link: http://lkml.kernel.org/r/20181229015914.5573-1-sjhuang@iluvatar.ai
    Link: http://lkml.kernel.org/r/20181228083950.20398-1-sjhuang@iluvatar.ai
    Signed-off-by: Huang Shijie
    Reviewed-by: Andrew Morton
    Cc: Russell King
    Cc: Arnd Bergmann
    Cc: Greg Kroah-Hartman
    Cc: Christoph Hellwig
    Cc: Marek Szyprowski
    Cc: Robin Murphy
    Cc: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Huang Shijie
     
  • Pull more KVM updates from Paolo Bonzini:

    - PPC secure guest support

    - small x86 cleanup

    - fix for an x86-specific out-of-bounds write on a ioctl (not guest
    triggerable, data not attacker-controlled)

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    kvm: vmx: Stop wasting a page for guest_msrs
    KVM: x86: fix out-of-bounds write in KVM_GET_EMULATED_CPUID (CVE-2019-19332)
    Documentation: kvm: Fix mention to number of ioctls classes
    powerpc: Ultravisor: Add PPC_UV config option
    KVM: PPC: Book3S HV: Support reset of secure guest
    KVM: PPC: Book3S HV: Handle memory plug/unplug to secure VM
    KVM: PPC: Book3S HV: Radix changes for secure guest
    KVM: PPC: Book3S HV: Shared pages support for secure guests
    KVM: PPC: Book3S HV: Support for running secure guests
    mm: ksm: Export ksm_madvise()
    KVM x86: Move kvm cpuid support out of svm

    Linus Torvalds
     
  • Pull additional ACPI updates from Rafael Wysocki:
    "These close a nasty race condition in the ACPI memory mappings
    management code and an invalid parameter check in a library routing,
    allow GPE 0xFF to be masked via kernel command line, add a new lid
    switch blacklist entry and clean up Kconfig.

    Specifics:

    - Fix locking issue in acpi_os_map_cleanup() leading to a race
    condition that can be harnessed for provoking a kernel panic from
    user space (Francesco Ruggeri)

    - Fix parameter check in acpi_bus_get_private_data() (Vamshi K
    Sthambamkadi)

    - Allow GPE 0xFF to be masked via kernel command line (Yunfeng Ye)

    - Add a new lid switch blacklist entry for Acer Switch 10 SW5-032 to
    the ACPI button driver (Hans de Goede)

    - Clean up Kconfig (Krzysztof Kozlowski)"

    * tag 'acpi-5.5-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data()
    ACPI: Fix Kconfig indentation
    ACPI: OSL: only free map once in osl.c
    ACPI: button: Add DMI quirk for Acer Switch 10 SW5-032 lid-switch
    ACPI: sysfs: Change ACPI_MASKABLE_GPE_MAX to 0x100

    Linus Torvalds
     

04 Dec, 2019

7 commits

  • The recent commit 81d2c6f81996 ("kasan: support instrumented bitops
    combined with generic bitops"), split the KASAN instrumented bitops
    into separate headers for atomic, non-atomic and locking operations.

    This was done to allow arches to include just the instrumented bitops
    they need, while also using some of the generic bitops in
    asm-generic/bitops (which are automatically instrumented). The generic
    bitops are already split into atomic, non-atomic and locking headers.

    This split required an update to kernel-api.rst because it included
    include/asm-generic/bitops-instrumented.h, which no longer exists. So
    now kernel-api.rst includes all three instrumented headers to get the
    definitions for all the bitops.

    When adding the three headers it seemed sensible to add sub-headings
    for each, ie. "Atomic", "Non-atomic" and "Locking".

    The confusion is that test_bit() is (and always has been) in
    non-atomic.h, but is documented elsewhere (atomic_bitops.txt) as being
    atomic. So having it appear under the "Non-atomic" heading is possibly
    confusing.

    Probably test_bit() should move from bitops/non-atomic.h to atomic.h,
    but that has flow on effects. For now just remove the newly added
    sub-headings in the documentation, so we at least aren't adding to the
    confusion about whether test_bit() is atomic or not.

    Signed-off-by: Michael Ellerman

    Michael Ellerman
     
  • * acpi-bus:
    ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data()

    * acpi-button:
    ACPI: button: Add DMI quirk for Acer Switch 10 SW5-032 lid-switch

    * acpi-sysfs:
    ACPI: sysfs: Change ACPI_MASKABLE_GPE_MAX to 0x100

    * acpi-misc:
    ACPI: Fix Kconfig indentation

    Rafael J. Wysocki
     
  • …ernel/git/chrome-platform/linux

    Pull chrome platform changes from Benson Leung:
    "CrOS EC / MFD / IIO:

    - Contains tag-ib-chrome-mfd-iio-input-5.5, which is the first part
    of a series from Gwendal to refactor sensor code between MFD, CrOS
    EC, iio and input in order to add a new sensorhub driver and FIFO
    processing

    Wilco EC:

    - Add support for Dell's USB PowerShare policy control, keyboard
    backlight LED driver, and a new test_event file.

    - Fixes use after free in wilco_ec's telemetry driver.

    Misc:

    - bugfix in cros_usbpd_logger (missing destroy workqueue)"

    * tag 'tag-chrome-platform-for-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
    platform/chrome: wilco_ec: fix use after free issue
    platform/chrome: cros_ec: Add Kconfig default for cros-ec-sensorhub
    Revert "Input: cros_ec_keyb: mask out extra flags in event_type"
    Revert "Input: cros_ec_keyb - add back missing mask for event_type"
    platform/chrome: cros_ec: handle MKBP more events flag
    platform/chrome: cros_ec: Do not attempt to register a non-positive IRQ number
    platform/chrome: cros-ec: Record event timestamp in the hard irq
    mfd / platform / iio: cros_ec: Register sensor through sensorhub
    iio / platform: cros_ec: Add cros-ec-sensorhub driver
    mfd / platform: cros_ec: Add sensor_count and make check_features public
    platform/chrome: cros_ec: Put docs with the code
    platform/chrome: cros_usbpd_logger: add missed destroy_workqueue in remove
    platform/chrome: cros_ec: Fix Kconfig indentation
    platform/chrome: wilco_ec: Add keyboard backlight LED support
    platform/chrome: wilco_ec: Add charging config driver
    platform/chrome: wilco_ec: Add Dell's USB PowerShare Policy control
    platform/chrome: wilco_ec: Add debugfs test_event file

    Linus Torvalds
     
  • Pull tty/serial updates from Greg KH:
    "Here is the "big" tty and serial driver patches for 5.5-rc1.

    It's a bit later in the merge window than normal as I wanted to make
    sure some last-minute patches applied to it were all sane. They seem
    to be :)

    There's a lot of little stuff in here, for the tty core, and for lots
    of serial drivers:

    - reverts of uartlite serial driver patches that were wrong

    - msm-serial driver fixes

    - serial core updates and fixes

    - tty core fixes

    - serial driver dma mapping api changes

    - lots of other tiny fixes and updates for serial drivers

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'tty-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (58 commits)
    Revert "serial/8250: Add support for NI-Serial PXI/PXIe+485 devices"
    vcs: prevent write access to vcsu devices
    tty: vt: keyboard: reject invalid keycodes
    tty: don't crash in tty_init_dev when missing tty_port
    serial: stm32: fix clearing interrupt error flags
    tty: Fix Kconfig indentation, continued
    serial: serial_core: Perform NULL checks for break_ctl ops
    tty: remove unused argument from tty_open_by_driver()
    tty: Fix Kconfig indentation
    {tty: serial, nand: onenand}: samsung: rename to fix build warning
    serial: ifx6x60: add missed pm_runtime_disable
    serial: pl011: Fix DMA ->flush_buffer()
    Revert "serial-uartlite: Move the uart register"
    Revert "serial-uartlite: Add get serial id if not provided"
    Revert "serial-uartlite: Do not use static struct uart_driver out of probe()"
    Revert "serial-uartlite: Add runtime support"
    Revert "serial-uartlite: Change logic how console_port is setup"
    Revert "serial-uartlite: Use allocated structure instead of static ones"
    tty: serial: msm_serial: Use dma_request_chan() directly for channel request
    tty: serial: tegra: Use dma_request_chan() directly for channel request
    ...

    Linus Torvalds
     
  • Pull PCI updates from Bjorn Helgaas:
    "Enumeration:

    - Warn if a host bridge has no NUMA info (Yunsheng Lin)

    - Add PCI_STD_NUM_BARS for the number of standard BARs (Denis
    Efremov)

    Resource management:

    - Fix boot-time Embedded Controller GPE storm caused by incorrect
    resource assignment after ACPI Bus Check Notification (Mika
    Westerberg)

    - Protect pci_reassign_bridge_resources() against concurrent
    addition/removal (Benjamin Herrenschmidt)

    - Fix bridge dma_ranges resource list cleanup (Rob Herring)

    - Add "pci=hpmmiosize" and "pci=hpmmioprefsize" parameters to control
    the MMIO and prefetchable MMIO window sizes of hotplug bridges
    independently (Nicholas Johnson)

    - Fix MMIO/MMIO_PREF window assignment that assigned more space than
    desired (Nicholas Johnson)

    - Only enforce bus numbers from bridge EA if the bridge has EA
    devices downstream (Subbaraya Sundeep)

    - Consolidate DT "dma-ranges" parsing and convert all host drivers to
    use shared parsing (Rob Herring)

    Error reporting:

    - Restore AER capability after resume (Mayurkumar Patel)

    - Add PoisonTLPBlocked AER counter (Rajat Jain)

    - Use for_each_set_bit() to simplify AER code (Andy Shevchenko)

    - Fix AER kernel-doc (Andy Shevchenko)

    - Add "pcie_ports=dpc-native" parameter to allow native use of DPC
    even if platform didn't grant control over AER (Olof Johansson)

    Hotplug:

    - Avoid returning prematurely from sysfs requests to enable or
    disable a PCIe hotplug slot (Lukas Wunner)

    - Don't disable interrupts twice when suspending hotplug ports (Mika
    Westerberg)

    - Fix deadlocks when PCIe ports are hot-removed while suspended (Mika
    Westerberg)

    Power management:

    - Remove unnecessary ASPM locking (Bjorn Helgaas)

    - Add support for disabling L1 PM Substates (Heiner Kallweit)

    - Allow re-enabling Clock PM after it has been disabled (Heiner
    Kallweit)

    - Add sysfs attributes for controlling ASPM link states (Heiner
    Kallweit)

    - Remove CONFIG_PCIEASPM_DEBUG, including "link_state" and "clk_ctl"
    sysfs files (Heiner Kallweit)

    - Avoid AMD FCH XHCI USB PME# from D0 defect that prevents wakeup on
    USB 2.0 or 1.1 connect events (Kai-Heng Feng)

    - Move power state check out of pci_msi_supported() (Bjorn Helgaas)

    - Fix incorrect MSI-X masking on resume and revert related nvme quirk
    for Kingston NVME SSD running FW E8FK11.T (Jian-Hong Pan)

    - Always return devices to D0 when thawing to fix hibernation with
    drivers like mlx4 that used legacy power management (previously we
    only did it for drivers with new power management ops) (Dexuan Cui)

    - Clear PCIe PME Status even for legacy power management (Bjorn
    Helgaas)

    - Fix PCI PM documentation errors (Bjorn Helgaas)

    - Use dev_printk() for more power management messages (Bjorn Helgaas)

    - Apply D2 delay as milliseconds, not microseconds (Bjorn Helgaas)

    - Convert xen-platform from legacy to generic power management (Bjorn
    Helgaas)

    - Removed unused .resume_early() and .suspend_late() legacy power
    management hooks (Bjorn Helgaas)

    - Rearrange power management code for clarity (Rafael J. Wysocki)

    - Decode power states more clearly ("4" or "D4" really refers to
    "D3cold") (Bjorn Helgaas)

    - Notice when reading PM Control register returns an error (~0)
    instead of interpreting it as being in D3hot (Bjorn Helgaas)

    - Add missing link delays required by the PCIe spec (Mika Westerberg)

    Virtualization:

    - Move pci_prg_resp_pasid_required() to CONFIG_PCI_PRI (Bjorn
    Helgaas)

    - Allow VFs to use PRI (the PF PRI is shared by the VFs, but the code
    previously didn't recognize that) (Kuppuswamy Sathyanarayanan)

    - Allow VFs to use PASID (the PF PASID capability is shared by the
    VFs, but the code previously didn't recognize that) (Kuppuswamy
    Sathyanarayanan)

    - Disconnect PF and VF ATS enablement, since ATS in PFs and
    associated VFs can be enabled independently (Kuppuswamy
    Sathyanarayanan)

    - Cache PRI and PASID capability offsets (Kuppuswamy Sathyanarayanan)

    - Cache the PRI PRG Response PASID Required bit (Bjorn Helgaas)

    - Consolidate ATS declarations in linux/pci-ats.h (Krzysztof
    Wilczynski)

    - Remove unused PRI and PASID stubs (Bjorn Helgaas)

    - Removed unnecessary EXPORT_SYMBOL_GPL() from ATS, PRI, and PASID
    interfaces that are only used by built-in IOMMU drivers (Bjorn
    Helgaas)

    - Hide PRI and PASID state restoration functions used only inside the
    PCI core (Bjorn Helgaas)

    - Add a DMA alias quirk for the Intel VCA NTB (Slawomir Pawlowski)

    - Serialize sysfs sriov_numvfs reads vs writes (Pierre Crégut)

    - Update Cavium ACS quirk for ThunderX2 and ThunderX3 (George
    Cherian)

    - Fix the UPDCR register address in the Intel ACS quirk (Steffen
    Liebergeld)

    - Unify ACS quirk implementations (Bjorn Helgaas)

    Amlogic Meson host bridge driver:

    - Fix meson PERST# GPIO polarity problem (Remi Pommarel)

    - Add DT bindings for Amlogic Meson G12A (Neil Armstrong)

    - Fix meson clock names to match DT bindings (Neil Armstrong)

    - Add meson support for Amlogic G12A SoC with separate shared PHY
    (Neil Armstrong)

    - Add meson extended PCIe PHY functions for Amlogic G12A USB3+PCIe
    combo PHY (Neil Armstrong)

    - Add arm64 DT for Amlogic G12A PCIe controller node (Neil Armstrong)

    - Add commented-out description of VIM3 USB3/PCIe mux in arm64 DT
    (Neil Armstrong)

    Broadcom iProc host bridge driver:

    - Invalidate iProc PAXB address mapping before programming it
    (Abhishek Shah)

    - Fix iproc-msi and mvebu __iomem annotations (Ben Dooks)

    Cadence host bridge driver:

    - Refactor Cadence PCIe host controller to use as a library for both
    host and endpoint (Tom Joseph)

    Freescale Layerscape host bridge driver:

    - Add layerscape LS1028a support (Xiaowei Bao)

    Intel VMD host bridge driver:

    - Add VMD bus 224-255 restriction decode (Jon Derrick)

    - Add VMD 8086:9A0B device ID (Jon Derrick)

    - Remove Keith from VMD maintainer list (Keith Busch)

    Marvell ARMADA 3700 / Aardvark host bridge driver:

    - Use LTSSM state to build link training flag since Aardvark doesn't
    implement the Link Training bit (Remi Pommarel)

    - Delay before training Aardvark link in case PERST# was asserted
    before the driver probe (Remi Pommarel)

    - Fix Aardvark issues with Root Control reads and writes (Remi
    Pommarel)

    - Don't rely on jiffies in Aardvark config access path since
    interrupts may be disabled (Remi Pommarel)

    - Fix Aardvark big-endian support (Grzegorz Jaszczyk)

    Marvell ARMADA 370 / XP host bridge driver:

    - Make mvebu_pci_bridge_emul_ops static (Ben Dooks)

    Microsoft Hyper-V host bridge driver:

    - Add hibernation support for Hyper-V virtual PCI devices (Dexuan
    Cui)

    - Track Hyper-V pci_protocol_version per-hbus, not globally (Dexuan
    Cui)

    - Avoid kmemleak false positive on hv hbus buffer (Dexuan Cui)

    Mobiveil host bridge driver:

    - Change mobiveil csr_read()/write() function names that conflict
    with riscv arch functions (Kefeng Wang)

    NVIDIA Tegra host bridge driver:

    - Fix Tegra CLKREQ dependency programming (Vidya Sagar)

    Renesas R-Car host bridge driver:

    - Remove unnecessary header include from rcar (Andrew Murray)

    - Tighten register index checking for rcar inbound range programming
    (Marek Vasut)

    - Fix rcar inbound range alignment calculation to improve packing of
    multiple entries (Marek Vasut)

    - Update rcar MACCTLR setting to match documentation (Yoshihiro
    Shimoda)

    - Clear bit 0 of MACCTLR before PCIETCTLR.CFINIT per manual
    (Yoshihiro Shimoda)

    - Add Marek Vasut and Yoshihiro Shimoda as R-Car maintainers (Simon
    Horman)

    Rockchip host bridge driver:

    - Make rockchip 0V9 and 1V8 power regulators non-optional (Robin
    Murphy)

    Socionext UniPhier host bridge driver:

    - Set uniphier to host (RC) mode always (Kunihiko Hayashi)

    Endpoint drivers:

    - Fix endpoint driver sign extension problem when shifting page
    number to phys_addr_t (Alan Mikhak)

    Misc:

    - Add NumaChip SPDX header (Krzysztof Wilczynski)

    - Replace EXTRA_CFLAGS with ccflags-y (Krzysztof Wilczynski)

    - Remove unused includes (Krzysztof Wilczynski)

    - Removed unused sysfs attribute groups (Ben Dooks)

    - Remove PTM and ASPM dependencies on PCIEPORTBUS (Bjorn Helgaas)

    - Add PCIe Link Control 2 register field definitions to replace magic
    numbers in AMDGPU and Radeon CIK/SI (Bjorn Helgaas)

    - Fix incorrect Link Control 2 Transmit Margin usage in AMDGPU and
    Radeon CIK/SI PCIe Gen3 link training (Bjorn Helgaas)

    - Use pcie_capability_read_word() instead of pci_read_config_word()
    in AMDGPU and Radeon CIK/SI (Frederick Lawler)

    - Remove unused pci_irq_get_node() Greg Kroah-Hartman)

    - Make asm/msi.h mandatory and simplify PCI_MSI_IRQ_DOMAIN Kconfig
    (Palmer Dabbelt, Michal Simek)

    - Read all 64 bits of Switchtec part_event_bitmap (Logan Gunthorpe)

    - Fix erroneous intel-iommu dependency on CONFIG_AMD_IOMMU (Bjorn
    Helgaas)

    - Fix bridge emulation big-endian support (Grzegorz Jaszczyk)

    - Fix dwc find_next_bit() usage (Niklas Cassel)

    - Fix pcitest.c fd leak (Hewenliang)

    - Fix typos and comments (Bjorn Helgaas)

    - Fix Kconfig whitespace errors (Krzysztof Kozlowski)"

    * tag 'pci-v5.5-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (160 commits)
    PCI: Remove PCI_MSI_IRQ_DOMAIN architecture whitelist
    asm-generic: Make msi.h a mandatory include/asm header
    Revert "nvme: Add quirk for Kingston NVME SSD running FW E8FK11.T"
    PCI/MSI: Fix incorrect MSI-X masking on resume
    PCI/MSI: Move power state check out of pci_msi_supported()
    PCI/MSI: Remove unused pci_irq_get_node()
    PCI: hv: Avoid a kmemleak false positive caused by the hbus buffer
    PCI: hv: Change pci_protocol_version to per-hbus
    PCI: hv: Add hibernation support
    PCI: hv: Reorganize the code in preparation of hibernation
    MAINTAINERS: Remove Keith from VMD maintainer
    PCI/ASPM: Remove PCIEASPM_DEBUG Kconfig option and related code
    PCI/ASPM: Add sysfs attributes for controlling ASPM link states
    PCI: Fix indentation
    drm/radeon: Prefer pcie_capability_read_word()
    drm/radeon: Replace numbers with PCI_EXP_LNKCTL2 definitions
    drm/radeon: Correct Transmit Margin masks
    drm/amdgpu: Prefer pcie_capability_read_word()
    PCI: uniphier: Set mode register to host mode
    drm/amdgpu: Replace numbers with PCI_EXP_LNKCTL2 definitions
    ...

    Linus Torvalds
     
  • Pull Xtensa updates from Max Filippov:

    - add support for execute in place (XIP) kernels

    - improvements in inline assembly: use named arguments and "m"
    constraints where possible

    - improve stack dumping

    - clean up system_call code and syscall tracing

    - various small fixes and cleanups

    * tag 'xtensa-20191201' of git://github.com/jcmvbkbc/linux-xtensa: (30 commits)
    xtensa: clean up system_call/xtensa_rt_sigreturn interaction
    xtensa: fix system_call interaction with ptrace
    xtensa: rearrange syscall tracing
    xtensa: fix syscall_set_return_value
    xtensa: drop unneeded headers from coprocessor.S
    xtensa: entry: Remove unneeded need_resched() loop
    xtensa: use MEMBLOCK_ALLOC_ANYWHERE for KASAN shadow map
    xtensa: fix TLB sanity checker
    xtensa: get rid of __ARCH_USE_5LEVEL_HACK
    xtensa: mm: fix PMD folding implementation
    xtensa: make stack dump size configurable
    xtensa: improve stack dumping
    xtensa: use "m" constraint instead of "r" in futex.h assembly
    xtensa: use "m" constraint instead of "a" in cmpxchg.h assembly
    xtensa: use named assembly arguments in cmpxchg.h
    xtensa: use "m" constraint instead of "a" in atomic.h assembly
    xtensa: use named assembly arguments in atomic.h
    xtensa: use "m" constraint instead of "a" in bitops.h assembly
    xtensa: use named assembly arguments in bitops.h
    xtensa: use macros to generate *_bit and test_and_*_bit functions
    ...

    Linus Torvalds
     
  • Pull irq updates from Ingo Molnar:
    "Most of the IRQ subsystem changes in this cycle were irq-chip driver
    updates:

    - Qualcomm PDC wakeup interrupt support

    - Layerscape external IRQ support

    - Broadcom bcm7038 PM and wakeup support

    - Ingenic driver cleanup and modernization

    - GICv3 ITS preparation for GICv4.1 updates

    - GICv4 fixes

    There's also the series from Frederic Weisbecker that fixes memory
    ordering bugs for the irq-work logic, whose primary fix is to turn
    work->irq_work.flags into an atomic variable and then convert the
    complex (and buggy) atomic_cmpxchg() loop in irq_work_claim() into a
    much simpler atomic_fetch_or() call.

    There are also various smaller cleanups"

    * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (44 commits)
    pinctrl/sdm845: Add PDC wakeup interrupt map for GPIOs
    pinctrl/msm: Setup GPIO chip in hierarchy
    irqchip/qcom-pdc: Add irqchip set/get state calls
    irqchip/qcom-pdc: Add irqdomain for wakeup capable GPIOs
    irqchip/qcom-pdc: Do not toggle IRQ_ENABLE during mask/unmask
    irqchip/qcom-pdc: Update max PDC interrupts
    of/irq: Document properties for wakeup interrupt parent
    genirq: Introduce irq_chip_get/set_parent_state calls
    irqdomain: Add bus token DOMAIN_BUS_WAKEUP
    genirq: Fix function documentation of __irq_alloc_descs()
    irq_work: Fix IRQ_WORK_BUSY bit clearing
    irqchip/ti-sci-inta: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
    irq_work: Slightly simplify IRQ_WORK_PENDING clearing
    irq_work: Fix irq_work_claim() memory ordering
    irq_work: Convert flags to atomic_t
    irqchip: Ingenic: Add process for more than one irq at the same time.
    irqchip: ingenic: Alloc generic chips from IRQ domain
    irqchip: ingenic: Get virq number from IRQ domain
    irqchip: ingenic: Error out if IRQ domain creation failed
    irqchip: ingenic: Drop redundant irq_suspend / irq_resume functions
    ...

    Linus Torvalds
     

03 Dec, 2019

2 commits

  • Pull Kbuild updates from Masahiro Yamada:

    - remove unneeded asm headers from hexagon, ia64

    - add 'dir-pkg' target, which works like 'tar-pkg' but skips archiving

    - add 'helpnewconfig' target, which shows help for new CONFIG options

    - support 'make nsdeps' for external modules

    - make rebuilds faster by deleting $(wildcard $^) checks

    - remove compile tests for kernel-space headers

    - refactor modpost to simplify modversion handling

    - make single target builds faster

    - optimize and clean up scripts/kallsyms.c

    - refactor various Makefiles and scripts

    * tag 'kbuild-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (59 commits)
    MAINTAINERS: update Kbuild/Kconfig maintainer's email address
    scripts/kallsyms: remove redundant initializers
    scripts/kallsyms: put check_symbol_range() calls close together
    scripts/kallsyms: make check_symbol_range() void function
    scripts/kallsyms: move ignored symbol types to is_ignored_symbol()
    scripts/kallsyms: move more patterns to the ignored_prefixes array
    scripts/kallsyms: skip ignored symbols very early
    scripts/kallsyms: add const qualifiers where possible
    scripts/kallsyms: make find_token() return (unsigned char *)
    scripts/kallsyms: replace prefix_underscores_count() with strspn()
    scripts/kallsyms: add sym_name() to mitigate cast ugliness
    scripts/kallsyms: remove unneeded length check for prefix matching
    scripts/kallsyms: remove redundant is_arm_mapping_symbol()
    scripts/kallsyms: set relative_base more effectively
    scripts/kallsyms: shrink table before sorting it
    scripts/kallsyms: fix definitely-lost memory leak
    scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE
    kbuild: make single target builds even faster
    modpost: respect the previous export when 'exported twice' is warned
    modpost: do not set ->preloaded for symbols from Module.symvers
    ...

    Linus Torvalds
     
  • Pull SCSI updates from James Bottomley:
    "This is mostly update of the usual drivers: aacraid, ufs, zfcp,
    NCR5380, lpfc, qla2xxx, smartpqi, hisi_sas, target, mpt3sas, pm80xx
    plus a whole load of minor updates and fixes.

    The major core changes are Al Viro's reworking of sg's handling of
    copy to/from user, Ming Lei's removal of the host busy counter to
    avoid contention in the multiqueue case and Damien Le Moal's fixing of
    residual tracking across error handling"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (251 commits)
    scsi: bnx2fc: timeout calculation invalid for bnx2fc_eh_abort()
    scsi: target: core: Fix a pr_debug() argument
    scsi: iscsi: Don't send data to unbound connection
    scsi: target: iscsi: Wait for all commands to finish before freeing a session
    scsi: target: core: Release SPC-2 reservations when closing a session
    scsi: target: core: Document target_cmd_size_check()
    scsi: bnx2i: fix potential use after free
    Revert "scsi: qla2xxx: Fix memory leak when sending I/O fails"
    scsi: NCR5380: Add disconnect_mask module parameter
    scsi: NCR5380: Unconditionally clear ICR after do_abort()
    scsi: NCR5380: Call scsi_set_resid() on command completion
    scsi: scsi_debug: num_tgts must be >= 0
    scsi: lpfc: use hdwq assigned cpu for allocation
    scsi: arcmsr: fix indentation issues
    scsi: qla4xxx: fix double free bug
    scsi: pm80xx: Modified the logic to collect fatal dump
    scsi: pm80xx: Tie the interrupt name to the module instance
    scsi: pm80xx: Controller fatal error through sysfs
    scsi: pm80xx: Do not request 12G sas speeds
    scsi: pm80xx: Cleanup command when a reset times out
    ...

    Linus Torvalds