default or selected kernelversion does not have config value CONFIG_NONPROMISC_DEVMEM.
Result is shown for kernelversion 5.19-rc1

Filter access to /dev/mem


Linux Kernel Configuration
└─>Kernel hacking
└─>Filter access to /dev/mem
In linux kernel since version 2.6.26 (release Date: 2008-07-13)  
If this option is left off, you allow userspace access to all
of memory, including kernel and userspace memory. Accidental
access to this is obviously disastrous, but specific access can
be used by people debugging the kernel.

If this option is switched on, the /dev/mem file only allows
userspace access to PCI space and the BIOS code and data regions.
This is sufficient for dosemu and X and all common users of

If in doubt, say Y.