All of lore.kernel.org
 help / color / mirror / Atom feed
* Uncacheable memory
@ 2009-05-14 23:27 Andrew Flach
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Flach @ 2009-05-14 23:27 UTC (permalink / raw)
  To: linux-kernel

Hi all,

For some simple tests I would like to specify some regions of an application program as uncacheable. For example, the application contains a function that maps to the memory address space 0x08002000 to 0x0800A000 in the executable. When this program is run, code within this address space should be marked as uncacheable and the Kernel should not store any data between 0x08002000 and 0x0800A000 in the cache. Is there an straightforward way to do that? Could this be realised with the PAT or do I need to have a look at the MTTR?

Thanks
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [parisc-linux] uncacheable memory
@ 2000-03-05 14:29 willy
  2000-03-06  6:26 ` Grant Grundler
  0 siblings, 1 reply; 2+ messages in thread
From: willy @ 2000-03-05 14:29 UTC (permalink / raw)
  To: Grant Grundler; +Cc: huck, parisc-linux

On Sat, Mar 04, 2000 at 09:49:49PM -0800, Grant Grundler wrote:
> HP systems have three I/O MMU's which are I/O coherent: U2/Uturn,
> Astro/Ike, and Epic/SAGA.  AFAIK, all systems using one on them have
> the processor(s) connected to a "Runway" bus.  This limits what
> processor model those systems can have: PA-7200, -8000, -8200, or -8500.
> 
> (Caveats:
>  - T-class has something similar to U2 which is NOT I/O coherent

According to the hwdb, the T600 has two `Java BC Summit Port (IOA)'.
And you're the only one in possession of a T-class :-).  All the devices
in the T600 seem to be special devices so the drivers would have to
be freshly written anyway.  I don't see a PCI adapter in the T-class,
can one be fitted?  I assume Summit is the name of a bus, like Runway
only different?

> In personal conversations, two knowledgable folks have suggested
> the following:
> o PA-7100LC systems support uncacheable memory and subcacheline access.
>   So these boxes should be supportable.

that's good, that's a fair chunk of those machines which people have (712,
725/100, 715/later, E-class, early D-class).

> o PA-7300LC systems *might* support uncacheable memory and subcacheline...
>   (Could anyone definitively answer this for any PA-7300LC box?)

According to the 7300LC ERS, section 1.1.2 (Integrated Caches and TLB)
`Uncached memory pages are supported via the TLB U-bit.'  Then section
1.2.2, (Differences from the PA7100LC) `Uncacheable pages are still
supported.  Note: PA7100LC did not require the U bit to be set on TLB
entries for I/O pages, but the PA7300LC does (this was always an
architural requirement).'

I think that's enough for us to go on.

> o PA-7000 systems are pretty much SOL.
>   (But they could be perfectly useful if folks add cache flushing to
>    the few device drivers needed for graphics and stuff off of LASI.)

how about PA7100/7150 systems?  (715/early, 735, 755, later Nova servers)
They will also need explicit cache flushing added, I guess.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-14 23:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-14 23:27 Uncacheable memory Andrew Flach
  -- strict thread matches above, loose matches on Subject: below --
2000-03-05 14:29 [parisc-linux] uncacheable memory willy
2000-03-06  6:26 ` Grant Grundler

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.