From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755144AbXIYNo1 (ORCPT ); Tue, 25 Sep 2007 09:44:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752308AbXIYNoT (ORCPT ); Tue, 25 Sep 2007 09:44:19 -0400 Received: from www.osadl.org ([213.239.205.134]:40139 "EHLO mail.tglx.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752209AbXIYNoT (ORCPT ); Tue, 25 Sep 2007 09:44:19 -0400 Subject: Re: 2.6.23-rc8-mm1, -rc7-mm1 kill audio on HP nx6325 From: Thomas Gleixner To: "Rafael J. Wysocki" Cc: Andrew Morton , Andi Kleen , Takashi Iwai , LKML In-Reply-To: <200709251520.09794.rjw@sisk.pl> References: <200709251408.54361.rjw@sisk.pl> <1190722710.4035.320.camel@chaos> <200709251520.09794.rjw@sisk.pl> Content-Type: text/plain Date: Tue, 25 Sep 2007 15:44:03 +0200 Message-Id: <1190727843.4035.345.camel@chaos> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 (2.12.0-3.fc8) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2007-09-25 at 15:20 +0200, Rafael J. Wysocki wrote: > > The patch is correct. Instead of returning "Success" in the case of a > > failure of lookup_address, it now returns -EINVAL, which in turn makes > > the ioremap fail. > > > > OTOH, the driver ioremap call looks straight forward. Can you apply the > > patch below and provide the resulting debug output please ? > > lookup failed for 18446604438082158592 > [--snipped some USB messages--] > ALSA /home/rafael/src/mm/linux-2.6.23-rc8-mm1/sound/pci/hda/hda_intel.c:1756: hda-intel: ioremap error: 2349334528 16384 Stupid me, hex formatting would have been easier to read :) Lookup failed for 0xFFFF 8100 8C08 0000 ioremap: 0x0000 0000 8C08 0000 length 16384 It seems, that this patch only reveals some other wreckage. The code is called as part of ioremap, where it adjusts the caching attributes of the mapping, which was setup right before change_page_attr_address() is called. tglx