All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gilad Rom" <gilad@romat.com>
To: <linux-mips@linux-mips.org>
Subject: CP0 EntryLo
Date: Tue, 30 Nov 2004 11:56:39 +0200	[thread overview]
Message-ID: <20041130095640.499DFEB2EF@mail.romat.com> (raw)

Hello List,

I am attempting to access a peripheral device over the Au1500 static bus.

According to the Au1500 Databook, Whenever I set the Chip Select config
Register DTY bits to 1 (for "I/O Device"), I must also set 
Bits 29:26 of CoProcessor 0 to 0xD, to represent bits 35:32 of the 
Physical address. 

My question is, if anyone can answer it, is how do I setup
The CoProcessor0 registers 29:26 in my driver?

I have noticed a set of functions called write/read_c0_entrylo[0,1],
But I keep getting random values when invoking these from my driver.

Thanks,
Gilad.

WARNING: multiple messages have this Message-ID (diff)
From: "Gilad Rom" <gilad@romat.com>
To: linux-mips@linux-mips.org
Subject: CP0 EntryLo
Date: Tue, 30 Nov 2004 11:56:39 +0200	[thread overview]
Message-ID: <20041130095640.499DFEB2EF@mail.romat.com> (raw)
Message-ID: <20041130095639.OeenjjuH47x0LwpRl9mm2yuT89cQ6SI2Jx4SKMJyQII@z> (raw)

Hello List,

I am attempting to access a peripheral device over the Au1500 static bus.

According to the Au1500 Databook, Whenever I set the Chip Select config
Register DTY bits to 1 (for "I/O Device"), I must also set 
Bits 29:26 of CoProcessor 0 to 0xD, to represent bits 35:32 of the 
Physical address. 

My question is, if anyone can answer it, is how do I setup
The CoProcessor0 registers 29:26 in my driver?

I have noticed a set of functions called write/read_c0_entrylo[0,1],
But I keep getting random values when invoking these from my driver.

Thanks,
Gilad.

             reply	other threads:[~2004-11-30  9:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-30  9:56 Gilad Rom [this message]
2004-11-30  9:56 ` CP0 EntryLo Gilad Rom
2004-11-30 10:24 ` Dominic Sweetman
2004-11-30 10:24   ` Dominic Sweetman
2004-11-30 16:26   ` Gilad Rom
2004-11-30 16:26     ` Gilad Rom
2004-11-30 16:37     ` Maciej W. Rozycki
2004-11-30 18:01       ` Pete Popov
2004-11-30 18:16         ` Gilad Rom
2004-11-30 18:16           ` Gilad Rom
2004-11-30 18:45           ` Pete Popov

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=20041130095640.499DFEB2EF@mail.romat.com \
    --to=gilad@romat.com \
    --cc=linux-mips@linux-mips.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.