zephyr/drivers/mm/Kconfig
Anas Nashif 3ccafb1af3 intel_adsp: meteorlake: add memory driver
Add TLB driver specific for Meteorlake.

Add missing kconfig resource and fix include path
add hpsram power up and ref counter

Use memblock to track physical page usage in mtl tlb driver. The
applications that will be using the tlb memory driver should not
track the physical page mapping to virtual address space:
 - adds an option to use the phys argument value of 0 to tell the
   driver to autonomously assign physical pages upon map request
 - makes the tlb driver use memblock to track mapped physical pages

Co-authored-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
Co-authored-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
Co-authored-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
Co-authored-by: Michal Wasko <michal.wasko@intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-07-06 15:11:07 -04:00

39 lines
898 B
Plaintext

# Copyright (c) 2021 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
menuconfig MM_DRV
bool "Memory Management Drivers [EXPERIMENTAL]"
select EXPERIMENTAL
select KERNEL_VM_SUPPORT
help
Include Memory Management drivers in system config
if MM_DRV
config MM_DRV_PAGE_SIZE
hex "Memory Page Size"
default 0x1000
help
Size of memory pages.
DT_COMPAT_MM_INTEL_ADSP_TLB := intel,adsp-tlb
config MM_DRV_INTEL_ADSP_MTL_TLB
bool "Intel Audio DSP TLB Driver for Meteor Lake"
depends on SOC_SERIES_INTEL_ACE1X
imply SYS_MEM_BLOCKS
help
Driver for the translation lookup buffer on
Intel Audio DSP hardware (Meteor Lake).
config MM_DRV_INTEL_ADSP_TLB
bool "Intel Audio DSP TLB Driver"
default $(dt_compat_enabled,$(DT_COMPAT_MM_INTEL_ADSP_TLB))
depends on INTEL_ADSP_CAVS
help
Driver for the translation lookup buffer on
Intel Audio DSP hardware.
endif # MM_DRV