Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753664AbbBRUjP (ORCPT ); Wed, 18 Feb 2015 15:39:15 -0500 Received: from one.firstfloor.org ([193.170.194.197]:46855 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753120AbbBRUjL (ORCPT ); Wed, 18 Feb 2015 15:39:11 -0500 Date: Wed, 18 Feb 2015 21:39:09 +0100 From: Andi Kleen To: Tim Chen Cc: Alan Stern , Sergei Shtylyov , Greg Kroah-Hartman , Jiri Slaby , "H. Peter Anvin" , Akinobu Mita , Mathias Nyman , Andi Kleen , Ingo Molnar , Andrew Morton , Marek Szyprowski , Thomas Gleixner , linux-kernel@vger.kernel.org, x86@kernel.org, linux-usb@vger.kernel.org, stable , torvalds@linux-foundation.org Subject: Re: [PATCH] pci-dma: Fix x86 dma_alloc_coherent to fully clear all pages returned Message-ID: <20150218203909.GE13991@two.firstfloor.org> References: <1424290743.9530.122.camel@schen9-desk2.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1424290743.9530.122.camel@schen9-desk2.jf.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1207 Lines: 32 > > Have you tried doing the experiments I suggested in > > > > http://marc.info/?l=linux-usb&m=142272448620716&w=2 > > > > to determine where the problem occurs? > > > > I was bogged down with other things lately and I haven't got a chance to > test that. But as you said, there's very few places where xhci > call this memory allocation. So I think the problem has been fairly > narrowed down for the XHCI folks. Also I don't really understand why we're even discussing this. The patch only makes an widely used API behave as it was before. Who knows who else was broken with this change. There's no sane way to audit all users. There is no real advantage of the new behavior. The only good way is to revert to old behavior, like in Tim's original patch. And doing it quickly for mainline and stable. FWIW we have a large number of systems here that are broken without this change. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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/