Skip to contentSkip to conversation

arm64: defconfig: Enable zram, xfs and loading compressed FW support

PATCH Superseded Javier Martinez Canillas 5 participants 7 messages Feb 21, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: defconfig: Enable zram, xfs and loading compressed FW support

These options are needed by some Linux distributions (e.g: Fedora), so let's enable them to make it easier for developers using such distros.

---

 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/configs/defconfig +5 -0
index 056a6cc546a4..12aebbba814e 100644
@@ -241,6 +241,8 @@ CONFIG_PCI_EPF_TEST=m
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_FW_LOADER_USER_HELPER=y
+CONFIG_FW_LOADER_COMPRESS=y
+CONFIG_MODULE_COMPRESS_XZ=y
 CONFIG_HISILICON_LPC=y
 CONFIG_TEGRA_ACONNECT=m
 CONFIG_MHI_BUS_PCI_GENERIC=m
@@ -275,6 +277,8 @@ CONFIG_MTD_NAND_FSL_IFC=y
 CONFIG_MTD_NAND_QCOM=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_UBI=m
+CONFIG_ZRAM=m
+CONFIG_ZRAM_WRITEBACK=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_NBD=m
 CONFIG_VIRTIO_BLK=y
@@ -1595,6 +1599,7 @@ CONFIG_HTE_TEGRA194_TEST=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_XFS_FS=m
 CONFIG_BTRFS_FS=m
 CONFIG_BTRFS_FS_POSIX_ACL=y
 CONFIG_FANOTIFY=y
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#2 lore raw
In reply to Javier Martinez Canillas
Quoted 5 lines · Javier Martinez Canillas

These options are needed by some Linux distributions (e.g: Fedora), so let's enable them to make it easier for developers using such distros.

---

arch/arm64/configs/defconfig CONFIG_HTE_TEGRA194_TEST=m · line 1604

Quoted 7 lines
arch/arm64/configs/defconfig +1 -0
@@ -1595,6 +1599,7 @@ CONFIG_HTE_TEGRA194_TEST=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_XFS_FS=m
 CONFIG_BTRFS_FS=m
 CONFIG_BTRFS_FS_POSIX_ACL=y

Unfortunately this will increase build time noticeably, but I agree it is the right thing to do.

Can you send it (with any other acks) to [email protected] so I can merge it from there?

Arnd

Nacked-by NAK
#3 lore raw
Quoted 20 lines · Arnd Bergmann
Quoted 5 lines · Javier Martinez Canillas

These options are needed by some Linux distributions (e.g: Fedora), so let's enable them to make it easier for developers using such distros.

---

arch/arm64/configs/defconfig CONFIG_HTE_TEGRA194_TEST=m · line 1604

Quoted 7 lines
arch/arm64/configs/defconfig +1 -0
@@ -1595,6 +1599,7 @@ CONFIG_HTE_TEGRA194_TEST=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_XFS_FS=m
 CONFIG_BTRFS_FS=m
 CONFIG_BTRFS_FS_POSIX_ACL=y

Unfortunately this will increase build time noticeably, but I agree it is the right thing to do.

Quoted 2 lines

Can you send it (with any other acks) to [email protected] so I can merge it from there?

Due to XFS, please include:

so this will not be precedence used for further patches like this (Maxime already used such argument, so I want to be sure it will not be used against me in the future)

Best regards,
Krzysztof

#4 lore raw
Quoted 24 lines · Krzysztof Kozlowski
Quoted 20 lines · Arnd Bergmann
Quoted 5 lines · Javier Martinez Canillas

These options are needed by some Linux distributions (e.g: Fedora), so let's enable them to make it easier for developers using such distros.

---

arch/arm64/configs/defconfig CONFIG_HTE_TEGRA194_TEST=m · line 1604

Quoted 7 lines
arch/arm64/configs/defconfig +1 -0
@@ -1595,6 +1599,7 @@ CONFIG_HTE_TEGRA194_TEST=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_XFS_FS=m
 CONFIG_BTRFS_FS=m
 CONFIG_BTRFS_FS_POSIX_ACL=y

Unfortunately this will increase build time noticeably, but I agree it is the right thing to do.

Quoted 2 lines

Can you send it (with any other acks) to [email protected] so I can merge it from there?

Quoted 7 lines

Due to XFS, please include:

so this will not be precedence used for further patches like this (Maxime already used such argument, so I want to be sure it will not be used against me in the future)

For the record, I didn't use anything against *you*. I'd just like consistency over how defconfig rules are applied.

Maxime

#5 lore raw
Quoted 27 lines · Maxime Ripard
Quoted 26 lines · Krzysztof Kozlowski
Quoted 20 lines · Arnd Bergmann
Quoted 5 lines · Javier Martinez Canillas

These options are needed by some Linux distributions (e.g: Fedora), so let's enable them to make it easier for developers using such distros.

---

arch/arm64/configs/defconfig CONFIG_HTE_TEGRA194_TEST=m · line 1604

Quoted 7 lines
arch/arm64/configs/defconfig +1 -0
@@ -1595,6 +1599,7 @@ CONFIG_HTE_TEGRA194_TEST=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_XFS_FS=m
 CONFIG_BTRFS_FS=m
 CONFIG_BTRFS_FS_POSIX_ACL=y

Unfortunately this will increase build time noticeably, but I agree it is the right thing to do.

Quoted 2 lines

Can you send it (with any other acks) to [email protected] so I can merge it from there?

Due to XFS, please include:

Quoted 8 lines
Quoted 5 lines

so this will not be precedence used for further patches like this (Maxime already used such argument, so I want to be sure it will not be used against me in the future)

For the record, I didn't use anything against *you*. I'd just like consistency over how defconfig rules are applied.

True, apologies if it seemed to harsh. I meant the discussion, so maybe better:
"Maxime used such argument with discussion with me, so I want to be sure there is no silent ack from me in the future."

Best regards,
Krzysztof

#6 lore raw
In reply to Krzysztof Kozlowski
Quoted 21 lines · Krzysztof Kozlowski
Quoted 20 lines · Arnd Bergmann
Quoted 5 lines · Javier Martinez Canillas

These options are needed by some Linux distributions (e.g: Fedora), so let's enable them to make it easier for developers using such distros.

---

arch/arm64/configs/defconfig CONFIG_HTE_TEGRA194_TEST=m · line 1604

Quoted 7 lines
arch/arm64/configs/defconfig +1 -0
@@ -1595,6 +1599,7 @@ CONFIG_HTE_TEGRA194_TEST=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_XFS_FS=m
 CONFIG_BTRFS_FS=m
 CONFIG_BTRFS_FS_POSIX_ACL=y

Unfortunately this will increase build time noticeably, but I agree it is the right thing to do.

Quoted 7 lines
Quoted 2 lines

Can you send it (with any other acks) to [email protected] so I can merge it from there?

Due to XFS, please include:

Don't worry, I won't to re-send anything if you disagree with the change.

Quoted 4 lines

so this will not be precedence used for further patches like this (Maxime already used such argument, so I want to be sure it will not be used against me in the future)

I used the same argument and is a fair one in my opinion. Removing other filesystems should send the correct message, if that is the agreegment.

Signature · 5 lines
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat