)]}'
{
  "commit": "2e0432fdeb59fabd1c1dc5584484a939385f6b24",
  "tree": "a38d990287472884e31b2bd5fc0d69be3518071f",
  "parents": [
    "a876792e9aa26c44a9234544411584afa2028932"
  ],
  "author": {
    "name": "Tom Lendacky",
    "email": "thomas.lendacky@amd.com",
    "time": "Wed Sep 08 17:58:39 2021 -0500"
  },
  "committer": {
    "name": "Borislav Petkov",
    "email": "bp@suse.de",
    "time": "Mon Sep 27 14:33:09 2021 +0200"
  },
  "message": "treewide: Replace the use of mem_encrypt_active() with cc_platform_has()\n\nReplace uses of mem_encrypt_active() with calls to cc_platform_has() with\nthe CC_ATTR_MEM_ENCRYPT attribute.\n\nRemove the implementation of mem_encrypt_active() across all arches.\n\nFor s390, since the default implementation of the cc_platform_has()\nmatches the s390 implementation of mem_encrypt_active(), cc_platform_has()\ndoes not need to be implemented in s390 (the config option\nARCH_HAS_CC_PLATFORM is not set).\n\nSigned-off-by: Tom Lendacky \u003cthomas.lendacky@amd.com\u003e\nSigned-off-by: Borislav Petkov \u003cbp@suse.de\u003e\nLink: https://lkml.kernel.org/r/46a18427dc4e9dda985b10e472965e3e4c769f1d.1631141919.git.thomas.lendacky@amd.com\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ba9dab07c1bed492ff22f6973d47552131f3710f",
      "old_mode": 33188,
      "old_path": "arch/powerpc/include/asm/mem_encrypt.h",
      "new_id": "2f26b8fc8d297ca57485f70620234f3e957a0692",
      "new_mode": 33188,
      "new_path": "arch/powerpc/include/asm/mem_encrypt.h"
    },
    {
      "type": "modify",
      "old_id": "87f001b4c4e4fa338adb323c141b9c4c0e04c02b",
      "old_mode": 33188,
      "old_path": "arch/powerpc/platforms/pseries/svm.c",
      "new_id": "c083ecbbae4d6870da9cd084b56f17480419f42d",
      "new_mode": 33188,
      "new_path": "arch/powerpc/platforms/pseries/svm.c"
    },
    {
      "type": "modify",
      "old_id": "2542cbf7e2d1805d5256788aaa9e1b78dbd48660",
      "old_mode": 33188,
      "old_path": "arch/s390/include/asm/mem_encrypt.h",
      "new_id": "08a8b96606d7eb3eaab19ebe498f6d33f91aadee",
      "new_mode": 33188,
      "new_path": "arch/s390/include/asm/mem_encrypt.h"
    },
    {
      "type": "modify",
      "old_id": "da14ede311aa88d97e9394d8872fa481d4974c89",
      "old_mode": 33188,
      "old_path": "arch/x86/include/asm/mem_encrypt.h",
      "new_id": "2d4f5c17d79cc563cd134cdd403a8a811ef38b83",
      "new_mode": 33188,
      "new_path": "arch/x86/include/asm/mem_encrypt.h"
    },
    {
      "type": "modify",
      "old_id": "de01903c3735540c9641c17eeecea3488138f704",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/head64.c",
      "new_id": "fc5371a7e9d199b85992f1634ad073396ae07ac1",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/head64.c"
    },
    {
      "type": "modify",
      "old_id": "b59a5cbc6bc5c67987b60ea75acd88fb6da2b02f",
      "old_mode": 33188,
      "old_path": "arch/x86/mm/ioremap.c",
      "new_id": "026031b3b7829517ae0e04295f3c10e430c3cd00",
      "new_mode": 33188,
      "new_path": "arch/x86/mm/ioremap.c"
    },
    {
      "type": "modify",
      "old_id": "b8b39851bf3c78d2d2af8cbbba69db4f6b6124b1",
      "old_mode": 33188,
      "old_path": "arch/x86/mm/mem_encrypt.c",
      "new_id": "9417d404ea92d93bb35385d8d753ca68633c5b2d",
      "new_mode": 33188,
      "new_path": "arch/x86/mm/mem_encrypt.c"
    },
    {
      "type": "modify",
      "old_id": "ad8a5c586a353a92454484fdbc7b29276a06e15c",
      "old_mode": 33188,
      "old_path": "arch/x86/mm/pat/set_memory.c",
      "new_id": "527957586f3caf40c85e8b17e8d5c23f8b2336b8",
      "new_mode": 33188,
      "new_path": "arch/x86/mm/pat/set_memory.c"
    },
    {
      "type": "modify",
      "old_id": "f18240f8738789d83d6eb1a2bc22cc754b6977f2",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c",
      "new_id": "7741195eb85eb188e1665ab6beebbef3d1b69a29",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c"
    },
    {
      "type": "modify",
      "old_id": "30cc59fe6ef79a8eff16c2630104f0523d52b20e",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/drm_cache.c",
      "new_id": "f19d9acbe959363a7928f8e319f461ddddf3e4f4",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/drm_cache.c"
    },
    {
      "type": "modify",
      "old_id": "ab9a1750e1dffba51e491e40afbfc312b207b1e8",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/vmwgfx/vmwgfx_drv.c",
      "new_id": "bfd71c86faa5878a1d004533b12541501fcec35d",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/vmwgfx/vmwgfx_drv.c"
    },
    {
      "type": "modify",
      "old_id": "e50fb82a3030029c41f7955b94c7ff432f6b0207",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/vmwgfx/vmwgfx_msg.c",
      "new_id": "2aceac7856e21968d3d844f8986b9076355edc0d",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/vmwgfx/vmwgfx_msg.c"
    },
    {
      "type": "modify",
      "old_id": "1722bb161841fedcbbae13ba7635e0d2acd2a850",
      "old_mode": 33188,
      "old_path": "drivers/iommu/amd/iommu.c",
      "new_id": "9e5da037d949f5ddc064ae97d27f31dce86cde1d",
      "new_mode": 33188,
      "new_path": "drivers/iommu/amd/iommu.c"
    },
    {
      "type": "modify",
      "old_id": "a9e568276c99f2670198df94801aa1e507529ecf",
      "old_mode": 33188,
      "old_path": "drivers/iommu/amd/iommu_v2.c",
      "new_id": "13cbeb997cc1a069302a11200be97ff0c2c1bd99",
      "new_mode": 33188,
      "new_path": "drivers/iommu/amd/iommu_v2.c"
    },
    {
      "type": "modify",
      "old_id": "3303d707bab4bde9ada8f2102216562895d89f9b",
      "old_mode": 33188,
      "old_path": "drivers/iommu/iommu.c",
      "new_id": "e80261d17a49967f621e37ee17819f35f3bb7a09",
      "new_mode": 33188,
      "new_path": "drivers/iommu/iommu.c"
    },
    {
      "type": "modify",
      "old_id": "9a15334da20864c75f3f7ed49f8d4fa077cad2cd",
      "old_mode": 33188,
      "old_path": "fs/proc/vmcore.c",
      "new_id": "cdbbf819d2d6375a6198de1e8c72987e7f012ee4",
      "new_mode": 33188,
      "new_path": "fs/proc/vmcore.c"
    },
    {
      "type": "modify",
      "old_id": "5c4a18a91f898502e3eae8b5521999b245a27136",
      "old_mode": 33188,
      "old_path": "include/linux/mem_encrypt.h",
      "new_id": "ae45263892611d95dd24789c7770ea3eddc1a1b3",
      "new_mode": 33188,
      "new_path": "include/linux/mem_encrypt.h"
    },
    {
      "type": "modify",
      "old_id": "87c40517e82274718bd77e16cbf10f736299abb4",
      "old_mode": 33188,
      "old_path": "kernel/dma/swiotlb.c",
      "new_id": "c4ca040fdb051f53ddb0e8428d2b6061eb499a90",
      "new_mode": 33188,
      "new_path": "kernel/dma/swiotlb.c"
    }
  ]
}
