Skip to content
  1. Oct 26, 2019
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.4-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 4fac2407
      Linus Torvalds authored
      Pull xen fixlet from Juergen Gross:
       "Just one patch for issuing a deprecation warning for 32-bit Xen pv
        guests"
      
      * tag 'for-linus-5.4-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen: issue deprecation warning for 32-bit pv guest
      4fac2407
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-5.4-2' of git://git.infradead.org/users/hch/dma-mapping · 964f9cfa
      Linus Torvalds authored
      Pull dma-mapping fix from Christoph Hellwig:
       "Fix a regression in the intel-iommu get_required_mask conversion
        (Arvind Sankar)"
      
      * tag 'dma-mapping-5.4-2' of git://git.infradead.org/users/hch/dma-mapping:
        iommu/vt-d: Return the correct dma mask when we are bypassing the IOMMU
      964f9cfa
    • Linus Torvalds's avatar
      Merge tag 'dax-fix-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 485fc4b6
      Linus Torvalds authored
      Pull dax fix from Dan Williams:
       "Fix a performance regression that followed from a fix to the
        conversion of the fsdax implementation to the xarray. v5.3 users
        report that they stop seeing huge page mappings on an application +
        filesystem layout that was seeing huge pages previously on v5.2"
      
      * tag 'dax-fix-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        fs/dax: Fix pmd vs pte conflict detection
      485fc4b6
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 1c4e395c
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Nine changes, eight to drivers (qla2xxx, hpsa, lpfc, alua, ch,
        53c710[x2], target) and one core change that tries to close a race
        between sysfs delete and module removal"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: lpfc: remove left-over BUILD_NVME defines
        scsi: core: try to get module before removing device
        scsi: hpsa: add missing hunks in reset-patch
        scsi: target: core: Do not overwrite CDB byte 1
        scsi: ch: Make it possible to open a ch device multiple times again
        scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE
        scsi: sni_53c710: fix compilation error
        scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions
        scsi: qla2xxx: fix a potential NULL pointer dereference
      1c4e395c
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · b4b61b22
      Linus Torvalds authored
      Pull input fix from Dmitry Torokhov:
       "A fix for st1232 driver to properly report coordinates for 2nd and
        subsequent fingers when more than one is on the surface"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: st1232 - fix reporting multitouch coordinates
      b4b61b22
    • Linus Torvalds's avatar
      Merge tag 'modules-for-v5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux · 9e2dd2ca
      Linus Torvalds authored
      Pull modules fixes from Jessica Yu:
      
       - Revert __ksymtab_$namespace.$symbol naming scheme back to
         __ksymtab_$symbol, as it was causing issues with depmod.
      
         Instead, have modpost extract a symbol's namespace from __kstrtabns
         and __ksymtab_strings.
      
       - Fix `make nsdeps` for out of tree kernel builds (make O=...) caused
         by unescaped '/'.
      
         Use a different sed delimiter to avoid this problem.
      
      * tag 'modules-for-v5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
        scripts/nsdeps: use alternative sed delimiter
        symbol namespaces: revert to previous __ksymtab name scheme
        modpost: make updating the symbol namespace explicit
        modpost: delegate updating namespaces to separate function
      9e2dd2ca
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 63cbb3b3
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "A slightly larger set of fixes have accrued in the last two weeks.
        Mostly a collection of the usual smaller fixes:
      
         - Marvell Armada: USB phy setup issues on Turris Mox
      
         - Broadcom: GPIO/pinmux DT mapping corrections for Stingray, MMC bus
           width fix for RPi Zero W, GPIO LED removal for RPI CM3. Also some
           maintainer updates.
      
         - OMAP: Fixlets for display config, interrupt settings for wifi, some
           clock/PM pieces. Also IOMMU regression fix and a ti-sysc
           no-watchdog regression fix.
      
         - i.MX: A few fixes around PM/settings, some devicetree fixlets and
           catching up with config option changes in DRM
      
         - Rockchip: RockRro64 misc DT fixups, Hugsun X99 USB-C, Kevin display
           panel settings
      
        ... and some smaller fixes for Davinci (backlight, McBSP DMA),
        Allwinner (phy regulators, PMU removal on A64, etc)"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (42 commits)
        ARM: dts: stm32: relax qspi pins slew-rate for stm32mp157
        MAINTAINERS: Update the Spreadtrum SoC maintainer
        MAINTAINERS: Remove Gregory and Brian for ARCH_BRCMSTB
        ARM: dts: bcm2837-rpi-cm3: Avoid leds-gpio probing issue
        bus: ti-sysc: Fix watchdog quirk handling
        ARM: OMAP2+: Add pdata for OMAP3 ISP IOMMU
        ARM: OMAP2+: Plug in device_enable/idle ops for IOMMUs
        ARM: davinci_all_defconfig: enable GPIO backlight
        ARM: davinci: dm365: Fix McBSP dma_slave_map entry
        ARM: dts: bcm2835-rpi-zero-w: Fix bus-width of sdhci
        ARM: imx_v6_v7_defconfig: Enable CONFIG_DRM_MSM
        arm64: dts: imx8mn: Use correct clock for usdhc's ipg clk
        arm64: dts: imx8mm: Use correct clock for usdhc's ipg clk
        arm64: dts: imx8mq: Use correct clock for usdhc's ipg clk
        ARM: dts: imx7s: Correct GPT's ipg clock source
        ARM: dts: vf610-zii-scu4-aib: Specify 'i2c-mux-idle-disconnect'
        ARM: dts: imx6q-logicpd: Re-Enable SNVS power key
        arm64: dts: lx2160a: Correct CPU core idle state name
        mailmap: Add Simon Arlott (replacement for expired email address)
        arm64: dts: rockchip: Fix override mode for rk3399-kevin panel
        ...
      63cbb3b3
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 8c123380
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "Bugfixes for ARM, PPC and x86, plus selftest improvements"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: nVMX: Don't leak L1 MMIO regions to L2
        KVM: SVM: Fix potential wrong physical id in avic_handle_ldr_update
        kvm: clear kvmclock MSR on reset
        KVM: x86: fix bugon.cocci warnings
        KVM: VMX: Remove specialized handling of unexpected exit-reasons
        selftests: kvm: fix sync_regs_test with newer gccs
        selftests: kvm: vmx_dirty_log_test: skip the test when VMX is not supported
        selftests: kvm: consolidate VMX support checks
        selftests: kvm: vmx_set_nested_state_test: don't check for VMX support twice
        KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled
        selftests: kvm: synchronize .gitignore to Makefile
        kvm: x86: Expose RDPID in KVM_GET_SUPPORTED_CPUID
        KVM: arm64: pmu: Reset sample period on overflow handling
        KVM: arm64: pmu: Set the CHAINED attribute before creating the in-kernel event
        arm64: KVM: Handle PMCR_EL0.LC as RES1 on pure AArch64 systems
        KVM: arm64: pmu: Fix cycle counter truncation
        KVM: PPC: Book3S HV: XIVE: Ensure VP isn't already in use
      8c123380
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2019-10-25' of git://anongit.freedesktop.org/drm/drm · 8caacaad
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Quiet week this week, which I suspect means some people just didn't
        get around to sending me fixes pulls in time. This has 2 komeda and a
        bunch of amdgpu fixes in it:
      
        komeda:
         - typo fixes
         - flushing pipes fix
      
        amdgpu:
         - Fix suspend/resume issue related to multi-media engines
         - Fix memory leak in user ptr code related to hmm conversion
         - Fix possible VM faults when allocating page table memory
         - Fix error handling in bo list ioctl"
      
      * tag 'drm-fixes-2019-10-25' of git://anongit.freedesktop.org/drm/drm:
        drm/komeda: Fix typos in komeda_splitter_validate
        drm/komeda: Don't flush inactive pipes
        drm/amdgpu/vce: fix allocation size in enc ring test
        drm/amdgpu: fix error handling in amdgpu_bo_list_create
        drm/amdgpu: fix potential VM faults
        drm/amdgpu: user pages array memory leak fix
        drm/amdgpu/vcn: fix allocation size in enc ring test
        drm/amdgpu/uvd7: fix allocation size in enc ring test (v2)
        drm/amdgpu/uvd6: fix allocation size in enc ring test (v2)
      8caacaad
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · f6492848
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
       "MMC host fixes:
      
         - mxs: Fix flags passed to dmaengine_prep_slave_sg
      
         - cqhci: Add a missing memory barrier
      
         - sdhci-omap: Fix tuning procedure for temperatures < -20C"
      
      * tag 'mmc-v5.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: mxs: fix flags passed to dmaengine_prep_slave_sg
        mmc: cqhci: Commit descriptors before setting the doorbell
        mmc: sdhci-omap: Fix Tuning procedure for temperatures < -20C
      f6492848
  2. Oct 25, 2019
    • Patrice Chotard's avatar
      ARM: dts: stm32: relax qspi pins slew-rate for stm32mp157 · 86ec2e17
      Patrice Chotard authored
      Relax qspi pins slew-rate to minimize peak currents.
      
      Fixes: 84403005
      
       ("ARM: dts: stm32: add flash nor support on stm32mp157c eval board")
      
      Link: https://lore.kernel.org/r/20191025130122.11407-1-alexandre.torgue@st.com
      Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
      Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      86ec2e17
    • Juergen Gross's avatar
      xen: issue deprecation warning for 32-bit pv guest · 6ccae60d
      Juergen Gross authored
      
      
      Support for the kernel as Xen 32-bit PV guest will soon be removed.
      Issue a warning when booted as such.
      
      Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
      Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
      6ccae60d
    • Dave Airlie's avatar
      Merge tag 'drm-fixes-5.4-2019-10-23' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · 2a360840
      Dave Airlie authored
      
      
      drm-fixes-5.4-2019-10-23:
      
      amdgpu:
      - Fix suspend/resume issue related to multi-media engines
      - Fix memory leak in user ptr code related to hmm conversion
      - Fix possible VM faults when allocating page table memory
      - Fix error handling in bo list ioctl
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191024031809.3155-1-alexander.deucher@amd.com
      2a360840
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2019-10-23' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 20975806
      Dave Airlie authored
      
      
      Two fixes for komeda, one for typos and one to prevent an hardware issue
      when flushing inactive pipes
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@kernel.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191023112643.evpp6f23mpjwdsn4@gilmour
      20975806
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 39a38bcb
      Linus Torvalds authored
      Pull Devicetree fixes from Rob Herring:
       "A couple more DT fixes for 5.4: fix a ref count, memory leak, and
        Risc-V cpu schema warnings"
      
      * tag 'devicetree-fixes-for-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        of: reserved_mem: add missing of_node_put() for proper ref-counting
        of: unittest: fix memory leak in unittest_data_add
        dt-bindings: riscv: Fix CPU schema errors
      39a38bcb
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 7f65d354
      Linus Torvalds authored
      Pull ACPI fix from Rafael Wysocki:
       "Fix locking issue in the error code path of a function that belongs to
        the sysfs interface exposed by the ACPI NFIT handling code (Dan
        Carpenter)"
      
      * tag 'acpi-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: NFIT: Fix unlock on error in scrub_show()
      7f65d354
    • Linus Torvalds's avatar
      Merge tag 'pm-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 5fa2845f
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These fix problems related to frequency limits management in cpufreq
        that were introduced during the 5.3 cycle (when PM QoS had started to
        be used for that), fix a few issues in the OPP (operating performance
        points) library code and fix up the recently added haltpoll cpuidle
        driver.
      
        The cpufreq changes are somewhat bigger that I would like them to be
        at this stage of the cycle, but the problems fixed by them include
        crashes on boot and shutdown in some cases (among other things) and in
        my view it is better to address the root of the issue right away.
      
        Specifics:
      
         - Using device PM QoS of CPU devices for managing frequency limits in
           cpufreq does not work, so introduce frequency QoS (based on the
           original low-level PM QoS) for this purpose, switch cpufreq and
           related code over to using it and fix a race involving deferred
           updates of frequency limits on top of that (Rafael Wysocki, Sudeep
           Holla).
      
         - Avoid calling regulator_enable()/disable() from the OPP framework
           to avoid side-effects on boot-enabled regulators that may change
           their initial voltage due to performing initial voltage balancing
           without all restrictions from the consumers (Marek Szyprowski).
      
         - Avoid a kref management issue in the OPP library code and drop an
           incorrectly added lockdep_assert_held() from it (Viresh Kumar).
      
         - Make the recently added haltpoll cpuidle driver take the 'idle='
           override into account as appropriate (Zhenzhong Duan)"
      
      * tag 'pm-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        opp: Reinitialize the list_kref before adding the static OPPs again
        cpufreq: Cancel policy update work scheduled before freeing
        cpuidle: haltpoll: Take 'idle=' override into account
        opp: core: Revert "add regulators enable and disable"
        PM: QoS: Drop frequency QoS types from device PM QoS
        cpufreq: Use per-policy frequency QoS
        PM: QoS: Introduce frequency QoS
        opp: of: drop incorrect lockdep_assert_held()
      5fa2845f
    • Linus Torvalds's avatar
      Merge tag 'gfs2-v5.4-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 65b15b7f
      Linus Torvalds authored
      Pull gfs2 fix from Andreas Gruenbacher:
       "Fix a memory leak introduced in -rc1"
      
      * tag 'gfs2-v5.4-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: Fix memory leak when gfs2meta's fs_context is freed
      65b15b7f
  3. Oct 24, 2019
    • Andrew Price's avatar
      gfs2: Fix memory leak when gfs2meta's fs_context is freed · 30aecae8
      Andrew Price authored
      
      
      gfs2 and gfs2meta share an ->init_fs_context function which allocates an
      args structure stored in fc->fs_private. gfs2 registers a ->free
      function to free this memory when the fs_context is cleaned up, but
      there was not one registered for gfs2meta, causing a leak.
      
      Register a ->free function for gfs2meta. The existing gfs2_fc_free
      function does what we need.
      
      Reported-by: default avatar <syzbot+c2fdfd2b783754878fb6@syzkaller.appspotmail.com>
      Fixes: 1f52aa08
      
       ("gfs2: Convert gfs2 to fs_context")
      Signed-off-by: default avatarAndrew Price <anprice@redhat.com>
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      30aecae8
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpuidle' and 'pm-opp' · 767d2d71
      Rafael J. Wysocki authored
      * pm-cpuidle:
        cpuidle: haltpoll: Take 'idle=' override into account
      
      * pm-opp:
        opp: Reinitialize the list_kref before adding the static OPPs again
        opp: core: Revert "add regulators enable and disable"
        opp: of: drop incorrect lockdep_assert_held()
      767d2d71
    • Linus Torvalds's avatar
      Merge tag 'mfd-fixes-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · f116b966
      Linus Torvalds authored
      Pull MFD fix from Lee Jones:
       "Fix broken support for BananaPi-r2"
      
      * tag 'mfd-fixes-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd:
        mfd: mt6397: Fix probe after changing mt6397-core
      f116b966
    • Linus Torvalds's avatar
      Merge tag 'sound-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · f632bfaa
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "This is a usual small bump in the middle, we've got a set of ASoC
        fixes in this week as shown in diffstat.
      
        The only change in the core stuff is about (somewhat minor) PCM
        debugfs error handling. The major changes are rather for Intel SOF and
        topology coverage, as well as other platform (rockchip, samsung, stm)
        and codec fixes.
      
        As non-ASoC changes, a couple of new HD-audio chip fixes and a typo
        correction of USB-audio driver validation code are found"
      
      * tag 'sound-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (29 commits)
        ALSA: hda: Add Tigerlake/Jasperlake PCI ID
        ALSA: usb-audio: Fix copy&paste error in the validator
        ALSA: hda/realtek - Add support for ALC711
        ASoC: SOF: control: return true when kcontrol values change
        ASoC: stm32: sai: fix sysclk management on shutdown
        ASoC: Intel: sof-rt5682: add a check for devm_clk_get
        ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting
        ASoC: simple_card_utils.h: Fix potential multiple redefinition error
        ASoC: msm8916-wcd-digital: add missing MIX2 path for RX1/2
        ASoC: core: Fix pcm code debugfs error
        ASoc: rockchip: i2s: Fix RPM imbalance
        ASoC: wm_adsp: Don't generate kcontrols without READ flags
        ASoC: intel: bytcr_rt5651: add null check to support_button_press
        ASoC: intel: sof_rt5682: add remove function to disable jack
        ASoC: rt5682: add NULL handler to set_jack function
        ASoC: intel: sof_rt5682: use separate route map for dmic
        ASoC: SOF: Intel: hda: Disable DMI L1 entry during capture
        ASoC: SOF: Intel: initialise and verify FW crash dump data.
        ASoC: SOF: Intel: hda: fix warnings during FW load
        ASoC: SOF: pcm: harden PCM STOP sequence
        ...
      f632bfaa
    • Frank Wunderlich's avatar
      mfd: mt6397: Fix probe after changing mt6397-core · 603d9299
      Frank Wunderlich authored
      Part 3 from this series [1] was not merged due to wrong splitting
      and breaks mt6323 pmic on bananapi-r2
      
      dmesg prints this line and at least switch is not initialized on bananapi-r2
      
      mt6397 1000d000.pwrap:mt6323: unsupported chip: 0x0
      
      this patch contains only the probe-changes and chip_data structs
      from original part 3 by Hsin-Hsiung Wang
      
      [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=164155
      
      Fixes: a4872e80
      
       ("mfd: mt6397: Extract IRQ related code from core driver")
      Signed-off-by: default avatarFrank Wunderlich <frank-w@public-files.de>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      603d9299
    • Olof Johansson's avatar
      Merge tag 'arm-soc/for-5.5/maintainers' of https://github.com/Broadcom/stblinux into arm/fixes · 116c05bf
      Olof Johansson authored
      
      
      This pull request contains MAINTAINERS file updates for Broadcom SoCs
      for the 5.5 kernel, please pull the following:
      
      - Simon adds a .mailmap alias for his old email
      
      - Stefan updates the existing BCM2835 with BCM2711 which is the chip
        name for the Raspberry Pi 4
      
      - Florian removes Gregory and Brian from the MAINTAINERS file for
        BRCMSTB SoCs
      
      * tag 'arm-soc/for-5.5/maintainers' of https://github.com/Broadcom/stblinux:
        MAINTAINERS: Remove Gregory and Brian for ARCH_BRCMSTB
        mailmap: Add Simon Arlott (replacement for expired email address)
        MAINTAINERS: Add BCM2711 to BCM2835 ARCH
      
      Link: https://lore.kernel.org/r/20191023212814.30622-3-f.fainelli@gmail.com
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      116c05bf
    • Baolin Wang's avatar
      MAINTAINERS: Update the Spreadtrum SoC maintainer · d4267a57
      Baolin Wang authored
      
      
      Change my email address, and add more Spreadtrum SC27xx series PMIC
      drivers to maintain.
      
      Link: https://lore.kernel.org/r/a48483d13243450ecf3b777d49e741b6367f2c6b.1571881956.git.baolin.wang@linaro.org
      Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      d4267a57
    • Chris Goldsworthy's avatar
      of: reserved_mem: add missing of_node_put() for proper ref-counting · 5dba5175
      Chris Goldsworthy authored
      Commit d698a388 ("of: reserved-memory: ignore disabled memory-region
      nodes") added an early return in of_reserved_mem_device_init_by_idx(), but
      didn't call of_node_put() on a device_node whose ref-count was incremented
      in the call to of_parse_phandle() preceding the early exit.
      
      Fixes: d698a388
      
       ("of: reserved-memory: ignore disabled memory-region nodes")
      Signed-off-by: default avatarChris Goldsworthy <cgoldswo@codeaurora.org>
      Cc: stable@vger.kernel.org
      Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      5dba5175
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.4-rc3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · fa8a74de
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "Two minor fixes:
      
         - A race in perf trace initialization (missing mutexes)
      
         - Minor fix to represent gfp_t in synthetic events as properly
           signed"
      
      * tag 'trace-v5.4-rc3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Fix race in perf_trace_buf initialization
        tracing: Fix "gfp_t" format for synthetic events
      fa8a74de
    • Navid Emamdoost's avatar
      of: unittest: fix memory leak in unittest_data_add · e13de8fe
      Navid Emamdoost authored
      In unittest_data_add, a copy buffer is created via kmemdup. This buffer
      is leaked if of_fdt_unflatten_tree fails. The release for the
      unittest_data buffer is added.
      
      Fixes: b951f9dc
      
       ("Enabling OF selftest to run without machine's devicetree")
      Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
      Reviewed-by: default avatarFrank Rowand <frowand.list@gmail.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      e13de8fe
    • Rob Herring's avatar
      dt-bindings: riscv: Fix CPU schema errors · 9af865d9
      Rob Herring authored
      Fix the errors in the RiscV CPU DT schema:
      
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@0: 'timebase-frequency' is a required property
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@1: 'timebase-frequency' is a required property
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@0: compatible:0: 'riscv' is not one of ['sifive,rocket0', 'sifive,e5', 'sifive,e51', 'sifive,u54-mc', 'sifive,u54', 'sifive,u5']
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@0: compatible: ['riscv'] is too short
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@0: 'timebase-frequency' is a required property
      
      The DT spec allows for 'timebase-frequency' to be in 'cpu' or 'cpus' node
      and RiscV requires it in /cpus node, so make it disallowed in cpu
      nodes.
      
      Fixes: 4fd669a8
      
       ("dt-bindings: riscv: convert cpu binding to json-schema")
      Cc: Palmer Dabbelt <palmer@sifive.com>
      Cc: Albert Ou <aou@eecs.berkeley.edu>
      Cc: linux-riscv@lists.infradead.org
      Acked-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      9af865d9
    • Linus Torvalds's avatar
      Merge tag 'vfio-v5.4-rc5' of git://github.com/awilliam/linux-vfio · 64131618
      Linus Torvalds authored
      Pull VFIO fixlet from Alex Williamson:
       "Fix (false) uninitialized variable warning (Joerg Roedel)"
      
      * tag 'vfio-v5.4-rc5' of git://github.com/awilliam/linux-vfio:
        vfio/type1: Initialize resv_msi_base
      64131618
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v5.4-rc4' of... · deed1d44
      Linus Torvalds authored
      Merge tag 'regulator-fix-v5.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fixes from Mark Brown:
       "There are a few core fixes here around error handling and handling if
        suspend mode configuration and some driver specific fixes here but the
        most important change is the fix to the fixed-regulator DT schema
        conversion introduced during the last merge window.
      
        That fixes one of the last two errors preventing successful execution
        of "make dt_binding_check" which will be enormously helpful for DT
        schema development"
      
      * tag 'regulator-fix-v5.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: qcom-rpmh: Fix PMIC5 BoB min voltage
        regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized
        regulator: lochnagar: Add on_off_delay for VDDCORE
        regulator: ti-abb: Fix timeout in ti_abb_wait_txdone/ti_abb_clear_all_txdone
        regulator: da9062: fix suspend_enable/disable preparation
        dt-bindings: fixed-regulator: fix compatible enum
        regulator: fixed: Prevent NULL pointer dereference when !CONFIG_OF
        regulator: core: make regulator_register() EPROBE_DEFER aware
        regulator: of: fix suspend-min/max-voltage parsing
      deed1d44
    • Florian Fainelli's avatar
      MAINTAINERS: Remove Gregory and Brian for ARCH_BRCMSTB · 0d660ffb
      Florian Fainelli authored
      
      
      The last time Gregory and Brian did a review was sometime around 2015,
      since then, they have not been active for ARCH_BRCMSTB changes.
      Following the position of other maintainers and Harald Welte's position
      here:
      
      [1] http://laforge.gnumonks.org/blog/20180307-mchardy-gpl/
      
      remove both of them.
      
      Acked-by: default avatarBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      0d660ffb
    • Olof Johansson's avatar
      Merge tag 'omap-for-v5.4/fixes-rc4-signed' of... · f82bc135
      Olof Johansson authored
      
      Merge tag 'omap-for-v5.4/fixes-rc4-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
      
      Three fixes for omaps for v5.4-rc cycle
      
      Two regression fixes for omap3 iommu. I missed applying two omap3
      related iommu pdata quirks patches earlier because the kbuild test
      robot produced errors on them for missing dependencies.
      
      Fix ti-sysc interconnect target module driver handling for watchdog
      quirk. I must have tested this earlier only with watchdog service
      running, but clearly it does not do what it needs to do.
      
      * tag 'omap-for-v5.4/fixes-rc4-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        bus: ti-sysc: Fix watchdog quirk handling
        ARM: OMAP2+: Add pdata for OMAP3 ISP IOMMU
        ARM: OMAP2+: Plug in device_enable/idle ops for IOMMUs
      
      Link: https://lore.kernel.org/r/pull-1571848757-282222@atomide.com
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      f82bc135
  4. Oct 23, 2019
    • Olof Johansson's avatar
      Merge tag 'sunxi-fixes-for-5.4-1' of... · 21397ae0
      Olof Johansson authored
      
      Merge tag 'sunxi-fixes-for-5.4-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/fixes
      
      A number of fixes for this release, but mostly:
        - A fixup for the A10 CSI DT binding merged during the 5.4-rc1 window
        - A fix for a dt-binding error
        - Addition of phy regulator delays
        - The PMU on the A64 was found to be non-functional, so we've dropped it for now
      
      * tag 'sunxi-fixes-for-5.4-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        ARM: dts: sun7i: Drop the module clock from the device tree
        dt-bindings: media: sun4i-csi: Drop the module clock
        media: dt-bindings: Fix building error for dt_binding_check
        arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay
        arm64: dts: allwinner: a64: Drop PMU node
        arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay
      
      Link: https://lore.kernel.org/r/80085a57-c40f-4bed-a9c3-19858d87564e.lettre@localhost
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      21397ae0
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm · 13b86bc4
      Linus Torvalds authored
      :Pull ARM fixes from Russell King:
      
       - fix for alignment faults under high memory pressure
      
       - use u32 for ARM instructions in fault handler
      
       - mark functions that must always be inlined with __always_inline
      
       - fix for nommu XIP
      
       - fix ARMv7M switch to handler mode in reboot path
      
       - fix the recently introduced AMBA reset control error paths
      
      * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: 8926/1: v7m: remove register save to stack before svc
        ARM: 8914/1: NOMMU: Fix exc_ret for XIP
        ARM: 8908/1: add __always_inline to functions called from __get_user_check()
        ARM: mm: alignment: use "u32" for 32-bit instructions
        ARM: mm: fix alignment handler faults under memory pressure
        drivers/amba: fix reset control error handling
      13b86bc4
    • Linus Torvalds's avatar
      Merge tag 'edac_urgent_for_5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras · e969c860
      Linus Torvalds authored
      Pull EDAC fix from Borislav Petkov:
       "Fix ghes_edac UAF case triggered by KASAN and DEBUG_TEST_DRIVER_REMOVE.
      
        Future pending rework of the ghes_edac instances registration will do
        away with the single memory controller per system model and that ugly
        hackery there.
      
        This is a minimal fix for stable@, courtesy of James Morse"
      
      * tag 'edac_urgent_for_5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
        EDAC/ghes: Fix Use after free in ghes_edac remove path
      e969c860
    • Linus Torvalds's avatar
      Merge tag 'for-5.4-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 54955e3b
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
      
       - fixes of error handling cleanup of metadata accounting with qgroups
         enabled
      
       - fix swapped values for qgroup tracepoints
      
       - fix race when handling full sync flag
      
       - don't start unused worker thread, functionality removed already
      
      * tag 'for-5.4-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        Btrfs: check for the full sync flag while holding the inode lock during fsync
        Btrfs: fix qgroup double free after failure to reserve metadata for delalloc
        btrfs: tracepoints: Fix bad entry members of qgroup events
        btrfs: tracepoints: Fix wrong parameter order for qgroup events
        btrfs: qgroup: Always free PREALLOC META reserve in btrfs_delalloc_release_extents()
        btrfs: don't needlessly create extent-refs kernel thread
        btrfs: block-group: Fix a memory leak due to missing btrfs_put_block_group()
        Btrfs: add missing extents release on file extent cluster relocation error
      54955e3b
    • Jessica Yu's avatar
      scripts/nsdeps: use alternative sed delimiter · 09684950
      Jessica Yu authored
      
      
      When doing an out of tree build with O=, the nsdeps script constructs
      the absolute pathname of the module source file so that it can insert
      MODULE_IMPORT_NS statements in the right place. However, ${srctree}
      contains an unescaped path to the source tree, which, when used in a sed
      substitution, makes sed complain:
      
      ++ sed 's/[^ ]* *//home/jeyu/jeyu-linux\/&/g'
      sed: -e expression #1, char 12: unknown option to `s'
      
      The sed substitution command 's' ends prematurely with the forward
      slashes in the pathname, and sed errors out when it encounters the 'h',
      which is an invalid sed substitution option. To avoid escaping forward
      slashes ${srctree}, we can use '|' as an alternative delimiter for
      sed instead to avoid this error.
      
      Reviewed-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarMatthias Maennich <maennich@google.com>
      Tested-by: default avatarMatthias Maennich <maennich@google.com>
      Signed-off-by: default avatarJessica Yu <jeyu@kernel.org>
      09684950
    • Rafael J. Wysocki's avatar
      Merge branch 'opp/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm · 028db79c
      Rafael J. Wysocki authored
      Pull operating performance points (OPP) framework fixes for v5.4
      from Viresh Kumar:
      
      "This contains:
      
      - Patch to revert addition of regulator enable/disable in OPP core
        (Marek).
      - Remove incorrect lockdep assert (Viresh).
      - Fix a kref counting issue (Viresh)."
      
      * 'opp/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm:
        opp: Reinitialize the list_kref before adding the static OPPs again
        opp: core: Revert "add regulators enable and disable"
        opp: of: drop incorrect lockdep_assert_held()
      028db79c
    • Dan Williams's avatar
      fs/dax: Fix pmd vs pte conflict detection · 6370740e
      Dan Williams authored
      Users reported a v5.3 performance regression and inability to establish
      huge page mappings. A revised version of the ndctl "dax.sh" huge page
      unit test identifies commit 23c84eb7
      
       "dax: Fix missed wakeup with
      PMD faults" as the source.
      
      Update get_unlocked_entry() to check for NULL entries before checking
      the entry order, otherwise NULL is misinterpreted as a present pte
      conflict. The 'order' check needs to happen before the locked check as
      an unlocked entry at the wrong order must fallback to lookup the correct
      order.
      
      Reported-by: default avatarJeff Smits <jeff.smits@intel.com>
      Reported-by: default avatarDoug Nelson <doug.nelson@intel.com>
      Cc: <stable@vger.kernel.org>
      Fixes: 23c84eb7
      
       ("dax: Fix missed wakeup with PMD faults")
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Cc: Jeff Moyer <jmoyer@redhat.com>
      Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
      Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
      Link: https://lore.kernel.org/r/157167532455.3945484.11971474077040503994.stgit@dwillia2-desk3.amr.corp.intel.com
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      6370740e