public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael Kubacki" <michael.kubacki@outlook.com>
To: devel@edk2.groups.io
Cc: Kun Qin <Kun.Qin@microsoft.com>,
	Jian J Wang <jian.j.wang@intel.com>,
	Jiewen Yao <jiewen.yao@intel.com>,
	Chao Zhang <chao.b.zhang@intel.com>
Subject: [PATCH v1 0/2] SecurityPkg: Add PCD for SW SMI Command port
Date: Mon,  6 Apr 2020 11:34:20 -0700	[thread overview]
Message-ID: <MWHPR07MB34408913146D04300B7B1BC0E9C20@MWHPR07MB3440.namprd07.prod.outlook.com> (raw)

From: Michael Kubacki <michael.kubacki@microsoft.com>

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2416

The software SMI Command IO Port is currently used in SecurityPkg to
support the Physical Presence Interface. The IO port is hardcoded as 0xB2
in Tpm.asl.

This patch series adds a PCD to SecurityPkg with the default value of 0xB2.
The PCD is also used as the IO port value in Tpm.asl. Some existing
platforms use IO port 0xB0 so this allows those platforms to set the value
to 0xB0 in their platform DSC.

On a separate note, shallow threading might not work on this patch series
due to changes made by the SMTP server. Please bear with me while I am
investigating if this can be changed.

Cc: Kun Qin <Kun.Qin@microsoft.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>

Michael Kubacki (2):
  SecurityPkg: Add PCD for SW SMI Command port
  SecurityPkg Tcg: Use SW SMI IO port PCD in Tpm.asl

 SecurityPkg/SecurityPkg.dec         |  8 +++++++-
 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf |  4 ++++
 SecurityPkg/Tcg/Tcg2Smm/Tpm.asl     | 18 +++++++++---------
 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf   |  4 ++++
 SecurityPkg/Tcg/TcgSmm/Tpm.asl      | 17 +++++++++--------
 5 files changed, 33 insertions(+), 18 deletions(-)

-- 
2.16.3.windows.1


                 reply	other threads:[~2020-04-06 18:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR07MB34408913146D04300B7B1BC0E9C20@MWHPR07MB3440.namprd07.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox