Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752518AbbKPJB3 (ORCPT ); Mon, 16 Nov 2015 04:01:29 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:37750 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752142AbbKPI6c (ORCPT ); Mon, 16 Nov 2015 03:58:32 -0500 Message-ID: <56499AB4.6060507@plexistor.com> Date: Mon, 16 Nov 2015 10:58:28 +0200 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Takashi Iwai , Stable Tree , Greg KH CC: Dan Williams , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-nvdimm@ml01.01.org, Jaroslav Kysela , Jeff Moyer Subject: Re: [PATCH] sound: depend on ZONE_DMA References: <20151112201357.11045.22705.stgit@dwillia2-desk3.jf.intel.com> <56486417.7090802@plexistor.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1575 Lines: 48 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 > > 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] Thanks Boaz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/