From 12c34725df8a205648a424545c8c109bba365a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= Date: Thu, 26 Aug 2021 15:39:22 +0200 Subject: [PATCH 1/2] EBBR.yaml: add identity map known acs limitation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ACS emits warnings when it detects an identity mapping between virtual and physical memory, which is the case with U-Boot. Mark those warnings as known ACS limitations. Signed-off-by: Vincent Stehlé --- EBBR.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/EBBR.yaml b/EBBR.yaml index ec55406..83998a5 100644 --- a/EBBR.yaml +++ b/EBBR.yaml @@ -2043,6 +2043,26 @@ update: result: KNOWN ACS LIMITATION +- rule: Force boot services memory map test warnings with ACS-IR + v21.07_0.9_BETA as known ACS limitation. + U-Boot is using an identity mapping for its virtual memory. + criteria: + descr: SbbrBootServices Tests + device path: No device path + group: BootServicesTest + guid: 58A44F17-760E-478B-BAEF-E20BFBCD7457 + log: is Identity Mapped. UEFI runtime environment must not be written with + any assumption of an identity mapping between virtual and physical memory + maps. + name: MemoryMap + result: WARNING + revision: '0x00010000' + set guid: 8540C12D-5413-4A0B-A545-89A8E3C7DA4B + sub set: MemoryMap + test set: SbbrBootServices + update: + result: KNOWN ACS LIMITATION + ############################################################################### # Comments # ############################################################################### -- GitLab From 292660ec4f2ef8b989afc57c265598759eb167a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= Date: Thu, 2 Sep 2021 17:27:18 +0200 Subject: [PATCH 2/2] EBBR.yaml: query variable info known u-boot limitations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The QueryVariableInfo() implementation in U-Boot does not check properly for all the invalid inputs conditions, which causes conformance failures. Mark those failures as known U-Boot limitations. Signed-off-by: Vincent Stehlé --- EBBR.yaml | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/EBBR.yaml b/EBBR.yaml index 83998a5..e72ee54 100644 --- a/EBBR.yaml +++ b/EBBR.yaml @@ -1997,6 +1997,63 @@ update: result: KNOWN U-BOOT LIMITATION +- rule: Force runtime services variable test conformance failure as known U-Boot + limitation + QueryVariableInfo implementation in U-Boot does not check properly for all + invalid inputs conditions + criteria: + descr: Variable Services Test + device path: No device path + group: RuntimeServicesTest + guid: E7F2EB9F-1624-45A9-A287-3EA6F2F74C5F + log: Status - Success, Expected - Invalid Parameter + name: RT.QueryVariableInfo - With Attributes being 0 + result: FAILURE + revision: '0x00010000' + set guid: 61758774-91A3-47DD-BDBD-B81094A5F62D + sub set: QueryVariableInfo_Conf + test set: VariableServicesTest + update: + result: KNOWN U-BOOT LIMITATION + +- rule: Force runtime services variable test conformance failure (2) as known + U-Boot limitation + QueryVariableInfo implementation in U-Boot does not check properly for all + invalid inputs conditions + criteria: + descr: Variable Services Test + device path: No device path + group: RuntimeServicesTest + guid: 2F9966BA-0091-4085-BF9D-09AA809F942E + log: Status - Success, Expected - Invalid Parameter (Variable Attribute 0x4) + name: RT.QueryVariableInfo - With being an invalid combination + result: FAILURE + revision: '0x00010000' + set guid: 61758774-91A3-47DD-BDBD-B81094A5F62D + sub set: QueryVariableInfo_Conf + test set: VariableServicesTest + update: + result: KNOWN U-BOOT LIMITATION + +- rule: Force runtime services variable test conformance failure (3) as known + U-Boot limitation + QueryVariableInfo implementation in U-Boot does not check properly for all + invalid inputs conditions + criteria: + descr: Variable Services Test + device path: No device path + group: RuntimeServicesTest + guid: 2F9966BA-0091-4085-BF9D-09AA809F942E + log: Status - Success, Expected - Invalid Parameter (Variable Attribute 0x5) + name: RT.QueryVariableInfo - With being an invalid combination + result: FAILURE + revision: '0x00010000' + set guid: 61758774-91A3-47DD-BDBD-B81094A5F62D + sub set: QueryVariableInfo_Conf + test set: VariableServicesTest + update: + result: KNOWN U-BOOT LIMITATION + ############################################################################### # Known ACS limitations # ############################################################################### -- GitLab