From patchwork Sat Jan 29 02:37:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 36869 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1620C27BBEB; Sat, 29 Jan 2022 02:38:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 44F3C27BBE9 for ; Sat, 29 Jan 2022 02:38:30 +0000 (GMT) Received: from localhost ([::1]:49040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDddF-0001CU-Cu for patchwork@mira.cbaines.net; Fri, 28 Jan 2022 21:38:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDdct-0001Bh-P0 for guix-patches@gnu.org; Fri, 28 Jan 2022 21:38:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDdcn-0008J2-Nu for guix-patches@gnu.org; Fri, 28 Jan 2022 21:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDdcn-0003Ju-Iy for guix-patches@gnu.org; Fri, 28 Jan 2022 21:38:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53619] [PATCH 1/3] gnu: linux-libre: Enable CONFIG_ZONE_DMA in all configs. References: <20220129023034.3574-1-maxim.cournoyer@gmail.com> In-Reply-To: <20220129023034.3574-1-maxim.cournoyer@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Jan 2022 02:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53619@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 53619-submit@debbugs.gnu.org id=B53619.164342385212700 (code B ref 53619); Sat, 29 Jan 2022 02:38:01 +0000 Received: (at 53619) by debbugs.gnu.org; 29 Jan 2022 02:37:32 +0000 Received: from localhost ([127.0.0.1]:60796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDdcK-0003Il-7V for submit@debbugs.gnu.org; Fri, 28 Jan 2022 21:37:32 -0500 Received: from mail-qv1-f44.google.com ([209.85.219.44]:34624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDdcI-0003IT-MO for 53619@debbugs.gnu.org; Fri, 28 Jan 2022 21:37:31 -0500 Received: by mail-qv1-f44.google.com with SMTP id a7so7630948qvl.1 for <53619@debbugs.gnu.org>; Fri, 28 Jan 2022 18:37:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3CFRiSh6OdEgXTMXNg8FQZhLAvHd56qVpK8dhNRB51w=; b=WyeUUZtEKYQ5zWcv7aBs40cCKKywSTpDkXEMa/JOiKjuHjaAvItPrS2yB/ZPMx3gms 4PVlkm7oMrEH0RCSb79qiMIRpQZDgBwihR7CZDHHRXhNjIcI0EN0lBkHrWvWugWgIaQx iQOeMm5TElHxc+9wtIgkuavTY0UoE1SzScxLBkaCfFJdWLKciiK5MZyF7v96cSeHO+tM /ymliOGn/f1xzlCEa81NgTuH7YwXNM4BlDY9X64+evlPANBZoLfW7h84zKvu0CnYSrKX nA/PuGCXJ7UQ/oQpYKUYFnNjmtVHfsA6cThhd2zmvz48nCh1Pnbiv5MEBIBacv9OWZ6N uX4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3CFRiSh6OdEgXTMXNg8FQZhLAvHd56qVpK8dhNRB51w=; b=G9ihVj2FeCeUuOVBlnFY5m4RmKhiGTj9ukX+M/A6o+VisHAI7LV6TS+Aj0ChT/ZaWH QsFVR0gK6AAEhLp1OK/IMuMiO9wIlv/2icG3nZDUP3EuJclQzZwdfLRc7nixd0ZMcXQt z135OUbJqnFp/GCvPH6PgWDyBMSRhnlvBdKHHDQcoCho8LElGkAl6Y4A/mIDYnA6gu/q 7CIjroPww3U/EvKtodkrNZLfRJMB8cO4UGLztnqUMkXY/YF/RnCFq+3oEgdzOlKd0AFn z4AYjA2BWXpwb4gZCehhAd83h7K+Skh+w/5zVZGSpIMSpIZwQc29gP95dV/zk9kVeZax ayJQ== X-Gm-Message-State: AOAM531SYt92MmyRo09WNseEViHsj3HGTW09Ww7tYIXonikapoAPbZ33 gFCKq3+MI/zm8Xenm7E2EpjPHel36oc= X-Google-Smtp-Source: ABdhPJzhRTUzElr3sZRPf8nv5gHGlBJ/O1XOfFXfgu6jJzblE+/TkYfg7Yh8jgIaS4UDMwAMcrgATg== X-Received: by 2002:a05:6214:5193:: with SMTP id kl19mr9813195qvb.97.1643423844996; Fri, 28 Jan 2022 18:37:24 -0800 (PST) Received: from localhost.localdomain (dsl-153-218.b2b2c.ca. [66.158.153.218]) by smtp.gmail.com with ESMTPSA id x22sm4528370qkp.120.2022.01.28.18.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 18:37:24 -0800 (PST) From: Maxim Cournoyer Date: Fri, 28 Jan 2022 21:37:10 -0500 Message-Id: <20220129023712.4059-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches ZONE_DMA is still used by some kernel drivers such as older sound and network cards; it was already enabled on ARM and for some i686 kernels. Enable it everywhere for consistency. The change was automated with: $ git grep -rl CONFIG_ZONE_DMA | \ xargs sed 's/# CONFIG_ZONE_DMA is not set/CONFIG_ZONE_DMA=y/' -i * gnu/packages/aux-files/linux-libre/4.14-x86_64.conf: Enable CONFIG_ZONE_DMA. * gnu/packages/aux-files/linux-libre/4.19-x86_64.conf: Likewise. * gnu/packages/aux-files/linux-libre/4.4-x86_64.conf: Likewise. * gnu/packages/aux-files/linux-libre/4.9-x86_64.conf: Likewise. * gnu/packages/aux-files/linux-libre/5.10-i686.conf: Likewise. * gnu/packages/aux-files/linux-libre/5.10-x86_64.conf: Likewise. * gnu/packages/aux-files/linux-libre/5.15-i686.conf: Likewise. * gnu/packages/aux-files/linux-libre/5.15-x86_64.conf: Likewise. * gnu/packages/aux-files/linux-libre/5.16-i686.conf: Likewise. * gnu/packages/aux-files/linux-libre/5.16-x86_64.conf: Likewise. * gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: Likewise. --- gnu/packages/aux-files/linux-libre/4.14-x86_64.conf | 2 +- gnu/packages/aux-files/linux-libre/4.19-x86_64.conf | 2 +- gnu/packages/aux-files/linux-libre/4.4-x86_64.conf | 2 +- gnu/packages/aux-files/linux-libre/4.9-x86_64.conf | 2 +- gnu/packages/aux-files/linux-libre/5.10-i686.conf | 2 +- gnu/packages/aux-files/linux-libre/5.10-x86_64.conf | 2 +- gnu/packages/aux-files/linux-libre/5.15-i686.conf | 2 +- gnu/packages/aux-files/linux-libre/5.15-x86_64.conf | 2 +- gnu/packages/aux-files/linux-libre/5.16-i686.conf | 2 +- gnu/packages/aux-files/linux-libre/5.16-x86_64.conf | 2 +- gnu/packages/aux-files/linux-libre/5.4-x86_64.conf | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gnu/packages/aux-files/linux-libre/4.14-x86_64.conf b/gnu/packages/aux-files/linux-libre/4.14-x86_64.conf index db11c2f6e8..09c81b4b00 100644 --- a/gnu/packages/aux-files/linux-libre/4.14-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/4.14-x86_64.conf @@ -454,7 +454,7 @@ CONFIG_FREEZER=y # # Processor type and features # -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_SMP=y CONFIG_X86_FEATURE_NAMES=y CONFIG_X86_FAST_FEATURE_TESTS=y diff --git a/gnu/packages/aux-files/linux-libre/4.19-x86_64.conf b/gnu/packages/aux-files/linux-libre/4.19-x86_64.conf index b76fdc9148..45ab903288 100644 --- a/gnu/packages/aux-files/linux-libre/4.19-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/4.19-x86_64.conf @@ -273,7 +273,7 @@ CONFIG_CC_HAS_SANE_STACKPROTECTOR=y # # Processor type and features # -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_SMP=y CONFIG_X86_FEATURE_NAMES=y CONFIG_X86_X2APIC=y diff --git a/gnu/packages/aux-files/linux-libre/4.4-x86_64.conf b/gnu/packages/aux-files/linux-libre/4.4-x86_64.conf index 0c7852ba48..9e3f4d5e70 100644 --- a/gnu/packages/aux-files/linux-libre/4.4-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/4.4-x86_64.conf @@ -384,7 +384,7 @@ CONFIG_FREEZER=y # # Processor type and features # -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_SMP=y CONFIG_X86_FEATURE_NAMES=y CONFIG_X86_X2APIC=y diff --git a/gnu/packages/aux-files/linux-libre/4.9-x86_64.conf b/gnu/packages/aux-files/linux-libre/4.9-x86_64.conf index 6256b9f356..42edbb12a2 100644 --- a/gnu/packages/aux-files/linux-libre/4.9-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/4.9-x86_64.conf @@ -409,7 +409,7 @@ CONFIG_FREEZER=y # # Processor type and features # -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_SMP=y CONFIG_X86_FEATURE_NAMES=y CONFIG_X86_FAST_FEATURE_TESTS=y diff --git a/gnu/packages/aux-files/linux-libre/5.10-i686.conf b/gnu/packages/aux-files/linux-libre/5.10-i686.conf index d24bbbcaa2..cc4f703467 100644 --- a/gnu/packages/aux-files/linux-libre/5.10-i686.conf +++ b/gnu/packages/aux-files/linux-libre/5.10-i686.conf @@ -292,7 +292,7 @@ CONFIG_CC_HAS_SANE_STACKPROTECTOR=y # # Processor type and features # -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_SMP=y CONFIG_X86_FEATURE_NAMES=y CONFIG_X86_MPPARSE=y diff --git a/gnu/packages/aux-files/linux-libre/5.10-x86_64.conf b/gnu/packages/aux-files/linux-libre/5.10-x86_64.conf index 3a905e6286..85e5967fb1 100644 --- a/gnu/packages/aux-files/linux-libre/5.10-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/5.10-x86_64.conf @@ -308,7 +308,7 @@ CONFIG_CC_HAS_SANE_STACKPROTECTOR=y # # Processor type and features # -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_SMP=y CONFIG_X86_FEATURE_NAMES=y CONFIG_X86_X2APIC=y diff --git a/gnu/packages/aux-files/linux-libre/5.15-i686.conf b/gnu/packages/aux-files/linux-libre/5.15-i686.conf index 85bd4d0ee1..c4f54ca5d3 100644 --- a/gnu/packages/aux-files/linux-libre/5.15-i686.conf +++ b/gnu/packages/aux-files/linux-libre/5.15-i686.conf @@ -992,7 +992,7 @@ CONFIG_PAGE_IDLE_FLAG=y CONFIG_IDLE_PAGE_TRACKING=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_ARCH_HAS_ZONE_DMA_SET=y -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_HMM_MIRROR=y CONFIG_VMAP_PFN=y # CONFIG_PERCPU_STATS is not set diff --git a/gnu/packages/aux-files/linux-libre/5.15-x86_64.conf b/gnu/packages/aux-files/linux-libre/5.15-x86_64.conf index ad42192937..54f6dc375a 100644 --- a/gnu/packages/aux-files/linux-libre/5.15-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/5.15-x86_64.conf @@ -1025,7 +1025,7 @@ CONFIG_IDLE_PAGE_TRACKING=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_ARCH_HAS_PTE_DEVMAP=y CONFIG_ARCH_HAS_ZONE_DMA_SET=y -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_ZONE_DMA32=y CONFIG_ZONE_DEVICE=y CONFIG_DEV_PAGEMAP_OPS=y diff --git a/gnu/packages/aux-files/linux-libre/5.16-i686.conf b/gnu/packages/aux-files/linux-libre/5.16-i686.conf index edaca0b891..a5773c54cf 100644 --- a/gnu/packages/aux-files/linux-libre/5.16-i686.conf +++ b/gnu/packages/aux-files/linux-libre/5.16-i686.conf @@ -1000,7 +1000,7 @@ CONFIG_PAGE_IDLE_FLAG=y CONFIG_IDLE_PAGE_TRACKING=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_ARCH_HAS_ZONE_DMA_SET=y -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_HMM_MIRROR=y CONFIG_VMAP_PFN=y # CONFIG_PERCPU_STATS is not set diff --git a/gnu/packages/aux-files/linux-libre/5.16-x86_64.conf b/gnu/packages/aux-files/linux-libre/5.16-x86_64.conf index e8271dcef3..048056b456 100644 --- a/gnu/packages/aux-files/linux-libre/5.16-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/5.16-x86_64.conf @@ -1032,7 +1032,7 @@ CONFIG_IDLE_PAGE_TRACKING=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_ARCH_HAS_PTE_DEVMAP=y CONFIG_ARCH_HAS_ZONE_DMA_SET=y -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_ZONE_DMA32=y CONFIG_ZONE_DEVICE=y CONFIG_DEV_PAGEMAP_OPS=y diff --git a/gnu/packages/aux-files/linux-libre/5.4-x86_64.conf b/gnu/packages/aux-files/linux-libre/5.4-x86_64.conf index ec8609171e..91b3033260 100644 --- a/gnu/packages/aux-files/linux-libre/5.4-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/5.4-x86_64.conf @@ -294,7 +294,7 @@ CONFIG_CC_HAS_SANE_STACKPROTECTOR=y # # Processor type and features # -# CONFIG_ZONE_DMA is not set +CONFIG_ZONE_DMA=y CONFIG_SMP=y CONFIG_X86_FEATURE_NAMES=y CONFIG_X86_X2APIC=y