From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx.groups.io with SMTP id smtpd.web12.27307.1627288083949846161 for ; Mon, 26 Jul 2021 01:28:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=HwZOOxOi; spf=pass (domain: linaro.org, ip: 209.85.214.171, mailfrom: masami.hiramatsu@linaro.org) Received: by mail-pl1-f171.google.com with SMTP id e5so8722186pld.6 for ; Mon, 26 Jul 2021 01:28:03 -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:user-agent:mime-version :content-transfer-encoding; bh=ww+eGiTaAiDY4s+yJoLeLpEAEpfpKOeKGYJw8hwHUL8=; b=HwZOOxOir4TeossjHaxvG4WM+zJPxPQjnFD9U2EpVhPgev6futJsm6mqW0fcfhzB06 niEWErPdd4sOwXv9LePQ8iyJYM/ROsH/F/s29UMbZnfFpr4BUpKBxClDlpKzNBEv4t5X VAwy1zVvVQSr6DEGWbSEtynhbXhmfVw6NL4KSzG7Z87KeW/MAnVd/JQMpj+GOSlRnV1t Xu+Z1pN9lECEREchY1Ewlj7LFVZ1zoOvscdTV2tFJBG31tBucX8hxENMlau9wxsIqSmY tjoxYJFJak9qu7Fw7a5LOWt8n1oX8AbPeA3Gz6u8ZLGxeRe3+GIWyWLvNZVXUadj2Hky bhgQ== 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:user-agent :mime-version:content-transfer-encoding; bh=ww+eGiTaAiDY4s+yJoLeLpEAEpfpKOeKGYJw8hwHUL8=; b=KbTLva7U78pqyIfHmjNEUb63+xe+7Pg/bo0mjciA/eOGj/0uDKaQ7XdWDujHJY+aEg Jn0U8d5Hsz+SWXczqXldh4y/gSfb9RiGvFTvmrp/UrpJijcsM6CcFAHsvrPvI2HgrfV/ i0Kv9NY2DszBETs+HVc2DVlwLNXwuYX7VNk7RXA48RnMTPS0ygqih7Ocq3jxlrKhCwfw mXg7gVZkblX2j6Nw4pggbZz23qFD0dKNr1vRVq4yMe5eomepC8fXWL5S/zRpyrKVOnda azzp0l2kWP17vFPDPZs2ENXj/vKbVxKxWcQJGXDTfN9dXeUCc8k+v9bTsg3SGNdukK5Y 3N1g== X-Gm-Message-State: AOAM531hwgzcwUWQGTYu/TLkH1Uw/n/wZiD+fx7D/p+mz5F6FAyRzQlD cFVzgIQB8FBlorHPKA2vl6Uyjg== X-Google-Smtp-Source: ABdhPJx1sysH+H5rgOsA7SJaFPVAZdVq0HDUlu690Gk4Tw5fs6fZtW0l6Kbx85XODcUYyCee0K1EuQ== X-Received: by 2002:a63:4a57:: with SMTP id j23mr12881722pgl.440.1627288083372; Mon, 26 Jul 2021 01:28:03 -0700 (PDT) Return-Path: Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id x10sm43769312pfd.175.2021.07.26.01.28.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 01:28:01 -0700 (PDT) From: "Masami Hiramatsu" To: Ard Biesheuvel , Leif Lindholm , Sumit Garg Cc: sakamoto.kazuhiko@socionext.com, masami.hiramatsu@linaro.org, devel@edk2.groups.io Subject: [edk2-platforms PATCH v2 0/2] Fix some issues on SynQuacer Date: Mon, 26 Jul 2021 17:27:59 +0900 Message-Id: <162728807883.823177.7600899853841894479.stgit@localhost> X-Mailer: git-send-email 2.25.1 User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hello, Here is the 2nd version of the patches to fix 2 issues on SynQuacer platform support. I and Sakamoto-san found these issues in edk2-test testcases on SynQuacer DeveloperBox platfrom. Previous version are here; https://edk2.groups.io/g/devel/message/77085 https://edk2.groups.io/g/devel/message/77086 In this version, I grouped these 2 patches and update patch changelog. [1/2] Fixes OpteeRng driver to check invalid parameter correctly. Without this fix, edk2-test BBTestGetRNGConformanceTestCheckpoint1 reports an error. [2/2] Fixes Pcf8563RealTimeClockLib to clear unused Nanosecond field. Without this fix, edk2-test BBTestGetTimeInterfaceTest and BBTestSetTimeInterfaceTest failed. Moreover, 'date' and 'time' commands on UEFI shell can not set the time. Thank you, --- Masami Hiramatsu (2): Silicon/SynQuacer/OpteeRngDxe: Fix invalid parameter check Silicon/NXP/Pcf8563RealTimeClockLib: Clear Nanosecond field in GetTime .../Pcf8563RealTimeClockLib.c | 2 ++ .../SynQuacer/Drivers/OpteeRngDxe/OpteeRng.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) -- Masami Hiramatsu