My PC has ubuntu 20.04 running kernel (5.15.0-52-generic). I got the source for my kernel and then tried to enable CMA (Contiguous Memory Management). running the following command: $ LANG=C fakeroot debian/rules editconfigs fails some checks with the following warnings:
check-config: /tmp/tmp.okfgV2ZLKk/CONFIGS/amd64-config.flavour.lowlatency: loading config check-config: /home/tester/linux/linux-hwe-5.15-5.15.0/debian.hwe-5.15/config/annotations loading annotations check-config: FAIL (n != -): CONFIG_DMA_PERNUMA_CMA policy<{'arm64': 'y', 'armhf': 'n'}> check-config: FAIL (32 != -): CONFIG_CMA_SIZE_MBYTES policy<{'arm64': '32', 'armhf': '32'}> mark note<LP:1823753> check-config: FAIL (n != -): CONFIG_CMA_SIZE_SEL_PERCENTAGE policy<{'arm64': 'n', 'armhf': 'n'}> check-config: FAIL (y != -): CONFIG_CMA_SYSFS policy<{'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}> check-config: FAIL (8 != -): CONFIG_CMA_ALIGNMENT policy<{'arm64': '8', 'armhf': '8'}> check-config: FAIL (y != -): CONFIG_CMA_SIZE_SEL_MBYTES policy<{'arm64': 'y', 'armhf': 'y'}> check-config: FAIL (y != -): CONFIG_DMA_CMA policy<{'arm64': 'y', 'armhf': 'y', 's390x': 'n'}> mark note<LP#1362261> note<LP:1803206> check-config: FAIL (y != -): CONFIG_CMA_DEBUGFS policy<{'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 's390x': 'n'}> check-config: FAIL (y != -): CONFIG_CMA_DEBUG policy<{'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 's390x': 'n'}> check-config: FAIL (y != -): CONFIG_DMABUF_HEAPS_CMA policy<{'arm64': 'y', 'armhf': 'y'}> check-config: FAIL (7 != -): CONFIG_CMA_AREAS policy<{'arm64': '7', 'armhf': '7', 'ppc64el': '7', 's390x': '7'}> check-config: FAIL (n != -): CONFIG_CMA_SIZE_SEL_MAX policy<{'arm64': 'n', 'armhf': 'n'}> check-config: FAIL (n != -): CONFIG_CMA_SIZE_SEL_MIN policy<{'arm64': 'n', 'armhf': 'n'}> check-config: FAIL (y != n): CONFIG_CMA policy<{'amd64': 'n', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}> mark note<LP#1362261> note<LP:1803206> check-config: 11433/11447 checks passed -- exit 1
*** ERROR: 2 config-check failures detected
WARNING: configuration operation applied only to a subset of architectures (skipped armhf arm64 ppc64el s390x)
There is an error. How can I solve this? I am running on x64/amd64 platform. I don't really care about these extra platforms for now.