1. 12 Oct, 2019 1 commit
  2. 19 Sep, 2019 1 commit
  3. 23 Aug, 2019 1 commit
  4. 22 Aug, 2019 2 commits
  5. 14 Aug, 2019 1 commit
  6. 23 Jul, 2019 1 commit
  7. 18 Jul, 2019 2 commits
  8. 11 Jul, 2019 1 commit
  9. 03 Jul, 2019 2 commits
  10. 28 Jun, 2019 1 commit
  11. 19 Jun, 2019 2 commits
  12. 06 Jun, 2019 1 commit
    • Shaokun Zhang's avatar
      UPSTREAM: arm64: mm: remove page_mapping check in __sync_icache_dcache · aa15f1a4
      Shaokun Zhang authored
      __sync_icache_dcache unconditionally skips the cache maintenance for
      anonymous pages, under the assumption that flushing is only required in
      the presence of D-side aliases [see 7249b79f ("arm64: Do not flush
      the D-cache for anonymous pages")].
      
      Unfortunately, this breaks migration of anonymous pages holding
      self-modifying code, where userspace cannot be reasonably expected to
      reissue maintenance instructions in response to a migration.
      
      This patch fixes the problem by removing the broken page_mapping(page)
      check from the cache syncing code, otherwise we may end up fetching and
      executing stale instructions from the PoU.
      
      Change-Id: Ie304b57c7a8597beff653e9a2a13b7cf3725a365
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: <stable@vger.kernel.org>
      Reviewed-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: default avatarShaokun Zhang <zhangshaokun@hisilicon.com>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      Signed-off-by: default avatarCliff Chen <cliff.chen@rock-chips.com>
      (cherry picked from commit 20c27a4270c775d7ed661491af8ac03264d60fc6)
      aa15f1a4
  13. 30 May, 2019 1 commit
  14. 15 May, 2019 1 commit
  15. 10 May, 2019 4 commits
  16. 16 Apr, 2019 1 commit
  17. 12 Apr, 2019 2 commits
  18. 28 Mar, 2019 3 commits
  19. 20 Mar, 2019 9 commits
  20. 19 Mar, 2019 3 commits