All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH 5/8] sound: intel/sst: don't pass GFP_DMA32	to	dma_alloc_coherent
Date: Sun, 14 Oct 2018 09:46:44 +0200	[thread overview]
Message-ID: <s5hefctm0m3.wl-tiwai@suse.de> (raw)
In-Reply-To: <s5ho9bxn7ho.wl-tiwai@suse.de>

[ Dropping other MLs ]

On Sat, 13 Oct 2018 18:20:35 +0200,
Takashi Iwai wrote:
> 
> On Sat, 13 Oct 2018 17:17:04 +0200,
> Christoph Hellwig wrote:
> > 
> > The DMA API does its own zone decisions based on the coherent_dma_mask.
> > 
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
> Reviewed-by: Takashi Iwai <tiwai@suse.de>

Mark, let me know whether you'd take this via your tree or may I take
via mine (with a minor correction of the subject line).

FWIW, the driver sets the 31bit (!) DMA mask, and that's the likely
reason of GFP_DMA passed there in the original code.


thanks,

Takashi

> 
> 
> thanks,
> 
> Takashi
> 
> > ---
> >  sound/soc/intel/common/sst-firmware.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c
> > index 11041aedea31..1e067504b604 100644
> > --- a/sound/soc/intel/common/sst-firmware.c
> > +++ b/sound/soc/intel/common/sst-firmware.c
> > @@ -355,7 +355,7 @@ struct sst_fw *sst_fw_new(struct sst_dsp *dsp,
> >  
> >  	/* allocate DMA buffer to store FW data */
> >  	sst_fw->dma_buf = dma_alloc_coherent(dsp->dma_dev, sst_fw->size,
> > -				&sst_fw->dmable_fw_paddr, GFP_DMA | GFP_KERNEL);
> > +				&sst_fw->dmable_fw_paddr, GFP_KERNEL);
> >  	if (!sst_fw->dma_buf) {
> >  		dev_err(dsp->dev, "error: DMA alloc failed\n");
> >  		kfree(sst_fw);
> > -- 
> > 2.19.1
> > 
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

  reply	other threads:[~2018-10-14  7:46 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-13 15:16 remove bogus GFP_DMA32 flags for dma allocations Christoph Hellwig
2018-10-13 15:16 ` Christoph Hellwig
2018-10-13 15:17 ` [PATCH 1/8] cpufreq: tegra186: don't pass GFP_DMA32 to dma_alloc_coherent Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-15  7:43   ` Rafael J. Wysocki
2018-10-15  7:43     ` Rafael J. Wysocki
2018-10-17  7:19     ` Christoph Hellwig
2018-10-17  7:19       ` Christoph Hellwig
2018-10-17  7:19       ` Christoph Hellwig
2018-10-17  7:22       ` Rafael J. Wysocki
2018-10-17  7:22         ` Rafael J. Wysocki
2018-10-13 15:17 ` [PATCH 2/8] firmware: tegra: " Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-13 15:17 ` [PATCH 3/8] spi: pic32-sqi: " Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-17 11:55   ` Applied "spi: pic32-sqi: don't pass GFP_DMA32 to dma_alloc_coherent" to the spi tree Mark Brown
2018-10-17 11:55     ` Mark Brown
2018-10-17 11:55     ` Mark Brown
2018-10-13 15:17 ` [PATCH 4/8] sound: hpios: don't pass GFP_DMA32 to dma_alloc_coherent Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-13 16:18   ` [alsa-devel] " Takashi Iwai
2018-10-13 16:18     ` Takashi Iwai
2018-10-13 16:18     ` Takashi Iwai
2018-10-13 16:35     ` Christoph Hellwig
2018-10-13 16:35       ` [alsa-devel] " Christoph Hellwig
2018-10-13 16:35       ` Christoph Hellwig
2018-10-13 18:10       ` Takashi Iwai
2018-10-13 18:10         ` Takashi Iwai
2018-10-13 18:10         ` Takashi Iwai
2018-10-13 15:17 ` [PATCH 5/8] sound: intel/sst: " Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-13 16:20   ` [alsa-devel] " Takashi Iwai
2018-10-13 16:20     ` Takashi Iwai
2018-10-13 16:20     ` Takashi Iwai
2018-10-14  7:46     ` Takashi Iwai [this message]
2018-10-15  9:58       ` Mark Brown
2018-10-17  7:19         ` Christoph Hellwig
2018-10-17  9:55           ` Mark Brown
2018-10-17 11:54   ` Applied "ASoC: intel: don't pass GFP_DMA32 to dma_alloc_coherent" to the asoc tree Mark Brown
2018-10-17 11:54     ` Mark Brown
2018-10-17 11:54     ` Mark Brown
2018-10-17 11:54     ` Mark Brown
2018-10-13 15:17 ` [PATCH 6/8] drm: sti: don't pass GFP_DMA32 to dma_alloc_wc Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-15  9:12   ` Benjamin Gaignard
2018-10-15  9:12     ` Benjamin Gaignard
2018-10-16 12:41     ` Benjamin Gaignard
2018-10-16 12:41       ` Benjamin Gaignard
2018-10-16 12:41       ` Benjamin Gaignard
2018-10-17  7:19       ` Christoph Hellwig
2018-10-17  7:19         ` Christoph Hellwig
2018-10-17  7:19         ` Christoph Hellwig
2018-10-18 11:59         ` Benjamin Gaignard
2018-10-18 11:59           ` Benjamin Gaignard
2018-10-18 11:59           ` Benjamin Gaignard
2018-10-13 15:17 ` [PATCH 7/8] media: sti/bdisp: don't pass GFP_DMA32 to dma_alloc_attrs Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig
2018-10-15  9:12   ` Benjamin Gaignard
2018-10-15  9:12     ` Benjamin Gaignard
2018-10-17  7:20     ` Christoph Hellwig
2018-10-17  7:20       ` Christoph Hellwig
2018-10-18 12:00       ` Benjamin Gaignard
2018-10-18 12:00         ` Benjamin Gaignard
2018-12-05 10:31         ` Mauro Carvalho Chehab
2018-12-05 10:31           ` Mauro Carvalho Chehab
2018-12-05 10:31           ` Mauro Carvalho Chehab
2018-10-13 15:17 ` [PATCH 8/8] fsl-diu-fb: don't pass GFP_DMA32 to dmam_alloc_coherent Christoph Hellwig
2018-10-13 15:17   ` Christoph Hellwig

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=s5hefctm0m3.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=hch@lst.de \
    /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.