1. 28 Oct, 2021 1 commit
  2. 15 Oct, 2021 5 commits
  3. 12 Oct, 2021 2 commits
    • Alex Williamson's avatar
    • Colin Xu's avatar
      vfio/pci: Add OpRegion 2.0+ Extended VBT support. · 49ba1a29
      Colin Xu authored
      Due to historical reason, some legacy shipped system doesn't follow
      OpRegion 2.1 spec but still stick to OpRegion 2.0, in which the extended
      VBT is not contiguous after OpRegion in physical address, but any
      location pointed by RVDA via absolute address. Also although current
      OpRegion 2.1+ systems appears that the extended VBT follows OpRegion,
      RVDA is the relative address to OpRegion head, the extended VBT location
      may change to non-contiguous to OpRegion. In both cases, it's impossible
      to map a contiguous range to hold both OpRegion and the extended VBT and
      expose via one vfio region.
      
      The only difference between OpRegion 2.0 and 2.1 is where extended
      VBT is stored: For 2.0, RVDA is the absolute address of extended VBT
      while for 2.1, RVDA is the relative address of extended VBT to OpRegion
      baes, and there is no other difference between OpRegion 2.0 and 2.1.
      To support the non-contiguous region case as described, the updated read
      op will patch OpRegion version and RVDA on-the-fly accordingly. So that
      from vfio igd OpRegion view, only 2.1+ with contiguous extended VBT
      after OpRegion is exposed, regardless the underneath host OpRegion is
      2.0 or 2.1+. The mechanism makes it possible to support legacy OpRegion
      2.0 extended VBT systems with on the market, and support OpRegion 2.1+
      where the extended VBT isn't contiguous after OpRegion.
      
      Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
      Cc: Hang Yuan <hang.yuan@linux.intel.com>
      Cc: Swee Yee Fonn <swee.yee.fonn@intel.com>
      Cc: Fred Gao <fred.gao@intel.com>
      Signed-off-by: default avatarColin Xu <colin.xu@intel.com>
      Link: https://lore.kernel.org/r/20211012124855.52463-1-colin.xu@gmail.comSigned-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
      49ba1a29
  4. 11 Oct, 2021 1 commit
  5. 30 Sep, 2021 16 commits
  6. 29 Sep, 2021 2 commits
    • Linus Torvalds's avatar
      Merge tag 'sound-5.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 02d5e016
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "This became a slightly large collection of changes, partly because
        I've been off in the last weeks. Most of changes are small and
        scattered while a bit big change is found in HD-audio Realtek codec
        driver; it's a very device-specific fix that has been long wanted, so
        I decided to pick up although it's in the middle RC.
      
        Some highlights:
      
         - A new guard ioctl for ALSA rawmidi API to avoid the misuse of the
           new timestamp framing mode; it's for a regression fix
      
         - HD-audio: a revert of the 5.15 change that might work badly, new
           quirks for Lenovo Legion & co, a follow-up fix for CS8409
      
         - ASoC: lots of SOF-related fixes, fsl component fixes, corrections
           of mediatek drivers
      
         - USB-audio: fix for the PM resume
      
         - FireWire: oxfw and motu fixes"
      
      * tag 'sound-5.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (25 commits)
        ALSA: pcsp: Make hrtimer forwarding more robust
        ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION
        ALSA: firewire-motu: fix truncated bytes in message tracepoints
        ASoC: SOF: trace: Omit error print when waking up trace sleepers
        ASoC: mediatek: mt8195: remove wrong fixup assignment on HDMITX
        ASoC: SOF: loader: Re-phrase the missing firmware error to avoid duplication
        ASoC: SOF: loader: release_firmware() on load failure to avoid batching
        ALSA: hda/cs8409: Setup Dolphin Headset Mic as Phantom Jack
        ALSA: pcxhr: "fix" PCXHR_REG_TO_PORT definition
        ASoC: SOF: imx: imx8m: Bar index is only valid for IRAM and SRAM types
        ASoC: SOF: imx: imx8: Bar index is only valid for IRAM and SRAM types
        ASoC: SOF: Fix DSP oops stack dump output contents
        ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.
        ALSA: usb-audio: Unify mixer resume and reset_resume procedure
        Revert "ALSA: hda: Drop workaround for a hang at shutdown again"
        ALSA: oxfw: fix transmission method for Loud models based on OXFW971
        ASoC: mediatek: common: handle NULL case in suspend/resume function
        ASoC: fsl_xcvr: register platform component before registering cpu dai
        ASoC: fsl_spdif: register platform component before registering cpu dai
        ASoC: fsl_micfil: register platform component before registering cpu dai
        ...
      02d5e016
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 6e439bbd
      Linus Torvalds authored
      Pull crypto fixes from Herbert Xu:
       "This contains fixes for a resource leak in ccp as well as stack
        corruption in x86/sm4"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: x86/sm4 - Fix frame pointer stack corruption
        crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()
      6e439bbd
  7. 28 Sep, 2021 10 commits
  8. 27 Sep, 2021 3 commits
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-fixes-for-v5.15-2021-09-27' of... · 0513e464
      Linus Torvalds authored
      Merge tag 'perf-tools-fixes-for-v5.15-2021-09-27' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull more perf tools fixes from Arnaldo Carvalho de Melo:
      
       - Fix 'perf test' DWARF unwind for optimized builds.
      
       - Fix 'perf test' 'Object code reading' when dealing with samples in
         @plt symbols.
      
       - Fix off-by-one directory paths in the ARM support code.
      
       - Fix error message to eliminate confusion in 'perf config' when first
         creating a config file.
      
       - 'perf iostat' fix for system wide operation.
      
       - Fix printing of metrics when 'perf iostat' is used with one or more
         iio_root_ports and unconnected cpus (using -C).
      
       - Fix several typos in the documentation files.
      
       - Fix spelling mistake "icach" -> "icache" in the power8 JSON vendor
         files.
      
      * tag 'perf-tools-fixes-for-v5.15-2021-09-27' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf iostat: Fix Segmentation fault from NULL 'struct perf_counts_values *'
        perf iostat: Use system-wide mode if the target cpu_list is unspecified
        perf config: Refine error message to eliminate confusion
        perf doc: Fix typos all over the place
        perf arm: Fix off-by-one directory paths.
        perf vendor events powerpc: Fix spelling mistake "icach" -> "icache"
        perf tests: Fix flaky test 'Object code reading'
        perf test: Fix DWARF unwind for optimized builds.
      0513e464
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 9cccec2b
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "A bit late... I got sidetracked by back-from-vacation routines and
        conferences. But most of these patches are already a few weeks old and
        things look more calm on the mailing list than what this pull request
        would suggest.
      
        x86:
      
         - missing TLB flush
      
         - nested virtualization fixes for SMM (secure boot on nested
           hypervisor) and other nested SVM fixes
      
         - syscall fuzzing fixes
      
         - live migration fix for AMD SEV
      
         - mirror VMs now work for SEV-ES too
      
         - fixes for reset
      
         - possible out-of-bounds access in IOAPIC emulation
      
         - fix enlightened VMCS on Windows 2022
      
        ARM:
      
         - Add missing FORCE target when building the EL2 object
      
         - Fix a PMU probe regression on some platforms
      
        Generic:
      
         - KCSAN fixes
      
        selftests:
      
         - random fixes, mostly for clang compilation"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (43 commits)
        selftests: KVM: Explicitly use movq to read xmm registers
        selftests: KVM: Call ucall_init when setting up in rseq_test
        KVM: Remove tlbs_dirty
        KVM: X86: Synchronize the shadow pagetable before link it
        KVM: X86: Fix missed remote tlb flush in rmap_write_protect()
        KVM: x86: nSVM: don't copy virt_ext from vmcb12
        KVM: x86: nSVM: test eax for 4K alignment for GP errata workaround
        KVM: x86: selftests: test simultaneous uses of V_IRQ from L1 and L0
        KVM: x86: nSVM: restore int_vector in svm_clear_vintr
        kvm: x86: Add AMD PMU MSRs to msrs_to_save_all[]
        KVM: x86: nVMX: re-evaluate emulation_required on nested VM exit
        KVM: x86: nVMX: don't fail nested VM entry on invalid guest state if !from_vmentry
        KVM: x86: VMX: synthesize invalid VM exit when emulating invalid guest state
        KVM: x86: nSVM: refactor svm_leave_smm and smm_enter_smm
        KVM: x86: SVM: call KVM_REQ_GET_NESTED_STATE_PAGES on exit from SMM mode
        KVM: x86: reset pdptrs_from_userspace when exiting smm
        KVM: x86: nSVM: restore the L1 host state prior to resuming nested guest on SMM exit
        KVM: nVMX: Filter out all unsupported controls when eVMCS was activated
        KVM: KVM: Use cpumask_available() to check for NULL cpumask when kicking vCPUs
        KVM: Clean up benign vcpu->cpu data races when kicking vCPUs
        ...
      9cccec2b
    • Linus Torvalds's avatar
      Merge tag 'media/v5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · e6609f2c
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
       "A couple of driver fixes:
      
         - hantro: Fix check for single irq
      
         - cedrus: Fix SUNXI tile size calculation
      
         - s5p-jpeg: rename JPEG marker constants to prevent build warnings
      
         - ir_toy: prevent device from hanging during transmit"
      
      * tag 'media/v5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        media: ir_toy: prevent device from hanging during transmit
        media: s5p-jpeg: rename JPEG marker constants to prevent build warnings
        media: cedrus: Fix SUNXI tile size calculation
        media: hantro: Fix check for single irq
      e6609f2c