1. 26 Oct, 2018 19 commits
    • Linus Torvalds's avatar
      Merge tag '4.20-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 033078a9
      Linus Torvalds authored
      Pull cifs updates from Steve French:
       "Three smb3 fixes for stable, patches for improved debugging and perf
        gathering, and much improved performance for most metadata operations
        (expanded use of compounding)"
      
      * tag '4.20-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6: (46 commits)
        cifs: update internal module version number for cifs.ko to 2.14
        smb3: add debug for unexpected mid cancellation
        cifs: allow calling SMB2_xxx_free(NULL)
        smb3 - clean up debug output displaying network interfaces
        smb3: show number of current open files in /proc/fs/cifs/Stats
        cifs: add support for ioctl on directories
        cifs: fallback to older infolevels on findfirst queryinfo retry
        smb3: do not attempt cifs operation in smb3 query info error path
        smb3: send backup intent on compounded query info
        cifs: track writepages in vfs operation counters
        smb2: fix uninitialized variable bug in smb2_ioctl_query_info
        cifs: add IOCTL for QUERY_INFO passthrough to userspace
        cifs: minor clarification in comments
        CIFS: Print message when attempting a mount
        CIFS: Adds information-level logging function
        cifs: OFD locks do not conflict with eachothers
        CIFS: SMBD: Do not call ib_dereg_mr on invalidated memory registration
        CIFS: pass page offsets on SMB1 read/write
        fs/cifs: fix uninitialised variable warnings
        smb3: add tracepoint for sending lease break responses to server
        ...
      033078a9
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md · 7abe8493
      Linus Torvalds authored
      Pull md updates from Shaohua Li:
       "This mainly improves raid10 cluster and fixes some bugs:
      
         - raid10 cluster improvements from Guoqing
      
         - Memory leak fixes from Jack and Xiao
      
         - raid10 hang fix from Alex
      
         - raid5 block faulty device fix from Mariusz
      
         - metadata update fix from Neil
      
         - Invalid disk role fix from Me
      
         - Other clearnups"
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md:
        MD: Memory leak when flush bio size is zero
        md: fix memleak for mempool
        md-cluster: remove suspend_info
        md-cluster: send BITMAP_NEEDS_SYNC message if reshaping is interrupted
        md-cluster/bitmap: don't call md_bitmap_sync_with_cluster during reshaping stage
        md-cluster/raid10: don't call remove_and_add_spares during reshaping stage
        md-cluster/raid10: call update_size in md_reap_sync_thread
        md-cluster: introduce resync_info_get interface for sanity check
        md-cluster/raid10: support add disk under grow mode
        md-cluster/raid10: resize all the bitmaps before start reshape
        MD: fix invalid stored role for a disk - try2
        md/bitmap: use mddev_suspend/resume instead of ->quiesce()
        md: remove redundant code that is no longer reachable
        md: allow metadata updates while suspending an array - fix
        MD: fix invalid stored role for a disk
        md/raid10: Fix raid10 replace hang when new added disk faulty
        raid5: block failing device if raid will be failed
      7abe8493
    • Linus Torvalds's avatar
      Merge tag 'for-4.20/dm-changes' of... · 71f4d95b
      Linus Torvalds authored
      Merge tag 'for-4.20/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper updates from Mike Snitzer:
      
       - The biggest change this cycle is to remove support for the legacy IO
         path (.request_fn) from request-based DM.
      
         Jens has already started preparing for complete removal of the legacy
         IO path in 4.21 but this earlier removal of support from DM has been
         coordinated with Jens (as evidenced by the commit being attributed to
         him).
      
         Making request-based DM exclussively blk-mq only cleans up that
         portion of DM core quite nicely.
      
       - Convert the thinp and zoned targets over to using refcount_t where
         applicable.
      
       - A couple fixes to the DM zoned target for refcounting and other races
         buried in the implementation of metadata block creation and use.
      
       - Small cleanups to remove redundant unlikely() around a couple
         WARN_ON_ONCE().
      
       - Simplify how dm-ioctl copies from userspace, eliminating some
         potential for a malicious user trying to change the executed ioctl
         after its processing has begun.
      
       - Tweaked DM crypt target to use the DM device name when naming the
         various workqueues created for a particular DM crypt device (makes
         the N workqueues for a DM crypt device more easily understood and
         enhances user's accounting capabilities at a glance via "ps")
      
       - Small fixup to remove dead branch in DM writecache's memory_entry().
      
      * tag 'for-4.20/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm writecache: remove disabled code in memory_entry()
        dm zoned: fix various dmz_get_mblock() issues
        dm zoned: fix metadata block ref counting
        dm raid: avoid bitmap with raid4/5/6 journal device
        dm crypt: make workqueue names device-specific
        dm: add dm_table_device_name()
        dm ioctl: harden copy_params()'s copy_from_user() from malicious users
        dm: remove unnecessary unlikely() around WARN_ON_ONCE()
        dm zoned: target: use refcount_t for dm zoned reference counters
        dm thin: use refcount_t for thin_c reference counting
        dm table: require that request-based DM be layered on blk-mq devices
        dm: rename DM_TYPE_MQ_REQUEST_BASED to DM_TYPE_REQUEST_BASED
        dm: remove legacy request-based IO path
      71f4d95b
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20181026' of git://git.kernel.dk/linux-block · 6080ad3a
      Linus Torvalds authored
      Pull more block layer updates from Jens Axboe:
      
       - Set of patches improving support for zoned devices. This was ready
         before the merge window, but I was late in picking it up and hence it
         missed the original pull request (Damien, Christoph)
      
       - libata no link power management quirk addition for a Samsung drive
         (Diego Viola)
      
       - Fix for a performance regression in BFQ that went into this merge
         window (Federico Motta)
      
       - Fix for a missing dma mask setting return value check (Gustavo)
      
       - Typo in the gdrom queue failure case (me)
      
       - NULL pointer deref fix for xen-blkfront (Vasilis Liaskovitis)
      
       - Fixing the get_rq trace point placement in blk-mq (Xiaoguang Wang)
      
       - Removal of a set-but-not-read variable in cdrom (zhong jiang)
      
      * tag 'for-linus-20181026' of git://git.kernel.dk/linux-block:
        libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9
        block, bfq: fix asymmetric scenarios detection
        gdrom: fix mistake in assignment of error
        blk-mq: place trace_block_getrq() in correct place
        block: Introduce blk_revalidate_disk_zones()
        block: add a report_zones method
        block: Expose queue nr_zones in sysfs
        block: Improve zone reset execution
        block: Introduce BLKGETNRZONES ioctl
        block: Introduce BLKGETZONESZ ioctl
        block: Limit allocation of zone descriptors for report zones
        block: Introduce blkdev_nr_zones() helper
        scsi: sd_zbc: Fix sd_zbc_check_zones() error checks
        scsi: sd_zbc: Reduce boot device scan and revalidate time
        scsi: sd_zbc: Rearrange code
        cdrom: remove set but not used variable 'tocuse'
        skd: fix unchecked return values
        xen/blkfront: avoid NULL blkfront_info dereference on device removal
      6080ad3a
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · b27186ab
      Linus Torvalds authored
      Pull Devicetree updates from Rob Herring:
       "A bit bigger than normal as I've been busy this cycle.
      
        There's a few things with dependencies and a few things subsystem
        maintainers didn't pick up, so I'm taking them thru my tree.
      
        The fixes from Johan didn't get into linux-next, but they've been
        waiting for some time now and they are what's left of what subsystem
        maintainers didn't pick up.
      
        Summary:
      
         - Sync dtc with upstream version v1.4.7-14-gc86da84d30e4
      
         - Work to get rid of direct accesses to struct device_node name and
           type pointers in preparation for removing them. New helpers for
           parsing DT cpu nodes and conversions to use the helpers. printk
           conversions to %pOFn for printing DT node names. Most went thru
           subystem trees, so this is the remainder.
      
         - Fixes to DT child node lookups to actually be restricted to child
           nodes instead of treewide.
      
         - Refactoring of dtb targets out of arch code. This makes the support
           more uniform and enables building all dtbs on c6x, microblaze, and
           powerpc.
      
         - Various DT binding updates for Renesas r8a7744 SoC
      
         - Vendor prefixes for Facebook, OLPC
      
         - Restructuring of some ARM binding docs moving some peripheral
           bindings out of board/SoC binding files
      
         - New "secure-chosen" binding for secure world settings on ARM
      
         - Dual licensing of 2 DT IRQ binding headers"
      
      * tag 'devicetree-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (78 commits)
        ARM: dt: relicense two DT binding IRQ headers
        power: supply: twl4030-charger: fix OF sibling-node lookup
        NFC: nfcmrvl_uart: fix OF child-node lookup
        net: stmmac: dwmac-sun8i: fix OF child-node lookup
        net: bcmgenet: fix OF child-node lookup
        drm/msm: fix OF child-node lookup
        drm/mediatek: fix OF sibling-node lookup
        of: Add missing exports of node name compare functions
        dt-bindings: Add OLPC vendor prefix
        dt-bindings: misc: bk4: Add device tree binding for Liebherr's BK4 SPI bus
        dt-bindings: thermal: samsung: Add SPDX license identifier
        dt-bindings: clock: samsung: Add SPDX license identifiers
        dt-bindings: timer: ostm: Add R7S9210 support
        dt-bindings: phy: rcar-gen2: Add r8a7744 support
        dt-bindings: can: rcar_can: Add r8a7744 support
        dt-bindings: timer: renesas, cmt: Document r8a7744 CMT support
        dt-bindings: watchdog: renesas-wdt: Document r8a7744 support
        dt-bindings: thermal: rcar: Add device tree support for r8a7744
        Documentation: dt: Add binding for /secure-chosen/stdout-path
        dt-bindings: arm: zte: Move sysctrl bindings to their own doc
        ...
      b27186ab
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal · 0ef7791e
      Linus Torvalds authored
      Pull thermal SoC updates from Eduardo Valentin:
       "Several new things coming up. Specifics:
      
         - Rework of tsens and hisi thermal drivers
      
         - OF-thermal now allows sharing multiple cooling devices on maps
      
         - Added support for r8a7744 and R8A77970 on rcar thermal driver
      
         - Added support for r8a774a1 on rcar_gen3 thermal driver
      
         - New thermal driver stm32
      
         - Fixes on multiple thermal drivers: of-thermal, imx, qoriq, armada,
           qcom-spmi, rcar, da9062/61"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal: (41 commits)
        thermal: da9062/61: Prevent hardware access during system suspend
        thermal: rcar_thermal: Prevent doing work after unbind
        thermal: rcar_thermal: Prevent hardware access during system suspend
        thermal: rcar_gen3_thermal: add R8A77980 support
        dt-bindings: thermal: rcar-gen3-thermal: document R8A77980 bindings
        thermal: add stm32 thermal driver
        dt-bindings: stm32-thermal: add binding documentation
        thermal: rcar_thermal: add R8A77970 support
        dt-bindings: thermal: rcar-thermal: document R8A77970 bindings
        thermal: rcar_thermal: fix duplicate IRQ request
        dt-bindings: thermal: rcar: Add device tree support for r8a7744
        thermal/drivers/hisi: Add the dual clusters sensors for hi3660
        thermal/drivers/hisi: Add more sensors channel
        thermal/drivers/hisi: Remove pointless irq field
        thermal/drivers/hisi: Use platform_get_irq_byname
        thermal/drivers/hisi: Replace macro name with relevant sensor location
        thermal/drivers/hisi: Add multiple sensors support
        thermal/drivers/hisi: Prepare to support multiple sensors
        thermal/drivers/hisi: Factor out the probe functions
        thermal/drivers/hisi: Set the thermal zone private data to the sensor pointer
        ...
      0ef7791e
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-4.20-1' of git://git.infradead.org/users/hch/dma-mapping · befa9363
      Linus Torvalds authored
      Pull more dma-mapping updates from Christoph Hellwig:
      
       - various swiotlb cleanups
      
       - do not dip into the ѕwiotlb pool for dma coherent allocations
      
       - add support for not cache coherent DMA to swiotlb
      
       - switch ARM64 to use the generic swiotlb_dma_ops
      
      * tag 'dma-mapping-4.20-1' of git://git.infradead.org/users/hch/dma-mapping:
        arm64: use the generic swiotlb_dma_ops
        swiotlb: add support for non-coherent DMA
        swiotlb: don't dip into swiotlb pool for coherent allocations
        swiotlb: refactor swiotlb_map_page
        swiotlb: use swiotlb_map_page in swiotlb_map_sg_attrs
        swiotlb: merge swiotlb_unmap_page and unmap_single
        swiotlb: remove the overflow buffer
        swiotlb: do not panic on mapping failures
        swiotlb: mark is_swiotlb_buffer static
        swiotlb: remove a pointless comment
      befa9363
    • Linus Torvalds's avatar
      Merge tag 'iommu-updates-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · d1f2b171
      Linus Torvalds authored
      Pull IOMMU updates from Joerg Roedel:
      
       - Debugfs support for the Intel VT-d driver.
      
         When enabled, it now also exposes some of its internal data
         structures to user-space for debugging purposes.
      
       - ARM-SMMU driver now uses the generic deferred flushing and fast-path
         iova allocation code.
      
         This is expected to be a major performance improvement, as this
         allocation path scales a lot better.
      
       - Support for r8a7744 in the Renesas iommu driver
      
       - Couple of minor fixes and improvements all over the place
      
      * tag 'iommu-updates-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (39 commits)
        iommu/arm-smmu-v3: Remove unnecessary wrapper function
        iommu/arm-smmu-v3: Add SPDX header
        iommu/amd: Add default branch in amd_iommu_capable()
        dt-bindings: iommu: ipmmu-vmsa: Add r8a7744 support
        iommu/amd: Move iommu_init_pci() to .init section
        iommu/arm-smmu: Support non-strict mode
        iommu/io-pgtable-arm-v7s: Add support for non-strict mode
        iommu/arm-smmu-v3: Add support for non-strict mode
        iommu/io-pgtable-arm: Add support for non-strict mode
        iommu: Add "iommu.strict" command line option
        iommu/dma: Add support for non-strict mode
        iommu/arm-smmu: Ensure that page-table updates are visible before TLBI
        iommu/arm-smmu-v3: Implement flush_iotlb_all hook
        iommu/arm-smmu-v3: Avoid back-to-back CMD_SYNC operations
        iommu/arm-smmu-v3: Fix unexpected CMD_SYNC timeout
        iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
        iommu/arm-smmu-v3: Fix a couple of minor comment typos
        iommu: Fix a typo
        iommu: Remove .domain_{get,set}_windows
        iommu: Tidy up window attributes
        ...
      d1f2b171
    • Linus Torvalds's avatar
      Merge tag 'char-misc-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 18d0eae3
      Linus Torvalds authored
      Pull char/misc driver updates from Greg KH:
       "Here is the big set of char/misc patches for 4.20-rc1.
      
        Loads of things here, we have new code in all of these driver
        subsystems:
         - fpga
         - stm
         - extcon
         - nvmem
         - eeprom
         - hyper-v
         - gsmi
         - coresight
         - thunderbolt
         - vmw_balloon
         - goldfish
         - soundwire
        along with lots of fixes and minor changes to other small drivers.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'char-misc-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (245 commits)
        Documentation/security-bugs: Clarify treatment of embargoed information
        lib: Fix ia64 bootloader linkage
        MAINTAINERS: Clarify UIO vs UIOVEC maintainer
        docs/uio: fix a grammar nitpick
        docs: fpga: document programming fpgas using regions
        fpga: add devm_fpga_region_create
        fpga: bridge: add devm_fpga_bridge_create
        fpga: mgr: add devm_fpga_mgr_create
        hv_balloon: Replace spin_is_locked() with lockdep
        sgi-xp: Replace spin_is_locked() with lockdep
        eeprom: New ee1004 driver for DDR4 memory
        eeprom: at25: remove unneeded 'at25_remove'
        w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
        misc: mic: scif: remove set but not used variables 'src_dma_addr, dst_dma_addr'
        misc: mic: fix a DMA pool free failure
        platform: goldfish: pipe: Add a blank line to separate varibles and code
        platform: goldfish: pipe: Remove redundant casting
        platform: goldfish: pipe: Call misc_deregister if init fails
        platform: goldfish: pipe: Move the file-scope goldfish_pipe_dev variable into the driver state
        platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into the driver state
        ...
      18d0eae3
    • Linus Torvalds's avatar
      Merge tag 'driver-core-4.20-rc1' of... · 26873aca
      Linus Torvalds authored
      Merge tag 'driver-core-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core updates from Greg KH:
       "Here is a small number of driver core patches for 4.20-rc1.
      
        Not much happened here this merge window, only a very tiny number of
        patches that do:
      
         - add BUS_ATTR_WO() for use by drivers
      
         - component error path fixes
      
         - kernfs range check fix
      
         - other tiny error path fixes and const changes
      
        All of these have been in linux-next with no reported issues for a
        while"
      
      * tag 'driver-core-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        devres: provide devm_kstrdup_const()
        mm: move is_kernel_rodata() to asm-generic/sections.h
        devres: constify p in devm_kfree()
        driver core: add BUS_ATTR_WO() macro
        kernfs: Fix range checks in kernfs_get_target_path
        component: fix loop condition to call unbind() if bind() fails
        drivers/base/devtmpfs.c: don't pretend path is const in delete_path
        kernfs: update comment about kernfs_path() return value
      26873aca
    • Linus Torvalds's avatar
      Merge tag 'usb-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 9703fc8c
      Linus Torvalds authored
      Pull USB/PHY updates from Greg KH:
       "Here is the big USB/PHY driver patches for 4.20-rc1
      
        Lots of USB changes in here, primarily in these areas:
      
         - typec updates and new drivers
      
         - new PHY drivers
      
         - dwc2 driver updates and additions (this old core keeps getting
           added to new devices.)
      
         - usbtmc major update based on the industry group coming together and
           working to add new features and performance to the driver.
      
         - USB gadget additions for new features
      
         - USB gadget configfs updates
      
         - chipidea driver updates
      
         - other USB gadget updates
      
         - USB serial driver updates
      
         - renesas driver updates
      
         - xhci driver updates
      
         - other tiny USB driver updates
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (229 commits)
        usb: phy: ab8500: silence some uninitialized variable warnings
        usb: xhci: tegra: Add genpd support
        usb: xhci: tegra: Power-off power-domains on removal
        usbip:vudc: BUG kmalloc-2048 (Not tainted): Poison overwritten
        usbip: tools: fix atoi() on non-null terminated string
        USB: misc: appledisplay: fix backlight update_status return code
        phy: phy-pxa-usb: add a new driver
        usb: host: add DT bindings for faraday fotg2
        usb: host: ohci-at91: fix request of irq for optional gpio
        usb/early: remove set but not used variable 'remain_length'
        usb: typec: Fix copy/paste on typec_set_vconn_role() kerneldoc
        usb: typec: tcpm: Report back negotiated PPS voltage and current
        USB: core: remove set but not used variable 'udev'
        usb: core: fix memory leak on port_dev_path allocation
        USB: net2280: Remove ->disconnect() callback from net2280_pullup()
        usb: dwc2: disable power_down on rockchip devices
        usb: gadget: udc: renesas_usb3: add support for r8a77990
        dt-bindings: usb: renesas_usb3: add bindings for r8a77990
        usb: gadget: udc: renesas_usb3: Add r8a774a1 support
        USB: serial: cypress_m8: remove set but not used variable 'iflag'
        ...
      9703fc8c
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · da19a102
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
       "This has been a smaller cycle with many of the commits being smallish
        code fixes and improvements across the drivers.
      
         - Driver updates for bnxt_re, cxgb4, hfi1, hns, mlx5, nes, qedr, and
           rxe
      
         - Memory window support in hns
      
         - mlx5 user API 'flow mutate/steering' allows accessing the full
           packet mangling and matching machinery from user space
      
         - Support inter-working with verbs API calls in the 'devx' mlx5 user
           API, and provide options to use devx with less privilege
      
         - Modernize the use of syfs and the device interface to use attribute
           groups and cdev properly for uverbs, and clean up some of the core
           code's device list management
      
         - More progress on net namespaces for RDMA devices
      
         - Consolidate driver BAR mmapping support into core code helpers and
           rework how RDMA holds poitners to mm_struct for get_user_pages
           cases
      
         - First pass to use 'dev_name' instead of ib_device->name
      
         - Device renaming for RDMA devices"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (242 commits)
        IB/mlx5: Add support for extended atomic operations
        RDMA/core: Fix comment for hw stats init for port == 0
        RDMA/core: Refactor ib_register_device() function
        RDMA/core: Fix unwinding flow in case of error to register device
        ib_srp: Remove WARN_ON in srp_terminate_io()
        IB/mlx5: Allow scatter to CQE without global signaled WRs
        IB/mlx5: Verify that driver supports user flags
        IB/mlx5: Support scatter to CQE for DC transport type
        RDMA/drivers: Use core provided API for registering device attributes
        RDMA/core: Allow existing drivers to set one sysfs group per device
        IB/rxe: Remove unnecessary enum values
        RDMA/umad: Use kernel API to allocate umad indexes
        RDMA/uverbs: Use kernel API to allocate uverbs indexes
        RDMA/core: Increase total number of RDMA ports across all devices
        IB/mlx4: Add port and TID to MAD debug print
        IB/mlx4: Enable debug print of SMPs
        RDMA/core: Rename ports_parent to ports_kobj
        RDMA/core: Do not expose unsupported counters
        IB/mlx4: Refer to the device kobject instead of ports_parent
        RDMA/nldev: Allow IB device rename through RDMA netlink
        ...
      da19a102
    • Diego Viola's avatar
      libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9 · a435ab4f
      Diego Viola authored
      med_power_with_dipm causes my T450 to freeze with a SAMSUNG
      MZ7TD256HAFV-000L9 SSD (firmware DXT02L5Q).
      
      Switching the LPM to max_performance fixes this issue.
      Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarDiego Viola <diego.viola@gmail.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      a435ab4f
    • Stephen Warren's avatar
      ARM: dt: relicense two DT binding IRQ headers · d061864b
      Stephen Warren authored
      Files in include/dt-bindings/ may be useful to any OS that uses DT, when
      building the OS binary itself, not just when building DTB files. Since
      some OSs are not GPL, they need non-GPL headers. This change relicenses
      two of the useful files so that they can be used under the MIT license
      when desired. I wrote these files and NVIDIA legal has approved this
      change. Geert also ack'd the change; he fixed some spelling issues in the
      comments.
      
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      d061864b
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · e5f6d9af
      Linus Torvalds authored
      Pull sparc fix from David Miller:
       "Build regression fix"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        sparc: Fix VDSO build with older binutils.
      e5f6d9af
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-4.20-mw0' of... · c300af28
      Linus Torvalds authored
      Merge tag 'riscv-for-linus-4.20-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux
      
      Pull RISC-V updates from Palmer Dabbelt:
       "This patch set contains a lot (at least, for me) of improvements to
        the RISC-V kernel port:
      
         - The removal of some cacheinfo values that were bogus.
      
         - On systems with F but without D the kernel will not show the F
           extension to userspace, as it isn't actually supported.
      
         - Support for futexes.
      
         - Removal of some unused code.
      
         - Cleanup of some menuconfig entries.
      
         - Support for systems without a floating-point unit, and for building
           kernels that will never use the floating-point unit.
      
         - More fixes to the RV32I port, which regressed again. It's really
           time to get this into a regression test somewhere so I stop
           breaking it. Thanks to Zong for resurrecting it again!
      
         - Various fixes that resulted from a year old review of our original
           patch set that I finally got around to.
      
         - Various improvements to SMP support, largely based around having
           switched to logical hart numbering, as well as some interrupt
           improvements. This one is in the same patch set as above, thanks to
           Atish for sheparding everything though as my patch set was a bit of
           a mess.
      
        I'm pretty sure this is our largest patch set since the original
        kernel contribution, and it's certainly the one with the most
        contributors. While I don't have anything else I know I'm going to
        submit for the merge window, I would be somewhat surprised if I didn't
        screw anything up.
      
        Thanks for the help, everyone!"
      
      * tag 'riscv-for-linus-4.20-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux: (31 commits)
        RISC-V: Cosmetic menuconfig changes
        riscv: move GCC version check for ARCH_SUPPORTS_INT128 to Kconfig
        RISC-V: remove the unused return_to_handler export
        RISC-V: Add futex support.
        RISC-V: Add FP register ptrace support for gdb.
        RISC-V: Mask out the F extension on systems without D
        RISC-V: Don't set cacheinfo.{physical_line_partition,attributes}
        RISC-V: Show IPI stats
        RISC-V: Show CPU ID and Hart ID separately in /proc/cpuinfo
        RISC-V: Use Linux logical CPU number instead of hartid
        RISC-V: Add logical CPU indexing for RISC-V
        RISC-V: Use WRITE_ONCE instead of direct access
        RISC-V: Use mmgrab()
        RISC-V: Rename im_okay_therefore_i_am to found_boot_cpu
        RISC-V: Rename riscv_of_processor_hart to riscv_of_processor_hartid
        RISC-V: Provide a cleaner raw_smp_processor_id()
        RISC-V: Disable preemption before enabling interrupts
        RISC-V: Comment on the TLB flush in smp_callin()
        RISC-V: Filter ISA and MMU values in cpuinfo
        RISC-V: Don't set cacheinfo.{physical_line_partition,attributes}
        ...
      c300af28
    • Linus Torvalds's avatar
      Merge tag 'kvm-4.20-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 0d1e8b8d
      Linus Torvalds authored
      Pull KVM updates from Radim Krčmář:
       "ARM:
         - Improved guest IPA space support (32 to 52 bits)
      
         - RAS event delivery for 32bit
      
         - PMU fixes
      
         - Guest entry hardening
      
         - Various cleanups
      
         - Port of dirty_log_test selftest
      
        PPC:
         - Nested HV KVM support for radix guests on POWER9. The performance
           is much better than with PR KVM. Migration and arbitrary level of
           nesting is supported.
      
         - Disable nested HV-KVM on early POWER9 chips that need a particular
           hardware bug workaround
      
         - One VM per core mode to prevent potential data leaks
      
         - PCI pass-through optimization
      
         - merge ppc-kvm topic branch and kvm-ppc-fixes to get a better base
      
        s390:
         - Initial version of AP crypto virtualization via vfio-mdev
      
         - Improvement for vfio-ap
      
         - Set the host program identifier
      
         - Optimize page table locking
      
        x86:
         - Enable nested virtualization by default
      
         - Implement Hyper-V IPI hypercalls
      
         - Improve #PF and #DB handling
      
         - Allow guests to use Enlightened VMCS
      
         - Add migration selftests for VMCS and Enlightened VMCS
      
         - Allow coalesced PIO accesses
      
         - Add an option to perform nested VMCS host state consistency check
           through hardware
      
         - Automatic tuning of lapic_timer_advance_ns
      
         - Many fixes, minor improvements, and cleanups"
      
      * tag 'kvm-4.20-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (204 commits)
        KVM/nVMX: Do not validate that posted_intr_desc_addr is page aligned
        Revert "kvm: x86: optimize dr6 restore"
        KVM: PPC: Optimize clearing TCEs for sparse tables
        x86/kvm/nVMX: tweak shadow fields
        selftests/kvm: add missing executables to .gitignore
        KVM: arm64: Safety check PSTATE when entering guest and handle IL
        KVM: PPC: Book3S HV: Don't use streamlined entry path on early POWER9 chips
        arm/arm64: KVM: Enable 32 bits kvm vcpu events support
        arm/arm64: KVM: Rename function kvm_arch_dev_ioctl_check_extension()
        KVM: arm64: Fix caching of host MDCR_EL2 value
        KVM: VMX: enable nested virtualization by default
        KVM/x86: Use 32bit xor to clear registers in svm.c
        kvm: x86: Introduce KVM_CAP_EXCEPTION_PAYLOAD
        kvm: vmx: Defer setting of DR6 until #DB delivery
        kvm: x86: Defer setting of CR2 until #PF delivery
        kvm: x86: Add payload operands to kvm_multiple_exception
        kvm: x86: Add exception payload fields to kvm_vcpu_events
        kvm: x86: Add has_payload and payload to kvm_queued_exception
        KVM: Documentation: Fix omission in struct kvm_vcpu_events
        KVM: selftests: add Enlightened VMCS test
        ...
      0d1e8b8d
    • Linus Torvalds's avatar
      Merge branch 'for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 83c4087c
      Linus Torvalds authored
      Pull cgroup updates from Tejun Heo:
       "All trivial changes - simplification, typo fix and adding
        cond_resched() in a netclassid update loop"
      
      * 'for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup, netclassid: add a preemption point to write_classid
        rdmacg: fix a typo in rdmacg documentation
        cgroup: Simplify cgroup_ancestor
      83c4087c
    • Linus Torvalds's avatar
      Merge tag 'printk-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk · a67eefad
      Linus Torvalds authored
      Pull printk updates from Petr Mladek:
      
       - Fix two more locations where printf formatting leaked pointers
      
       - Better log_buf_len parameter handling
      
       - Add prefix to messages from printk code
      
       - Do not miss messages on other consoles when the log is replayed on a
         new one
      
       - Reduce race between console registration and panic() when the log
         might get replayed on all consoles
      
       - Some cont buffer code clean up
      
       - Call console only when there is something to do (log vs cont buffer)
      
      * tag 'printk-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
        lib/vsprintf: Hash printed address for netdev bits fallback
        lib/vsprintf: Hash legacy clock addresses
        lib/vsprintf: Prepare for more general use of ptr_to_id()
        lib/vsprintf: Make ptr argument conts in ptr_to_id()
        printk: fix integer overflow in setup_log_buf()
        printk: do not preliminary split up cont buffer
        printk: lock/unlock console only for new logbuf entries
        printk: keep kernel cont support always enabled
        printk: Give error on attempt to set log buffer length to over 2G
        printk: Add KBUILD_MODNAME and remove a redundant print prefix
        printk: Correct wrong casting
        printk: Fix panic caused by passing log_buf_len to command line
        printk: CON_PRINTBUFFER console registration is a bit racy
        printk: Do not miss new messages when replaying the log
      a67eefad
  2. 25 Oct, 2018 21 commits