Re: [PATCH] tpm: support PPC64 hardware

From: Paul Mackerras
Date: Tue Nov 01 2005 - 04:54:04 EST


Kylene Jo Hall writes:

> The TPM is discovered differently on PPC64 because the device must be
> discovered through the device tree in order to open the proper holes in
> the io_page_mask for reading and writing in the low memory space. This
> does not happen automatically like most devices because the tpm is not a
> normal pci device and lives under the root node.

Please just do an ioremap on the physical address and use
read[bwl]/write[bwl] or ioread{8,16,32}/iowrite{8,16,32}, or else
persuade the firmware developers to put the tpm in the right place in
the device tree.

Thanks,
Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/