Subject: Re: PCI memory space mapping on RD94/JC94
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Noriyuki Soda <soda@sra.co.jp>
List: port-arc
Date: 08/14/2001 04:18:56
>>>>> On Mon, 13 Aug 2001 03:14:38 +0900 (JST),
	Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> said:

> After pci_configure_bus() is called, TGA console does not work.
> With serial console, the kernel gets a panic on the attachment:
	:
> ---
> tga0 at pci0 dev 3 function 0: PCI configuration registers:
	:
>     Base address register at 0x10
>       type: 32-bit prefetchable memory
>       base: 0x00000000, size: 0x08000000
> Digital Equipment DECchip 21030 ("TGA") (miscellaneous display, revision 0x03) at ? dev 3 function 0 (intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks)arc_map_wired(0x100000000, 0x8000000): 2 is not enough
> panic: arc_bus_space_compose_handle: cannot allocate KVA 0x100000000..0x108000000
> Stopped in pid 0 (swapper) at   0x8037f320:     jr      ra
>                 bdslot: nop
> db> 

BTW, this panic should disappear, if you increase ARC_TLB_WIRED_ENTRIES
to 14 (or 15). But it is really waste to dedicate 6 (or 7) TLBs for
the unused region (TGA shouldn't need such 128MB area that PCI
configuration space says).
--
soda