Re: [edk2-devel] [PATCH] MdePkg/BaseLib: Fix InternalSwitchStack bug for RISCV64.

2024-01-11 Thread yorange
The problem has been fixed in this patch ( Re: [PATCH v2] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform (groups.io) ( https://edk2.groups.io/g/devel/message/113624 ) ), no reply is needed here, thank you all. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to

Re: [edk2-devel] [PATCH v10 4/5] MdePkg: Utilize Cache Management Operations Implementation For RISC-V

2024-01-08 Thread yorange
Hi Dhaval, I can understand a little bit why ASSERT is used,If we can determine that Riscv's BaseCacheMaintenanceLib needs to depend on the CMO instruction set, then RISCV processor platforms that do not have the CMO instruction set should not use this library. They should use

Re: [edk2-devel] [PATCH v10 4/5] MdePkg: Utilize Cache Management Operations Implementation For RISC-V

2024-01-08 Thread yorange
Hi, all I`m yangcheng, and I found this bug when using the *edk2-platforms/Silicon/Synopsys/DesignWare/Drivers/DwEmmcDxe* driver on my VisionFive2 development board, which does not support the *CMO* instruction set.  There are many functions in *DwEmmcDxe.c* that call Cache operations. For

[edk2-devel] [PATCH] MdePkg/BaseLib: Fix InternalSwitchStack bug for RISCV64.

2024-01-02 Thread yorange
From: yorange REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4611 Fixed the InternalSwitchStack error of RISCV64. LongJump is no longer used for stack switch. Refer to Arm and AArch64 and use InternalSwitchStackAsm instead. Signed-off-by: yorange --- MdePkg/Library/BaseLib/BaseLib.inf

[edk2-devel] [PATCH] MdePkg/BaseLib: Fix InternalSwitchStack bug for RISCV64.

2024-01-02 Thread yorange
From: yorange1 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4611 Fixed the InternalSwitchStack error of RISCV64. LongJump is no longer used for stack switch. Refer to Arm and AArch64 and use InternalSwitchStackAsm instead. Signed-off-by: yorange1 --- MdePkg/Library/BaseLib/BaseLib.inf