Re: [PATCH v2] arm64: defconfig: Enable zram, xfs and loading compressed FW support
From: Krzysztof Kozlowski
Date: Wed Feb 21 2024 - 10:10:25 EST
On 21/02/2024 15:48, Maxime Ripard wrote:
> On Wed, Feb 21, 2024 at 03:22:38PM +0100, Krzysztof Kozlowski wrote:
>> On 21/02/2024 15:13, Javier Martinez Canillas wrote:
>>> These options are needed by some Linux distributions (e.g: Fedora), so
>>
>> How ZRAM is needed? Why Fedora cannot boot without it? Debian, which I
>> use on my arm64 boards, does not have any problem.
>
> Is it relevant in any way?
Yes, because it is justification why we are doing it. Each commit is
supposed to explain "why" and the explanation here is not enough.
>
> I'm sure Debian can boot without MEMORY_HOTREMOVE, or BRIDGE, or
> NUMA_BALANCING, or BPF_JIT, or NFS_FS, yet all of them are enabled. Let
> me know if you want hundreds more examples.
So if there is any bug, you are allowed to add new one? If there is any
silly option, you are allowed to add new one?
Feel free to propose dropping of any irrelevant options.
>
>> I kind of repeat comments from similar patch earlier:
>> https://lore.kernel.org/all/fe1e74a2-e933-7cd9-f740-86d871076191@xxxxxxxxxx/
>>
>> About XFS: I don't think it is needed to boot anything.
>
> Just like 9P_FS, NFS or UBIFS.
NFS is often used on targets, e.g. my board farm, but also by other people.
UBIFS was added recently because one device was using it - you needed
it. 9P_FS looks unnecessary.
>
>> This is a defconfig, not a distro config. Please don't make it distro.
>>
>> I will gladly support things needed by systemd or equivalent, but not
>> unusual filesystems needed by distro.
>
> It's a defconfig. It's whatever people want it to be. Or we need to come
> up with a clearly defined set of rules of what is acceptable in that
> defconfig or not, and prune every option that isn't.
So that's the rule I am commenting from time to time. defconfigs are not
distro configs. These are reference hardware configs and debugging
configs. I was working in distro so trust me - they do stuff differently
and they not need XFS in our defconfig for anything.
Best regards,
Krzysztof