Re: [edk2-devel] [PATCH 7/7] [PATCH v2] UefiCpuPkg: BaseRiscV64CpuExceptionHandlerLib: clean up exception handling

2023-03-01 Thread Tuan Phan
On Wed, Mar 1, 2023 at 8:59 PM Tuan Phan via groups.io wrote: > > > On Thu, Feb 23, 2023 at 3:55 PM Andrei Warkentin < > andrei.warken...@intel.com> wrote: > >> RegisterCpuInterruptHandler did not allow setting >> exception handlers for anything beyond the tim

Re: [edk2-devel] [PATCH 7/7] [PATCH v2] UefiCpuPkg: BaseRiscV64CpuExceptionHandlerLib: clean up exception handling

2023-03-01 Thread Tuan Phan
On Thu, Feb 23, 2023 at 3:55 PM Andrei Warkentin wrote: > RegisterCpuInterruptHandler did not allow setting > exception handlers for anything beyond the timer IRQ. > Beyond that, it didn't meet the spec around handling > of inputs. > > RiscVSupervisorModeTrapHandler now will invoke > set handlers

Re: [edk2-devel] [PATCH v2] CryptoPkg/IntrinsicLib: RiscV: Provide implementation of memcpy and __ctzdi2

2022-12-19 Thread Tuan Phan
Tuan, > -Original Message- > > From: Tuan Phan > > Sent: Friday, December 16, 2022 10:48 AM > > Cc: devel@edk2.groups.io; suni...@ventanamicro.com; Kinney, Michael D < > michael.d.kin...@intel.com>; Yao, Jiewen > > ; Wang, Jian J ; Lu, > Xiaoyu1 ; J

Re: [edk2-devel] [PATCH v2] CryptoPkg/IntrinsicLib: RiscV: Provide implementation of memcpy and __ctzdi2

2022-12-19 Thread Tuan Phan
On Fri, Dec 16, 2022 at 5:59 PM Pedro Falcato wrote: > On Sat, Dec 17, 2022 at 12:06 AM Michael D Kinney < > michael.d.kin...@intel.com> wrote: > >> If that intrinsic is specific to RISCV, then should CompilerHelper.c go >> into a RiscV64 subdir? > > > Mike and Tuan, > > Two comments: > 1) __ctzd

[edk2-devel] [PATCH v2] CryptoPkg/IntrinsicLib: RiscV: Provide implementation of memcpy and __ctzdi2

2022-12-19 Thread Tuan Phan
https://bugzilla.tianocore.org/show_bug.cgi?id=4103 Signed-off-by: Tuan Phan Acked-by: Sunil V L --- V2: - Add license header. - Add REF to the bugzilla. .../Library/IntrinsicLib/CompilerHelper.c | 42 +++ .../Library/IntrinsicLib/IntrinsicLib.inf | 6 ++- 2 files changed, 47 insertions(

[edk2-devel] [PATCH] CryptoPkg/IntrinsicLib: RiscV: Provide implementation of memcpy and __ctzdi2

2022-12-19 Thread Tuan Phan
d-off-by: Tuan Phan --- .../Library/IntrinsicLib/CompilerHelper.c | 41 +++ .../Library/IntrinsicLib/IntrinsicLib.inf | 6 ++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 CryptoPkg/Library/IntrinsicLib/CompilerHelper.c diff --git a/CryptoPkg/Li

Re: [edk2-devel] [edk2-test][PATCH v1 1/1] uefi-sct/SctPkg: Update page alignment calculations

2021-08-03 Thread Tuan Phan via groups.io
Reviewed-By: Tuan Phan > On Jul 19, 2021, at 1:07 AM, Sunny Wang via groups.io > wrote: > > This is to fix the SCT BS.AllocatePages failures (not found) with the > case that the Start address is not aligned to 64k. > For example, > The following is available memo

<    1   2