mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
hv: psram: add kconfig to enable psram
Add two Kconfig pSRAM config: one for whether to enable the pSRAM on the platfrom or not; another for if the pSRAM is enabled on the platform whether to enable the pSRAM in the pre-launched RTVM. If we enable the pSRAM on the platform, we should remove the pSRAM EPT mapping from the SOS to prevent it could flush the pSRAM cache. Tracked-On: #5330 Signed-off-by: Qian Wang <qian1.wang@intel.com>
This commit is contained in:
@@ -276,6 +276,15 @@ config CDP_ENABLED
|
||||
prioritization of code and data fetches to the L2 or L3 cache in a
|
||||
software configurable manner, depending on hardware support.
|
||||
|
||||
config PSRAM_ENABLED
|
||||
bool "Enable pseudo-SRAM (pSRAM) support"
|
||||
depends on !CDP_ENABLED
|
||||
default n
|
||||
help
|
||||
This will enable RTVM to make use of pSRAM to improve the performance
|
||||
of Real-Time applications. pSRAM essentially a block of cache, and is separated via
|
||||
CAT and protected by some methods. pSRAM support and CDP support cannot co-exist.
|
||||
|
||||
config GPU_SBDF
|
||||
hex "Segment, Bus, Device, and function of the GPU"
|
||||
depends on ACPI_PARSE_ENABLED
|
||||
|
Reference in New Issue
Block a user