From: "Sheng Wei" <w.sheng@intel.com>
To: "Kuo, Ted" <ted.kuo@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Ni, Ray" <ray.ni@intel.com>,
"Chaganty, Rangasai V" <rangasai.v.chaganty@intel.com>,
"Huang, Jenny" <jenny.huang@intel.com>,
"Kowalewski, Robert" <robert.kowalewski@intel.com>
Subject: Re: [PATCH v2] IntelSiliconPkg/VTd: Fix to support IntelVTdDmarPei in 64bit
Date: Tue, 15 Feb 2022 06:57:35 +0000 [thread overview]
Message-ID: <PH0PR11MB4870A89116461CA213B76A64E1349@PH0PR11MB4870.namprd11.prod.outlook.com> (raw)
In-Reply-To: <7c1d6d087fb0667e191b4f282e0dae3fa728350d.1644907566.git.ted.kuo@intel.com>
The change is good to me.
Reviewed-by: Sheng Wei <w.sheng@intel.com>
> -----Original Message-----
> From: Kuo, Ted <ted.kuo@intel.com>
> Sent: 2022年2月15日 14:47
> To: devel@edk2.groups.io
> Cc: Sheng, W <w.sheng@intel.com>; Ni, Ray <ray.ni@intel.com>; Chaganty,
> Rangasai V <rangasai.v.chaganty@intel.com>; Huang, Jenny
> <jenny.huang@intel.com>; Kowalewski, Robert
> <robert.kowalewski@intel.com>
> Subject: [PATCH v2] IntelSiliconPkg/VTd: Fix to support IntelVTdDmarPei in
> 64bit
>
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3836
> Changed VtdIndex defined in PROCESS_DRHD_CALLBACK_FUNC from
> UINT32 to UINTN to avoid type incompatible error when enable PEI in 64bit.
>
> Cc: Sheng Wei <w.sheng@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
> Cc: Jenny Huang <jenny.huang@intel.com>
> Cc: Robert Kowalewski <robert.kowalewski@intel.com>
> Signed-off-by: Ted Kuo <ted.kuo@intel.com>
> ---
> .../IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.c | 4
> ++--
> .../IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.h | 2
> +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git
> a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmar
> Pei.c
> b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmar
> Pei.c
> index f97d627eca..2844f366bb 100644
> ---
> a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmar
> Pei.c
> +++ b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTd
> +++ DmarPei.c
> @@ -434,7 +434,7 @@ GetVTdInfoHob (
> VOID
> ProcessDhrdPreMemory (
> IN OUT VOID *Context,
> - IN UINT32 VTdIndex,
> + IN UINTN VTdIndex,
> IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd
> )
> {
> @@ -454,7 +454,7 @@ ProcessDhrdPreMemory ( VOID
> ProcessDrhdPostMemory (
> IN OUT VOID *Context,
> - IN UINT32 VTdIndex,
> + IN UINTN VTdIndex,
> IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd
> )
> {
> diff --git
> a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmar
> Pei.h
> b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmar
> Pei.h
> index 351a7810d8..7bed0a5363 100644
> ---
> a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTdDmar
> Pei.h
> +++ b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/IntelVTd
> +++ DmarPei.h
> @@ -49,7 +49,7 @@ typedef
> VOID
> (*PROCESS_DRHD_CALLBACK_FUNC) (
> IN OUT VOID *Context,
> - IN UINT32 VTdIndex,
> + IN UINTN VTdIndex,
> IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd
> );
>
> --
> 2.16.2.windows.1
next prev parent reply other threads:[~2022-02-15 6:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 6:46 [PATCH v2] IntelSiliconPkg/VTd: Fix to support IntelVTdDmarPei in 64bit Kuo, Ted
2022-02-15 6:51 ` Sheng Wei
2022-02-15 6:57 ` Sheng Wei [this message]
2022-02-15 7:06 ` Kowalewski, Robert
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=PH0PR11MB4870A89116461CA213B76A64E1349@PH0PR11MB4870.namprd11.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