Skip to content
  1. Jul 07, 2020
  2. Jul 02, 2020
  3. Jul 01, 2020
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · edb543cf
      Linus Torvalds authored
      Pull exfat fixes from Namjae Jeon:
      
       - Zero out unused characters of FileName field to avoid a complaint
         from some fsck tool.
      
       - Fix memory leak on error paths.
      
       - Fix unnecessary VOL_DIRTY set when calling rmdir on non-empty
         directory.
      
       - Call sync_filesystem() for read-only remount (Fix generic/452 test in
         xfstests)
      
       - Add own fsync() to flush dirty metadata.
      
      * tag 'exfat-for-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: flush dirty metadata in fsync
        exfat: move setting VOL_DIRTY over exfat_remove_entries()
        exfat: call sync_filesystem for read-only remount
        exfat: add missing brelse() calls on error paths
        exfat: Set the unused characters of FileName field to the value 0000h
      edb543cf
    • Linus Torvalds's avatar
      Merge tag 'fixes-v5.8-rc3-a' of... · 615bc218
      Linus Torvalds authored
      Merge tag 'fixes-v5.8-rc3-a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
      
      Pull security subsystem fixes from James Morris:
       "Two simple fixes for v5.8:
      
         - Fix hook iteration and default value for inode_copy_up_xattr
           (KP Singh)
      
         - Fix the key_permission LSM hook function type (Sami Tolvanen)"
      
      * tag 'fixes-v5.8-rc3-a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        security: Fix hook iteration and default value for inode_copy_up_xattr
        security: fix the key_permission LSM hook function type
      615bc218
    • Linus Torvalds's avatar
      Merge tag 'integrity-v5.8-fix-2' of... · b13f40bc
      Linus Torvalds authored
      Merge tag 'integrity-v5.8-fix-2' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
      
      Pull integrity updates from Mimi Zohar:
       "Include PCRs 8 & 9 in per TPM 2.0 bank boot_aggregate calculation.
      
        Prior to Linux 5.8 the SHA1 "boot_aggregate" value was padded with 0's
        and extended into the other TPM 2.0 banks.
      
        Included in the Linux 5.8 open window, TPM 2.0 PCR bank specific
        "boot_aggregate" values (PCRs 0  - 7) are calculated and extended into the TPM banks.
      
        Distro releases are now shipping grub2 with TPM support, which extend
        PCRs 8 & 9. I'd like for PCRs 8 & 9 to be included in the new
        "boot_aggregate" calculations.
      
        For backwards compatibility, if the hash is SHA1, these new PCRs are
        not included in the boot aggregate"
      
      * tag 'integrity-v5.8-fix-2' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
        ima: extend boot_aggregate with kernel measurements
      b13f40bc
  4. Jun 30, 2020
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 7c30b859
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A batch of fixes for the Freescale DSPI driver fixing some serious
        issues with removal of active devices and one resume case, plus a few
        new PCI IDs for Intel platforms"
      
      * tag 'spi-fix-v5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: pxa2xx: Add support for Intel Tiger Lake PCH-H
        spi: spi-fsl-dspi: Initialize completion before possible interrupt
        spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths
        spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer
        spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
      7c30b859
    • Linus Torvalds's avatar
      Merge tag 'thermal-v5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux · be88fef3
      Linus Torvalds authored
      Pull thermal fixes from Daniel Lezcano:
      
       - Fix undefined temperature if negative on the rcar_gen3 (Dien Pham)
      
       - Fix wrong frequency converted from power for the cpufreq cooling
         device (Finley Xiao)
      
       - Fix compilation warnings by making functions static in the tsens
         driver (Amit Kucheria)
      
       - Fix return value of sprd_thm_probe for the Spreadtrum driver
         (Tiezhu Yang)
      
       - Fix bank number settings on the Mediatek mt8183 (Michael Kao)
      
       - Fix missing of_node_put() at probe time i.MX (Anson Huang)
      
      * tag 'thermal-v5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux:
        thermal/drivers/rcar_gen3: Fix undefined temperature if negative
        thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power
        thermal/drivers/tsens: Fix compilation warnings by making functions static
        thermal/drivers/sprd: Fix return value of sprd_thm_probe()
        thermal/drivers/mediatek: Fix bank number settings on mt8183
        thermal/drivers: imx: Fix missing of_node_put() at probe time
      be88fef3
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 2cfa46da
      Linus Torvalds authored
      Pull crypto fixes from Herbert Xu:
       "This fixes two race conditions, one in padata and one in af_alg"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        padata: upgrade smp_mb__after_atomic to smp_mb in padata_do_serial
        crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
      2cfa46da
    • Mel Gorman's avatar
      Revert "fs: Do not check if there is a fsnotify watcher on pseudo inodes" · b6509f6a
      Mel Gorman authored
      This reverts commit e9c15bad
      
       ("fs: Do not check if there is a
      fsnotify watcher on pseudo inodes"). The commit intended to eliminate
      fsnotify-related overhead for pseudo inodes but it is broken in
      concept. inotify can receive events of pipe files under /proc/X/fd and
      chromium relies on close and open events for sandboxing. Maxim Levitsky
      reported the following
      
        Chromium starts as a white rectangle, shows few white rectangles that
        resemble its notifications and then crashes.
      
        The stdout output from chromium:
      
        [mlevitsk@starship ~]$chromium-freeworld
        mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
        mesa: for the   --global-isel-abort option: may only occur zero or one times!
        [3379:3379:0628/135151.440930:ERROR:browser_switcher_service.cc(238)] XXX Init()
        ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0072
        Received signal 11 SEGV_MAPERR 0000004a9048
      
      Crashes are not universal but even if chromium does not crash, it certainly
      does not work properly. While filtering just modify and access might be
      safe, the benefit is not worth the risk hence the revert.
      
      Reported-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
      Fixes: e9c15bad
      
       ("fs: Do not check if there is a fsnotify watcher on pseudo inodes")
      Signed-off-by: default avatarMel Gorman <mgorman@techsingularity.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b6509f6a
  5. Jun 29, 2020
    • Joseph Salisbury's avatar
      Drivers: hv: Change flag to write log level in panic msg to false · 77b48bea
      Joseph Salisbury authored
      
      
      When the kernel panics, one page of kmsg data may be collected and sent to
      Hyper-V to aid in diagnosing the failure.  The collected kmsg data typically
       contains 50 to 100 lines, each of which has a log level prefix that isn't
      very useful from a diagnostic standpoint.  So tell kmsg_dump_get_buffer()
      to not include the log level, enabling more information that *is* useful to
      fit in the page.
      
      Requesting in stable kernels, since many kernels running in production are
      stable releases.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJoseph Salisbury <joseph.salisbury@microsoft.com>
      Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
      Link: https://lore.kernel.org/r/1593210497-114310-1-git-send-email-joseph.salisbury@microsoft.com
      Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
      77b48bea
    • Dien Pham's avatar
      thermal/drivers/rcar_gen3: Fix undefined temperature if negative · 5f8f0642
      Dien Pham authored
      
      
      As description for DIV_ROUND_CLOSEST in file include/linux/kernel.h.
        "Result is undefined for negative divisors if the dividend variable
         type is unsigned and for negative dividends if the divisor variable
         type is unsigned."
      
      In current code, the FIXPT_DIV uses DIV_ROUND_CLOSEST but has not
      checked sign of divisor before using. It makes undefined temperature
      value in case the value is negative.
      
      This patch fixes to satisfy DIV_ROUND_CLOSEST description
      and fix bug too. Note that the variable name "reg" is not good
      because it should be the same type as rcar_gen3_thermal_read().
      However, it's better to rename the "reg" in a further patch as
      cleanup.
      
      Signed-off-by: default avatarVan Do <van.do.xw@renesas.com>
      Signed-off-by: default avatarDien Pham <dien.pham.ry@renesas.com>
      [shimoda: minor fixes, add Fixes tag]
      Fixes: 564e73d2
      
       ("thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver")
      Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Reviewed-by: default avatarNiklas Soderlund <niklas.soderlund+renesas@ragnatech.se>
      Tested-by: default avatarNiklas Soderlund <niklas.soderlund+renesas@ragnatech.se>
      Reviewed-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/1593085099-2057-1-git-send-email-yoshihiro.shimoda.uh@renesas.com
      5f8f0642
    • Finley Xiao's avatar
      thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power · 371a3bc7
      Finley Xiao authored
      The function cpu_power_to_freq is used to find a frequency and set the
      cooling device to consume at most the power to be converted. For example,
      if the power to be converted is 80mW, and the em table is as follow.
      struct em_cap_state table[] = {
      	/* KHz     mW */
      	{ 1008000, 36, 0 },
      	{ 1200000, 49, 0 },
      	{ 1296000, 59, 0 },
      	{ 1416000, 72, 0 },
      	{ 1512000, 86, 0 },
      };
      The target frequency should be 1416000KHz, not 1512000KHz.
      
      Fixes: 349d39dc
      
       ("thermal: cpu_cooling: merge frequency and power tables")
      Cc: <stable@vger.kernel.org> # v4.13+
      Signed-off-by: default avatarFinley Xiao <finley.xiao@rock-chips.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Reviewed-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/20200619090825.32747-1-finley.xiao@rock-chips.com
      371a3bc7
    • Amit Kucheria's avatar
      thermal/drivers/tsens: Fix compilation warnings by making functions static · 3ecc8292
      Amit Kucheria authored
      
      
      After merging tsens-common.c into tsens.c, we can now mark some
      functions static so they don't need any prototype declarations. This
      fixes the following issue reported by lkp.
      
      >> drivers/thermal/qcom/tsens.c:385:13: warning: no previous prototype for 'tsens_critical_irq_thread' [-Wmissing-prototypes]
      385 | irqreturn_t tsens_critical_irq_thread(int irq, void *data)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
      >> drivers/thermal/qcom/tsens.c:455:13: warning: no previous prototype for 'tsens_irq_thread' [-Wmissing-prototypes]
      455 | irqreturn_t tsens_irq_thread(int irq, void *data)
      |             ^~~~~~~~~~~~~~~~
      >> drivers/thermal/qcom/tsens.c:523:5: warning: no previous prototype for 'tsens_set_trips' [-Wmissing-prototypes]
      523 | int tsens_set_trips(void *_sensor, int low, int high)
      |     ^~~~~~~~~~~~~~~
      >> drivers/thermal/qcom/tsens.c:560:5: warning: no previous prototype for 'tsens_enable_irq' [-Wmissing-prototypes]
      560 | int tsens_enable_irq(struct tsens_priv *priv)
      |     ^~~~~~~~~~~~~~~~
      >> drivers/thermal/qcom/tsens.c:573:6: warning: no previous prototype for 'tsens_disable_irq' [-Wmissing-prototypes]
      573 | void tsens_disable_irq(struct tsens_priv *priv)
      |      ^~~~~~~~~~~~~~~~~
      
      Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
      Reported-by: default avatarkbuild test robot <lkp@intel.com>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/6757a26876b29922929abf64b1c11fa3b3033d03.1590579709.git.amit.kucheria@linaro.org
      3ecc8292
    • Tiezhu Yang's avatar
      thermal/drivers/sprd: Fix return value of sprd_thm_probe() · b4147917
      Tiezhu Yang authored
      When call function devm_platform_ioremap_resource(), we should use IS_ERR()
      to check the return value and return PTR_ERR() if failed.
      
      Fixes: 554fdbaf
      
       ("thermal: sprd: Add Spreadtrum thermal driver support")
      Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
      Reviewed-by: default avatarBaolin Wang <baolin.wang7@gmail.com>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/1590371941-25430-1-git-send-email-yangtiezhu@loongson.cn
      b4147917
    • Michael Kao's avatar
      thermal/drivers/mediatek: Fix bank number settings on mt8183 · 14533a5a
      Michael Kao authored
      MT8183_NUM_ZONES should be set to 1
      because MT8183 doesn't have multiple banks.
      
      Fixes: a4ffe6b5
      
       ("thermal: mediatek: add support for MT8183")
      Signed-off-by: default avatarMichael Kao <michael.kao@mediatek.com>
      Signed-off-by: default avatarHsin-Yi Wang <hsinyi@chromium.org>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/20200323121537.22697-6-michael.kao@mediatek.com
      14533a5a
    • Anson Huang's avatar
      thermal/drivers: imx: Fix missing of_node_put() at probe time · b45fd13b
      Anson Huang authored
      
      
      After finishing using cpu node got from of_get_cpu_node(), of_node_put()
      needs to be called.
      
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/1585232945-23368-1-git-send-email-Anson.Huang@nxp.com
      b45fd13b
    • Sungjong Seo's avatar
      exfat: flush dirty metadata in fsync · 5267456e
      Sungjong Seo authored
      
      
      generic_file_fsync() exfat used could not guarantee the consistency of
      a file because it has flushed not dirty metadata but only dirty data pages
      for a file.
      
      Instead of that, use exfat_file_fsync() for files and directories so that
      it guarantees to commit both the metadata and data pages for a file.
      
      Signed-off-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      5267456e
    • Namjae Jeon's avatar
      exfat: move setting VOL_DIRTY over exfat_remove_entries() · 3bcfb701
      Namjae Jeon authored
      Move setting VOL_DIRTY over exfat_remove_entries() to avoid unneeded
      leaving VOL_DIRTY on -ENOTEMPTY.
      
      Fixes: 5f2aa075
      
       ("exfat: add inode operations")
      Cc: stable@vger.kernel.org # v5.7
      Reported-by: default avatarTetsuhiro Kohada <kohada.t2@gmail.com>
      Reviewed-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      3bcfb701
    • Hyunchul Lee's avatar
      exfat: call sync_filesystem for read-only remount · a0271a15
      Hyunchul Lee authored
      
      
      We need to commit dirty metadata and pages to disk
      before remounting exfat as read-only.
      
      This fixes a failure in xfstests generic/452
      
      generic/452 does the following:
      cp something <exfat>/
      mount -o remount,ro <exfat>
      
      the <exfat>/something is corrupted. because while
      exfat is remounted as read-only, exfat doesn't
      have a chance to commit metadata and
      vfs invalidates page caches in a block device.
      
      Signed-off-by: default avatarHyunchul Lee <hyc.lee@gmail.com>
      Acked-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      a0271a15
    • Dan Carpenter's avatar
      exfat: add missing brelse() calls on error paths · e8dd3cda
      Dan Carpenter authored
      If the second exfat_get_dentry() call fails then we need to release
      "old_bh" before returning.  There is a similar bug in exfat_move_file().
      
      Fixes: 5f2aa075
      
       ("exfat: add inode operations")
      Reported-by: default avatarMarkus Elfring <Markus.Elfring@web.de>
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      e8dd3cda
    • Hyeongseok.Kim's avatar
      exfat: Set the unused characters of FileName field to the value 0000h · 4ba6ccd6
      Hyeongseok.Kim authored
      
      
      Some fsck tool complain that padding part of the FileName field
      is not set to the value 0000h. So let's maintain filesystem cleaner,
      as exfat's spec. recommendation.
      
      Signed-off-by: default avatarHyeongseok.Kim <Hyeongseok@gmail.com>
      Reviewed-by: default avatarSungjong Seo <sj1557.seo@samsung.com>
      Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
      4ba6ccd6
    • Linus Torvalds's avatar
      Linux 5.8-rc3 · 9ebcfadb
      Linus Torvalds authored
      9ebcfadb
    • Linus Torvalds's avatar
      Merge tag 'arm-omap-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · f7db192b
      Linus Torvalds authored
      Pull ARM OMAP fixes from Arnd Bergmann:
       "The OMAP developers are particularly active at hunting down
        regressions, so this is a separate branch with OMAP specific
        fixes for v5.8:
      
        As Tony explains
          "The recent display subsystem (DSS) related platform data changes
           caused display related regressions for suspend and resume. Looks
           like I only tested suspend and resume before dropping the legacy
           platform data, and forgot to test it after dropping it. Turns out
           the main issue was that we no longer have platform code calling
           pm_runtime_suspend for DSS like we did for the legacy platform data
           case, and that fix is still being discussed on the dri-devel list
           and will get merged separately. The DSS related testing exposed a
           pile other other display related issues that also need fixing
           though":
      
         - Fix ti-sysc optional clock handling and reset status checks for
           devices that reset automatically in idle like DSS
      
         - Ignore ti-sysc clockactivity bit unless separately requested to
           avoid unexpected performance issues
      
         - Init ti-sysc framedonetv_irq to true and disable for am4
      
         - Avoid duplicate DSS reset for legacy mode with dts data
      
         - Remove LCD timings for am4 as they cause warnings now that we're
           using generic panels
      
        Other OMAP changes from Tony include:
      
         - Fix omap_prm reset deassert as we still have drivers setting the
           pm_runtime_irq_safe() flag
      
         - Flush posted write for ti-sysc enable and disable
      
         - Fix droid4 spi related errors with spi flags
      
         - Fix am335x USB range and a typo for softreset
      
         - Fix dra7 timer nodes for clocks for IPU and DSP
      
         - Drop duplicate mailboxes after mismerge for dra7
      
         - Prevent pocketgeagle header line signal from accidentally setting
           micro-SD write protection signal by removing the default mux
      
         - Fix NFSroot flakeyness after resume for duover by switching the
           smsc911x gpio interrupt to back to level sensitive
      
         - Fix regression for omap4 clockevent source after recent system
           timer changes
      
         - Yet another ethernet regression fix for the "rgmii" vs "rgmii-rxid"
           phy-mode
      
         - One patch to convert am3/am4 DT files to use the regular sdhci-omap
           driver instead of the old hsmmc driver, this was meant for the
           merge window but got lost in the process"
      
      * tag 'arm-omap-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (21 commits)
        ARM: dts: am5729: beaglebone-ai: fix rgmii phy-mode
        ARM: dts: Fix omap4 system timer source clocks
        ARM: dts: Fix duovero smsc interrupt for suspend
        ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect
        Revert "bus: ti-sysc: Increase max softreset wait"
        ARM: dts: am437x-epos-evm: remove lcd timings
        ARM: dts: am437x-gp-evm: remove lcd timings
        ARM: dts: am437x-sk-evm: remove lcd timings
        ARM: dts: dra7-evm-common: Fix duplicate mailbox nodes
        ARM: dts: dra7: Fix timer nodes properly for timer_sys_ck clocks
        ARM: dts: Fix am33xx.dtsi ti,sysc-mask wrong softreset flag
        ARM: dts: Fix am33xx.dtsi USB ranges length
        bus: ti-sysc: Increase max softreset wait
        ARM: OMAP2+: Fix legacy mode dss_reset
        bus: ti-sysc: Fix uninitialized framedonetv_irq
        bus: ti-sysc: Ignore clockactivity unless specified as a quirk
        bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit
        ARM: dts: omap4-droid4: Fix spi configuration and increase rate
        bus: ti-sysc: Flush posted write on enable and disable
        soc: ti: omap-prm: use atomic iopoll instead of sleeping one
        ...
      f7db192b
    • Linus Torvalds's avatar
      Merge tag 'arm-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · e44b59cd
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "Here are a couple of bug fixes, mostly for devicetree files
      
        NXP i.MX:
         - Use correct voltage on some i.MX8M board device trees to avoid
           hardware damage
         - Code fixes for a compiler warning and incorrect reference counting,
           both harmless.
         - Fix the i.MX8M SoC driver to correctly identify imx8mp
         - Fix watchdog configuration in imx6ul-kontron device tree.
      
        Broadcom:
         - A small regression fix for the Raspberry-Pi firmware driver
         - A Kconfig change to use the correct timer driver on Northstar
         - A DT fix for the Luxul XWC-2000 machine
         - Two more DT fixes for NSP SoCs
      
        STmicroelectronics STI
         - Revert one broken patch for L2 cache configuration
      
        ARM Versatile Express:
         - Fix a regression by reverting a broken DT cleanup
      
        TEE drivers:
         - MAINTAINERS: change tee mailing list"
      
      * tag 'arm-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        Revert "ARM: sti: Implement dummy L2 cache's write_sec"
        soc: imx8m: fix build warning
        ARM: imx6: add missing put_device() call in imx6q_suspend_init()
        ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
        soc: imx8m: Correct i.MX8MP UID fuse offset
        ARM: dts: imx6ul-kontron: Change WDOG_ANY signal from push-pull to open-drain
        ARM: dts: imx6ul-kontron: Move watchdog from Kontron i.MX6UL/ULL board to SoM
        arm64: dts: imx8mm-beacon: Fix voltages on LDO1 and LDO2
        arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range
        arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range
        ARM: dts: NSP: Correct FA2 mailbox node
        ARM: bcm2835: Fix integer overflow in rpi_firmware_print_firmware_revision()
        MAINTAINERS: change tee mailing list
        ARM: dts: NSP: Disable PL330 by default, add dma-coherent property
        ARM: bcm: Select ARM_TIMER_SP804 for ARCH_BCM_NSP
        ARM: dts: BCM5301X: Add missing memory "device_type" for Luxul XWC-2000
        arm: dts: vexpress: Move mcc node back into motherboard node
      e44b59cd
    • Linus Torvalds's avatar
      Merge tag 'timers-urgent-2020-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 668f532d
      Linus Torvalds authored
      Pull timer fix from Ingo Molnar:
       "A single DocBook fix"
      
      * tag 'timers-urgent-2020-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        timekeeping: Fix kerneldoc system_device_crosststamp & al
      668f532d
    • Linus Torvalds's avatar
      Merge tag 'perf-urgent-2020-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ae71d4bf
      Linus Torvalds authored
      Pull perf fix from Ingo Molnar:
       "A single Kbuild dependency fix"
      
      * tag 'perf-urgent-2020-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/x86/rapl: Fix RAPL config variable bug
      ae71d4bf
    • Linus Torvalds's avatar
      Merge tag 'efi-urgent-2020-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · bc53f67d
      Linus Torvalds authored
      Pull EFI fixes from Ingo Molnar:
      
       - Fix build regression on v4.8 and older
      
       - Robustness fix for TPM log parsing code
      
       - kobject refcount fix for the ESRT parsing code
      
       - Two efivarfs fixes to make it behave more like an ordinary file
         system
      
       - Style fixup for zero length arrays
      
       - Fix a regression in path separator handling in the initrd loader
      
       - Fix a missing prototype warning
      
       - Add some kerneldoc headers for newly introduced stub routines
      
       - Allow support for SSDT overrides via EFI variables to be disabled
      
       - Report CPU mode and MMU state upon entry for 32-bit ARM
      
       - Use the correct stack pointer alignment when entering from mixed mode
      
      * tag 'efi-urgent-2020-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        efi/libstub: arm: Print CPU boot mode and MMU state at boot
        efi/libstub: arm: Omit arch specific config table matching array on arm64
        efi/x86: Setup stack correctly for efi_pe_entry
        efi: Make it possible to disable efivar_ssdt entirely
        efi/libstub: Descriptions for stub helper functions
        efi/libstub: Fix path separator regression
        efi/libstub: Fix missing-prototype warning for skip_spaces()
        efi: Replace zero-length array and use struct_size() helper
        efivarfs: Don't return -EINTR when rate-limiting reads
        efivarfs: Update inode modification time for successful writes
        efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
        efi/tpm: Verify event log header before parsing
        efi/x86: Fix build with gcc 4
      bc53f67d
    • Linus Torvalds's avatar
      Merge tag 'sched_urgent_for_5.8_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 91a9a90d
      Linus Torvalds authored
      Pull scheduler fixes from Borislav Petkov:
       "The most anticipated fix in this pull request is probably the horrible
        build fix for the RANDSTRUCT fail that didn't make -rc2. Also included
        is the cleanup that removes those BUILD_BUG_ON()s and replaces it with
        ugly unions.
      
        Also included is the try_to_wake_up() race fix that was first
        triggered by Paul's RCU-torture runs, but was independently hit by
        Dave Chinner's fstest runs as well"
      
      * tag 'sched_urgent_for_5.8_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/cfs: change initial value of runnable_avg
        smp, irq_work: Continue smp_call_function*() and irq_work*() integration
        sched/core: s/WF_ON_RQ/WQ_ON_CPU/
        sched/core: Fix ttwu() race
        sched/core: Fix PI boosting between RT and DEADLINE tasks
        sched/deadline: Initialize ->dl_boosted
        sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix mask corruption
        sched/core: Fix CONFIG_GCC_PLUGIN_RANDSTRUCT build fail
      91a9a90d
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_5.8_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 098c7938
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - AMD Memory bandwidth counter width fix, by Babu Moger.
      
       - Use the proper length type in the 32-bit truncate() syscall variant,
         by Jiri Slaby.
      
       - Reinit IA32_FEAT_CTL during wakeup to fix the case where after
         resume, VMXON would #GP due to VMX not being properly enabled, by
         Sean Christopherson.
      
       - Fix a static checker warning in the resctrl code, by Dan Carpenter.
      
       - Add a CR4 pinning mask for bits which cannot change after boot, by
         Kees Cook.
      
       - Align the start of the loop of __clear_user() to 16 bytes, to improve
         performance on AMD zen1 and zen2 microarchitectures, by Matt Fleming.
      
      * tag 'x86_urgent_for_5.8_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/asm/64: Align start of __clear_user() loop to 16-bytes
        x86/cpu: Use pinning mask for CR4 bits needing to be 0
        x86/resctrl: Fix a NULL vs IS_ERR() static checker warning in rdt_cdp_peer_get()
        x86/cpu: Reinitialize IA32_FEAT_CTL MSR on BSP during wakeup
        syscalls: Fix offset type of ksys_ftruncate()
        x86/resctrl: Fix memory bandwidth counter width for AMD
      098c7938
    • Linus Torvalds's avatar
      Merge tag 'rcu_urgent_for_5.8_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · c141b30e
      Linus Torvalds authored
      Pull RCU-vs-KCSAN fixes from Borislav Petkov:
       "A single commit that uses "arch_" atomic operations to avoid the
        instrumentation that comes with the non-"arch_" versions.
      
        In preparation for that commit, it also has another commit that makes
        these "arch_" atomic operations available to generic code.
      
        Without these commits, KCSAN uses can see pointless errors"
      
      * tag 'rcu_urgent_for_5.8_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        rcu: Fixup noinstr warnings
        locking/atomics: Provide the arch_atomic_ interface to generic code
      c141b30e
    • Linus Torvalds's avatar
      Merge tag 'objtool_urgent_for_5.8_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 7ecb59a5
      Linus Torvalds authored
      Pull objtool fixes from Borislav Petkov:
       "Three fixes from Peter Zijlstra suppressing KCOV instrumentation in
        noinstr sections.
      
        Peter Zijlstra says:
          "Address KCOV vs noinstr. There is no function attribute to
           selectively suppress KCOV instrumentation, instead teach objtool
           to NOP out the calls in noinstr functions"
      
        This cures a bunch of KCOV crashes (as used by syzcaller)"
      
      * tag 'objtool_urgent_for_5.8_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        objtool: Fix noinstr vs KCOV
        objtool: Provide elf_write_{insn,reloc}()
        objtool: Clean up elf_write() condition
      7ecb59a5
    • Linus Torvalds's avatar
      Merge tag 'x86_entry_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a358505d
      Linus Torvalds authored
      Pull x86 entry fixes from Borislav Petkov:
       "This is the x86/entry urgent pile which has accumulated since the
        merge window.
      
        It is not the smallest but considering the almost complete entry core
        rewrite, the amount of fixes to follow is somewhat higher than usual,
        which is to be expected.
      
        Peter Zijlstra says:
         'These patches address a number of instrumentation issues that were
          found after the x86/entry overhaul. When combined with rcu/urgent
          and objtool/urgent, these patches make UBSAN/KASAN/KCSAN happy
          again.
      
          Part of making this all work is bumping the minimum GCC version for
          KASAN builds to gcc-8.3, the reason for this is that the
          __no_sanitize_address function attribute is broken in GCC releases
          before that.
      
          No known GCC version has a working __no_sanitize_undefined, however
          because the only noinstr violation that results from this happens
          when an UB is found, we treat it like WARN. That is, we allow it to
          violate the noinstr rules in order to get the warning out'"
      
      * tag 'x86_entry_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/entry: Fix #UD vs WARN more
        x86/entry: Increase entry_stack size to a full page
        x86/entry: Fixup bad_iret vs noinstr
        objtool: Don't consider vmlinux a C-file
        kasan: Fix required compiler version
        compiler_attributes.h: Support no_sanitize_undefined check with GCC 4
        x86/entry, bug: Comment the instrumentation_begin() usage for WARN()
        x86/entry, ubsan, objtool: Whitelist __ubsan_handle_*()
        x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()
        compiler_types.h: Add __no_sanitize_{address,undefined} to noinstr
        kasan: Bump required compiler version
        x86, kcsan: Add __no_kcsan to noinstr
        kcsan: Remove __no_kcsan_or_inline
        x86, kcsan: Remove __no_kcsan_or_inline usage
      a358505d
  6. Jun 28, 2020