mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Kylene Jo Hall <kjhall@us.ibm.com>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, moilanen@austin.ibm.com
Subject: Re: [PATCH] tpm: support PPC64 hardware
Date: Tue, 1 Nov 2005 20:23:29 +1100	[thread overview]
Message-ID: <17255.13329.695936.607613@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <1130769479.4882.35.camel@localhost.localdomain>

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.

      parent reply	other threads:[~2005-11-01  9:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-31 14:37 Kylene Jo Hall
2005-11-01  0:05 ` Benjamin Herrenschmidt
2005-11-01  9:23 ` Paul Mackerras [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17255.13329.695936.607613@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=akpm@osdl.org \
    --cc=kjhall@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=moilanen@austin.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®