)]}'
{
  "commit": "69622a5cbea9a1e36f6bef79d5d6267cff19fe0a",
  "tree": "8e45414ce83b17e664e2a7803707bd278314e012",
  "parents": [
    "c414efdf39458438c965b403a47578dcf3213e10"
  ],
  "author": {
    "name": "Toshi Kani",
    "email": "toshi.kani@hpe.com",
    "time": "Wed Jun 27 08:13:48 2018 -0600"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Fri Aug 17 21:03:49 2018 +0200"
  },
  "message": "x86/mm: Add TLB purge to free pmd/pte page interfaces\n\ncommit 5e0fb5df2ee871b841f96f9cb6a7f2784e96aa4e upstream.\n\nioremap() calls pud_free_pmd_page() / pmd_free_pte_page() when it creates\na pud / pmd map.  The following preconditions are met at their entry.\n - All pte entries for a target pud/pmd address range have been cleared.\n - System-wide TLB purges have been peformed for a target pud/pmd address\n   range.\n\nThe preconditions assure that there is no stale TLB entry for the range.\nSpeculation may not cache TLB entries since it requires all levels of page\nentries, including ptes, to have P \u0026 A-bits set for an associated address.\nHowever, speculation may cache pud/pmd entries (paging-structure caches)\nwhen they have P-bit set.\n\nAdd a system-wide TLB purge (INVLPG) to a single page after clearing\npud/pmd entry\u0027s P-bit.\n\nSDM 4.10.4.1, Operation that Invalidate TLBs and Paging-Structure Caches,\nstates that:\n  INVLPG invalidates all paging-structure caches associated with the\n  current PCID regardless of the liner addresses to which they correspond.\n\nFixes: 28ee90fe6048 (\"x86/mm: implement free pmd/pte page interfaces\")\nSigned-off-by: Toshi Kani \u003ctoshi.kani@hpe.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: mhocko@suse.com\nCc: akpm@linux-foundation.org\nCc: hpa@zytor.com\nCc: cpandya@codeaurora.org\nCc: linux-mm@kvack.org\nCc: linux-arm-kernel@lists.infradead.org\nCc: Joerg Roedel \u003cjoro@8bytes.org\u003e\nCc: stable@vger.kernel.org\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nCc: Michal Hocko \u003cmhocko@suse.com\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nCc: \u003cstable@vger.kernel.org\u003e\nLink: https://lkml.kernel.org/r/20180627141348.21777-4-toshi.kani@hpe.com\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fbd14e5067581eb7cdeb3a9b2ffbf4b5ecf38d91",
      "old_mode": 33188,
      "old_path": "arch/x86/mm/pgtable.c",
      "new_id": "e3deefb891dac90ac9d1c0f54d432efd3456c8aa",
      "new_mode": 33188,
      "new_path": "arch/x86/mm/pgtable.c"
    }
  ]
}
