Skip to contentSkip to conversation

xfstests-bld: improvements to recommended kernel configs

PATCH Applied Eric Biggers 3 participants 13 messages May 17, 2017 – May 19, 2017 1 message not in the archive

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover xfstests-bld: improvements to recommended kernel configs

From: Eric Biggers <[email protected]>

This patch series switches the recommended kernel configs for kvm-xfstests and gce-xfstests to "defconfig" format so they can be more easily maintained, then eliminates ext4-specific stuff and enables the f2fs and ubifs filesystems.

Eric Biggers (5):
kernel-configs: switch to using defconfigs
kernel-configs: remove ext4- prefix from kernel-configs
kernel-configs: use CONFIG_LOCALVERSION="-xfstests"
kernel-configs: enable f2fs support
kernel-configs: enable ubifs support

 Documentation/kvm-quickstart.md        |    5 +-
 Documentation/kvm-xfstests.md          |   15 +-
 kernel-configs/ext4-i386-config-3.10   | 3791 ------------------------------
 kernel-configs/ext4-i386-config-3.14   | 3961 --------------------------------
 kernel-configs/ext4-i386-config-3.3    | 3404 ---------------------------
 kernel-configs/ext4-i386-config-3.6    | 3686 -----------------------------
 kernel-configs/ext4-i386-config-3.8    | 3763 ------------------------------
 kernel-configs/ext4-i386-config-4.1    | 3572 ----------------------------
 kernel-configs/ext4-i386-config-4.7    | 3834 -------------------------------
 kernel-configs/ext4-i386-config-4.9    | 3617 -----------------------------
 kernel-configs/ext4-x86_64-config-3.10 | 2032 ----------------
 kernel-configs/ext4-x86_64-config-3.14 | 2141 -----------------
 kernel-configs/ext4-x86_64-config-3.18 | 2235 ------------------
 kernel-configs/ext4-x86_64-config-3.2  | 3303 --------------------------
 kernel-configs/ext4-x86_64-config-3.4  | 3409 ---------------------------
 kernel-configs/ext4-x86_64-config-4.1  | 2262 ------------------
 kernel-configs/ext4-x86_64-config-4.4  | 2363 -------------------
 kernel-configs/ext4-x86_64-config-4.7  | 2479 --------------------
 kernel-configs/ext4-x86_64-config-4.9  | 2526 --------------------
 kernel-configs/i386-config-3.10        |  381 +++
 kernel-configs/i386-config-3.14        |  403 ++++
 kernel-configs/i386-config-3.3         |  373 +++
 kernel-configs/i386-config-3.6         |  373 +++
 kernel-configs/i386-config-3.8         |  351 +++
 kernel-configs/i386-config-4.1         |  344 +++
 kernel-configs/i386-config-4.7         |  367 +++
 kernel-configs/i386-config-4.9         |  350 +++
 kernel-configs/x86_64-config-3.10      |  339 +++
 kernel-configs/x86_64-config-3.14      |  351 +++
 kernel-configs/x86_64-config-3.18      |  352 +++
 kernel-configs/x86_64-config-3.2       |  373 +++
 kernel-configs/x86_64-config-3.4       |  374 +++
 kernel-configs/x86_64-config-4.1       |  354 +++
 kernel-configs/x86_64-config-4.4       |  370 +++
 kernel-configs/x86_64-config-4.7       |  371 +++
 kernel-configs/x86_64-config-4.9       |  371 +++
 36 files changed, 6209 insertions(+), 52386 deletions(-)
 delete mode 100644 kernel-configs/ext4-i386-config-3.10
 delete mode 100644 kernel-configs/ext4-i386-config-3.14
 delete mode 100644 kernel-configs/ext4-i386-config-3.3
 delete mode 100644 kernel-configs/ext4-i386-config-3.6
 delete mode 100644 kernel-configs/ext4-i386-config-3.8
 delete mode 100644 kernel-configs/ext4-i386-config-4.1
 delete mode 100644 kernel-configs/ext4-i386-config-4.7
 delete mode 100644 kernel-configs/ext4-i386-config-4.9
 delete mode 100644 kernel-configs/ext4-x86_64-config-3.10
 delete mode 100644 kernel-configs/ext4-x86_64-config-3.14
 delete mode 100644 kernel-configs/ext4-x86_64-config-3.18
 delete mode 100644 kernel-configs/ext4-x86_64-config-3.2
 delete mode 100644 kernel-configs/ext4-x86_64-config-3.4
 delete mode 100644 kernel-configs/ext4-x86_64-config-4.1
 delete mode 100644 kernel-configs/ext4-x86_64-config-4.4
 delete mode 100644 kernel-configs/ext4-x86_64-config-4.7
 delete mode 100644 kernel-configs/ext4-x86_64-config-4.9
 create mode 100644 kernel-configs/i386-config-3.10
 create mode 100644 kernel-configs/i386-config-3.14
 create mode 100644 kernel-configs/i386-config-3.3
 create mode 100644 kernel-configs/i386-config-3.6
 create mode 100644 kernel-configs/i386-config-3.8
 create mode 100644 kernel-configs/i386-config-4.1
 create mode 100644 kernel-configs/i386-config-4.7
 create mode 100644 kernel-configs/i386-config-4.9
 create mode 100644 kernel-configs/x86_64-config-3.10
 create mode 100644 kernel-configs/x86_64-config-3.14
 create mode 100644 kernel-configs/x86_64-config-3.18
 create mode 100644 kernel-configs/x86_64-config-3.2
 create mode 100644 kernel-configs/x86_64-config-3.4
 create mode 100644 kernel-configs/x86_64-config-4.1
 create mode 100644 kernel-configs/x86_64-config-4.4
 create mode 100644 kernel-configs/x86_64-config-4.7
 create mode 100644 kernel-configs/x86_64-config-4.9
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#1 lore raw

PATCH 2/5 kernel-configs: remove ext4- prefix from kernel-configs

From: Eric Biggers <[email protected]>

The kvm-xfstests/gce-xfstests kernel configs already have multiple filesystems enabled, and I'd like to enable some more filesystems, so remove the "ext4-" prefix from the config filenames.

---
 kernel-configs/{ext4-i386-config-3.10 => i386-config-3.10}     | 0
 kernel-configs/{ext4-i386-config-3.14 => i386-config-3.14}     | 0
 kernel-configs/{ext4-i386-config-3.3 => i386-config-3.3}       | 0
 kernel-configs/{ext4-i386-config-3.6 => i386-config-3.6}       | 0
 kernel-configs/{ext4-i386-config-3.8 => i386-config-3.8}       | 0
 kernel-configs/{ext4-i386-config-4.1 => i386-config-4.1}       | 0
 kernel-configs/{ext4-i386-config-4.7 => i386-config-4.7}       | 0
 kernel-configs/{ext4-i386-config-4.9 => i386-config-4.9}       | 0
 kernel-configs/{ext4-x86_64-config-3.10 => x86_64-config-3.10} | 0
 kernel-configs/{ext4-x86_64-config-3.14 => x86_64-config-3.14} | 0
 kernel-configs/{ext4-x86_64-config-3.18 => x86_64-config-3.18} | 0
 kernel-configs/{ext4-x86_64-config-3.2 => x86_64-config-3.2}   | 0
 kernel-configs/{ext4-x86_64-config-3.4 => x86_64-config-3.4}   | 0
 kernel-configs/{ext4-x86_64-config-4.1 => x86_64-config-4.1}   | 0
 kernel-configs/{ext4-x86_64-config-4.4 => x86_64-config-4.4}   | 0
 kernel-configs/{ext4-x86_64-config-4.7 => x86_64-config-4.7}   | 0
 kernel-configs/{ext4-x86_64-config-4.9 => x86_64-config-4.9}   | 0
 17 files changed, 0 insertions(+), 0 deletions(-)
 rename kernel-configs/{ext4-i386-config-3.10 => i386-config-3.10} (100%)
 rename kernel-configs/{ext4-i386-config-3.14 => i386-config-3.14} (100%)
 rename kernel-configs/{ext4-i386-config-3.3 => i386-config-3.3} (100%)
 rename kernel-configs/{ext4-i386-config-3.6 => i386-config-3.6} (100%)
 rename kernel-configs/{ext4-i386-config-3.8 => i386-config-3.8} (100%)
 rename kernel-configs/{ext4-i386-config-4.1 => i386-config-4.1} (100%)
 rename kernel-configs/{ext4-i386-config-4.7 => i386-config-4.7} (100%)
 rename kernel-configs/{ext4-i386-config-4.9 => i386-config-4.9} (100%)
 rename kernel-configs/{ext4-x86_64-config-3.10 => x86_64-config-3.10} (100%)
 rename kernel-configs/{ext4-x86_64-config-3.14 => x86_64-config-3.14} (100%)
 rename kernel-configs/{ext4-x86_64-config-3.18 => x86_64-config-3.18} (100%)
 rename kernel-configs/{ext4-x86_64-config-3.2 => x86_64-config-3.2} (100%)
 rename kernel-configs/{ext4-x86_64-config-3.4 => x86_64-config-3.4} (100%)
 rename kernel-configs/{ext4-x86_64-config-4.1 => x86_64-config-4.1} (100%)
 rename kernel-configs/{ext4-x86_64-config-4.4 => x86_64-config-4.4} (100%)
 rename kernel-configs/{ext4-x86_64-config-4.7 => x86_64-config-4.7} (100%)
 rename kernel-configs/{ext4-x86_64-config-4.9 => x86_64-config-4.9} (100%)
kernel-configs/i386-config-3.10 renamed from kernel-configs/ext4-i386-config-3.10 +0 -0
similarity index 100%
rename from kernel-configs/ext4-i386-config-3.10
rename to kernel-configs/i386-config-3.10
kernel-configs/i386-config-3.14 renamed from kernel-configs/ext4-i386-config-3.14 +0 -0
similarity index 100%
rename from kernel-configs/ext4-i386-config-3.14
rename to kernel-configs/i386-config-3.14
kernel-configs/i386-config-3.3 renamed from kernel-configs/ext4-i386-config-3.3 +0 -0
similarity index 100%
rename from kernel-configs/ext4-i386-config-3.3
rename to kernel-configs/i386-config-3.3
kernel-configs/i386-config-3.6 renamed from kernel-configs/ext4-i386-config-3.6 +0 -0
similarity index 100%
rename from kernel-configs/ext4-i386-config-3.6
rename to kernel-configs/i386-config-3.6
kernel-configs/i386-config-3.8 renamed from kernel-configs/ext4-i386-config-3.8 +0 -0
similarity index 100%
rename from kernel-configs/ext4-i386-config-3.8
rename to kernel-configs/i386-config-3.8
kernel-configs/i386-config-4.1 renamed from kernel-configs/ext4-i386-config-4.1 +0 -0
similarity index 100%
rename from kernel-configs/ext4-i386-config-4.1
rename to kernel-configs/i386-config-4.1
kernel-configs/i386-config-4.7 renamed from kernel-configs/ext4-i386-config-4.7 +0 -0
similarity index 100%
rename from kernel-configs/ext4-i386-config-4.7
rename to kernel-configs/i386-config-4.7
kernel-configs/i386-config-4.9 renamed from kernel-configs/ext4-i386-config-4.9 +0 -0
similarity index 100%
rename from kernel-configs/ext4-i386-config-4.9
rename to kernel-configs/i386-config-4.9
kernel-configs/x86_64-config-3.10 renamed from kernel-configs/ext4-x86_64-config-3.10 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-3.10
rename to kernel-configs/x86_64-config-3.10
kernel-configs/x86_64-config-3.14 renamed from kernel-configs/ext4-x86_64-config-3.14 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-3.14
rename to kernel-configs/x86_64-config-3.14
kernel-configs/x86_64-config-3.18 renamed from kernel-configs/ext4-x86_64-config-3.18 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-3.18
rename to kernel-configs/x86_64-config-3.18
kernel-configs/x86_64-config-3.2 renamed from kernel-configs/ext4-x86_64-config-3.2 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-3.2
rename to kernel-configs/x86_64-config-3.2
kernel-configs/x86_64-config-3.4 renamed from kernel-configs/ext4-x86_64-config-3.4 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-3.4
rename to kernel-configs/x86_64-config-3.4
kernel-configs/x86_64-config-4.1 renamed from kernel-configs/ext4-x86_64-config-4.1 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-4.1
rename to kernel-configs/x86_64-config-4.1
kernel-configs/x86_64-config-4.4 renamed from kernel-configs/ext4-x86_64-config-4.4 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-4.4
rename to kernel-configs/x86_64-config-4.4
kernel-configs/x86_64-config-4.7 renamed from kernel-configs/ext4-x86_64-config-4.7 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-4.7
rename to kernel-configs/x86_64-config-4.7
kernel-configs/x86_64-config-4.9 renamed from kernel-configs/ext4-x86_64-config-4.9 +0 -0
similarity index 100%
rename from kernel-configs/ext4-x86_64-config-4.9
rename to kernel-configs/x86_64-config-4.9
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#2 lore raw

Re: [PATCH 2/5] kernel-configs: remove ext4- prefix from kernel-configs

Quoted 7 lines · Eric Biggers

From: Eric Biggers <[email protected]>

The kvm-xfstests/gce-xfstests kernel configs already have multiple filesystems enabled, and I'd like to enable some more filesystems, so remove the "ext4-" prefix from the config filenames.

Thanks, applied.

- Ted

#3 lore raw

PATCH 3/5 kernel-configs: use CONFIG_LOCALVERSION="-xfstests"

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

---
 kernel-configs/i386-config-3.10   | 1 +
 kernel-configs/i386-config-3.14   | 1 +
 kernel-configs/i386-config-3.3    | 1 +
 kernel-configs/i386-config-3.6    | 1 +
 kernel-configs/i386-config-3.8    | 1 +
 kernel-configs/i386-config-4.1    | 1 +
 kernel-configs/i386-config-4.7    | 1 +
 kernel-configs/i386-config-4.9    | 1 +
 kernel-configs/x86_64-config-3.10 | 1 +
 kernel-configs/x86_64-config-3.14 | 2 +-
 kernel-configs/x86_64-config-3.18 | 1 +
 kernel-configs/x86_64-config-3.2  | 1 +
 kernel-configs/x86_64-config-3.4  | 1 +
 kernel-configs/x86_64-config-4.1  | 1 +
 kernel-configs/x86_64-config-4.4  | 1 +
 kernel-configs/x86_64-config-4.7  | 2 +-
 kernel-configs/x86_64-config-4.9  | 2 +-
 17 files changed, 17 insertions(+), 3 deletions(-)
kernel-configs/i386-config-3.10 +1 -0
index 039c3ae..b919604 100644
@@ -1,4 +1,5 @@
 # CONFIG_64BIT is not set
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_FHANDLE=y
kernel-configs/i386-config-3.14 +1 -0
index 12a91d8..30da52b 100644
@@ -1,4 +1,5 @@
 # CONFIG_64BIT is not set
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_FHANDLE=y
kernel-configs/i386-config-3.3 +1 -0
index d3ebf66..182038e 100644
@@ -1,4 +1,5 @@
 CONFIG_EXPERIMENTAL=y
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_BSD_PROCESS_ACCT=y
kernel-configs/i386-config-3.6 +1 -0
index fcb89ba..b9c85ef 100644
@@ -1,4 +1,5 @@
 CONFIG_EXPERIMENTAL=y
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_BSD_PROCESS_ACCT=y
kernel-configs/i386-config-3.8 +1 -0
index 5ce7488..d0eed3c 100644
@@ -1,3 +1,4 @@
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_FHANDLE=y
 CONFIG_AUDIT=y
kernel-configs/i386-config-4.1 +1 -0
index fb1e601..120c4ef 100644
@@ -1,4 +1,5 @@
 # CONFIG_64BIT is not set
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_FHANDLE=y
kernel-configs/i386-config-4.7 +1 -0
index 4cd4f12..bf31694 100644
@@ -1,4 +1,5 @@
 # CONFIG_64BIT is not set
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_AUDIT=y
kernel-configs/i386-config-4.9 +1 -0
index eb4761d..78b48f1 100644
@@ -1,4 +1,5 @@
 # CONFIG_64BIT is not set
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_AUDIT=y
kernel-configs/x86_64-config-3.10 +1 -0
index ce8b014..441acf3 100644
@@ -1,3 +1,4 @@
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_FHANDLE=y
kernel-configs/x86_64-config-3.14 +1 -1
index be87d1a..56d0a42 100644
@@ -1,4 +1,4 @@
-CONFIG_LOCALVERSION="-ext4"
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_FHANDLE=y
kernel-configs/x86_64-config-3.18 +1 -0
index 94e96f4..746c873 100644
@@ -1,3 +1,4 @@
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_FHANDLE=y
kernel-configs/x86_64-config-3.2 +1 -0
index 50dc9d8..146af1e 100644
@@ -1,4 +1,5 @@
 CONFIG_EXPERIMENTAL=y
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_BSD_PROCESS_ACCT=y
kernel-configs/x86_64-config-3.4 +1 -0
index 0563e33..6bd8e19 100644
@@ -1,4 +1,5 @@
 CONFIG_EXPERIMENTAL=y
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_BSD_PROCESS_ACCT=y
kernel-configs/x86_64-config-4.1 +1 -0
index d5e0825..ec73222 100644
@@ -1,3 +1,4 @@
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_FHANDLE=y
kernel-configs/x86_64-config-4.4 +1 -0
index cf09247..bdf4087 100644
@@ -1,3 +1,4 @@
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_FHANDLE=y
kernel-configs/x86_64-config-4.7 +1 -1
index 40f626a..eb4a51f 100644
@@ -1,4 +1,4 @@
-CONFIG_LOCALVERSION="-ext4"
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_AUDIT=y
kernel-configs/x86_64-config-4.9 +1 -1
index a977f51..0937576 100644
@@ -1,4 +1,4 @@
-CONFIG_LOCALVERSION="-ext4"
+CONFIG_LOCALVERSION="-xfstests"
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_AUDIT=y
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#4 lore raw

PATCH 4/5 kernel-configs: enable f2fs support

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

Merged the following into each config:

CONFIG_F2FS_FS=y
CONFIG_F2FS_FS_SECURITY=y
CONFIG_F2FS_FS_ENCRYPTION=y

---
 kernel-configs/i386-config-3.10   | 1 +
 kernel-configs/i386-config-3.14   | 2 ++
 kernel-configs/i386-config-3.8    | 1 +
 kernel-configs/i386-config-4.1    | 2 ++
 kernel-configs/i386-config-4.7    | 5 +++--
 kernel-configs/x86_64-config-3.10 | 1 +
 kernel-configs/x86_64-config-3.14 | 2 ++
 kernel-configs/x86_64-config-3.18 | 2 ++
 kernel-configs/x86_64-config-4.1  | 2 ++
 kernel-configs/x86_64-config-4.4  | 3 +++
 kernel-configs/x86_64-config-4.7  | 5 +++--
 kernel-configs/x86_64-config-4.9  | 4 +++-
 12 files changed, 25 insertions(+), 5 deletions(-)
kernel-configs/i386-config-3.10 +1 -0
index b919604..f8588db 100644
@@ -314,6 +314,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_ECRYPT_FS=y
 CONFIG_CRAMFS=y
+CONFIG_F2FS_FS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
 CONFIG_NFSD=y
kernel-configs/i386-config-3.14 +2 -0
index 30da52b..ff3fd44 100644
@@ -334,6 +334,8 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_ECRYPT_FS=y
 CONFIG_CRAMFS=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
 CONFIG_EFIVAR_FS=m
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
kernel-configs/i386-config-3.8 +1 -0
index d0eed3c..5578d33 100644
@@ -291,6 +291,7 @@ CONFIG_PROC_KCORE=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_CRAMFS=y
+CONFIG_F2FS_FS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
 CONFIG_NFSD=y
kernel-configs/i386-config-4.1 +2 -0
index 120c4ef..b245303 100644
@@ -250,6 +250,8 @@ CONFIG_XFS_QUOTA=y
 CONFIG_XFS_POSIX_ACL=y
 CONFIG_BTRFS_FS=y
 CONFIG_BTRFS_FS_POSIX_ACL=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
 CONFIG_FS_DAX=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
kernel-configs/i386-config-4.7 +3 -2
index bf31694..9bc0ebe 100644
@@ -268,8 +268,10 @@ CONFIG_XFS_QUOTA=y
 CONFIG_XFS_POSIX_ACL=y
 CONFIG_BTRFS_FS=y
 CONFIG_BTRFS_FS_POSIX_ACL=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
+CONFIG_F2FS_FS_ENCRYPTION=y
 CONFIG_FS_DAX=y
-CONFIG_FS_ENCRYPTION=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 CONFIG_QUOTA_DEBUG=y
@@ -345,7 +347,6 @@ CONFIG_CRYPTO_CMAC=y
 CONFIG_CRYPTO_XCBC=y
 CONFIG_CRYPTO_VMAC=y
 CONFIG_CRYPTO_CRC32C_INTEL=y
-CONFIG_CRYPTO_CRC32=y
 CONFIG_CRYPTO_CRC32_PCLMUL=y
 CONFIG_CRYPTO_MICHAEL_MIC=y
 CONFIG_CRYPTO_RMD160=y
kernel-configs/x86_64-config-3.10 +1 -0
index 441acf3..6cfc5c2 100644
@@ -228,6 +228,7 @@ CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_LZO=y
 CONFIG_SQUASHFS_XZ=y
 CONFIG_ROMFS_FS=y
+CONFIG_F2FS_FS=y
 # CONFIG_NETWORK_FILESYSTEMS is not set
 CONFIG_NLS_DEFAULT="utf8"
 CONFIG_NLS_CODEPAGE_437=y
kernel-configs/x86_64-config-3.14 +2 -0
index 56d0a42..f356c94 100644
@@ -238,6 +238,8 @@ CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_LZO=y
 CONFIG_SQUASHFS_XZ=y
 CONFIG_ROMFS_FS=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
 # CONFIG_NETWORK_FILESYSTEMS is not set
 CONFIG_NLS_DEFAULT="utf8"
 CONFIG_NLS_CODEPAGE_437=y
kernel-configs/x86_64-config-3.18 +2 -0
index 746c873..bc530c9 100644
@@ -239,6 +239,8 @@ CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_LZO=y
 CONFIG_SQUASHFS_XZ=y
 CONFIG_ROMFS_FS=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
 # CONFIG_NETWORK_FILESYSTEMS is not set
 CONFIG_NLS_DEFAULT="utf8"
 CONFIG_NLS_CODEPAGE_437=y
kernel-configs/x86_64-config-4.1 +2 -0
index ec73222..12db1cc 100644
@@ -216,6 +216,8 @@ CONFIG_XFS_QUOTA=y
 CONFIG_XFS_POSIX_ACL=y
 CONFIG_XFS_RT=y
 CONFIG_BTRFS_FS=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
 CONFIG_FANOTIFY=y
 CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
kernel-configs/x86_64-config-4.4 +3 -0
index bdf4087..efbab94 100644
@@ -225,6 +225,9 @@ CONFIG_XFS_QUOTA=y
 CONFIG_XFS_POSIX_ACL=y
 CONFIG_XFS_RT=y
 CONFIG_BTRFS_FS=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
+CONFIG_F2FS_FS_ENCRYPTION=y
 CONFIG_FANOTIFY=y
 CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
kernel-configs/x86_64-config-4.7 +3 -2
index eb4a51f..8752ebf 100644
@@ -225,8 +225,10 @@ CONFIG_XFS_QUOTA=y
 CONFIG_XFS_POSIX_ACL=y
 CONFIG_XFS_RT=y
 CONFIG_BTRFS_FS=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
+CONFIG_F2FS_FS_ENCRYPTION=y
 CONFIG_FS_DAX=y
-CONFIG_FS_ENCRYPTION=y
 CONFIG_FANOTIFY=y
 CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
@@ -315,7 +317,6 @@ CONFIG_CRYPTO_CMAC=y
 CONFIG_CRYPTO_XCBC=y
 CONFIG_CRYPTO_VMAC=y
 CONFIG_CRYPTO_CRC32C_INTEL=y
-CONFIG_CRYPTO_CRC32=y
 CONFIG_CRYPTO_CRC32_PCLMUL=y
 CONFIG_CRYPTO_CRCT10DIF_PCLMUL=y
 CONFIG_CRYPTO_MD4=y
kernel-configs/x86_64-config-4.9 +3 -1
index 0937576..5cf43a4 100644
@@ -224,6 +224,9 @@ CONFIG_XFS_QUOTA=y
 CONFIG_XFS_POSIX_ACL=y
 CONFIG_XFS_RT=y
 CONFIG_BTRFS_FS=y
+CONFIG_F2FS_FS=y
+CONFIG_F2FS_FS_SECURITY=y
+CONFIG_F2FS_FS_ENCRYPTION=y
 CONFIG_FS_DAX=y
 CONFIG_FANOTIFY=y
 CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
@@ -314,7 +317,6 @@ CONFIG_CRYPTO_CMAC=y
 CONFIG_CRYPTO_XCBC=y
 CONFIG_CRYPTO_VMAC=y
 CONFIG_CRYPTO_CRC32C_INTEL=y
-CONFIG_CRYPTO_CRC32=y
 CONFIG_CRYPTO_CRC32_PCLMUL=y
 CONFIG_CRYPTO_CRCT10DIF_PCLMUL=y
 CONFIG_CRYPTO_MD4=y
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#6 lore raw

PATCH 5/5 kernel-configs: enable ubifs support

In reply to Eric Biggers

From: Eric Biggers <[email protected]>

Merged the following into each config:

CONFIG_MTD=y
CONFIG_MTD_BLOCK2MTD=y
CONFIG_MTD_UBI=y
CONFIG_UBIFS_FS=y

(No need for CONFIG_UBIFS_FS_ENCRYPTION yet, since that was added in 4.10, and currently the latest config is 4.9.)

---
 kernel-configs/i386-config-3.10   | 5 ++++-
 kernel-configs/i386-config-3.14   | 5 ++++-
 kernel-configs/i386-config-3.3    | 5 ++++-
 kernel-configs/i386-config-3.6    | 5 ++++-
 kernel-configs/i386-config-3.8    | 5 ++++-
 kernel-configs/i386-config-4.1    | 5 ++++-
 kernel-configs/i386-config-4.7    | 5 ++++-
 kernel-configs/i386-config-4.9    | 5 ++++-
 kernel-configs/x86_64-config-3.10 | 5 ++++-
 kernel-configs/x86_64-config-3.14 | 5 ++++-
 kernel-configs/x86_64-config-3.18 | 5 ++++-
 kernel-configs/x86_64-config-3.2  | 5 ++++-
 kernel-configs/x86_64-config-3.4  | 5 ++++-
 kernel-configs/x86_64-config-4.1  | 5 ++++-
 kernel-configs/x86_64-config-4.4  | 5 ++++-
 kernel-configs/x86_64-config-4.7  | 5 ++++-
 kernel-configs/x86_64-config-4.9  | 5 ++++-
 17 files changed, 68 insertions(+), 17 deletions(-)
kernel-configs/i386-config-3.10 +4 -1
index f8588db..0396153 100644
@@ -133,6 +133,9 @@ CONFIG_MAC80211_DEBUG_MENU=y
 CONFIG_RFKILL=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -313,6 +316,7 @@ CONFIG_PROC_KCORE=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_F2FS_FS=y
 CONFIG_NFS_FS=y
@@ -366,7 +370,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
kernel-configs/i386-config-3.14 +4 -1
index ff3fd44..aadb27b 100644
@@ -140,6 +140,9 @@ CONFIG_RFKILL=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -333,6 +336,7 @@ CONFIG_PROC_KCORE=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_F2FS_FS=y
 CONFIG_F2FS_FS_SECURITY=y
@@ -388,7 +392,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
kernel-configs/i386-config-3.3 +4 -1
index 182038e..d78c7c9 100644
@@ -129,6 +129,9 @@ CONFIG_MAC80211_DEBUG_MENU=y
 CONFIG_RFKILL=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -312,6 +315,7 @@ CONFIG_PROC_KCORE=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3=y
@@ -363,7 +367,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
kernel-configs/i386-config-3.6 +4 -1
index b9c85ef..56bfeef 100644
@@ -128,6 +128,9 @@ CONFIG_MAC80211_DEBUG_MENU=y
 CONFIG_RFKILL=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -315,6 +318,7 @@ CONFIG_PROC_KCORE=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
@@ -363,7 +367,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
kernel-configs/i386-config-3.8 +4 -1
index 5578d33..034537f 100644
@@ -121,6 +121,9 @@ CONFIG_MAC80211_DEBUG_MENU=y
 CONFIG_RFKILL=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -290,6 +293,7 @@ CONFIG_NTFS_RW=y
 CONFIG_PROC_KCORE=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_F2FS_FS=y
 CONFIG_NFS_FS=y
@@ -341,7 +345,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
kernel-configs/i386-config-4.1 +4 -1
index b245303..4a20eba 100644
@@ -127,6 +127,9 @@ CONFIG_HAMRADIO=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -272,6 +275,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 # CONFIG_EFIVAR_FS is not set
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NLS_DEFAULT="cp437"
 CONFIG_NLS_CODEPAGE_437=y
@@ -332,7 +336,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DRBG_MENU=y
 CONFIG_CRYPTO_DEV_PADLOCK=y
kernel-configs/i386-config-4.7 +4 -1
index 9bc0ebe..f90bd98 100644
@@ -130,6 +130,9 @@ CONFIG_HAMRADIO=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -292,6 +295,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 # CONFIG_EFIVAR_FS is not set
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NLS_DEFAULT="cp437"
 CONFIG_NLS_CODEPAGE_437=y
@@ -357,7 +361,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
 CONFIG_KVM_INTEL=y
kernel-configs/i386-config-4.9 +4 -1
index 78b48f1..01b4290 100644
@@ -125,6 +125,9 @@ CONFIG_HAMRADIO=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=65536
@@ -274,6 +277,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 # CONFIG_EFIVAR_FS is not set
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NLS_DEFAULT="cp437"
 CONFIG_NLS_CODEPAGE_437=y
@@ -340,7 +344,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
 CONFIG_KVM_INTEL=y
kernel-configs/x86_64-config-3.10 +4 -1
index 6cfc5c2..90f5026 100644
@@ -96,6 +96,9 @@ CONFIG_CEPH_LIB=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_VIRTIO_BLK=y
@@ -222,6 +225,7 @@ CONFIG_PROC_KCORE=y
 CONFIG_TMPFS=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CONFIGFS_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_SQUASHFS=y
 CONFIG_SQUASHFS_XATTR=y
@@ -318,7 +322,6 @@ CONFIG_CRYPTO_TEA=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
 CONFIG_CRYPTO_ZLIB=y
-CONFIG_CRYPTO_LZO=y
 CONFIG_CRYPTO_USER_API_HASH=y
 CONFIG_CRYPTO_USER_API_SKCIPHER=y
 CONFIG_ASYMMETRIC_KEY_TYPE=y
kernel-configs/x86_64-config-3.14 +4 -1
index f356c94..2919963 100644
@@ -99,6 +99,9 @@ CONFIG_CEPH_LIB=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=65536
@@ -232,6 +235,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_ECRYPT_FS=y
 CONFIG_ECRYPT_FS_MESSAGING=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_SQUASHFS=y
 CONFIG_SQUASHFS_XATTR=y
@@ -330,7 +334,6 @@ CONFIG_CRYPTO_TEA=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
 CONFIG_CRYPTO_ZLIB=y
-CONFIG_CRYPTO_LZO=y
 CONFIG_CRYPTO_LZ4=y
 CONFIG_CRYPTO_LZ4HC=y
 CONFIG_CRYPTO_USER_API_HASH=y
kernel-configs/x86_64-config-3.18 +4 -1
index bc530c9..f24f6ad 100644
@@ -98,6 +98,9 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
 CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_VIRTIO_BLK=y
@@ -233,6 +236,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_ECRYPT_FS=y
 CONFIG_ECRYPT_FS_MESSAGING=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_SQUASHFS=y
 CONFIG_SQUASHFS_XATTR=y
@@ -333,7 +337,6 @@ CONFIG_CRYPTO_TEA=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
 CONFIG_CRYPTO_ZLIB=y
-CONFIG_CRYPTO_LZO=y
 CONFIG_CRYPTO_LZ4=y
 CONFIG_CRYPTO_LZ4HC=y
 CONFIG_CRYPTO_DRBG_MENU=y
kernel-configs/x86_64-config-3.2 +4 -1
index 146af1e..8ced89a 100644
@@ -117,6 +117,9 @@ CONFIG_MAC80211_DEBUG_MENU=y
 CONFIG_RFKILL=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -300,6 +303,7 @@ CONFIG_PROC_KCORE=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3=y
@@ -363,7 +367,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
kernel-configs/x86_64-config-3.4 +4 -1
index 6bd8e19..5f1e49e 100644
@@ -131,6 +131,9 @@ CONFIG_MAC80211_DEBUG_MENU=y
 CONFIG_RFKILL=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_PARPORT=y
 CONFIG_PARPORT_PC=y
 CONFIG_PARPORT_PC_FIFO=y
@@ -315,6 +318,7 @@ CONFIG_PROC_KCORE=y
 CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_ECRYPT_FS=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3=y
@@ -364,7 +368,6 @@ CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
 CONFIG_CRYPTO_SERPENT=y
 CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_DEFLATE=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DEV_PADLOCK=y
 CONFIG_KVM=y
kernel-configs/x86_64-config-4.1 +4 -1
index 12db1cc..0229f4f 100644
@@ -99,6 +99,9 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
 CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_VIRTIO_BLK=y
@@ -238,6 +241,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_ECRYPT_FS=y
 CONFIG_ECRYPT_FS_MESSAGING=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_SQUASHFS=y
 CONFIG_SQUASHFS_XATTR=y
@@ -335,7 +339,6 @@ CONFIG_CRYPTO_TEA=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
 CONFIG_CRYPTO_ZLIB=y
-CONFIG_CRYPTO_LZO=y
 CONFIG_CRYPTO_LZ4=y
 CONFIG_CRYPTO_LZ4HC=y
 CONFIG_CRYPTO_DRBG_MENU=y
kernel-configs/x86_64-config-4.4 +4 -1
index efbab94..ba6561f 100644
@@ -103,6 +103,9 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
 CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=65536
@@ -249,6 +252,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_ECRYPT_FS=y
 CONFIG_ECRYPT_FS_MESSAGING=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_SQUASHFS=y
 CONFIG_SQUASHFS_XATTR=y
@@ -351,7 +355,6 @@ CONFIG_CRYPTO_TEA=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
 CONFIG_CRYPTO_ZLIB=y
-CONFIG_CRYPTO_LZO=y
 CONFIG_CRYPTO_LZ4=y
 CONFIG_CRYPTO_LZ4HC=y
 CONFIG_CRYPTO_ANSI_CPRNG=y
kernel-configs/x86_64-config-4.7 +4 -1
index 8752ebf..f2f816f 100644
@@ -104,6 +104,9 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
 CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=65536
@@ -250,6 +253,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_ECRYPT_FS=y
 CONFIG_ECRYPT_FS_MESSAGING=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_SQUASHFS=y
 CONFIG_SQUASHFS_XATTR=y
@@ -352,7 +356,6 @@ CONFIG_CRYPTO_SERPENT_AVX2_X86_64=y
 CONFIG_CRYPTO_TEA=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
-CONFIG_CRYPTO_LZO=y
 CONFIG_CRYPTO_LZ4=y
 CONFIG_CRYPTO_LZ4HC=y
 CONFIG_CRYPTO_ANSI_CPRNG=y
kernel-configs/x86_64-config-4.9 +4 -1
index 5cf43a4..ce7afbb 100644
@@ -102,6 +102,9 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
 CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=65536
@@ -249,6 +252,7 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_ECRYPT_FS=y
 CONFIG_ECRYPT_FS_MESSAGING=y
+CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_SQUASHFS=y
 CONFIG_SQUASHFS_XATTR=y
@@ -352,7 +356,6 @@ CONFIG_CRYPTO_SERPENT_AVX2_X86_64=y
 CONFIG_CRYPTO_TEA=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
-CONFIG_CRYPTO_LZO=y
 CONFIG_CRYPTO_LZ4=y
 CONFIG_CRYPTO_LZ4HC=y
 CONFIG_CRYPTO_ANSI_CPRNG=y
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#7 lore raw

Re: [PATCH 5/5] kernel-configs: enable ubifs support

Quoted 9 lines · Eric Biggers

From: Eric Biggers <[email protected]>

Merged the following into each config:

CONFIG_MTD=y
CONFIG_MTD_BLOCK2MTD=y
CONFIG_MTD_UBI=y
CONFIG_UBIFS_FS=y

Quoted 4 lines

(No need for CONFIG_UBIFS_FS_ENCRYPTION yet, since that was added in 4.10, and currently the latest config is 4.9.)

Thanks, applied.

- Ted

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw

Re: [PATCH 1/5] kernel-configs: switch to using defconfigs

Quoted 13 lines · Eric Biggers

From: Eric Biggers <[email protected]>

Currently, the kernel configs for kvm-xfstests and gce-xfstests are difficult to maintain because they are so long. Fix this by changing them to 'defconfig' format, so they only list the non-default settings.

As documented, there is one additional step introduced when building a kernel for the first time: you now must run 'make olddefconfig' after copying a defconfig file to .config. However I think this is an acceptable tradeoff for having much more maintainable config files. Running 'make olddefconfig' also means that people won't have to answer random config questions if they're testing the latest kernel.

Quoted 4 lines

This change was scripted by running 'make savedefconfig' for each config within the appropriate source tree (stable/linux-X.X-y).

Thanks, applied. (This patch was 1.4MB, so it would have been rejected by vger.kernel.org.)

- Ted

#10 lore raw

Re: [PATCH 1/5] kernel-configs: switch to using defconfigs

Quoted 14 lines · Theodore Ts'o
Quoted 13 lines · Eric Biggers

From: Eric Biggers <[email protected]>

Currently, the kernel configs for kvm-xfstests and gce-xfstests are difficult to maintain because they are so long. Fix this by changing them to 'defconfig' format, so they only list the non-default settings.

As documented, there is one additional step introduced when building a kernel for the first time: you now must run 'make olddefconfig' after copying a defconfig file to .config. However I think this is an acceptable tradeoff for having much more maintainable config files. Running 'make olddefconfig' also means that people won't have to answer random config questions if they're testing the latest kernel.

Quoted 8 lines
Quoted 4 lines

This change was scripted by running 'make savedefconfig' for each config within the appropriate source tree (stable/linux-X.X-y).

Thanks, applied. (This patch was 1.4MB, so it would have been rejected by vger.kernel.org.)

Ted,

Applied where? github is 2 weeks behind. kernel.org is 2 weeks behind.

BTW, I am curious to know why the kernel-configs in this repository have no obvious debug config options.

Aren't you guys testing regularly with lockdep etc? does everyone carry their own home brewed debug configs like I do [1]?

What do you say about including -debug variants to the maintained kernel-configs in this repo? or turn on the obvious debugging features by default?

Amir.

[1] https://github.com/amir73il/xfstests-bld/commit/af76cac689ea726cb8f5b222010b7818a689809b

#11 lore raw

Re: [PATCH 1/5] kernel-configs: switch to using defconfigs

Hi Amir,

Quoted 31 lines · Amir Goldstein
Quoted 14 lines · Theodore Ts'o
Quoted 13 lines · Eric Biggers

From: Eric Biggers <[email protected]>

Currently, the kernel configs for kvm-xfstests and gce-xfstests are difficult to maintain because they are so long. Fix this by changing them to 'defconfig' format, so they only list the non-default settings.

As documented, there is one additional step introduced when building a kernel for the first time: you now must run 'make olddefconfig' after copying a defconfig file to .config. However I think this is an acceptable tradeoff for having much more maintainable config files. Running 'make olddefconfig' also means that people won't have to answer random config questions if they're testing the latest kernel.

Quoted 8 lines
Quoted 4 lines

This change was scripted by running 'make savedefconfig' for each config within the appropriate source tree (stable/linux-X.X-y).

Thanks, applied. (This patch was 1.4MB, so it would have been rejected by vger.kernel.org.)

Ted,

Applied where? github is 2 weeks behind. kernel.org is 2 weeks behind.

BTW, I am curious to know why the kernel-configs in this repository have no obvious debug config options.

Quoted 7 lines

Aren't you guys testing regularly with lockdep etc? does everyone carry their own home brewed debug configs like I do [1]?

What do you say about including -debug variants to the maintained kernel-configs in this repo? or turn on the obvious debugging features by default?

There are already a number of debugging options turned on in the 4.9 x86_64 config, including lockdep, various other CONFIG_DEBUG_* options, and the crypto self-tests. It definitely should still be improved, though. I've been planning to go through it again and see if there are any other debug options that should be turned on, as well as unused features which should be disabled. Also the older configs tend to be outdated and should be synced up with the latest (to the extent that this is worthwhile; in simple cases, at least, it's pretty easily scriptable).

We probably shouldn't enable the most expensive debug options like KASAN by default, though. Lockdep is fine.

Eric

#12 lore raw

Re: [PATCH 1/5] kernel-configs: switch to using defconfigs

Quoted 42 lines · Eric Biggers

Hi Amir,

Quoted 31 lines · Amir Goldstein
Quoted 14 lines · Theodore Ts'o
Quoted 13 lines · Eric Biggers

From: Eric Biggers <[email protected]>

Currently, the kernel configs for kvm-xfstests and gce-xfstests are difficult to maintain because they are so long. Fix this by changing them to 'defconfig' format, so they only list the non-default settings.

As documented, there is one additional step introduced when building a kernel for the first time: you now must run 'make olddefconfig' after copying a defconfig file to .config. However I think this is an acceptable tradeoff for having much more maintainable config files. Running 'make olddefconfig' also means that people won't have to answer random config questions if they're testing the latest kernel.

Quoted 8 lines
Quoted 4 lines

This change was scripted by running 'make savedefconfig' for each config within the appropriate source tree (stable/linux-X.X-y).

Thanks, applied. (This patch was 1.4MB, so it would have been rejected by vger.kernel.org.)

Ted,

Applied where? github is 2 weeks behind. kernel.org is 2 weeks behind.

BTW, I am curious to know why the kernel-configs in this repository have no obvious debug config options.

Quoted 7 lines

Aren't you guys testing regularly with lockdep etc? does everyone carry their own home brewed debug configs like I do [1]?

What do you say about including -debug variants to the maintained kernel-configs in this repo? or turn on the obvious debugging features by default?

Quoted 6 lines

There are already a number of debugging options turned on in the 4.9 x86_64 config, including lockdep, various other CONFIG_DEBUG_* options, and the crypto self-tests. It definitely should still be improved, though. I've been planning to go through it again and see if there are any other debug options that should be turned on, as well as unused features which should be disabled. Also the older configs tend to be outdated and should be synced up with the latest

Right, I actually diffed my debug config with latest and missed the fact that lockdep
was turned on in upstream sometime after I forked my config.

Interesting configs I found in my diff you may want to consider:
-CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7 -CONFIG_DYNAMIC_DEBUG=y
-CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEBUG_INFO_REDUCED=y -CONFIG_HARDENED_USERCOPY=y -CONFIG_DEBUG_ATOMIC_SLEEP=y

Cheers,
Amir.

#13 lore raw

Re: [PATCH 1/5] kernel-configs: switch to using defconfigs

In reply to Amir Goldstein
Quoted 2 lines · Amir Goldstein

Applied where? github is 2 weeks behind. kernel.org is 2 weeks behind.

Pushed out now. There can be a day or two lag between when I accept patches and when they get pushed out. That's normally because I do a test verification in a batch process, and if there are substantive changes, I do like to at least do a smoke test before pushing stuff out. In this case, where it's just Documentation and kernel-configs changes, I do push something out first.

Quoted 5 lines

BTW, I am curious to know why the kernel-configs in this repository have no obvious debug config options.

Aren't you guys testing regularly with lockdep etc? does everyone carry their own home brewed debug configs like I do [1]?

We do actually have LOCKDEP enabled in the x86_64 4.9 config. The current set of configs were always maintained informally, and were originally intended to help people who were getting started to be able to build a kernel that would actually work using KVM or GCE. So they were made by copying my current development configs to kernel-config directory. That's why there is a certain amount of inconsistency over which debugging options were turned on.

In particular, I never bothered to turn on LOCKDEP debugging for the stable kernel verification effort that I did a year or so ago. (I've been too busy to run the full set of regression tests on 3.18.x, et. al; I suspect if I did we would discover some additional number of bug fixes that need to be hand cherry picked back to ancient kernels. This also reflects that I'm no longer directly involved with trying to build Android kernels; which is why I started running the regression tests on LTS kernel releases, out of sheer self-defense, and so I could point out to various folks --- well, if your BSP kernel had _bothered_ to keep up with the stable kernels, you'd find the bug fix in 3.18.y....) I probably should have turned on LOCKDEP debugging, but at the time, finding bugs in the 3.10 kernel was easy enough without turning on LOCKDEP. :-)

Quoted 5 lines

What do you say about including -debug variants to the maintained kernel-configs in this repo? or turn on the obvious debugging features by default?

[1] https://github.com/amir73il/xfstests-bld/commit/af76cac689ea726cb8f5b222010b7818a689809b

No objections to me, in general, so long as it doesn't trash performance _too_ much. I will note that test diversity can be a good thing, since it could be that certain timing related bugs can be suppressed if various debugging options are turned on....

- Ted