Hoffmann ; Wu, Jiaxin
Subject: RE: [edk2-devel] [PATCH 1/1] UefiCpuPkg/PiSmmCpuDxeSmm: Optimize
PatchSmmSaveStateMap and FlushTlbForAll
Zhi,
With your patch,
1. SMM entry(code) and SmmSaveState region (data) are changed to correct paging
attributes.
2. FlushTlb() is removed after the changing.
3
xin
> Subject: [edk2-devel] [PATCH 1/1] UefiCpuPkg/PiSmmCpuDxeSmm: Optimize
> PatchSmmSaveStateMap and FlushTlbForAll
>
> PatchSmmSaveStateMap patches the SMM entry (code) and SmmSaveState
> region (data) for each core, which can be improved to flush TLB once
> after a
PatchSmmSaveStateMap patches the SMM entry (code) and SmmSaveState
region (data) for each core, which can be improved to flush TLB once
after all the memory entries have been patched.
FlushTlbForAll flushes TLB for each core in serial, which can be
improved to flush TLB in parrallel.
Cc: Ray Ni
C