generic: 5.15, 6.1: enable CNP support
authorRobert Marko <robimarko@gmail.com>
Thu, 22 Aug 2024 09:45:16 +0000 (11:45 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 22 Aug 2024 11:36:15 +0000 (13:36 +0200)
commitb42f7a1b305d370c71e4f358de942df97d6347df
treef3cc96193701acc27768b4c8d0069d0ef313b47d
parent9c0179ff1373991c7b545a4d9f6b2d5768c9e91d
generic: 5.15, 6.1: enable CNP support

Ever since CONFIG_ARM64_PAN was enabled Common Not Private (CNP) is now
visible and kernel builds will stop as they are not set in kernel config
for 5.15 and 6.1.

So, lets enable Common Not Private (CNP) which is ARMv8.2 feature and will
be NOP of CPU-s that dont support it.

Fixes: a2662309aae1 ("kernel: Enable CONFIG_ARM64_PAN to restrict kernel access to user space memory")
Link: https://github.com/openwrt/openwrt/pull/16211
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/generic/config-5.15
target/linux/generic/config-6.1