[parisc-linux-cvs] [PATCH] 32-bit PDC wrapper patch

Grant Grundler grundler@puffin.external.hp.com
Tue, 13 Mar 2001 23:43:07 -0700


Ryan Bradetich wrote:
...
> reviewed/committed so others can also attempt to
> boot a 64-bit kernel with 32-bit firmware.

Hi Ryan!
That's excellent!

> The patch will only work for machines that are
> capable of running a 64-bit kernel but have 32-bit
> firmware like the C180, C200, C240, C360, and the
> J2240  (I hope this list is complete/correct).

J200 and J210 as well.

My understanding is the (similar to C/J-class) D/K/R server PDC is
supposed to be 64-bit clean *iff* the box has a PA2.0 CPU.
While the PDC translation code shouldn't be needed, it shouldn't
hurt when in doubt.

> patch adds a configure option under the 64-bit
> kernel option that defaults to no.

Just in case someone decides to write a transalation layer for
32-bit kernel on *64-bit only PDC* (eg PAT PDC), could you pick
a better name than CONFIG_PDC_TRANSLATOR?

I'll propose CONFIG_CALL_PDC_NARROW vs CONFIG_CALL_PDC_WIDE
as something to through darts at. AFAIK, Halfdome only allows
wide-mode (PAT PDC) PDC *and* IODC. So we may need something
similar for IODC calls.

grant

Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253