[parisc-linux] B2k and CONFIG_PDC_CONSOLE pb: followup

Joel Soete soete.joel at tiscali.be
Sat Jan 24 04:12:02 MST 2004


Grant,



Grant Grundler wrote:
> On Fri, Jan 23, 2004 at 07:54:44PM +0100, Joel Soete wrote:
> 
>>>AFAIK, the memcpy just enables the PDC to use a serial console.
>>
>>Hmm we didn't 'relocate' PDC (as see hpux makes), so all those information
>>are fill in by PDC prgm itself? So if Console is flagged CL_DUP, I don't
>>see why do we have to make this memcpy?
> 
> 
> I don't pretend to understand how PDC uses page zero.
> Any takers on explaining what the memcopy does?
> 
> 
>>>Anyway, Figuring out some additional info could help:
>>>  (a) know which devices migh have DMA enabled when the OS gets control
>>
>>May be the console itself (by continuously reading the kdb eg)?
> 
> 
> 
>>>  (b) disable just the DMA
>>
>>where should I look to disable so console dma?
> 
> 
> In the B2k's case the USB keyboard is the console input device
> and USB does DMA. Right?

ok (if a usb kbd is connected ;) )

> That means the console can not be active when we reprogram
> the IOMMU.
> 
> If the console is the serial port, then we should be able to disable
> just the USB device and not impact the Serial ports.

hmm afaik usb ports on a b2k (and I presume for the same family) are just there
(iirc the user guide and spec) to be used only for usb kbd and mouse
and so if no usb kbd was found by pdc we could just disable usb at all?

Thanks again for info and patience,
	Joel



More information about the parisc-linux mailing list