1. 29 Sep, 2022 1 commit
    • Leo Li's avatar
      drm/amd/display: Prevent OTG shutdown during PSR SU · 83ca5fb4
      Leo Li authored
      [Why]
      
      Enabling Z10 optimizations allows DMUB to disable the OTG during PSR
      link-off. This theoretically saves power by putting more of the display
      hardware to sleep. However, we observe that with PSR SU, it causes
      visual artifacts, higher power usage, and potential system hang.
      
      This is partly due to an odd behavior with the VStartup interrupt used
      to signal DRM vblank events. If the OTG is toggled on/off during a PSR
      link on/off cycle, the vstartup interrupt fires twice in quick
      succession. This generates incorrectly timed vblank events.
      Additionally, it can cause cursor updates to generate visual artifacts.
      
      Note that this is not observed with PSR1 since PSR is fully disabled
      when there are vblank event requestors. Cursor updates are also
      artifact-free, likely because there are no selectively-updated (SU)
      frames that can generate artifacts.
      
      [How]
      
      A potential solution is to disable z10 idle optimizations only when fast
      updates (flips & cursor updates) are committed. A mechanism to do so
      would require some thoughtful design. Let's just disable idle
      optimizations for PSR2 for now.
      
      Fixes: 7cc191ee ("drm/amd/display: Implement MPO PSR SU")
      Reported-by: default avatarAugust Wikerfors <git@augustwikerfors.se>
      Link: https://lore.kernel.org/r/c1f8886a-5624-8f49-31b1-e42b6d20dcf5@augustwikerfors.se/Tested-by: default avatarAugust Wikerfors <git@augustwikerfors.se>
      Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
      Signed-off-by: default avatarLeo Li <sunpeng.li@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      83ca5fb4
  2. 27 Sep, 2022 19 commits
  3. 25 Sep, 2022 8 commits
  4. 24 Sep, 2022 10 commits
  5. 23 Sep, 2022 2 commits
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · a63f2e7c
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "These are all very simple and self-contained, although the CFI
        jump-table fix touches the generic linker script as that's where the
        problematic macro lives.
      
         - Fix false positive "sleeping while atomic" warning resulting from
           the kPTI rework taking a mutex too early.
      
         - Fix possible overflow in AMU frequency calculation
      
         - Fix incorrect shift in CMN PMU driver which causes problems with
           newer versions of the IP
      
         - Reduce alignment of the CFI jump table to avoid huge kernel images
           and link errors with !4KiB page size configurations"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
        perf/arm-cmn: Add more bits to child node address offset field
        arm64: topology: fix possible overflow in amu_fie_setup()
        arm64: mm: don't acquire mutex when rewriting swapper
      a63f2e7c
    • Masahiro Yamada's avatar
      certs: make system keyring depend on built-in x509 parser · 2154aca2
      Masahiro Yamada authored
      Commit e9088629 ("certs: make system keyring depend on x509 parser")
      is not the right fix because x509_load_certificate_list() can be modular.
      
      The combination of CONFIG_SYSTEM_TRUSTED_KEYRING=y and
      CONFIG_X509_CERTIFICATE_PARSER=m still results in the following error:
      
          LD      .tmp_vmlinux.kallsyms1
        ld: certs/system_keyring.o: in function `load_system_certificate_list':
        system_keyring.c:(.init.text+0x8c): undefined reference to `x509_load_certificate_list'
        make: *** [Makefile:1169: vmlinux] Error 1
      
      Fixes: e9088629 ("certs: make system keyring depend on x509 parser")
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Tested-by: default avatarAdam Borowski <kilobyte@angband.pl>
      2154aca2