NOCACHE and SIGBUS

Hello,

can somebody explain the precise semantic of the NOCACHE option of
mmap ?

I have the following situation:

If I map an IO region of a PPC without the NOCACHE option … all
locations of the mapped region can be read, but writing to some
location leads to a SIGBUS trap :frowning:

After using the NOCACHE option … all reads/writes are OK. Why this
curious behavior ?

Armin

Don’t know if it’s related or not, but I have some nasty problem
with PPC and NOCACHE. It appears from my testing NOCACHE
is NOT working as it should (data is still cached). I haven’t encountered
SIGBUS though.

“Armin Steinhoff” <A-Steinhoff@web_.de> wrote in message
news:3A6DD00F.8A8D1EC5@web_.de…

Hello,

can somebody explain the precise semantic of the NOCACHE option of
mmap ?

I have the following situation:

If I map an IO region of a PPC without the NOCACHE option … all
locations of the mapped region can be read, but writing to some
location leads to a SIGBUS trap > :frowning:

After using the NOCACHE option … all reads/writes are OK. Why this
curious behavior ?

Armin