[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFyafh6cCiV=mMA6Z7qtWqBrJ_pGPev09PP14nJ8Hc=vmg@mail.gmail.com>
Date: Mon, 16 Jan 2012 16:02:31 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Jeff Garzik <jeff@...zik.org>, Matthew Garrett <mjg@...hat.com>,
Lin Ming <ming.m.lin@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-ide@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [git patches] libata updates for 3.3
On Mon, Jan 16, 2012 at 3:54 PM, Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
>> Part of the problem with force-enable is that the MMIO BAR may need a
>> value, and not have it. That, and an expectations mismatch between BIOS
>
> That's fine - we can happily assign one at boot time.
Actually, I think the reason that Matthews patch doesn't work for me
is that on my device, BAR #5 really is a _port_ BAR.
I didn't play with it much - busy merging and looking at various other
issues - but I'm starting to wonder whether maybe that 8086:1c01 chip
doesn't support AHCI at all. Or maybe it does something differently.
Other reports of this have BAR#5 either clear, or an MMIO BAR. That
Region 5: I/O ports at ffe0 [size=16]
looks really odd. Matthew's patch uses
pci_assign_resource(pdev, 5);
but if it is a PIO region, that won't help anything..
That may be why it oopses for me - the AHCI driver is trying to use a
PIO address as an MMIO one with readl().
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists