public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andi Kleen <ak@suse.de>, Takashi Iwai <tiwai@suse.de>,
	LKML <linux-kernel@vger.kernel.org>,
	discuss@x86-64.org
Subject: Re: 2.6.23-rc8-mm1, -rc7-mm1 kill audio on HP nx6325
Date: Tue, 25 Sep 2007 09:08:19 -0700	[thread overview]
Message-ID: <20070925090819.a7c6c3f3.akpm@linux-foundation.org> (raw)
In-Reply-To: <200709251353.52723.rjw@sisk.pl>

On Tue, 25 Sep 2007 13:53:51 +0200 "Rafael J. Wysocki" <rjw@sisk.pl> wrote:

> Hi,
> 
> This patch from Andi:
> 
> x86_64-mm-cpa-einval.patch
> 
> makes the hda_intel audio driver stop working on my HP nx6325.
> 
> The following line appears in dmesg (from 2.6.23-rc7-mm1:
> 
> ALSA /home/rafael/src/mm/linux-2.6.23-rc7-mm1/sound/pci/hda/hda_intel.c:1755: hd
> a-intel: ioremap error
> 
> and the driver doesn't work afterwards.
> 
> Still, I'm not sure if the patch above is wrong or rather it exposes a problem
> in the driver.
> 

Mysterious.

ioremap_nocache() does __ioremap(..., _PAGE_PCD);, then __ioremap() does
ioremap_page_range(..., _PAGE_PCD | other_stuff) That's one.

__ioremap() then does ioremap_change_attr(..., _PAGE_PCD);.  That's two.

So I _think_ we're setting _PAGE_PCD twice on those pte's?  Unclear.  The
implementation is rather different from i386, too.

I dunno why __change_page_attr() failed though.  Perhaps this, in
change_page_attr_addr():

		if (!kernel_map || pte_present(pfn_pte(0, prot))) {

should be &&

Andi's taking a bit of time off, so we may need to park this until he
resurfaces.

       reply	other threads:[~2007-09-25 16:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200709251353.52723.rjw@sisk.pl>
2007-09-25 16:08 ` Andrew Morton [this message]
2007-09-26  7:32   ` [discuss] 2.6.23-rc8-mm1, -rc7-mm1 kill audio on HP nx6325 Jan Beulich
2007-09-26  8:22     ` Thomas Gleixner
2007-09-25 12:08 Rafael J. Wysocki
2007-09-25 12:18 ` Thomas Gleixner
2007-09-25 13:20   ` Rafael J. Wysocki
2007-09-25 13:44     ` Thomas Gleixner
2007-09-25 14:29       ` Rafael J. Wysocki
2007-09-25 14:35         ` Thomas Gleixner

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=20070925090819.a7c6c3f3.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=ak@suse.de \
    --cc=discuss@x86-64.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox