Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1097876ybk; Wed, 20 May 2020 21:39:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8b0RGY9m/nuneolgn5rI1PyT1dYFsQFnL7LX9OkUFqDepJXrTZ0wCNhnyvQtI66Z27aLC X-Received: by 2002:aa7:dc49:: with SMTP id g9mr6043803edu.62.1590035962957; Wed, 20 May 2020 21:39:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590035962; cv=none; d=google.com; s=arc-20160816; b=uybhA81mq1N9F9cw7mArHls12cB7aJhfK78QnlMLraA/bJeYSOcLgAl/j4uXcCsw6R 1x2IgMUK9HsK+FDkgfRKBsPAMZl7BFXthFg+XGtV5LJNf7NOWp16hPu71Xph5Rr3r4sS gyoNfMwHrzFfZCxKo2XlUtj49QkxhSc7pnAFw/l6iYlV6lEfC7D1R5gHuIhvd/vpS5DL 8nBh4RsCeD4x8uBqBeuYV6z7s2p//wrVaqSDToBrI+J2itMUVqqeqv/GU7Kb7E1D0L5+ Sx7BVmAmao7kwg6FOQuIkH3NK1TsBSro3TgZQKIoOmPQqCMaqIL4j4LnAl1J6nxtEQqb 9PfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ehKE2b5eF9EgHQwg18T7D+dIqDY6tPlfFzYuh55LMPg=; b=Z17Amc0kvQyKJ2+AqD3lQz0XM+GcAcv2Fa7TDK7cyC32KnAru15CJAgGKiwNcX7vht 34CjJnYvn1PTWAzpkImipRkDQdcTbJ3JLLvWTmzagDylP/tSfMo/SNkmgtsk5otIYDDp K8wL+548uPfFzdejX3jSfj3SGIVdlIAqpeTAv97jiYRaIS87zg1uo2aMbnGXKJHZi2j9 jj77mcI6vsg4JDm/gOrLErGCpaNNjw05jEdEOUyMo7sPbLr6ZZnywE8Z7hkEsNT8YaQb ClP0jEx7+TkxLjS6Rm4PDBIQNPwMtgTzchNafaHT3goexLyDmk56maBB6YNWSCoVIuEr XbDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nxn0djuS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si2513849edx.388.2020.05.20.21.38.59; Wed, 20 May 2020 21:39:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nxn0djuS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727049AbgEUEg7 (ORCPT + 99 others); Thu, 21 May 2020 00:36:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:46656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726968AbgEUEg7 (ORCPT ); Thu, 21 May 2020 00:36:59 -0400 Received: from localhost (unknown [106.200.226.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 39F3E206D4; Thu, 21 May 2020 04:36:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590035819; bh=MA7haufr2rOvAnUOgYCt9oKAn9zrsqgUr5NKmHSkYiA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nxn0djuSvW5KFjPJ+JBsOrpo+bc5SYjBYZ+jiODEMYp2NZp8DstO4wfXYNrWAX53Z /RExFCtZpbMhO79mpPuIetbBzA6IJCo3slD+bvcowFTp3VdMxRrEQ1bUfFrlO90+Zj BhE342TjjZ1I1DYMtkH3H26ERD5mi4K0wj1Gx3mQ= Date: Thu, 21 May 2020 10:06:55 +0530 From: Vinod Koul To: "Liao, Bard" Cc: Bard Liao , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , "tiwai@suse.de" , "broonie@kernel.org" , "gregkh@linuxfoundation.org" , "jank@cadence.com" , "srinivas.kandagatla@linaro.org" , "rander.wang@linux.intel.com" , "ranjani.sridharan@linux.intel.com" , "hui.wang@canonical.com" , "pierre-louis.bossart@linux.intel.com" , "Kale, Sanyog R" , "Blauciak, Slawomir" , "Lin, Mengdong" Subject: Re: [PATCH 2/2] soundwire: intel: transition to 3 steps initialization Message-ID: <20200521043655.GA374218@vkoul-mobl.Dlink> References: <20200519191903.6557-1-yung-chuan.liao@linux.intel.com> <20200519191903.6557-2-yung-chuan.liao@linux.intel.com> <20200520135425.GX374218@vkoul-mobl.Dlink> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-05-20, 02:23, Liao, Bard wrote: > > -----Original Message----- > > From: Vinod Koul > > Sent: Wednesday, May 20, 2020 9:54 PM > > To: Bard Liao > > Cc: alsa-devel@alsa-project.org; linux-kernel@vger.kernel.org; tiwai@suse.de; > > broonie@kernel.org; gregkh@linuxfoundation.org; jank@cadence.com; > > srinivas.kandagatla@linaro.org; rander.wang@linux.intel.com; > > ranjani.sridharan@linux.intel.com; hui.wang@canonical.com; pierre- > > louis.bossart@linux.intel.com; Kale, Sanyog R ; > > Blauciak, Slawomir ; Lin, Mengdong > > ; Liao, Bard > > Subject: Re: [PATCH 2/2] soundwire: intel: transition to 3 steps initialization > > > > On 20-05-20, 03:19, Bard Liao wrote: > > > From: Pierre-Louis Bossart > > > > > > Rather than a plain-vanilla init/exit, this patch provides 3 steps in > > > the initialization (ACPI scan, probe, startup) which makes it easier to > > > detect platform support for SoundWire, allocate required resources as > > > early as possible, and conversely help make the startup() callback > > > lighter-weight with only hardware register setup. > > > > Okay but can you add details in changelog on what each step would do? > > Sure. Will do. > > > > > > @@ -1134,25 +1142,15 @@ static int intel_probe(struct platform_device > > *pdev) > > > > > > intel_pdi_ch_update(sdw); > > > > > > - /* Acquire IRQ */ > > > - ret = request_threaded_irq(sdw->link_res->irq, > > > - sdw_cdns_irq, sdw_cdns_thread, > > > - IRQF_SHARED, KBUILD_MODNAME, &sdw- > > >cdns); > > > > This is removed here but not added anywhere else, do we have no irq > > after this patch? > > We use a single irq for all Intel Audio DSP events and it will > be requested in the SOF driver. And how will the irq be propagated to sdw/cdns drivers here? -- ~Vinod