kernel: Add kernel config fragment that is required to run xfstests. Currently kernel configuration from https://github.com/tytso/xfstests-bld is used to build the kernel to run xfstests. The reason for using the kernel config from xfstests-bld repo is, there are certain configurations needed to be enabled or disabled to use the cos kernel for xfstesting. There is a gap between the configurations that customers use and we are testing. In order to minimize the gap, the required configurations for xfstests are identified and added as a separate kernel configuration fragment. BUG=b/240174731 TEST=presubmit,validation RELEASE_NOTE=None cos-patch: lts-refresh Change-Id: I0f4611f0eaa018d41faa33d1abe92b91519d2552 Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/37409 Reviewed-by: Oleksandr Tymoshenko <ovt@google.com> Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> (cherry picked from commit 0901d222edbc9de29db1f6b45b29c58a184309ca) Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/39748 Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
diff --git a/arch/arm64/configs/google/xfstest.config b/arch/arm64/configs/google/xfstest.config new file mode 100644 index 0000000..4460c03 --- /dev/null +++ b/arch/arm64/configs/google/xfstest.config
@@ -0,0 +1,18 @@ +# Configurations required to run xfs tests +CONFIG_MODULE_SIG=n +CONFIG_MODULE_SIG_ALL=n +CONFIG_SECURITY_LOADPIN=n +CONFIG_SECURITY_LOADPIN_ENFORCE=n +CONFIG_SECURITY_YAMA=n +CONFIG_SECURITY_LOCKDOWN_LSM=n +CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=n +CONFIG_LSM="" +CONFIG_SYSTEM_TRUSTED_KEYRING=n +CONFIG_SECONDARY_TRUSTED_KEYRING=n +CONFIG_VFAT_FS=y +CONFIG_NLS_DEFAULT="utf8" +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y +CONFIG_NLS_UTF8=y +CONFIG_FAT_DEFAULT_UTF8=y
diff --git a/arch/x86/configs/google/xfstest.config b/arch/x86/configs/google/xfstest.config new file mode 100644 index 0000000..2c0732c --- /dev/null +++ b/arch/x86/configs/google/xfstest.config
@@ -0,0 +1,18 @@ +#Configurations required to run xfs tests +CONFIG_MODULE_SIG=n +CONFIG_MODULE_SIG_ALL=n +CONFIG_SECURITY_LOADPIN=n +CONFIG_SECURITY_LOADPIN_ENFORCE=n +CONFIG_SECURITY_YAMA=n +CONFIG_SECURITY_LOCKDOWN_LSM=n +CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=n +CONFIG_LSM="" +CONFIG_SYSTEM_TRUSTED_KEYRING=n +CONFIG_SECONDARY_TRUSTED_KEYRING=n +CONFIG_VFAT_FS=y +CONFIG_NLS_DEFAULT="utf8" +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y +CONFIG_NLS_UTF8=y +CONFIG_FAT_DEFAULT_UTF8=y