Subject: Re: ThinkPad T61p
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Arto Huusko <arto.huusko@pp2.inet.fi>
List: port-amd64
Date: 09/27/2007 16:00:58
On Thu, 27 Sep 2007, Jared D. McNeill wrote:

> On Thu, 27 Sep 2007, Arto Huusko wrote:
>> I'm guessing 82965 Host-AGP needs 64 bit handling (and maybe more),
>> like i965 has in agp_i810. Just setting 64BIT flag for aperture
>> mapping didn't work, though (pci_mem_find: expected mem type foo,
>> found bar). I guess the register is different than AGP_APBASE,
>> like it is for i965 in agp_i810?
>
> What is 'foo' and 'bar'? If it says it expected 32-bit and found 64-bit, this 
> is a known issue. If you try it on the pm branch, it should ignore allow it..

pci_mem_find: expected mem type 00000004, found 00000000


With -pm kernel, where the only change is the diff I sent earlier (to make
agp_i810 call agp_intel), and in pci_mem_find aprint_debug("void region")
changed to printf, I get:

pci_mem_find: void region


When I change agp_map_aperture to include PCI_MAPREG_MEM_TYPE_64BIT
in the type parameter, I still get:

pci_mem_find: expected mem type 00000004, found 00000000


When I further change pci_mem_find to completely skip the mem type
check, I get back to this

pci_mem_find: void region