1. 18 Sep, 2020 7 commits
    • Linus Torvalds's avatar
      Merge tag 'sound-5.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 343b529a
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Here is a collection of fixes for 5.9. All look small and are nothing
        scary.
      
        The majority of changes are about ASoC driver- specific fixes, while
        there are a couple of ASoC core fixes (DAI lookup and lockdep stuff)
        and usual HD-audio quirks"
      
      * tag 'sound-5.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (23 commits)
        ALSA: hda/realtek - The Mic on a RedmiBook doesn't work
        ASoC: tlv320adcx140: Wake up codec before accessing register
        ASoC: core: Do not cleanup uninitialized dais on soc_pcm_open failure
        ALSA: hda: fixup headset for ASUS GX502 laptop
        ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN Converter9 2-in-1
        ASoC: Intel: haswell: Fix power transition refactor
        ASoC: tlv320adcx140: Fix accessing uninitialized adcx140->dev
        ASoC: wm8994: Ensure the device is resumed in wm89xx_mic_detect functions
        ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811
        ASoC: meson: axg-toddr: fix channel order on g12 platforms
        ASoC: soc-core: add snd_soc_find_dai_with_mutex()
        ASoC: qcom: common: Fix refcount imbalance on error
        ASoC: rt700: Fix return check for devm_regmap_init_sdw()
        ASoC: rt715: Fix return check for devm_regmap_init_sdw()
        ASoC: rt711: Fix return check for devm_regmap_init_sdw()
        ASoC: rt1308-sdw: Fix return check for devm_regmap_init_sdw()
        ASoC: max98373: Fix return check for devm_regmap_init_sdw()
        ASoC: ti: fixup ams_delta_mute() function name
        ASoC: pcm3168a: ignore 0 Hz settings
        ASoC: Intel: tgl_max98373: fix a runtime pm issue in multi-thread case
        ...
      343b529a
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 1fd79656
      Linus Torvalds authored
      Pull iommu fixes from Joerg Roedel:
       "Two fixes for the AMD IOMMU driver:
      
         - Fix a potential NULL-ptr dereference found by smatch
      
         - Fix interrupt remapping when a device is assigned to a guest and
           AVIC is enabled"
      
      * tag 'iommu-fixes-v5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/amd: Restore IRTE.RemapEn bit for amd_iommu_activate_guest_mode
        iommu/amd: Fix potential @entry null deref
      1fd79656
    • Linus Torvalds's avatar
      Merge tag 'mtd/fixes-for-5.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 92373933
      Linus Torvalds authored
      Pull MTD/SPI NOR fixes from Vignesh Raghavendra:
       "Revert patches that caused non volatile Quad Enable bit to be cleared
        for certain SPI NOR flashes during module remove or during shutdown,
        thus breaking backward compatibility"
      Acked-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
      
      * tag 'mtd/fixes-for-5.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
        Revert "mtd: spi-nor: Add capability to disable flash quad mode"
        Revert "mtd: spi-nor: Disable the flash quad mode in spi_nor_restore()"
      92373933
    • Suravee Suthikulpanit's avatar
      iommu/amd: Restore IRTE.RemapEn bit for amd_iommu_activate_guest_mode · e97685ab
      Suravee Suthikulpanit authored
      Commit e52d58d5 ("iommu/amd: Use cmpxchg_double() when updating
      128-bit IRTE") removed an assumption that modify_irte_ga always set
      the valid bit, which requires the callers to set the appropriate value
      for the struct irte_ga.valid bit before calling the function.
      
      Similar to the commit 26e495f3 ("iommu/amd: Restore IRTE.RemapEn
      bit after programming IRTE"), which is for the function
      amd_iommu_deactivate_guest_mode().
      
      The same change is also needed for the amd_iommu_activate_guest_mode().
      Otherwise, this could trigger IO_PAGE_FAULT for the VFIO based VMs with
      AVIC enabled.
      
      Fixes: e52d58d5 ("iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE")
      Reported-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
      Signed-off-by: default avatarSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
      Tested-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
      Reviewed-by: default avatarJoao Martins <joao.m.martins@oracle.com>
      Reviewed-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
      Cc: Joao Martins <joao.m.martins@oracle.com>
      Link: https://lore.kernel.org/r/20200916111720.43913-1-suravee.suthikulpanit@amd.comSigned-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      e97685ab
    • Joao Martins's avatar
      iommu/amd: Fix potential @entry null deref · 14c4acc5
      Joao Martins authored
      After commit 26e495f3 ("iommu/amd: Restore IRTE.RemapEn bit after
      programming IRTE"), smatch warns:
      
      	drivers/iommu/amd/iommu.c:3870 amd_iommu_deactivate_guest_mode()
              warn: variable dereferenced before check 'entry' (see line 3867)
      
      Fix this by moving the @valid assignment to after @entry has been checked
      for NULL.
      
      Fixes: 26e495f3 ("iommu/amd: Restore IRTE.RemapEn bit after programming IRTE")
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarJoao Martins <joao.m.martins@oracle.com>
      Reviewed-by: default avatarSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
      Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
      Link: https://lore.kernel.org/r/20200910171621.12879-1-joao.m.martins@oracle.comSigned-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      14c4acc5
    • Linus Torvalds's avatar
      Merge branch 'for-5.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu · 10b82d51
      Linus Torvalds authored
      Pull percpu fix from Dennis Zhou:
       "This is a fix for the first chunk size calculation where the variable
        length array incorrectly used the number of longs instead of bytes of
        longs.
      
        This came in as a code fix and not a bug report, so I don't think it
        was widely problematic. I believe it worked out due to it being
        memblock memory and alignment requirements working in our favor"
      
      * 'for-5.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu:
        percpu: fix first chunk size calculation for populated bitmap
      10b82d51
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2020-09-18' of git://anongit.freedesktop.org/drm/drm · 4c0449c9
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "A bunch of small fixes, some of the i915 ones have been out for a
        while and got better commit msg explaining some better reasoning
        behind them (hopefully this trend continues).
      
        Otherwise there a few AMD related ones mostly small, one radeon PLL
        regression fix and a bunch of small mediatek fixes.
      
        amdgpu:
         - Sienna Cichlid fixes
         - Navy Flounder fixes
         - DC fixes
      
        amdkfd:
         - Fix a GPU reset crash
         - Fix a memory leak
      
        radeon:
         - Revert a PLL fix that broke other boards
      
        i915:
         - Avoid exposing a partially constructed context
         - Use RCU instead of mutex for context termination list iteration
         - Avoid data race reported by KCSAN
         - Filter wake_flags passed to default_wake_function
      
        mediatek:
         - Fix scrolling of panel
         - Remove duplicated include
         - Use CPU when fail to get cmdq event
         - Add missing put_device() call"
      
      * tag 'drm-fixes-2020-09-18' of git://anongit.freedesktop.org/drm/drm: (21 commits)
        drm/amd/display: Don't log hdcp module warnings in dmesg
        drm/amdgpu: declare ta firmware for navy_flounder
        drm/mediatek: Add missing put_device() call in mtk_hdmi_dt_parse_pdata()
        drm/mediatek: Add missing put_device() call in mtk_drm_kms_init()
        drm/mediatek: Add exception handing in mtk_drm_probe() if component init fail
        drm/mediatek: Add missing put_device() call in mtk_ddp_comp_init()
        drm/mediatek: Use CPU when fail to get cmdq event
        drm/mediatek: Remove duplicated include
        drm/i915: Filter wake_flags passed to default_wake_function
        drm/i915: Be wary of data races when reading the active execlists
        drm/i915/gem: Reduce context termination list iteration guard to RCU
        drm/i915/gem: Delay tracking the GEM context until it is registered
        drm/amdgpu/dc: Require primary plane to be enabled whenever the CRTC is
        drm/radeon: revert "Prefer lower feedback dividers"
        drm/amdgpu: Include sienna_cichlid in USBC PD FW support.
        drm/amd/display: update nv1x stutter latencies
        drm/amd/display: Don't use DRM_ERROR() for DTM add topology
        drm/amd/pm: support runtime pptable update for sienna_cichlid etc.
        drm/amdkfd: fix a memory leak issue
        drm/kfd: fix a system crash issue during GPU recovery
        ...
      4c0449c9
  2. 17 Sep, 2020 8 commits
  3. 16 Sep, 2020 15 commits
  4. 15 Sep, 2020 10 commits