* 405GP TLBHI "E" field
@ 2002-05-21 14:04 Curry, Diane
2002-05-21 17:03 ` Matt Porter
0 siblings, 1 reply; 2+ messages in thread
From: Curry, Diane @ 2002-05-21 14:04 UTC (permalink / raw)
To: Linuxppc Newsgroup (E-mail)
Hello,
I'm running 2.4.14pre3 on a custom ppc405GP board that has a little-endian device
on the peripheral bus. I've modified the finish_tlb_load code path to recognize the
physical address of the device and set the "E" bit in the tlb entry for the page.
The driver and device work fine using this feature, but what I did in finish_tlb_load
is not a reasonable solution. Is there a kernel interface callable from a driver
that can be used to specify the endianness of a memory range, and set the "E"
bit appropriately? If not, are there any plans to implement this capability?
Thanks, in advance.
Diane Curry
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 405GP TLBHI "E" field
2002-05-21 14:04 405GP TLBHI "E" field Curry, Diane
@ 2002-05-21 17:03 ` Matt Porter
0 siblings, 0 replies; 2+ messages in thread
From: Matt Porter @ 2002-05-21 17:03 UTC (permalink / raw)
To: Curry, Diane; +Cc: Linuxppc Newsgroup (E-mail)
On Tue, May 21, 2002 at 10:04:21AM -0400, Curry, Diane wrote:
>
> Hello,
> I'm running 2.4.14pre3 on a custom ppc405GP board that has a little-endian device
> on the peripheral bus. I've modified the finish_tlb_load code path to recognize the
> physical address of the device and set the "E" bit in the tlb entry for the page.
> The driver and device work fine using this feature, but what I did in finish_tlb_load
> is not a reasonable solution. Is there a kernel interface callable from a driver
> that can be used to specify the endianness of a memory range, and set the "E"
> bit appropriately? If not, are there any plans to implement this capability?
There are no plans (that I've ever heard of) to implement E bit support
because it has no value in Linux. Use read*/write* to access your little
endian device. PPC has lwbrx/stwbrx for a reason...use them...they are
included for free.
Regards,
--
Matt Porter
porter@cox.net
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-21 17:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-21 14:04 405GP TLBHI "E" field Curry, Diane
2002-05-21 17:03 ` Matt Porter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).