From patchwork Wed Apr 14 23:11:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1466445 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FLJFh0tw7z9sSC for ; Thu, 15 Apr 2021 09:14:15 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EVh5x66pKanh2M6AqMvcKCLncSNQZr6aEEZXF/6MrJc=; b=hauC9fKElf+xD7L6SlpbU00wxf E7ei31+8XovGUwAHhNOnWCEi2v4PBBO8R8hk9WGjBQ1zt2O45JrCs2tfSr9868h4R8eQEVDMIHaZ8 Q5VZ04t2SJaVrWTONaj/POQjYzxGBAlEJ2Zans8qGoGOu/A4r2iIHnaJRDNVocSqmhtKhkFabV0wM yK/6tMIGlQzH5pG0K+kDkeg6ygLV86VO8+HTAJGTGR7pbZzFyWAACt87BIj8xKPY5aEsDqFFnXn5F PRcIsGWcX/tR8eZU1xJLs8M/d3zf40Dj/T2Tg06ddjZ7z3wQ91kB8Lb6U3rf/tcsOBx5S14/bje2C 9omSIwcg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWofJ-00E7Vo-9e; Wed, 14 Apr 2021 23:11:21 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWofB-00E7UQ-R0 for openwrt-devel@lists.openwrt.org; Wed, 14 Apr 2021 23:11:15 +0000 Received: by mail-lf1-x132.google.com with SMTP id x19so5549278lfa.2 for ; Wed, 14 Apr 2021 16:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=siJ45USkwFnOInZgptKYcpOjl4f6YP52TWGhczj1Ik4=; b=px4Mlh/88RcjGr3seosxos9spRG40pVSO+I00yNFM3HxzAxKJRWU39lA92pSmLIhmD zKw+Ee0xmuXGH5EkoqxxRWnJ+apbY0DK7L9uAirVyllRDR9pIGkPP4E/OT67KnGdOQ11 zjkt236V/SEn61Dom7eceJuxsunTFHpOQTYF825WoSjUHU8f+plCbBJsHXKuJUD8kBMY bUsVs/0gpFVIv6g1kuTR/po66BvLVn5VrX+L9mmosZvJDVImHgNFrjScPDklEHN0Twfs IidCcqDr6qKJDHVhyhVk3SghxAsyrhtSZYicfEG/Q5lex2TAg0DqZCzGo3/cW0aM5DXr mdSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=siJ45USkwFnOInZgptKYcpOjl4f6YP52TWGhczj1Ik4=; b=kM31Yu3pMAlGDCrnqYnGMnH/kY4oO1AJtgeTUseAmC7/i+CEpxK2JwCwcIWwusJ82e xTH3d7IB3y4+FjZx0Auw/X9jLfK3EouB8odajlL0sQKqwTW3lhD1MpbrT6kwcURhHzfp y8CTJogzHvCYv4A//yvnwn7/pxlO1gl5DwZSjWcjUQgwmdlr59Q3+g++Rh7UGYiFNva/ jCNK1oYQc0+nnrKPxr5YnpkcUeK/meyAIxToWk38a063nBSyUZudlKU3p/v0o2DpB9Tz 7cMv5Zm9IOdSKvMdZ6qcgNIBmNn4WjRr2YmTKqNd/QpKCuB8/jtRNbWM1hOgaP9SVwag F5LA== X-Gm-Message-State: AOAM532zwCgpMeGsZ38vY52thta9RrYmRYClJZpdGNSFuvr8ayOa+c+A jeVqdEkRRX/XK5m5qTL0AtQvIA== X-Google-Smtp-Source: ABdhPJwKd0ZWlqUERYBXwxDKmjcHWJlrCPW57i03mQtWaCHusCdryxWzEZhIhBtAbm5XCJzRmlL5yA== X-Received: by 2002:a19:5048:: with SMTP id z8mr387773lfj.110.1618441872707; Wed, 14 Apr 2021 16:11:12 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id i4sm319188lfu.33.2021.04.14.16.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 16:11:12 -0700 (PDT) From: Linus Walleij To: Roman Yeryomin , Sebastian Luft , Hans Ulli Kroll , Hauke Mehrtens , Christian Lamparter Cc: Florian Fainelli , openwrt-devel@lists.openwrt.org, Linus Walleij Subject: [PATCH] kernel: Disable CONFIG_DMA_PERNUMA_CMA by default Date: Thu, 15 Apr 2021 01:11:09 +0200 Message-Id: <20210414231109.2414704-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_001114_052927_6457F034 X-CRM114-Status: UNSURE ( 8.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This CMA memory allocation option only applies to NUMA (Non-Uniform Memory Access) systems which are seldom the kind of systems that OpenWRT address. It is safe to assume that any system that need this option would turn it on locally. Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:132 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This CMA memory allocation option only applies to NUMA (Non-Uniform Memory Access) systems which are seldom the kind of systems that OpenWRT address. It is safe to assume that any system that need this option would turn it on locally. Signed-off-by: Linus Walleij --- target/linux/generic/config-5.10 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index 024d65ba7c8d..78c8cb72f89f 100644 --- a/target/linux/generic/config-5.10 +++ b/target/linux/generic/config-5.10 @@ -1357,6 +1357,7 @@ CONFIG_DMA_DECLARE_COHERENT=y # CONFIG_DMA_JZ4780 is not set CONFIG_DMA_NONCOHERENT_MMAP=y # CONFIG_DMA_NOOP_OPS is not set +# CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMA_SHARED_BUFFER is not set # CONFIG_DMA_VIRT_OPS is not set # CONFIG_DM_CACHE is not set