Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1120137rwl; Wed, 12 Apr 2023 08:30:40 -0700 (PDT) X-Google-Smtp-Source: AKy350avMXL4zHn4a0hKTNz2iijv1I5t9tvUDYEOEjS7iisjgxoce1Ua+h55yhLOZj0FkIL9RJpH X-Received: by 2002:a05:6a20:8592:b0:da:7036:dfa4 with SMTP id s18-20020a056a20859200b000da7036dfa4mr18416504pzd.32.1681313439856; Wed, 12 Apr 2023 08:30:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681313439; cv=none; d=google.com; s=arc-20160816; b=EhERDZ9QBi7XokrxcviM+7mwFgCQ/drFDaIcXxF8objRX5DDqUH/QypaU8cdr6h1q4 yqlPcKPiZnBFi1wrPlMn/Epayi67ISenMIEMb/zy5f6DuCeFgKYjgg9WdQtdwk5NRwMf +QZSVK4xGinRzLjnJtvt7VQ+xUvk8YnX6XUm7VJwvDlIN15GTWYGFmgOBEhNoW+jT+gh AyOMKjXb6puNoz0gjWupdziUdX7+2qxqyEeTyhTASnbsD3fTeG/e5m9kwwzSVT07pCh+ 2pzUP9PTjK/E7WTuCX72R8Lzo3ohc6bdWZmR3j2r3udH9H93BhZoXD4kmKy0qd9zFQy9 xntA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HrR5QStXcox1tESt21K0pfZ5Tbofvio5yqeGtZDz688=; b=ssGjiHr8kPMG4Lore+zNoQscMtVEpp1yaJ4J+50PAYd1QLyUVrdzZWByiYC8szWalH bLQN+8o3S3iUs1qhMybs6SqB/PRRIYGVU17wmKbDX605OaxbXP3OAJzUbVF1P565x5dB 9WdoQNdtvs74Y7r4HrFURwRI5tOVhPaZeDGH+jKQwdnjj8Qw1bqsn4uhrhVPq201oJFr ie1yaCZ1ipahqdTqujChEc2uBesso7DxJdCsEG2DyXmIarXkv02gyWVnZGwOCZiX9OmI F4aIMEqdvH1imCr2uNKlQLW978ZlammK7cdwGgPvUQHx6Iiwern+ZEJi0ZpVU/mDWt8i c1MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gB6iZ//O"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x70-20020a638649000000b004fc2aebe0easi10065934pgd.865.2023.04.12.08.30.27; Wed, 12 Apr 2023 08:30:39 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="gB6iZ//O"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231509AbjDLPXQ (ORCPT + 99 others); Wed, 12 Apr 2023 11:23:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231364AbjDLPXL (ORCPT ); Wed, 12 Apr 2023 11:23:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BADF18A61 for ; Wed, 12 Apr 2023 08:22:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0586E62A6F for ; Wed, 12 Apr 2023 15:22:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBF49C433D2; Wed, 12 Apr 2023 15:22:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681312955; bh=GWxm8P+3Ri5Spbf8k+0TVoJwpCVsLbHE0FFcIy1IECU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gB6iZ//OBzRXCmp4HY29Hj7DLDG6NFPgzgXKwSEpoRx1cfAvvBjlKxZZaB885ZCN3 Ejo6670fu8hEjq4YLGqsg0j039IGh9A6C62MrkYhqvefL1KzuSHLYfdlJEgDAu3N0o PN7tY2DkX5zKHfaiIhk0xlbgoCJuMsGo3Cfb2XfRPI9a0VQdLapKVR2SK23RaoU+Hq znG6UK36Q/Bc4YMBanB6pXj/JNZTsznvFNqg0LOvmp7j3NgB6ADSdv71GQtNc8RIKY o7Cf5Fx2QKVyhK/1fs/p/DroDAMQwsnLRTLBeum6KDo3NB8aVC1Z2Xz7KLMnWF0jWA nieeUnlhZdr5g== Date: Wed, 12 Apr 2023 20:52:31 +0530 From: Vinod Koul To: Pierre-Louis Bossart Cc: Bard Liao , alsa-devel@alsa-project.org, broonie@kernel.org, linux-kernel@vger.kernel.org, bard.liao@intel.com, tiwai@suse.de Subject: Re: [PATCH 00/20] ASoC/soundwire: add support for ACE2.x Message-ID: References: <20230323054452.1543233-1-yung-chuan.liao@linux.intel.com> <27493df8-e1c7-1a8b-e77e-dc3bd495567b@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27493df8-e1c7-1a8b-e77e-dc3bd495567b@linux.intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: X-Mailing-List: linux-kernel@vger.kernel.org On 12-04-23, 09:11, Pierre-Louis Bossart wrote: > > > On 4/12/23 05:07, Vinod Koul wrote: > > On 23-03-23, 13:44, Bard Liao wrote: > >> This series uses the abstraction added in past kernel cycles to provide > >> support for the ACE2.x integration. The existing SHIM and Cadence > > > > ACE2..? > > Not sure I get the comment, this refers to the IP version. What does ACE mean, it should be expanded so that people know what it might refer to..? > > ACE 2.0 IP used in LunarLake, x refers to future TDB versions. > > BTW this depends on the series "[PATCH v2 00/18] ASoC: SOF: Intel: > hda-mlink: HDaudio multi-link extension update" applied yesterday by > Mark. It'd be really nice if we can have this in 6.4-rc1 to continue > adding the rest of the Lunar Lake patches. That should be mentioned in cover, I can ack this if okay and Mark might apply..? or u folks have something else in mind? > > We tried to limit the number of changes impacting both ASoC and > SoundWire subsystems but there's mechanically 2 merges needed (ASoC -> > SoundWire for the hda-mlink dependency and SoundWire->ASoC for the > interface changes below). > > > > >> registers are now split in 3 (SHIM, IP, SHIM vendor-specific), with some > >> parts also moved to the HDaudio Extended Multi link structures. Nothing > >> fundamentally different except for the register map. > >> > >> This series only provides the basic mechanisms to expose SoundWire-based > >> DAIs. The PCI parts and DSP management will be contributed later, and the > >> DAI ops are now empty as well. > >> > >> The change is mainly on SoundWire. It would be better to go through > >> SoundWire tree. > >> > >> Pierre-Louis Bossart (20): > >> ASoC: SOF: Intel: shim: add enum for ACE 2.0 IP used in LunarLake > >> soundwire: intel: add ACE2.x SHIM definitions > >> soundwire: intel_ace2x: add empty new ops for LunarLake > >> soundwire/ASOC: Intel: update offsets for LunarLake > >> soundwire: intel/cadence: set ip_offset at run-time > >> ASoC/soundwire: intel: pass hdac_bus pointer for link management > >> soundwire: intel: add eml_lock in the interface for new platforms > >> ASoC: SOF: Intel: hda: retrieve SoundWire eml_lock and pass pointer > >> soundwire: intel_init: use eml_lock parameter > >> soundwire: intel_ace2x: add debugfs support > >> soundwire: intel_ace2x: add link power-up/down helpers > >> soundwire: intel_ace2x: set SYNCPRD before powering-up > >> soundwire: intel_ace2x: configure link PHY > >> soundwire: intel_ace2x: add DAI registration > >> soundwire: intel_ace2x: add sync_arm/sync_go helpers > >> soundwire: intel_ace2x: use common helpers for bus start/stop > >> soundwire: intel_ace2x: enable wake support > >> soundwire: intel_ace2x: add check_cmdsync_unlocked helper > >> soundwire: bus: add new manager callback to deal with peripheral > >> enumeration > >> soundwire: intel_ace2x: add new_peripheral_assigned callback > >> > >> drivers/soundwire/Makefile | 3 +- > >> drivers/soundwire/bus.c | 3 + > >> drivers/soundwire/cadence_master.h | 2 + > >> drivers/soundwire/intel.h | 16 + > >> drivers/soundwire/intel_ace2x.c | 390 ++++++++++++++++++++++++ > >> drivers/soundwire/intel_ace2x_debugfs.c | 147 +++++++++ > >> drivers/soundwire/intel_auxdevice.c | 17 ++ > >> drivers/soundwire/intel_init.c | 21 +- > >> include/linux/soundwire/sdw.h | 3 +- > >> include/linux/soundwire/sdw_intel.h | 88 ++++++ > >> sound/soc/sof/intel/hda.c | 31 +- > >> sound/soc/sof/intel/shim.h | 1 + > >> 12 files changed, 711 insertions(+), 11 deletions(-) > >> create mode 100644 drivers/soundwire/intel_ace2x.c > >> create mode 100644 drivers/soundwire/intel_ace2x_debugfs.c > >> > >> -- > >> 2.25.1 > > -- ~Vinod