--- zzzz-none-000/linux-4.4.271/drivers/staging/android/ion/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/drivers/staging/android/ion/Kconfig 2023-04-19 10:22:29.000000000 +0000 @@ -33,3 +33,24 @@ help Choose this option if you wish to use ion on an nVidia Tegra. +config ION_POOL_CACHE_POLICY + bool "Ion set page pool cache policy" + depends on ION && X86 + default y if X86 + help + Choose this option if need to explicity set cache policy of the + pages in the page pool. + +config ION_MSM + tristate "Ion for MSM" + depends on ARCH_QCOM && ION + select MSM_SECURE_BUFFER + help + Choose this option if you wish to use ion on an MSM target. + +config ALLOC_BUFFERS_IN_4K_CHUNKS + bool "Turns off allocation optimization and allocate only 4K pages" + depends on ARCH_QCOM && ION + help + Choose this option if you want ION to allocate buffers in + only 4KB chunks.