Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757510AbYCVVfl (ORCPT ); Sat, 22 Mar 2008 17:35:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753883AbYCVVfd (ORCPT ); Sat, 22 Mar 2008 17:35:33 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:60429 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753773AbYCVVfc (ORCPT ); Sat, 22 Mar 2008 17:35:32 -0400 Date: Sat, 22 Mar 2008 14:33:53 -0700 (PDT) From: Linus Torvalds To: Stefan Richter , Ingo Molnar , Thomas Gleixner , Ivan Kokshaysky cc: Thomas Meyer , "Rafael J. Wysocki" , LKML , Adrian Bunk , Andrew Morton , Natalie Protasevich Subject: Re: ohci1394 problem (MMIO broken) (was 2.6.25-rc6-git6: Reported regressions from 2.6.24) In-Reply-To: <47E557D5.9020604@s5r6.in-berlin.de> Message-ID: References: <200803220259.48534.rjw@sisk.pl> <47E5350D.101@s5r6.in-berlin.de> <47E540E7.7030108@m3y3r.de> <47E54FA6.3060809@s5r6.in-berlin.de> <47E557D5.9020604@s5r6.in-berlin.de> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1033 Lines: 28 On Sat, 22 Mar 2008, Stefan Richter wrote: > > Can an MMIO region reside above 0x1'0000'0000 on x86-32? ... Apparently yes, > if CONFIG_RESOURCES_64BIT=y. Hmm. It would only work if PAE (HIGHMEM64G) is enabled too. And obviously the hardware has to have working 64-bit BAR's. AND no, I don't think our x86-32 ioremap() actually works for this case, because while the resource data may have the full 64 bits, when the ioremap() happens it gets truncated to 32 bits. Ingo/Thomas - should ioremap*() perhaps take "resource_size_t" or a "u64" for the address (and then "__ioremap()" should probably take a PFN, not a physical address, and that one can remain just a "unsigned long"?) Has anybody ever had a working 64-bit BAR on x86? Ivan? Maybe I'm missing something.. Linus -- 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/