From patchwork Fri Sep 15 07:56:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liao, Bard" X-Patchwork-Id: 723194 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 0F5B5EE6431 for ; Fri, 15 Sep 2023 07:50:37 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 519F083A; Fri, 15 Sep 2023 09:49:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 519F083A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1694764235; bh=wwVTAWX9gcEoa388hHuAXpX/wtgQF+mnPZRHUVGuysM=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=ocBAkK5TiUhVqXz1JSgAuAJ0S+b8TL1p1RpY7eZx0NnZeGKlJ9Tp35VDzuuWx+7Ys XyL6TZrVjfpo9btmZAHOdfG6UazE9ulU1D7sIlfOW0bIppDpYV2RmfjTECPGVsm5or U30xyzfdOOBln59QcnEhfGCtDmvDk/SRcCTsUbG4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A24B8F8055A; Fri, 15 Sep 2023 09:49:15 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1D517F80537; Fri, 15 Sep 2023 09:49:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A5AB2F80549; Fri, 15 Sep 2023 09:49:09 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) (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 9282DF80246 for ; Fri, 15 Sep 2023 09:49:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9282DF80246 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=lhKgYwuF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694764144; x=1726300144; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wwVTAWX9gcEoa388hHuAXpX/wtgQF+mnPZRHUVGuysM=; b=lhKgYwuF6M0JveG/w7UPJGL5nDVzhfFwVTuyMMmOjyUGtJcTRLQ35TJc yR5jdrXAh0twhCxrvFzE2jnqt6e+IAbu5acjBjkc3v7Dkn/zdkVQIdnMw EMgCtD0JuHKSbcuZLWS56FXgSELdqQTZHbuWzaXAs+UFHB7X7qEGBUcU+ YmnBl9ak2BaAJWbYHHgNf4m8rKqgqNh2E8ahQ7TPHomUa8VWXgOi9cwYS rQ+JSaf0nQg7wiN4FbftN3juai0xyJAyXXEiQtboQyTHUb3Ybbaw5F5dW zJEmiE6LrmGVb0Cj8eCrP8I1p8DW7BVSeQXyAhw9rm7slDhg6I1x+W+/o w==; X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="376527513" X-IronPort-AV: E=Sophos;i="6.02,148,1688454000"; d="scan'208";a="376527513" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2023 00:48:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="779998337" X-IronPort-AV: E=Sophos;i="6.02,148,1688454000"; d="scan'208";a="779998337" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2023 00:47:32 -0700 From: Bard Liao To: broonie@kernel.org, tiwai@suse.de Cc: alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com, peter.ujfalusi@linux.intel.com, ckeepax@opensource.cirrus.com Subject: [PATCH 0/4] ASoC: intel: sof_sdw: Remove large global CPUs array Date: Fri, 15 Sep 2023 15:56:07 +0800 Message-Id: <20230915075611.1619548-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Message-ID-Hash: A2K4GHTQDB2SO5N54K7IDF5IB37OC4KY X-Message-ID-Hash: A2K4GHTQDB2SO5N54K7IDF5IB37OC4KY X-MailFrom: yung-chuan.liao@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Rather than keeping a single array of CPU dai link components allocate a smaller one for each DAI link, this reduces the amount of state that needs to be passed back and forth in the driver. Charles Keepax (4): ASoC: intel: sof_sdw: Move sdw_pin_index into private struct ASoC: intel: sof_sdw: Add simple DAI link creation helper ASoC: intel: sof_sdw: Make create_sdw_dailink allocate link components ASoC: intel: sof_sdw: Increment be_id in init_dai_link sound/soc/intel/boards/sof_sdw.c | 244 ++++++++++-------------- sound/soc/intel/boards/sof_sdw_common.h | 4 + 2 files changed, 101 insertions(+), 147 deletions(-)