From patchwork Tue Aug 23 12:15:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 599759 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A4CAC32772 for ; Tue, 23 Aug 2022 12:17:08 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6D3AC85D; Tue, 23 Aug 2022 14:16:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6D3AC85D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1661257026; bh=y4mzp/TcD8vh10IVWqXLoDEjsXSk9cpal0RyujCuSbk=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Q1+gull4NztlaG/rniu89UftY6nHmTwiNCFQuT3InOG0+ikV6UslX21cMs/R2Q0p0 njGKeDSvOnwbKAXYK03l4WDIlKi6hwLiSb5ykWJ4laC0jSjJgBPqZSAnkKFpV5zpQ9 d1a/XTmnOrQspOI6fgH1AQl0spnshXc6M4bFygpM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 03D22F8027B; Tue, 23 Aug 2022 14:16:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B92FBF800C9; Tue, 23 Aug 2022 14:16:14 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1CC69F800C9 for ; Tue, 23 Aug 2022 14:16:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1CC69F800C9 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="bEelhMZK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661256969; x=1692792969; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=y4mzp/TcD8vh10IVWqXLoDEjsXSk9cpal0RyujCuSbk=; b=bEelhMZKCfUmgyJ8mqYUA/igu8GIFyN5nPy7bv9j6KE99O0Rn3zvy9+5 Dcb9FJfXPB3UuwogSqxO+TmJWrrxhdzIViyte3bPwndj0nMsFxP6DcJ6w /UbFQ3z2xKiZiDUKHfvz5YMncYuopJfniNXfIshs5j3EsBsCeWnlCvaXY GI+CMPwafZdHthoK1qCPNsIpzw/mtSd6mNKNL9Hi4LIF2Gz5btNPbdVvQ OUOzHL8BajG/+k6OIwVlLh8LWzTeakVCUsmsIIYAe8cpEXVjsl8vnVG3C O5EM3hG/7xzFuglu2YyMP2XtXCrG9rw40Dhg5896BtQbG2iFeqCEsLoeZ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10447"; a="355401053" X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="355401053" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 05:16:05 -0700 X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="735464342" Received: from mjglynn-mobl2.ger.corp.intel.com (HELO pujfalus-desk.ger.corp.intel.com) ([10.252.28.206]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 05:16:03 -0700 From: Peter Ujfalusi To: lgirdwood@gmail.com, broonie@kernel.org, pierre-louis.bossart@linux.intel.com Subject: [PATCH 1/2] ASoC: SOF: Kconfig: Make IPC_FLOOD_TEST depend on SND_SOC_SOF Date: Tue, 23 Aug 2022 15:15:53 +0300 Message-Id: <20220823121554.4255-2-peter.ujfalusi@linux.intel.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823121554.4255-1-peter.ujfalusi@linux.intel.com> References: <20220823121554.4255-1-peter.ujfalusi@linux.intel.com> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Make sure that the IPC_FLOOD client can not be built in when SND_SOC_SOF is built as module. Fixes: 6e9548cdb30e5 ("ASoC: SOF: Convert the generic IPC flood test into SOF client") Reported-by: kernel test robot Signed-off-by: Peter Ujfalusi Reviewed-by: Pierre-Louis Bossart --- sound/soc/sof/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sof/Kconfig b/sound/soc/sof/Kconfig index e90f173d067c..cfb244e4e142 100644 --- a/sound/soc/sof/Kconfig +++ b/sound/soc/sof/Kconfig @@ -196,6 +196,7 @@ config SND_SOC_SOF_DEBUG_ENABLE_FIRMWARE_TRACE config SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST tristate "SOF enable IPC flood test" + depends on SND_SOC_SOF select SND_SOC_SOF_CLIENT help This option enables a separate client device for IPC flood test From patchwork Tue Aug 23 12:15:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 599758 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 195BFC32772 for ; Tue, 23 Aug 2022 12:17:58 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 20C171622; Tue, 23 Aug 2022 14:17:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 20C171622 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1661257077; bh=Kk3wloK5sKYsQhdkC/qEBSlZxZYh7VtgkmeI9WD9NC8=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=KnMm5YrPh3461znLuRXNb0AbCCeE1iJ5NyMqRYHkQy9rOO5ZThYQJmIqGTmZUleIi hDC2RJB5PAKbVCwv8puvnTg4nd3XfS9D1V8/AADCrExS0kCn7L1olZjD/bP4P1365u flSZpu92pWUgZmQPs0GCfWIkuFkFeCPQI/OAjM7k= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2B1CCF80526; Tue, 23 Aug 2022 14:16:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7D413F80525; Tue, 23 Aug 2022 14:16:16 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E8958F80152 for ; Tue, 23 Aug 2022 14:16:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E8958F80152 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YTbRoQIo" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661256971; x=1692792971; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Kk3wloK5sKYsQhdkC/qEBSlZxZYh7VtgkmeI9WD9NC8=; b=YTbRoQIoInNUZh0vo/a3RytD2Ik2sKRxAs2bqG5MaOIW9FdBKuuWBrPe rINZKXwWrL4UFNSWYiKnVM2n7J5D0cCfnlRg0PprsR5AatHlruLoaml5J PmhG+Vds9ojEMhp6fFXQgUu5wV3KyF3scdjnynRnCHNT8BUZ67f1+w6Xa i/B2nRP9Hq3+TB16hT5+fksxDbk6v2FSYbHw82hZALJt0S760gxs3IYQk 7OXIaGUBHIuGQXwwSmLR1WCLbUszFs+mW5LKdlCf8CDJVjohAnIHgy12B pHA8sbPtpWftaEUtMea6o6rrD+zxuevH4H3eNFPJGxcQiQc+9d5r2n89M w==; X-IronPort-AV: E=McAfee;i="6500,9779,10447"; a="355401068" X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="355401068" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 05:16:07 -0700 X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="735464371" Received: from mjglynn-mobl2.ger.corp.intel.com (HELO pujfalus-desk.ger.corp.intel.com) ([10.252.28.206]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 05:16:05 -0700 From: Peter Ujfalusi To: lgirdwood@gmail.com, broonie@kernel.org, pierre-louis.bossart@linux.intel.com Subject: [PATCH 2/2] ASoC: SOF: Kconfig: Make IPC_MESSAGE_INJECTOR depend on SND_SOC_SOF Date: Tue, 23 Aug 2022 15:15:54 +0300 Message-Id: <20220823121554.4255-3-peter.ujfalusi@linux.intel.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823121554.4255-1-peter.ujfalusi@linux.intel.com> References: <20220823121554.4255-1-peter.ujfalusi@linux.intel.com> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Make sure that the IPC_MESSAGE_INJECTOR client can not be built in when SND_SOC_SOF is built as module. Fixes: cac0b0887e530 ("ASoC: SOF: Convert the generic IPC message injector into SOF client") Reported-by: kernel test robot Signed-off-by: Peter Ujfalusi Reviewed-by: Pierre-Louis Bossart --- sound/soc/sof/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sof/Kconfig b/sound/soc/sof/Kconfig index cfb244e4e142..37f7df5fde17 100644 --- a/sound/soc/sof/Kconfig +++ b/sound/soc/sof/Kconfig @@ -215,6 +215,7 @@ config SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST_NUM config SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR tristate "SOF enable IPC message injector" + depends on SND_SOC_SOF select SND_SOC_SOF_CLIENT help This option enables the IPC message injector which can be used to send