public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdeModulePkg: Disable PciDegrade support for LoongArch64
@ 2022-11-17  8:47 Dongyan Qian
  2022-11-17 11:59 ` [edk2-devel] " Chao Li
  0 siblings, 1 reply; 2+ messages in thread
From: Dongyan Qian @ 2022-11-17  8:47 UTC (permalink / raw)
  To: devel; +Cc: Jian J Wang, Liming Gao, Ray Ni, Chao Li, Bo Zhu

LoongArch64: Pcie devices that come with OPROM may require large Mem Space,
and downgrading all 64 Bit Bars may result in insufficient space.

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

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Chao Li <lichao@loongson.cn>
Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
Co-authored-by: Bo Zhu <zhubo@loongson.cn>
---
 MdeModulePkg/MdeModulePkg.dec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 58e6ab0048..be5e829ca9 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -917,7 +917,7 @@
   # @Prompt Enable process non-reset capsule image at runtime.
   gEfiMdeModulePkgTokenSpaceGuid.PcdSupportProcessCapsuleAtRuntime|FALSE|BOOLEAN|0x00010079
 
-[PcdsFeatureFlag.IA32, PcdsFeatureFlag.ARM, PcdsFeatureFlag.AARCH64]
+[PcdsFeatureFlag.IA32, PcdsFeatureFlag.ARM, PcdsFeatureFlag.AARCH64, PcdsFeatureFlag.LOONGARCH64]
   gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE|BOOLEAN|0x0001003a
 
 [PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]
-- 
2.36.1.windows.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] [PATCH] MdeModulePkg: Disable PciDegrade support for LoongArch64
  2022-11-17  8:47 [PATCH] MdeModulePkg: Disable PciDegrade support for LoongArch64 Dongyan Qian
@ 2022-11-17 11:59 ` Chao Li
  0 siblings, 0 replies; 2+ messages in thread
From: Chao Li @ 2022-11-17 11:59 UTC (permalink / raw)
  To: devel@edk2.groups.io, qiandongyan@loongson.cn
  Cc: devel@edk2.groups.io, Jian J Wang, Liming Gao, Ray Ni, Bo Zhu

[-- Attachment #1: Type: text/plain, Size: 1815 bytes --]

Reviewed-by: Chao Li <lichao@loongson.cn>

Thanks,
Chao
--------

On 11月 17 2022, at 4:47 下午, "Dongyan Qian" <qiandongyan@loongson.cn> wrote:
> LoongArch64: Pcie devices that come with OPROM may require large Mem Space,
> and downgrading all 64 Bit Bars may result in insufficient space.
>
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4157
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Chao Li <lichao@loongson.cn>
> Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
> Co-authored-by: Bo Zhu <zhubo@loongson.cn>
> ---
> MdeModulePkg/MdeModulePkg.dec | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
> index 58e6ab0048..be5e829ca9 100644
> --- a/MdeModulePkg/MdeModulePkg.dec
> +++ b/MdeModulePkg/MdeModulePkg.dec
> @@ -917,7 +917,7 @@
> # @Prompt Enable process non-reset capsule image at runtime.
>
> gEfiMdeModulePkgTokenSpaceGuid.PcdSupportProcessCapsuleAtRuntime|FALSE|BOOLEAN|0x00010079
>
>
> -[PcdsFeatureFlag.IA32, PcdsFeatureFlag.ARM, PcdsFeatureFlag.AARCH64]
> +[PcdsFeatureFlag.IA32, PcdsFeatureFlag.ARM, PcdsFeatureFlag.AARCH64, PcdsFeatureFlag.LOONGARCH64]
> gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE|BOOLEAN|0x0001003a
>
>
> [PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]
> --
> 2.36.1.windows.1
>
>
>
> - - - - - -
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#96470): https://edk2.groups.io/g/devel/message/96470
> Mute This Topic: https://groups.io/mt/95087855/6496846
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub [lichao@loongson.cn]
> - - - - - -
>


[-- Attachment #2: Type: text/html, Size: 2318 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-17 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-17  8:47 [PATCH] MdeModulePkg: Disable PciDegrade support for LoongArch64 Dongyan Qian
2022-11-17 11:59 ` [edk2-devel] " Chao Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox