All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Shengjiu Wang <shengjiu.wang@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>,
	Shengjiu Wang <shengjiu.wang@nxp.com>,
	Timur Tabi <timur@kernel.org>,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	Xiubo Li <Xiubo.Lee@gmail.com>,
	Fabio Estevam <festevam@gmail.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	perex@perex.cz, Takashi Iwai <tiwai@suse.com>,
	shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, linux-imx@nxp.com,
	Sumit Semwal <sumit.semwal@linaro.org>,
	Linux-ALSA <alsa-devel@alsa-project.org>,
	linuxppc-dev@lists.ozlabs.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linaro-mm-sig@lists.linaro.org
Subject: Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe
Date: Fri, 22 May 2020 14:12:42 +0100	[thread overview]
Message-ID: <20200522131242.GI5801@sirena.org.uk> (raw)
In-Reply-To: <CAA+D8AOiVVi3B4dzU8r=rCMz=6w9R=wxBkzAQ=0=RAQLKCWy8Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

On Thu, May 21, 2020 at 07:30:04PM +0800, Shengjiu Wang wrote:
> On Wed, May 20, 2020 at 8:38 PM Mark Brown <broonie@kernel.org> wrote:

> > Other drivers having problems means those drivers should be fixed, not
> > that we should copy the problems.  In the case of the PXA driver that's
> > very old code which predates deferred probe by I'd guess a decade.

> Thanks.

> For the FE-BE case, do you have any suggestion for how fix it?

> With DMA1->ASRC->DMA2->ESAI case, the DMA1->ASRC->DMA2
> is in FE,  ESAI is in BE.  When ESAI drvier probe,  DMA3 channel is
> created with ESAI's "dma:tx" (DMA3 channel
> is not used in this FE-BE case).    When FE-BE startup, DMA2
> channel is created, it needs the ESAI's "dma:tx", so the warning
> comes out.

Not really TBH, this seems like another one of those csaes where DPCM is
creaking at the seams :/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Shengjiu Wang <shengjiu.wang@gmail.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>,
	linaro-mm-sig@lists.linaro.org,
	Linux-ALSA <alsa-devel@alsa-project.org>,
	linuxppc-dev@lists.ozlabs.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Timur Tabi <timur@kernel.org>, Xiubo Li <Xiubo.Lee@gmail.com>,
	shawnguo@kernel.org, Shengjiu Wang <shengjiu.wang@nxp.com>,
	Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	dri-devel@lists.freedesktop.org,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	linux-imx@nxp.com, kernel@pengutronix.de,
	linux-media@vger.kernel.org, Fabio Estevam <festevam@gmail.com>,
	s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org,
	Lucas Stach <l.stach@pengutronix.de>
Subject: Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe
Date: Fri, 22 May 2020 14:12:42 +0100	[thread overview]
Message-ID: <20200522131242.GI5801@sirena.org.uk> (raw)
In-Reply-To: <CAA+D8AOiVVi3B4dzU8r=rCMz=6w9R=wxBkzAQ=0=RAQLKCWy8Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

On Thu, May 21, 2020 at 07:30:04PM +0800, Shengjiu Wang wrote:
> On Wed, May 20, 2020 at 8:38 PM Mark Brown <broonie@kernel.org> wrote:

> > Other drivers having problems means those drivers should be fixed, not
> > that we should copy the problems.  In the case of the PXA driver that's
> > very old code which predates deferred probe by I'd guess a decade.

> Thanks.

> For the FE-BE case, do you have any suggestion for how fix it?

> With DMA1->ASRC->DMA2->ESAI case, the DMA1->ASRC->DMA2
> is in FE,  ESAI is in BE.  When ESAI drvier probe,  DMA3 channel is
> created with ESAI's "dma:tx" (DMA3 channel
> is not used in this FE-BE case).    When FE-BE startup, DMA2
> channel is created, it needs the ESAI's "dma:tx", so the warning
> comes out.

Not really TBH, this seems like another one of those csaes where DPCM is
creaking at the seams :/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Shengjiu Wang <shengjiu.wang@gmail.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>,
	linaro-mm-sig@lists.linaro.org,
	Linux-ALSA <alsa-devel@alsa-project.org>,
	linuxppc-dev@lists.ozlabs.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Timur Tabi <timur@kernel.org>, Xiubo Li <Xiubo.Lee@gmail.com>,
	shawnguo@kernel.org, Shengjiu Wang <shengjiu.wang@nxp.com>,
	Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	dri-devel@lists.freedesktop.org, perex@perex.cz,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	linux-imx@nxp.com, kernel@pengutronix.de,
	linux-media@vger.kernel.org, Fabio Estevam <festevam@gmail.com>,
	s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org,
	Lucas Stach <l.stach@pengutronix.de>
Subject: Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe
Date: Fri, 22 May 2020 14:12:42 +0100	[thread overview]
Message-ID: <20200522131242.GI5801@sirena.org.uk> (raw)
In-Reply-To: <CAA+D8AOiVVi3B4dzU8r=rCMz=6w9R=wxBkzAQ=0=RAQLKCWy8Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

On Thu, May 21, 2020 at 07:30:04PM +0800, Shengjiu Wang wrote:
> On Wed, May 20, 2020 at 8:38 PM Mark Brown <broonie@kernel.org> wrote:

> > Other drivers having problems means those drivers should be fixed, not
> > that we should copy the problems.  In the case of the PXA driver that's
> > very old code which predates deferred probe by I'd guess a decade.

> Thanks.

> For the FE-BE case, do you have any suggestion for how fix it?

> With DMA1->ASRC->DMA2->ESAI case, the DMA1->ASRC->DMA2
> is in FE,  ESAI is in BE.  When ESAI drvier probe,  DMA3 channel is
> created with ESAI's "dma:tx" (DMA3 channel
> is not used in this FE-BE case).    When FE-BE startup, DMA2
> channel is created, it needs the ESAI's "dma:tx", so the warning
> comes out.

Not really TBH, this seems like another one of those csaes where DPCM is
creaking at the seams :/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Shengjiu Wang <shengjiu.wang@gmail.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>,
	linaro-mm-sig@lists.linaro.org,
	Linux-ALSA <alsa-devel@alsa-project.org>,
	linuxppc-dev@lists.ozlabs.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Timur Tabi <timur@kernel.org>, Xiubo Li <Xiubo.Lee@gmail.com>,
	shawnguo@kernel.org, Shengjiu Wang <shengjiu.wang@nxp.com>,
	Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	dri-devel@lists.freedesktop.org, perex@perex.cz,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	linux-imx@nxp.com, kernel@pengutronix.de,
	linux-media@vger.kernel.org, Fabio Estevam <festevam@gmail.com>,
	s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org,
	Lucas Stach <l.stach@pengutronix.de>
Subject: Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe
Date: Fri, 22 May 2020 14:12:42 +0100	[thread overview]
Message-ID: <20200522131242.GI5801@sirena.org.uk> (raw)
In-Reply-To: <CAA+D8AOiVVi3B4dzU8r=rCMz=6w9R=wxBkzAQ=0=RAQLKCWy8Q@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 851 bytes --]

On Thu, May 21, 2020 at 07:30:04PM +0800, Shengjiu Wang wrote:
> On Wed, May 20, 2020 at 8:38 PM Mark Brown <broonie@kernel.org> wrote:

> > Other drivers having problems means those drivers should be fixed, not
> > that we should copy the problems.  In the case of the PXA driver that's
> > very old code which predates deferred probe by I'd guess a decade.

> Thanks.

> For the FE-BE case, do you have any suggestion for how fix it?

> With DMA1->ASRC->DMA2->ESAI case, the DMA1->ASRC->DMA2
> is in FE,  ESAI is in BE.  When ESAI drvier probe,  DMA3 channel is
> created with ESAI's "dma:tx" (DMA3 channel
> is not used in this FE-BE case).    When FE-BE startup, DMA2
> channel is created, it needs the ESAI's "dma:tx", so the warning
> comes out.

Not really TBH, this seems like another one of those csaes where DPCM is
creaking at the seams :/

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Shengjiu Wang <shengjiu.wang@gmail.com>
Cc: linaro-mm-sig@lists.linaro.org,
	Linux-ALSA <alsa-devel@alsa-project.org>,
	linuxppc-dev@lists.ozlabs.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Timur Tabi <timur@kernel.org>, Xiubo Li <Xiubo.Lee@gmail.com>,
	shawnguo@kernel.org, Shengjiu Wang <shengjiu.wang@nxp.com>,
	Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	dri-devel@lists.freedesktop.org, perex@perex.cz,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	linux-imx@nxp.com, kernel@pengutronix.de,
	linux-media@vger.kernel.org, s.hauer@pengutronix.de,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe
Date: Fri, 22 May 2020 14:12:42 +0100	[thread overview]
Message-ID: <20200522131242.GI5801@sirena.org.uk> (raw)
In-Reply-To: <CAA+D8AOiVVi3B4dzU8r=rCMz=6w9R=wxBkzAQ=0=RAQLKCWy8Q@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 851 bytes --]

On Thu, May 21, 2020 at 07:30:04PM +0800, Shengjiu Wang wrote:
> On Wed, May 20, 2020 at 8:38 PM Mark Brown <broonie@kernel.org> wrote:

> > Other drivers having problems means those drivers should be fixed, not
> > that we should copy the problems.  In the case of the PXA driver that's
> > very old code which predates deferred probe by I'd guess a decade.

> Thanks.

> For the FE-BE case, do you have any suggestion for how fix it?

> With DMA1->ASRC->DMA2->ESAI case, the DMA1->ASRC->DMA2
> is in FE,  ESAI is in BE.  When ESAI drvier probe,  DMA3 channel is
> created with ESAI's "dma:tx" (DMA3 channel
> is not used in this FE-BE case).    When FE-BE startup, DMA2
> channel is created, it needs the ESAI's "dma:tx", so the warning
> comes out.

Not really TBH, this seems like another one of those csaes where DPCM is
creaking at the seams :/

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2020-05-22 13:12 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19  9:41 [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe Shengjiu Wang
2020-05-19  9:41 ` Shengjiu Wang
2020-05-19  9:41 ` Shengjiu Wang
2020-05-19 10:01 ` Lucas Stach
2020-05-19 10:01   ` Lucas Stach
2020-05-19 10:01   ` Lucas Stach
2020-05-19 10:01   ` Lucas Stach
2020-05-20  8:20   ` Shengjiu Wang
2020-05-20  8:20     ` Shengjiu Wang
2020-05-20  8:20     ` Shengjiu Wang
2020-05-20  8:20     ` Shengjiu Wang
2020-05-20  8:20     ` Shengjiu Wang
2020-05-20  9:42     ` Lucas Stach
2020-05-20  9:42       ` Lucas Stach
2020-05-20  9:42       ` Lucas Stach
2020-05-20  9:42       ` Lucas Stach
2020-05-20  9:42       ` Lucas Stach
2020-05-20 11:22       ` Shengjiu Wang
2020-05-20 11:22         ` Shengjiu Wang
2020-05-20 11:22         ` Shengjiu Wang
2020-05-20 11:22         ` Shengjiu Wang
2020-05-20 11:22         ` Shengjiu Wang
2020-05-20 12:38         ` Mark Brown
2020-05-20 12:38           ` Mark Brown
2020-05-20 12:38           ` Mark Brown
2020-05-20 12:38           ` Mark Brown
2020-05-20 12:38           ` Mark Brown
2020-05-21 11:30           ` Shengjiu Wang
2020-05-21 11:30             ` Shengjiu Wang
2020-05-21 11:30             ` Shengjiu Wang
2020-05-21 11:30             ` Shengjiu Wang
2020-05-21 11:30             ` Shengjiu Wang
2020-05-22 13:12             ` Mark Brown [this message]
2020-05-22 13:12               ` Mark Brown
2020-05-22 13:12               ` Mark Brown
2020-05-22 13:12               ` Mark Brown
2020-05-22 13:12               ` Mark Brown
2021-04-14 14:33       ` Robin Gong
2021-04-14 14:33         ` Robin Gong
2021-04-14 14:33         ` Robin Gong
2021-04-14 14:33         ` Robin Gong
2021-04-14 14:33         ` Robin Gong
2021-04-14 15:33         ` Lucas Stach
2021-04-14 15:33           ` Lucas Stach
2021-04-14 15:33           ` Lucas Stach
2021-04-14 15:33           ` Lucas Stach
2021-04-14 15:33           ` Lucas Stach
2021-04-19  7:17           ` Robin Gong
2021-04-19  7:17             ` Robin Gong
2021-04-19  7:17             ` Robin Gong
2021-04-19  7:17             ` Robin Gong
2021-04-19  7:17             ` Robin Gong
2021-04-19  9:46             ` Lucas Stach
2021-04-19  9:46               ` Lucas Stach
2021-04-19  9:46               ` Lucas Stach
2021-04-19  9:46               ` Lucas Stach
2021-04-19  9:46               ` Lucas Stach
2021-04-20 13:47               ` Robin Gong
2021-04-20 13:47                 ` Robin Gong
2021-04-20 13:47                 ` Robin Gong
2021-04-20 13:47                 ` Robin Gong
2021-04-20 13:47                 ` Robin Gong
2021-04-20 14:00                 ` Lucas Stach
2021-04-20 14:00                   ` Lucas Stach
2021-04-20 14:00                   ` Lucas Stach
2021-04-20 14:00                   ` Lucas Stach
2021-04-20 14:00                   ` Lucas Stach
2021-04-21 14:54                   ` Robin Gong
2021-04-21 14:54                     ` Robin Gong
2021-04-21 14:54                     ` Robin Gong
2021-04-21 14:54                     ` Robin Gong
2021-04-21 14:54                     ` Robin Gong
2021-04-21 17:43                     ` Lucas Stach
2021-04-21 17:43                       ` Lucas Stach
2021-04-21 17:43                       ` Lucas Stach
2021-04-21 17:43                       ` Lucas Stach
2021-04-21 17:43                       ` Lucas Stach
2021-04-21 17:46                       ` Mark Brown
2021-04-21 17:46                         ` Mark Brown
2021-04-21 17:46                         ` Mark Brown
2021-04-21 17:46                         ` Mark Brown
2021-04-21 17:46                         ` Mark Brown
2021-04-22  3:33                       ` Robin Gong
2021-04-22  3:33                         ` Robin Gong
2021-04-22  3:33                         ` Robin Gong
2021-04-22  3:33                         ` Robin Gong
2021-04-22  3:33                         ` Robin Gong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200522131242.GI5801@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=Xiubo.Lee@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=l.stach@pengutronix.de \
    --cc=lgirdwood@gmail.com \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nicoleotsuka@gmail.com \
    --cc=perex@perex.cz \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=shengjiu.wang@gmail.com \
    --cc=shengjiu.wang@nxp.com \
    --cc=sumit.semwal@linaro.org \
    --cc=timur@kernel.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.