From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DF5DC77B6F for ; Mon, 10 Apr 2023 17:52:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230193AbjDJRwr (ORCPT ); Mon, 10 Apr 2023 13:52:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbjDJRwp (ORCPT ); Mon, 10 Apr 2023 13:52:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B58AE1720 for ; Mon, 10 Apr 2023 10:52:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681149119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NsEZPRD1SyjWNRhaxq9j9ZvGo8ldXQeNCZy0vKLfK20=; b=Le8djm22zwdblMH98i4QQgaRRZ6O7F90vmArZBXp3in5DJrW+QXGGQVPSSCzLmrYbGnp6C +euWvIR6QJG78If0Yoyd3rZL9MAQCSUsWh8nqFDxyR353kxtdLBME5uCsIx6DW6oYNo6zX s87e8S3CnEf8mnyMOFshPMjXqmgt2K0= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-668-0fouP6oaNpmLrScMYXD-FA-1; Mon, 10 Apr 2023 13:51:58 -0400 X-MC-Unique: 0fouP6oaNpmLrScMYXD-FA-1 Received: by mail-wm1-f70.google.com with SMTP id r20-20020a05600c35d400b003edd2023418so4248008wmq.4 for ; Mon, 10 Apr 2023 10:51:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681149117; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NsEZPRD1SyjWNRhaxq9j9ZvGo8ldXQeNCZy0vKLfK20=; b=141SyzCG1bQ/B7CmN/cKHtD2EoPMcefOmqvS+yDJ7Ai7suNjQ1dqZ6RO0dR1GQjqwo dTI2X+h84GOBoBEHEpK1WbkuY/A5uhs5Mrt5nwpOcrrSXUvDpkQbmPXG0WarMTRqwaiV 9W9nGCYviATH8mX1noGKYg9PDhd/1sAvEGYMipKPFoBEH9Jp7VQ7XJAlx9SoQfwxApt8 eZuOw4xTi+6zet601xhFQgc6tVB76SZeNJrx7/BAYR+EYtUELqER9wwDR99KQ0R//3jo X2cmIOpYbTLoycp7v+s3/xKpkII2MvV6j0CJEnQJyPHT/h57hTzLf+75KoNQtzPAl4vj 2x6Q== X-Gm-Message-State: AAQBX9ellzqmAGGQgXT7JjFFXLWO9GgwWp0hPcL1cn4Ox2ARpJo1qf6L rtxm672YYVlq7fF/t8DNwSen625X5PEXt53h2bNUS4Ms7+iXrkiipHRM7+qnddO3Buv9IEwRBcM S5G3mpspn22bjH3jVfPiEVA9u X-Received: by 2002:a05:600c:21c4:b0:3f0:4428:9444 with SMTP id x4-20020a05600c21c400b003f044289444mr7589301wmj.10.1681149117250; Mon, 10 Apr 2023 10:51:57 -0700 (PDT) X-Google-Smtp-Source: AKy350YkVl61QDf4F33omnQMkXe1J97GDyi79Tyfj2/VYdv4fEgJtXt+QN1ytsfqGu7fKw8/+soYtA== X-Received: by 2002:a05:600c:21c4:b0:3f0:4428:9444 with SMTP id x4-20020a05600c21c400b003f044289444mr7589291wmj.10.1681149116982; Mon, 10 Apr 2023 10:51:56 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id h18-20020a05600c315200b003ef6708bc1esm18619115wmo.43.2023.04.10.10.51.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 10:51:56 -0700 (PDT) From: Javier Martinez Canillas To: Krzysztof Kozlowski , linux-kernel@vger.kernel.org Cc: Alim Akhtar , Arnd Bergmann , Gregory CLEMENT , Jernej Skrabec , Robert Elliott , Russell King , Stefan Hansson , Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH] ARM: exynos_defconfig: Enable zram as loadable modules In-Reply-To: References: <20230410124907.3293869-1-javierm@redhat.com> Date: Mon, 10 Apr 2023 19:51:55 +0200 Message-ID: <87sfd7sk04.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Krzysztof Kozlowski writes: > On 10/04/2023 14:49, Javier Martinez Canillas wrote: >> Enable zram and dependencies as loadable modules. This allows to use the >> /dev/zramX virtual block devices as swap stored in system memory. >> >> Options were taken from commit 5c824e8be64d ("ARM: omap2plus_defconfig: >> Enable zram as loadable modules") that does the same for OMAP2+ platforms. > > Neither this commit msg nor above omap commit explain why do we want it. > I know what zram is, I know its purpose, but the commit should answer > why we want it in defconfig. > > To me it is not a matching defconfig at all: > 1. Not a feature related to Exynos hardware, > 2. Not needed for basic boot (systemd) or debug. > It's needed for basic boot on distros that use swap on zram (i.e: Fedora). I just had this as a local change to boot an ODROID XU4. But have a custom defconfig for other boards anyways, so I'll just do the same for this one. -- Best regards, Javier Martinez Canillas Core Platforms Red Hat