Message ID | 20221127193549.211bf8f7@endymion.delvare |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5246061wrr; Sun, 27 Nov 2022 10:52:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf6VpCFHz7qz2V9NCipKAbv5JnprEqcz26H+XWFpNwOzT/qePOwVaWYzPEVBdRRQoR+KjoqY X-Received: by 2002:a17:907:767a:b0:7ad:e518:13fd with SMTP id kk26-20020a170907767a00b007ade51813fdmr40656111ejc.323.1669575140208; Sun, 27 Nov 2022 10:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669575140; cv=none; d=google.com; s=arc-20160816; b=Ga1KF+8RVWX2EIJLG4dIAUKXUdJ48dUZa/TM/C25fDWaEZPM6uH1v41qtKVli6vrpV tspNXU6KagNa7CdMWg41BqHWHSSjA+bOoNC+EamHECAKHrfPlfhNRvEfkN2K3p0W8s5p EJnChTaRG60za8xPu7m/5d5xzvJ3hE/eDI+VLvKE3pdRCb/7MA+GwkWuzgel0fiNbWAj /lP8xz/sMyihgxSxnvMhJ4/uWKzhu1WYU1Sncwvs3nSmqBzRclPMNR/BiTPv/2aeuFeS JvFnB3tCRNt4WMqWh0cO1vUcGbZIpZGFmy9IJ0eRFi3HOEfpwbhuGQVceM90ToMf9jUP coaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=GzRGmhIco9PatSLCVTBuFUSdQWbXCS9KgIxMPxfqP6c=; b=pca+so01TpkVtRqEtOLFEKfMhSeK3KmWPfNjCaNxx3/TH2kzcUN1R3B7tYlPS0/sNS rwlXTiv3GGLO+wOqwEk7ICfsNp518pX4ZYLHOp5xXVEyIi2AHMO0RkRvqwgCgeqc6DQP laT+oHzzWpPWoenmQlXgUWP5bCuEjTjszm0s8IqZbseadBgWPlR55mmlhTTv+DvlcPrH K9tfNr8/18UiLEawlbdbbFDMeo276eL8wVcfw2zD9r6rjkVQj5btwjCx5W2A/wUumetz Mr2KOUoFB6GwKtmFH9moBcwop5eVsPz0NTD/sNHNA2rzyAcSvVo6hBdjCWWPijqo9RoX eG2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=WuDtHBl1; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs9-20020a1709072d0900b0078d9b2facaesi9782857ejc.339.2022.11.27.10.51.57; Sun, 27 Nov 2022 10:52:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=WuDtHBl1; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229606AbiK0Sfy (ORCPT <rfc822;gah0developer@gmail.com> + 99 others); Sun, 27 Nov 2022 13:35:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbiK0Sfx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 27 Nov 2022 13:35:53 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62BC1E69 for <linux-kernel@vger.kernel.org>; Sun, 27 Nov 2022 10:35:52 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0B4D421AF5; Sun, 27 Nov 2022 18:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669574151; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GzRGmhIco9PatSLCVTBuFUSdQWbXCS9KgIxMPxfqP6c=; b=WuDtHBl1RK6ArRGJn+10YZHQwtvyP1BuKQrOhASlOHnhqdnDasw2kz+t5CV3qY2VVR7oos Qvwzlci8MXM7D62SxXxjQl7G0a1C8x6LuGiAzGrVvoOsRdiNeGIA0yVZHQ5gGfBeVqRK8t ogkxVP/kOvz4CJYrlH9LxmXbESMCmPo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669574151; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GzRGmhIco9PatSLCVTBuFUSdQWbXCS9KgIxMPxfqP6c=; b=t6qwboRmpPh/XqJGVRiRLjb3BfVx2ws/LkGz2UIuOqwA0If+36QFQ2gIzOayWEmxClW0l0 M5nx+dybgkg5btDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A95DC134CE; Sun, 27 Nov 2022 18:35:50 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id n7OuJwaug2N9HQAAMHmgww (envelope-from <jdelvare@suse.de>); Sun, 27 Nov 2022 18:35:50 +0000 Date: Sun, 27 Nov 2022 19:35:49 +0100 From: Jean Delvare <jdelvare@suse.de> To: LKML <linux-kernel@vger.kernel.org> Cc: Liam Girdwood <lgirdwood@gmail.com>, Peter Ujfalusi <peter.ujfalusi@linux.intel.com>, Bard Liao <yung-chuan.liao@linux.intel.com>, Ranjani Sridharan <ranjani.sridharan@linux.intel.com>, Kai Vehmanen <kai.vehmanen@linux.intel.com>, Daniel Baluta <daniel.baluta@nxp.com>, Mark Brown <broonie@kernel.org> Subject: [PATCH] ASoC: SOF: Drop obsolete dependency on COMPILE_TEST Message-ID: <20221127193549.211bf8f7@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750676422116276270?= X-GMAIL-MSGID: =?utf-8?q?1750676422116276270?= |
Series |
ASoC: SOF: Drop obsolete dependency on COMPILE_TEST
|
|
Commit Message
Jean Delvare
Nov. 27, 2022, 6:35 p.m. UTC
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
is possible to test-build any driver which depends on OF on any
architecture by explicitly selecting OF. Therefore depending on
COMPILE_TEST as an alternative is no longer needed.
It is actually better to always build such drivers with OF enabled,
so that the test builds are closer to how each driver will actually be
built on its intended target. Building them without OF may not test
much as the compiler will optimize out potentially large parts of the
code. In the worst case, this could even pop false positive warnings.
Dropping COMPILE_TEST here improves the quality of our testing and
avoids wasting time on non-existent issues.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Cc: Bard Liao <yung-chuan.liao@linux.intel.com>
Cc: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Cc: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Cc: Daniel Baluta <daniel.baluta@nxp.com>
Cc: Mark Brown <broonie@kernel.org>
---
sound/soc/sof/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Sun, 27 Nov 2022 19:35:49 +0100, Jean Delvare wrote: > Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it > is possible to test-build any driver which depends on OF on any > architecture by explicitly selecting OF. Therefore depending on > COMPILE_TEST as an alternative is no longer needed. > > It is actually better to always build such drivers with OF enabled, > so that the test builds are closer to how each driver will actually be > built on its intended target. Building them without OF may not test > much as the compiler will optimize out potentially large parts of the > code. In the worst case, this could even pop false positive warnings. > Dropping COMPILE_TEST here improves the quality of our testing and > avoids wasting time on non-existent issues. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: SOF: Drop obsolete dependency on COMPILE_TEST commit: 11e87890dab52d14af2b2f3945835ec6db473e3b All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
--- linux-6.0.orig/sound/soc/sof/Kconfig +++ linux-6.0/sound/soc/sof/Kconfig @@ -39,7 +39,7 @@ config SND_SOC_SOF_ACPI_DEV config SND_SOC_SOF_OF tristate "SOF OF enumeration support" - depends on OF || COMPILE_TEST + depends on OF help This adds support for Device Tree enumeration. This option is required to enable i.MX8 or Mediatek devices.