From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.groups.io with SMTP id smtpd.web10.33956.1585218289042970490 for ; Thu, 26 Mar 2020 03:24:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=kSAt79kR; spf=pass (domain: linaro.org, ip: 209.85.128.53, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f53.google.com with SMTP id a81so6335734wmf.5 for ; Thu, 26 Mar 2020 03:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=u0CMSlG0C8Q8vM8C2p/lZ3YEIMstzKy8gjWB9lgMKDg=; b=kSAt79kRYNV8W/rkD4iKNP+xzXDAKIJ1aZlyl6DDPi6/A1n7Gn7H+MuIERPE8YUbq3 EoS3j52lYAD39kSDrwhvMQPrPR+Z1bZMjX8kIIgctKubO1nFbTRQhU6VWqKj1wqfzgPj UaJOIIinYIR7rVJcfnlMQkd+L3Q9MCHBBOZHk+rVsXq9YRet7KJDa5QaIWQgg379vUJv xAXFL9anR2QTNmVcY8gzxZk8wa1LGZeZlTrFpaRaD0IT/RLfIv876lilEMIzlg/GLSb/ RZTZaJl745D0Gn9ByyHl/hA9xxLNjtlUys5506VV3jTaXiu9p/nW2XBFJfM2t3uBfvTw p+gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=u0CMSlG0C8Q8vM8C2p/lZ3YEIMstzKy8gjWB9lgMKDg=; b=BRokC6nakbaFJe6zbYwoR18yGfnuF4Vidh5egZTHdUMbu+BepSnbfckOc9Ol2VOjpe Z74YvcZ/qOBGHyJgO+E3LWF4TUml2GNqE11kDzAKUYzA0BBqWHa+E7w4olJYgYBQ8KPZ MJEtRD02e1IOm1moUSTo0pj6dSgSkA/cnWYVP2ZqlDzNVHC4sirVJPnOQxk9ZPJN/Zl9 s1ce91NQbpUJsWDQQZnqWonFNciYhnQQ7zcobjo0mZS1c80P6dpZqw6+LiDCnYQ8dLZv izv9LmfsJclgN4L5zsjMxuycI+wZWQW0fZDoESv/qsFq2RywcLlu3gfnx7jUO3P3ZOEB ENQg== X-Gm-Message-State: ANhLgQ3XnFsn9c0jxxiRfxHZgkDCVz7troOSleJpc9W7w4fRj/4TOoUi tRhOIKsHN++QZNTOprwFEGvF+Y7BenmFyw== X-Google-Smtp-Source: ADFU+vt1H4/YNYRaF2JTG543mXpSeeBg+pbEvEFvSGgQZbm4wFOYX+H39jIe6yCsvH97Dg+poRxBhg== X-Received: by 2002:a7b:caf2:: with SMTP id t18mr2467802wml.80.1585218287276; Thu, 26 Mar 2020 03:24:47 -0700 (PDT) Return-Path: Received: from e123331-lin.home (amontpellier-657-1-18-247.w109-210.abo.wanadoo.fr. [109.210.65.247]) by smtp.gmail.com with ESMTPSA id d5sm3124511wrh.40.2020.03.26.03.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 03:24:46 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Laszlo Ersek , Leif Lindholm , Michael D Kinney , Ray Ni , Jiewen Yao , Bret Barkelew Subject: [PATCH 0/4] remove generation of EFI properties table Date: Thu, 26 Mar 2020 11:24:39 +0100 Message-Id: <20200326102443.748-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 The EFI properties table is broken by design, deprecated, and seems to be causing confusion as it is unclear to some how it differs from the memory attributes table (which supersedes it). So let's get rid of the code that generates it entirely, along with the GUID definitions, PCDs etc. Due to how the two implementations are intertwined, patch #2 makes the minimal changes required to stop producing the table (and to allow patch #3 to remove the associated definitions from MdePkg). Patch #4 is optional and merges the code together. Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Michael D Kinney Cc: Ray Ni Cc: Jiewen Yao Cc: Bret Barkelew Link: https://bugzilla.tianocore.org/show_bug.cgi?id=2633 Ard Biesheuvel (4): OvmfPkg: remove handling of properties table MdeModulePkg: disable properties table generation but retain the code MdePkg: remove PropertiesTable GUID MdeModulePkg/DxeCore: merge properties table routines into MAT handling MdeModulePkg/Core/Dxe/DxeMain.h | 9 - MdeModulePkg/Core/Dxe/DxeMain.inf | 3 - MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 1 - .../Core/Dxe/Misc/MemoryAttributesTable.c | 1226 ++++++++++++++- MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 1 - MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 1373 ----------------- MdeModulePkg/MdeModulePkg.dec | 24 - MdeModulePkg/MdeModulePkg.uni | 21 - MdePkg/Include/Guid/PropertiesTable.h | 31 - MdePkg/MdePkg.dec | 3 - OvmfPkg/OvmfPkgIa32.dsc | 1 - OvmfPkg/OvmfPkgIa32X64.dsc | 1 - OvmfPkg/OvmfPkgX64.dsc | 1 - OvmfPkg/OvmfXen.dsc | 1 - OvmfPkg/PlatformPei/Platform.c | 1 - OvmfPkg/PlatformPei/PlatformPei.inf | 1 - 16 files changed, 1222 insertions(+), 1476 deletions(-) delete mode 100644 MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c delete mode 100644 MdePkg/Include/Guid/PropertiesTable.h -- 2.17.1