public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms v1 0/2] Add two patch fot D03
@ 2018-02-22  9:26 Ming Huang
  2018-02-22  9:26 ` [PATCH edk2-platforms v1 1/2] Hilisicon/D03: Change DmaLib for PciHostBridgeDxe Ming Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ming Huang @ 2018-02-22  9:26 UTC (permalink / raw)
  To: leif.lindholm, linaro-uefi, edk2-devel, graeme.gregory
  Cc: ard.biesheuvel, guoheyi, wanghuiqiang, huangming23, zhangjinsong2,
	mengfanrong, huangdaode, john.garry, Ming Huang

These two patchs are missed for 18.02. They are recommended for 18.02.


Ming Huang (2):
  Hilisicon/D03: Change DmaLib for PciHostBridgeDxe
  Hisilicon/D03: Set PcdHiiOsRuntimeSupport to FALSE

 Platform/Hisilicon/D03/D03.dsc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.9.1



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

* [PATCH edk2-platforms v1 1/2] Hilisicon/D03: Change DmaLib for PciHostBridgeDxe
  2018-02-22  9:26 [PATCH edk2-platforms v1 0/2] Add two patch fot D03 Ming Huang
@ 2018-02-22  9:26 ` Ming Huang
  2018-02-22  9:27 ` [PATCH edk2-platforms v1 2/2] Hisilicon/D03: Set PcdHiiOsRuntimeSupport to FALSE Ming Huang
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Ming Huang @ 2018-02-22  9:26 UTC (permalink / raw)
  To: leif.lindholm, linaro-uefi, edk2-devel, graeme.gregory
  Cc: ard.biesheuvel, guoheyi, wanghuiqiang, huangming23, zhangjinsong2,
	mengfanrong, huangdaode, john.garry, Ming Huang, Wang Yue,
	Ming Huang

Change DmaLib from NonCoherentDmaLib to CoherentDmaLib for support
cache consistency.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Wang Yue <wangyue41@huawei.com>
Signed-off-by: Ming Huang <ming.huang@linaro.com>
---
 Platform/Hisilicon/D03/D03.dsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc
index c496306..f888d56 100644
--- a/Platform/Hisilicon/D03/D03.dsc
+++ b/Platform/Hisilicon/D03/D03.dsc
@@ -460,7 +460,7 @@
   Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.inf
   Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf {
     <LibraryClasses>
-      DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
+      DmaLib|EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf
       NULL|Platform/Hisilicon/D03/Library/PlatformPciLib/PlatformPciLib.inf
   }
 
-- 
1.9.1



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

* [PATCH edk2-platforms v1 2/2] Hisilicon/D03: Set PcdHiiOsRuntimeSupport to FALSE
  2018-02-22  9:26 [PATCH edk2-platforms v1 0/2] Add two patch fot D03 Ming Huang
  2018-02-22  9:26 ` [PATCH edk2-platforms v1 1/2] Hilisicon/D03: Change DmaLib for PciHostBridgeDxe Ming Huang
@ 2018-02-22  9:27 ` Ming Huang
  2018-02-22 10:23 ` [PATCH edk2-platforms v1 0/2] Add two patch fot D03 Leif Lindholm
  2018-04-23  9:41 ` Leif Lindholm
  3 siblings, 0 replies; 5+ messages in thread
From: Ming Huang @ 2018-02-22  9:27 UTC (permalink / raw)
  To: leif.lindholm, linaro-uefi, edk2-devel, graeme.gregory
  Cc: ard.biesheuvel, guoheyi, wanghuiqiang, huangming23, zhangjinsong2,
	mengfanrong, huangdaode, john.garry, Ming Huang

Turn off PcdHiiOsRuntimeSupport to fix hanging issue while enter
shell with some mellanox net cards.The option ROM of card loads an
empty interface to the gEfiHiiConfigAccessProtocolGuid.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <huangming23@huawei.com>
---
 Platform/Hisilicon/D03/D03.dsc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc
index f888d56..120c6cd 100644
--- a/Platform/Hisilicon/D03/D03.dsc
+++ b/Platform/Hisilicon/D03/D03.dsc
@@ -113,6 +113,7 @@
   #  It could be set FALSE to save size.
   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
   gHisiTokenSpaceGuid.PcdIsItsSupported|TRUE
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
 
 [PcdsDynamicExDefault.common.DEFAULT]
   gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
-- 
1.9.1



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

* Re: [PATCH edk2-platforms v1 0/2] Add two patch fot D03
  2018-02-22  9:26 [PATCH edk2-platforms v1 0/2] Add two patch fot D03 Ming Huang
  2018-02-22  9:26 ` [PATCH edk2-platforms v1 1/2] Hilisicon/D03: Change DmaLib for PciHostBridgeDxe Ming Huang
  2018-02-22  9:27 ` [PATCH edk2-platforms v1 2/2] Hisilicon/D03: Set PcdHiiOsRuntimeSupport to FALSE Ming Huang
@ 2018-02-22 10:23 ` Leif Lindholm
  2018-04-23  9:41 ` Leif Lindholm
  3 siblings, 0 replies; 5+ messages in thread
From: Leif Lindholm @ 2018-02-22 10:23 UTC (permalink / raw)
  To: Ming Huang
  Cc: linaro-uefi, edk2-devel, graeme.gregory, ard.biesheuvel, guoheyi,
	wanghuiqiang, huangming23, zhangjinsong2, mengfanrong, huangdaode,
	john.garry

On Thu, Feb 22, 2018 at 05:26:58PM +0800, Ming Huang wrote:
> These two patchs are missed for 18.02. They are recommended for 18.02.

These look simple enough that I might consider cherry-picking them
into the 18.02 build, but I would also like to see some response to
https://bugs.linaro.org/show_bug.cgi?id=3623

Regards,

Leif


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

* Re: [PATCH edk2-platforms v1 0/2] Add two patch fot D03
  2018-02-22  9:26 [PATCH edk2-platforms v1 0/2] Add two patch fot D03 Ming Huang
                   ` (2 preceding siblings ...)
  2018-02-22 10:23 ` [PATCH edk2-platforms v1 0/2] Add two patch fot D03 Leif Lindholm
@ 2018-04-23  9:41 ` Leif Lindholm
  3 siblings, 0 replies; 5+ messages in thread
From: Leif Lindholm @ 2018-04-23  9:41 UTC (permalink / raw)
  To: Ming Huang
  Cc: linaro-uefi, edk2-devel, graeme.gregory, ard.biesheuvel, guoheyi,
	wanghuiqiang, huangming23, zhangjinsong2, mengfanrong, huangdaode,
	john.garry

For series:
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

Pushed as a30a05ba45..0b5af57f00.

On Thu, Feb 22, 2018 at 05:26:58PM +0800, Ming Huang wrote:
> These two patchs are missed for 18.02. They are recommended for 18.02.
> 
> 
> Ming Huang (2):
>   Hilisicon/D03: Change DmaLib for PciHostBridgeDxe
>   Hisilicon/D03: Set PcdHiiOsRuntimeSupport to FALSE
> 
>  Platform/Hisilicon/D03/D03.dsc | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> -- 
> 1.9.1
> 


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

end of thread, other threads:[~2018-04-23  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22  9:26 [PATCH edk2-platforms v1 0/2] Add two patch fot D03 Ming Huang
2018-02-22  9:26 ` [PATCH edk2-platforms v1 1/2] Hilisicon/D03: Change DmaLib for PciHostBridgeDxe Ming Huang
2018-02-22  9:27 ` [PATCH edk2-platforms v1 2/2] Hisilicon/D03: Set PcdHiiOsRuntimeSupport to FALSE Ming Huang
2018-02-22 10:23 ` [PATCH edk2-platforms v1 0/2] Add two patch fot D03 Leif Lindholm
2018-04-23  9:41 ` Leif Lindholm

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