Skip to content
  1. Jan 19, 2019
    • Linus Torvalds's avatar
      Merge tag 'regmap-fix-v5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · 6e4673b4
      Linus Torvalds authored
      Pull regmap fixes from Mark Brown:
       "The cleanups for the way we handle type information introduced during
        the merge window revealed that we'd been abusing the irq APIs for a
        long time, causing breakage for systems.
      
        This has a couple of minimal fixes for that which restore the previous
        behaviour for the time being, we'll fix it properly for v5.1 but
        that'd be a bit much to do as a bug fix"
      
      * tag 'regmap-fix-v5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
        regmap-irq: do not write mask register if mask_base is zero
        regmap: regmap-irq: silently ignore unsupported type settings
      6e4673b4
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · c5b70980
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
       "A couple of weeks of fixes.
      
        There's one fix for an oops on Power9 machines with Open CAPI
        adapters.
      
        And a fix for probable memory corruption in some of the new NPU code,
        caught by smatch though and not seen in the wild.
      
        Plus a few other minor fixes.
      
        There's one non-fix which is the perf_regs change. That was sent
        during the merge window but I accidentally only merged the first of
        two patches in the series. It's been in linux-next so hopefully
        doesn't conflict with anything in acme's tree.
      
        Thanks to: Alexey Kardashevskiy, Andrew Donnellan, Breno Leitao,
        Christian Lamparter, Christophe Leroy, Dan Carpenter, Frederic Barrat,
        Greg Kurz, Jason A. Donenfeld, Madhavan Srinivasan"
      
      * tag 'powerpc-5.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/syscalls: Fix syscall tracing
        powerpc/pseries: Fix build break due to pnv_npu2_init()
        powerpc/4xx/ocm: Fix fix for phys_addr_t printf warnings
        powerpc/powernv/npu: Fix oops in pnv_try_setup_npu_table_group()
        powerpc/tm: Limit TM code inside PPC_TRANSACTIONAL_MEM
        powerpc/8xx: fix setting of pagetable for Abatron BDI debug tool.
        powerpc/powernv/npu: Allocate enough memory in pnv_try_setup_npu_table_group()
        powerpc/perf: Update perf_regs structure to include MMCRA
      c5b70980
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.0-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · e6ec2fda
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
      
       - Several fixes for the Xen pvcalls drivers (1 fix for the backend and
         8 for the frontend).
      
       - A fix for a rather longstanding bug in the Xen sched_clock()
         interface which led to weird time jumps when migrating the system.
      
       - A fix for avoiding accesses to x2apic MSRs in Xen PV guests.
      
      * tag 'for-linus-5.0-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen: Fix x86 sched_clock() interface for xen
        pvcalls-front: fix potential null dereference
        always clear the X2APIC_ENABLE bit for PV guest
        pvcalls-front: Avoid get_free_pages(GFP_KERNEL) under spinlock
        xen/pvcalls: remove set but not used variable 'intf'
        pvcalls-back: set -ENOTCONN in pvcalls_conn_back_read
        pvcalls-front: don't return error when the ring is full
        pvcalls-front: properly allocate sk
        pvcalls-front: don't try to free unallocated rings
        pvcalls-front: read all data before closing the connection
      e6ec2fda
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · dc6fef2c
      Linus Torvalds authored
      Pull crypto fixes from Herbert Xu:
       "This fixes the following issues:
         - Zero-length DMA mapping in caam
         - Invalidly mapping stack memory for DMA in talitos
         - Use after free in cavium/nitrox
         - Key parsing in authenc
         - Undefined shift in sm3
         - Bogus completion call in authencesn
         - SHA support detection in caam"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: sm3 - fix undefined shift by >= width of value
        crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK
        crypto: talitos - reorder code in talitos_edesc_alloc()
        crypto: adiantum - initialize crypto_spawn::inst
        crypto: cavium/nitrox - Use after free in process_response_list()
        crypto: authencesn - Avoid twice completion call in decrypt path
        crypto: caam - fix SHA support detection
        crypto: caam - fix zero-length buffer DMA mapping
        crypto: ccree - convert to use crypto_authenc_extractkeys()
        crypto: bcm - convert to use crypto_authenc_extractkeys()
        crypto: authenc - fix parsing key with misaligned rta_len
      dc6fef2c
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 6e434bf2
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "These fix an ACPI initialization ordering issue introduced in the 4.17
        time frame and causing functional problems to appear on multiple
        systems and fix some fallout of the recent change to enable building
        kernels with ACPI support and without PCI.
      
        Specifics:
      
         - Restore the ACPI initialization ordering changed implicitly by the
           module-level AML handling rework during the 4.17 development cycle
           that caused the EC address space handler based on information from
           ECDT to be set up before loading AML definition blocks, making it
           effectively not accessible by AML on some systems that don't work
           as expected any more (Rafael Wysocki).
      
         - Add direct dependencies on PCI to Kconfig in multiple places for
           code that depends on both ACPI and PCI, but the PCI dependency was
           implicitly satisfied by the ACPI dependency before, to prevent
           invalid configurations from being created, for example by
           randconfig (Sinan Kaya)"
      
      * tag 'acpi-5.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: EC: Look for ECDT EC after calling acpi_load_tables()
        drivers: thermal: int340x_thermal: Make PCI dependency explicit
        x86/intel/lpss: Make PCI dependency explicit
        platform/x86: apple-gmux: Make PCI dependency explicit
        platform/x86: intel_pmc: Make PCI dependency explicit
        platform/x86: intel_ips: make PCI dependency explicit
        vga-switcheroo: make PCI dependency explicit
        ata: pata_acpi: Make PCI dependency explicit
        ACPI / LPSS: Make PCI dependency explicit
      6e434bf2
    • Linus Torvalds's avatar
      Merge tag 'fbdev-v5.0-rc3' of git://github.com/bzolnier/linux · 2a8cbf2a
      Linus Torvalds authored
      Pull fbdev fixes from Bartlomiej Zolnierkiewicz:
      
       - fix stack memory leak in omap2fb driver (Vlad Tsyrklevich)
      
       - fix OF node name handling v4.20 regression in offb driver (Rob
         Herring)
      
       - convert CONFIG_FB_LOGO_CENTER config option added in v5.0-rc1 into a
         kernel parameter (Peter Rosin)
      
      * tag 'fbdev-v5.0-rc3' of git://github.com/bzolnier/linux:
        fbdev: fbmem: convert CONFIG_FB_LOGO_CENTER into a cmd line option
        fbdev: offb: Fix OF node name handling
        omap2fb: Fix stack memory disclosure
      2a8cbf2a
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2019-01-18-1' of git://anongit.freedesktop.org/drm/drm · c3653ebd
      Linus Torvalds authored
      Pull drm update from Dave Airlie:
       "Add nouveau TU102 (RTX 2080 Ti) support"
      
      * tag 'drm-fixes-2019-01-18-1' of git://anongit.freedesktop.org/drm/drm:
        drm/nouveau/core: recognise TU102
      c3653ebd
  2. Jan 18, 2019
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-pci' · 11ee2a38
      Rafael J. Wysocki authored
      * acpi-pci:
        drivers: thermal: int340x_thermal: Make PCI dependency explicit
        x86/intel/lpss: Make PCI dependency explicit
        platform/x86: apple-gmux: Make PCI dependency explicit
        platform/x86: intel_pmc: Make PCI dependency explicit
        platform/x86: intel_ips: make PCI dependency explicit
        vga-switcheroo: make PCI dependency explicit
        ata: pata_acpi: Make PCI dependency explicit
        ACPI / LPSS: Make PCI dependency explicit
      11ee2a38
    • Dave Airlie's avatar
      Merge branch 'linux-4.21' of git://github.com/skeggsb/linux into drm-fixes · 9420151d
      Dave Airlie authored
      
      
      nouveau support for TU102 (RTX 2080 Ti)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Ben Skeggs <bskeggs@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/CABDvA=mQsRr0BpRpv3n6UjthHush4u_kQR3oUGHkBtAHTmyCYw@mail.gmail.com
      9420151d
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · d7393226
      Linus Torvalds authored
      Pull rdma fixes frfom Jason Gunthorpe:
       "Not much so far. We have the usual batch of bugs and two fixes to code
        merged this cycle:
      
         - Restore valgrind support for the ioctl verbs interface merged this
           window, and fix a missed error code on an error path from that
           conversion
      
         - A user reported crash on obsolete mthca hardware
      
         - pvrdma was using the wrong command opcode toward the hypervisor
      
         - NULL pointer crash regression when dumping rdma-cm over netlink
      
         - Be conservative about exposing the global rkey"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        RDMA/uverbs: Mark ioctl responses with UVERBS_ATTR_F_VALID_OUTPUT
        RDMA/mthca: Clear QP objects during their allocation
        RDMA/vmw_pvrdma: Return the correct opcode when creating WR
        RDMA/cma: Add cm_id restrack resource based on kernel or user cm_id type
        RDMA/nldev: Don't expose unsafe global rkey to regular user
        RDMA/uverbs: Fix post send success return value in case of error
      d7393226
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2019-01-18' of git://anongit.freedesktop.org/drm/drm · 1092a94f
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "The rc3 fixes are a bit scattered:
      
         - meson, sun4i and rockchip all had missing of_node_put.
      
         - qxl and virtio both were advertising dma-buf to userspace when they
           really shouldn't have.
      
        Otherwise:
      
        meson:
         - modesetting regression fix
      
        i915 GVT:
         - one cmd parser failure fix
         - region cleanup fix in vGPU destroy
      
        amdgpu:
         - KFD fixes for arm64 mixed APU/DGPU
         - vega12 powerplay fix
         - raven DC fixes
         - freesync fix"
      
      * tag 'drm-fixes-2019-01-18' of git://anongit.freedesktop.org/drm/drm:
        drm/amd/display: Detach backlight from stream
        drm/sun4i: backend: add missing of_node_puts
        Revert "drm/amdgpu: validate user pitch alignment"
        Revert "drm/amdgpu: validate user GEM object size"
        drm/meson: Fix atomic mode switching regression
        drm/i915/gvt: Fix mmap range check
        drm/i915/gvt: free VFIO region space in vgpu detach
        drm/amd/display: Fix disabled cursor on top screen edge
        drm/amd/display: fix warning on raven hotplug
        drm/amd/display: fix PME notification not working in RV desktop
        drm/amd/display: Only get the connector state for VRR when toggled
        drm/amd/display: Pack DMCU iRAM alignment
        drm/amd/powerplay: run acg btc for Vega12
        drm/amdkfd: Don't assign dGPUs to APU topology devices
        drm/amdkfd: Allow building KFD on ARM64 (v2)
        drm/meson: add missing of_node_put
        drm/virtio: drop prime import/export callbacks
        drm/qxl: drop prime import/export callbacks
        drm/i915/gvt: Allow F_CMD_ACCESS on mmio 0x21f0
        drm/rockchip: add missing of_node_put
      1092a94f
    • Linus Torvalds's avatar
      Merge tag 'led-fix-for-5.0-rc3' of... · 2451f371
      Linus Torvalds authored
      Merge tag 'led-fix-for-5.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds
      
      Pull LED fix from Jacek Anaszewski.
      
      * tag 'led-fix-for-5.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
        leds: lp5523: fix a missing check of return value of lp55xx_read
      2451f371
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v5.0-rc3' of... · 0a2fbed8
      Linus Torvalds authored
      Merge tag 'hwmon-for-v5.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fixes from Guenter Roeck:
       "Minor fixes/regressions"
      
      * tag 'hwmon-for-v5.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (tmp421) Correct the misspelling of the tmp442 compatible attribute in OF device ID table
        hwmon: (occ) Fix potential integer overflow
        hwmon: (lm80) Fix missing unlock on error in set_fan_div()
        hwmon: (nct6775) Enable IO mapping for NCT6797D and NCT6798D
        hwmon: (nct6775) Fix chip ID for NCT6798D
      0a2fbed8
    • Ben Skeggs's avatar
      drm/nouveau/core: recognise TU102 · 7ebec5f4
      Ben Skeggs authored
      
      
      Would usually do this split-out, verifying each component indivitually, but
      this has been squashed together to be more palatable for merging in 5.0-rc.
      
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      7ebec5f4
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2019-01-17' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · df0219b4
      Dave Airlie authored
      
      
      drm-misc-fixes for v5.0-rc3:
      - Add missing calls to of_node_put to sun4i, meson, and rockchip.
      - Drop unimplemented prime callbacks in virtio and qxl, so support
        for prime is not advertised on those drivers.
      - Fix mode switching regression in meson.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/9af07312-f435-2fda-65a2-9fe92cdf5da4@linux.intel.com
      df0219b4
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2019-01-17' of... · 4ac4cb70
      Dave Airlie authored
      
      Merge tag 'drm-intel-fixes-2019-01-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      drm/i915/gvt fixes for v5.0-rc3
      
      "This contains one cmd parser failure fix to allow cmd access for one
      register, and fix region cleanup properly in vGPU destroy, and another
      fix for critical mmap size check mistake."
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/87ef9bfusc.fsf@intel.com
      4ac4cb70
    • Dave Airlie's avatar
      Merge branch 'drm-fixes-5.0' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · 586cdb0d
      Dave Airlie authored
      
      
      Fixes for 5.0:
      - Fix KFD on ARM64
      - Fix KFD topology with mixed APU and dGPU systems
      - Powerplay fix for vega12
      - DC Raven fixes
      - Freesync fix
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190116224524.3314-1-alexander.deucher@amd.com
      586cdb0d
    • Kangjie Lu's avatar
      leds: lp5523: fix a missing check of return value of lp55xx_read · 248b5701
      Kangjie Lu authored
      
      
      When lp55xx_read() fails, "status" is an uninitialized variable and thus
      may contain random value; using it leads to undefined behaviors.
      
      The fix inserts a check for the return value of lp55xx_read: if it
      fails, returns with its error code.
      
      Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
      Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
      248b5701
    • Cheng-Min Ao's avatar
      hwmon: (tmp421) Correct the misspelling of the tmp442 compatible attribute in OF device ID table · f422449b
      Cheng-Min Ao authored
      
      
      Correct a typo in OF device ID table
      The last one should be 'ti,tmp442'
      
      Signed-off-by: default avatarCheng-Min Ao <tony_ao@wiwynn.com>
      Signed-off-by: default avatarYu-Hsiang Chen <matt_chen@wiwynn.com>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      f422449b
    • Linus Torvalds's avatar
      Merge tag 'afs-fixes-20190117' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs · a3a80255
      Linus Torvalds authored
      Pull AFS fixes from David Howells:
       "Here's a set of fixes for AFS:
      
         - Use struct_size() for kzalloc() size calculation.
      
         - When calling YFS.CreateFile rather than AFS.CreateFile, it is
           possible to create a file with a file lock already held. The
           default value indicating no lock required is actually -1, not 0.
      
         - Fix an oops in inode/vnode validation if the target inode doesn't
           have a server interest assigned (ie. a server that will notify us
           of changes by third parties).
      
         - Fix refcounting of keys in file locking.
      
         - Fix a race in refcounting asynchronous operations in the event of
           an error during request transmission. The provision of a dedicated
           function to get an extra ref on a call is split into a separate
           commit"
      
      * tag 'afs-fixes-20190117' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
        afs: Fix race in async call refcounting
        afs: Provide a function to get a ref on a call
        afs: Fix key refcounting in file locking code
        afs: Don't set vnode->cb_s_break in afs_validate()
        afs: Set correct lock type for the yfs CreateFile
        afs: Use struct_size() in kzalloc()
      a3a80255
    • Linus Torvalds's avatar
      Merge branch 'stable/for-linus-5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb · 6d060fa3
      Linus Torvalds authored
      Pull swiotlb fix from Konrad Rzeszutek Wilk:
       "A tiny fix for v5.0-rc2:
      
        This fixes an issue with GPU cards not working anymore with the DMA
        mapping work Christopher did - as the SWIOTLB is initialized first and
        then free'd (as IOMMU is available) but we forgot to clear our start
        and end entries which are used and BOOM"
      
      * 'stable/for-linus-5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb:
        swiotlb: clear io_tlb_start and io_tlb_end in swiotlb_exit
      6d060fa3
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v5.0' of... · e4484a49
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - clean generated files in scripts/kconfig/ by 'make mrproper'
      
       - fix conflict between dead code elimination and ftrace for GCC <= 4.7
      
       - fix external module build with CONFIG_STACKPROTECTOR
      
       - remove unused code
      
      * tag 'kbuild-fixes-v5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kbuild: mark prepare0 as PHONY to fix external module build
        openrisc: remove unneeded code in arch/openrisc/Makefile
        nds32: remove unneeded code in arch/nds32/Makefile
        ia64: remove redundant 'export AWK'
        kbuild: remove unused archmrproper
        kbuild: remove unused baseprereq
        kbuild: Disable LD_DEAD_CODE_DATA_ELIMINATION with ftrace & GCC <= 4.7
        kconfig: clean generated *conf-cfg files
      e4484a49
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · d471c4df
      Linus Torvalds authored
      Pull Devicetree fixes from Rob Herring:
      
       - Remove now unused struct device_node.type pointer
      
       - Fix meson-axg reset header SPDX tag
      
       - Add missing of_node_put in of_graph_get_remote_port_parent
      
       - Fix several binding doc file references and typos
      
      * tag 'devicetree-fixes-for-5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        dt-bindings: reset: meson-axg: fix SPDX license id
        dt-bindings: soc: qcom: Fix trivial language typos
        doc: gpio-mvebu: fix broken reference to cp110-system-controller0.txt file
        OF: properties: add missing of_node_put
        doc: bindings: fix bad reference to ARM CPU bindings
        dt-bindings: marvell,mmp2: fix typos in bindings doc
        of: Remove struct device_node.type pointer
      d471c4df
  3. Jan 17, 2019