1. 21 Feb, 2020 17 commits
  2. 20 Feb, 2020 2 commits
  3. 19 Feb, 2020 5 commits
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 4b205766
      Linus Torvalds authored
      Pull iommu fixes from Joerg Roedel:
      
       - Compile warning fix for the Intel IOMMU driver
      
       - Fix kdump boot with Intel IOMMU enabled and in passthrough mode
      
       - Disable AMD IOMMU on a Laptop/Embedded platform because the delay it
         introduces in DMA transactions causes screen flickering there with 4k
         monitors
      
       - Make domain_free function in QCOM IOMMU driver robust and not leak
         memory/dereference NULL pointers
      
       - Fix ARM-SMMU module parameter prefix names
      
      * tag 'iommu-fixes-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/arm-smmu: Restore naming of driver parameter prefix
        iommu/qcom: Fix bogus detach logic
        iommu/amd: Disable IOMMU on Stoney Ridge systems
        iommu/vt-d: Simplify check in identity_mapping()
        iommu/vt-d: Remove deferred_attach_domain()
        iommu/vt-d: Do deferred attachment in iommu_need_mapping()
        iommu/vt-d: Move deferred device attachment into helper function
        iommu/vt-d: Add attach_deferred() helper
        iommu/vt-d: Fix compile warning from intel-svm.h
      4b205766
    • Linus Torvalds's avatar
      Merge tag 'sound-5.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · fa079ba8
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "The only largish change in this pull request is about the revert of
        the recent max98090 and its relevant patches due to regressions.
      
        Other than that, all small fixes for ALSA core (covering KCSAN fuzzer
        warnings in ALSA sequencer and rawmidi), Intel SOF HD-audio fixes, AMD
        ACP fixes, usual HD-audio quirks, and various ASoC fixes"
      
      * tag 'sound-5.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs
        ALSA: hda/realtek - Apply quirk for yet another MSI laptop
        ASoC: sun8i-codec: Fix setting DAI data format
        ALSA: hda/realtek - Apply quirk for MSI GP63, too
        ASoC: amd: ACP needs to be powered off in BIOS.
        ASoC: hdmi-codec: set plugged_cb to NULL when component removing
        ASoC: dapm: remove snd_soc_dapm_put_enum_double_locked
        ASoC: max98090: revert invalid fix for handling SHDN
        ALSA: rawmidi: Avoid bit fields for state flags
        ALSA: seq: Fix concurrent access to queue current tick/time
        ALSA: seq: Avoid concurrent access to queue flags
        ASoC: codec2codec: avoid invalid/double-free of pcm runtime
        ASoC: amd: Buffer Size instead of MAX Buffer
        ASoC: SOF: Intel: hda: move i915 init earlier
        ASoC: SOF: Intel: hda: fix ordering bug in resume flow
        ALSA: hda: do not override bus codec_mask in link_get()
        ASoC: atmel: fix atmel_ssc_set_audio link failure
        ASoC: fsl_sai: Fix exiting path on probing failure
      fa079ba8
    • Will Deacon's avatar
      iommu/arm-smmu: Restore naming of driver parameter prefix · ab362fff
      Will Deacon authored
      Extending the Arm SMMU driver to allow for modular builds changed
      KBUILD_MODNAME to be "arm_smmu_mod" so that a single module could be
      built from the multiple existing object files without the need to rename
      any source files.
      
      This inadvertently changed the name of the driver parameters, which may
      lead to runtime issues if bootloaders are relying on the old names for
      correctness (e.g. "arm-smmu.disable_bypass=0").
      
      Although MODULE_PARAM_PREFIX can be overridden to restore the old naming
      for builtin parameters, only the new name is matched by modprobe and so
      loading the driver as a module would cause parameters specified on the
      kernel command line to be ignored. Instead, rename "arm_smmu_mod" to
      "arm_smmu". Whilst it's a bit of a bodge, this allows us to create a
      single module without renaming any files and makes use of the fact that
      underscores and hyphens can be used interchangeably in parameter names.
      
      Cc: Robin Murphy <robin.murphy@arm.com>
      Cc: Russell King <linux@armlinux.org.uk>
      Reported-by: default avatarLi Yang <leoyang.li@nxp.com>
      Fixes: cd221bd2 ("iommu/arm-smmu: Allow building as a module")
      Signed-off-by: default avatarWill Deacon <will@kernel.org>
      Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
      Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      ab362fff
    • Robin Murphy's avatar
      iommu/qcom: Fix bogus detach logic · faf305c5
      Robin Murphy authored
      Currently, the implementation of qcom_iommu_domain_free() is guaranteed
      to do one of two things: WARN() and leak everything, or dereference NULL
      and crash. That alone is terrible, but in fact the whole idea of trying
      to track the liveness of a domain via the qcom_domain->iommu pointer as
      a sanity check is full of fundamentally flawed assumptions. Make things
      robust and actually functional by not trying to be quite so clever.
      Reported-by: default avatarBrian Masney <masneyb@onstation.org>
      Tested-by: default avatarBrian Masney <masneyb@onstation.org>
      Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
      Fixes: 0ae349a0 ("iommu/qcom: Add qcom_iommu")
      Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
      Tested-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Cc: stable@vger.kernel.org # v4.14+
      Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      faf305c5
    • Kai-Heng Feng's avatar
      iommu/amd: Disable IOMMU on Stoney Ridge systems · 3dfee47b
      Kai-Heng Feng authored
      Serious screen flickering when Stoney Ridge outputs to a 4K monitor.
      
      Use identity-mapping and PCI ATS doesn't help this issue.
      
      According to Alex Deucher, IOMMU isn't enabled on Windows, so let's do
      the same here to avoid screen flickering on 4K monitor.
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Bug: https://gitlab.freedesktop.org/drm/amd/issues/961Signed-off-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      3dfee47b
  4. 18 Feb, 2020 15 commits
  5. 17 Feb, 2020 1 commit