Subject: Re: BUS-DMA functions
To: None <mark@causality.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-arm32
Date: 03/12/1999 22:13:57
mark@causality.com wrote:

> Hi,
>   Ok I have just fixed this problem in -current. The problem was that
> pmap_extract() did not correctly understand the page table entry for the
> va of the inquiry data. Normally all page table entries are for 4K pages,
> however a little while ago I changed the mapping of the kernel text and
> data to use 64K pages in order reduce the number of TLB entries used by
> the kernel and I forgot to fix pmap_extract() to understand the 64K PTE.
> Thus the wrong address would be returned by pmap_extract when trying to
> get the physical address of something in the kernel text, data or bss.
> 
> The latest version of pmap.c fixes this.

Thanks, now the kernel prints the inquiry data properly.
My DC-390 on CATS works fine.

BTW, vtophys() still seems to return incorrect address.
(Yes, I forgot to revert Jason's patch and got wrong messages..)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp