* virtual vs physical addresses to cache functions
@ 2009-10-29 16:26 John Linn
2009-10-30 0:36 ` Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: John Linn @ 2009-10-29 16:26 UTC (permalink / raw)
To: linux-kernel
Maybe this is a dumb question...
I believe that the kernel expects virtual addresses to be passed to the
defined cache functions across all architectures. Looking at PowerPC
and Blackfin confirm this I think.
Can someone confirm this or point to where it's documented as I have dug
for it without finding any specific details?
Thanks,
John
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: virtual vs physical addresses to cache functions
2009-10-29 16:26 virtual vs physical addresses to cache functions John Linn
@ 2009-10-30 0:36 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2009-10-30 0:36 UTC (permalink / raw)
To: John Linn; +Cc: linux-kernel
On Thu, Oct 29, 2009 at 12:26, John Linn wrote:
> Maybe this is a dumb question...
you should see the stuff people put into hardware ...
> I believe that the kernel expects virtual addresses to be passed to the
> defined cache functions across all architectures.
i believe they're virtual since most (sane) hardware virtual memory
implementations are done with caches based on virtual addresses, but
what do i know (leading into next point ...)
> Looking at PowerPC and Blackfin confirm this I think.
the Blackfin arch (which is what i work on) is a bad example as it
lacks virtual memory support
-mike
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-30 0:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-29 16:26 virtual vs physical addresses to cache functions John Linn
2009-10-30 0:36 ` Mike Frysinger
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®