|
[PATCH V7 36/37] UefiCpuPkg: Setting initial-count register as the last step
Ray, Could we add one API (like InitializeApicTimerEx) to intialize CPU local APCI with additional parameter to indicate if interrupt is to be enabled or not? Just like HPE's solution. Jeff fanjianfen
Ray, Could we add one API (like InitializeApicTimerEx) to intialize CPU local APCI with additional parameter to indicate if interrupt is to be enabled or not? Just like HPE's solution. Jeff fanjianfen
|
By
Jeff Fan
· #89912
·
|
|
[PATCH 1/2] MdeModulePkg/dec: update the PcdCpuStackGuard property
Please correct the commit message which confused me. It should be "Update the PcdCpuStackGuard to support PcdsPatchableInModule, PcdsDynamci and PcdsDynamciEx ... ..." Thanks! Jeff fanjianfeng@byosoft
Please correct the commit message which confused me. It should be "Update the PcdCpuStackGuard to support PcdsPatchableInModule, PcdsDynamci and PcdsDynamciEx ... ..." Thanks! Jeff fanjianfeng@byosoft
|
By
Jeff Fan
· #88762
·
|
|
[PATCH 1/2] MdeModulePkg/dec: update the PcdCpuStackGuard property
On 32bit protectd mode, is there any impact if PcdCpuStackGuard is set to TRUE? Even thers is no page table enabling at that time. Best Regards, Jeff fanjianfeng@...
On 32bit protectd mode, is there any impact if PcdCpuStackGuard is set to TRUE? Even thers is no page table enabling at that time. Best Regards, Jeff fanjianfeng@...
|
By
Jeff Fan
· #88761
·
|
|
I think we need a Panic API...
Ray, EFI_SYSTEM_CONTEXT was defined in MdePkg/Include/Protocol/DebugSupport.h Jeff fanjianfeng@...
Ray, EFI_SYSTEM_CONTEXT was defined in MdePkg/Include/Protocol/DebugSupport.h Jeff fanjianfeng@...
|
By
Jeff Fan
· #86541
·
|
|
Read SPI BAR offset 0x10 throwing processor exception
Ranga, What's CR2 value in Exception dump information?It holds the actual address occurred PF exception. ExceptionData - 0000000000000000 P:0 means no page transition in page table. Jeff fanjianfeng@b
Ranga, What's CR2 value in Exception dump information?It holds the actual address occurred PF exception. ExceptionData - 0000000000000000 P:0 means no page transition in page table. Jeff fanjianfeng@b
|
By
Jeff Fan
· #86197
·
|
|
[PATCH v4 1/1] MdeModulePkg: Add MpServicesTest application to exercise MP Services
If so, gBS->LocateProtocol (&gEfiMpServiceProtocolGuid, NULL, (VOID **) &Mp) is enough to locate MP Protocol, instead of Thanks! Jeff fanjianfeng@...
If so, gBS->LocateProtocol (&gEfiMpServiceProtocolGuid, NULL, (VOID **) &Mp) is enough to locate MP Protocol, instead of Thanks! Jeff fanjianfeng@...
|
By
Jeff Fan
· #85235
·
|
|
[PATCH v4 1/1] MdeModulePkg: Add MpServicesTest application to exercise MP Services
Hi,Rebecca I'd like to give two comments on this patch. 1, I don't think there are more than one MP services instances installed reuirement on one system. X86 platform installed one MP service instanc
Hi,Rebecca I'd like to give two comments on this patch. 1, I don't think there are more than one MP services instances installed reuirement on one system. X86 platform installed one MP service instanc
|
By
Jeff Fan
· #85233
·
|
|
[PATCH edk2 v1 1/3] StandaloneMmPkg: Fix issue about SpPcpuSharedBufSize field
You may try to enlarger stmm_ns_comm_buf_size in Optee to check if it could solve ASSERT issue. fanjianfeng@...
You may try to enlarger stmm_ns_comm_buf_size in Optee to check if it could solve ASSERT issue. fanjianfeng@...
|
By
Jeff Fan
· #84984
·
|
|
[PATCH v2] ArmPkg/TimerDxe: Delay End Of Interrupt Signal
OVMF did a similare change on Time Driver, please refer to https://github.com/tianocore/edk2/commit/239b50a863704f7960525799eda82de061c7c458 I do not think this will be apply for ArmPkg/TimerDxe. If o
OVMF did a similare change on Time Driver, please refer to https://github.com/tianocore/edk2/commit/239b50a863704f7960525799eda82de061c7c458 I do not think this will be apply for ArmPkg/TimerDxe. If o
|
By
Jeff Fan
· #81845
·
|
|
RFC: Add BaseLib/QuickSort in MdePkg
In fact, my concern is that making BaseLib's APIs depend on PeiService & Boot Services is not good. For a instance, AP functions by MP service are not allowed to invoke any PeriServices and Boot Servi
In fact, my concern is that making BaseLib's APIs depend on PeiService & Boot Services is not good. For a instance, AP functions by MP service are not allowed to invoke any PeriServices and Boot Servi
|
By
Jeff Fan
· #81162
·
|
|
RFC: Add BaseLib/QuickSort in MdePkg
For former caller, they could still keep as is to call the old API in MdeModulePkg. I think Ray's design is compatible change for existing code. Only when the existing code wants to remove the depende
For former caller, they could still keep as is to call the old API in MdeModulePkg. I think Ray's design is compatible change for existing code. Only when the existing code wants to remove the depende
|
By
Jeff Fan
· #81161
·
|
|
RFC: Add BaseLib/QuickSort in MdePkg
Making baselib implementation depend on MemoryAllocationLib (indirectly on Pei Service and gBS), it may prevent this base API using at some seneraio. i don't think it's better. Add this parameter and
Making baselib implementation depend on MemoryAllocationLib (indirectly on Pei Service and gBS), it may prevent this base API using at some seneraio. i don't think it's better. Add this parameter and
|
By
Jeff Fan
· #81146
·
|
|
SLDP: Usage of PE library context by debugger?
Marvin, ImageBase was saved in DR2 to help HOST debugger to locate the image base more easily, even though the HOST debugger could find the image base through searching the DOS image signagure. The re
Marvin, ImageBase was saved in DR2 to help HOST debugger to locate the image base more easily, even though the HOST debugger could find the image base through searching the DOS image signagure. The re
|
By
Jeff Fan
· #78482
·
|
|
[PATCH] UefiPayloadPkg/UefiPayloadEntry: Remove 4GB memory WA
Ray, BSP's GDT table is setup in CpuDxe and then MpInitLib re-uses BSP's GDT table for APs. 1, UefiCpuPkg\CpuDxe: gdt = AllocateRuntimePool (sizeof (GdtTemplate) + 8); ..... gdtPtr.Base = (UINT32)(UIN
Ray, BSP's GDT table is setup in CpuDxe and then MpInitLib re-uses BSP's GDT table for APs. 1, UefiCpuPkg\CpuDxe: gdt = AllocateRuntimePool (sizeof (GdtTemplate) + 8); ..... gdtPtr.Base = (UINT32)(UIN
|
By
Jeff Fan
· #72031
·
|
|
[PATCH] UefiPayloadPkg/UefiPayloadEntry: Remove 4GB memory WA
Ray, Yes. You are right. Acutally, x64 IDT table cannot work correctly on protected mode. :-) But for GDT location, I agree it should be located under 4G space to support AP mode changing. But we coul
Ray, Yes. You are right. Acutally, x64 IDT table cannot work correctly on protected mode. :-) But for GDT location, I agree it should be located under 4G space to support AP mode changing. But we coul
|
By
Jeff Fan
· #72023
·
|
|
MP Services Protocol : Support Hyper threading or not
" Will EFI_MP_SERVICES_PROTOCOL.StartupAllAPs() make all 8 logical cores do some tasks simultaneously?" All APs logical processors excute AP task, not including BSP. Acutally the answer is 7. Jeff
" Will EFI_MP_SERVICES_PROTOCOL.StartupAllAPs() make all 8 logical cores do some tasks simultaneously?" All APs logical processors excute AP task, not including BSP. Acutally the answer is 7. Jeff
|
By
Jeff Fan
· #72015
·
|
|
[PATCH] UefiPayloadPkg/UefiPayloadEntry: Remove 4GB memory WA
we will save the current BSP's GDT and IDT for APs at first time APs are waken by BSP as below. APs will start from real mode to protected mode and then to long mode. During protected mode, BSP's GDT/
we will save the current BSP's GDT and IDT for APs at first time APs are waken by BSP as below. APs will start from real mode to protected mode and then to long mode. During protected mode, BSP's GDT/
|
By
Jeff Fan
· #72012
·
|