mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Boaz Harrosh <boaz@plexistor.com>
Cc: Stable Tree <stable@vger.kernel.org>,
	Greg KH <gregkh@linuxfoundation.org>,
	Dan Williams <dan.j.williams@intel.com>,
	linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	linux-nvdimm@ml01.01.org, Jaroslav Kysela <perex@perex.cz>,
	Jeff Moyer <jmoyer@redhat.com>
Subject: Re: [PATCH] sound: depend on ZONE_DMA
Date: Mon, 16 Nov 2015 10:28:32 +0100	[thread overview]
Message-ID: <s5hd1vafg3j.wl-tiwai@suse.de> (raw)
In-Reply-To: <56499AB4.6060507@plexistor.com>

On Mon, 16 Nov 2015 09:58:28 +0100,
Boaz Harrosh wrote:
> 
> On 11/16/2015 09:40 AM, Takashi Iwai wrote:
> > On Sun, 15 Nov 2015 11:53:11 +0100,
> > Boaz Harrosh wrote:
> >>
> >> On 11/12/2015 10:38 PM, Takashi Iwai wrote:
> >>> On Thu, 12 Nov 2015 21:13:57 +0100,
> >>> Dan Williams wrote:
> >>>>
> >>>> There are several sound drivers that 'select ZONE_DMA'.  This is
> >>>> backwards as ZONE_DMA is an architecture capability exported to drivers.
> >>>> Switch the polarity of the dependency to disable these drivers when the
> >>>> architecture does not support ZONE_DMA.  This was discovered in the
> >>>> context of testing/enabling devm_memremap_pages() which depends on
> >>>> ZONE_DEVICE.  ZONE_DEVICE in turn depends on !ZONE_DMA.
> >>>
> >>> Makes sense.  I applied it now, thanks.
> >>>
> >>
> >> Please add:
> >> CC: Stable Tree <stable@vger.kernel.org>
> > 
> > Sorry, too late, already merged.
> > 
> > 
> > Takashi
> > 
> 
> Hi Greg
> 
> Please include the mainline patch:
> 	[2db1a57] ALSA: pci: depend on ZONE_DMA (by Dan Williams)
> 
> To the stable tree for v4.3.X Kernel.
> 
> This patch is needed for proper operation of the 4.3 pmem.ko driver. Long
> story, but without this patch the persistent-memory will not be able to
> work with the new 4.3 support of page-struct which is needed if we want to
> RDMA and/or IO directly to persistent memory.
> [Is to do with the new ZONE_DEVICE and too many ZONE(s) if ZONE_DMA is enabled]

Well, it's not exactly true: you just need to deselect some drivers to
allow CONFIG_ZONE_DMA to be disabled.  It's merely another side of
coin.

I don't mind including this to 4.3, though, but just want to correct
the statement.


Takashi

  reply	other threads:[~2015-11-16  9:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 20:13 Dan Williams
2015-11-12 20:38 ` Takashi Iwai
2015-11-15 10:53   ` Boaz Harrosh
2015-11-16  7:40     ` Takashi Iwai
2015-11-16  8:58       ` Boaz Harrosh
2015-11-16  9:28         ` Takashi Iwai [this message]
2015-11-16  9:49           ` Boaz Harrosh
2015-11-15 10:16 ` Boaz Harrosh

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=s5hd1vafg3j.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=boaz@plexistor.com \
    --cc=dan.j.williams@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jmoyer@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvdimm@ml01.01.org \
    --cc=perex@perex.cz \
    --cc=stable@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome