2009-04-20 18:24:31

by Jerome Glisse

[permalink] [raw]
Subject: ioremap_wc | set_memory_(uc|wc) and suspend

Hello,

Is this crazy|forbidden to do ioremap_wc or
set_memory_(uc|wc) in a device driver suspend
callback ? Right now on AMD Athlon Dual Core
any calls to this functions won't return (when
called from suspend hook).

Cheers,
Jerome Glisse


2009-04-21 13:54:45

by Jerome Glisse

[permalink] [raw]
Subject: Re: ioremap_wc | set_memory_(uc|wc) and suspend

On Mon, 2009-04-20 at 20:18 +0200, Jerome Glisse wrote:
> Hello,
>
> Is this crazy|forbidden to do ioremap_wc or
> set_memory_(uc|wc) in a device driver suspend
> callback ? Right now on AMD Athlon Dual Core
> any calls to this functions won't return (when
> called from suspend hook).
>
> Cheers,
> Jerome Glisse

So it seems it was due to me accessing an unmapped
area (being the console buffer) which triggered the
bug, i was just unable to see message further down.

Sorry for the noise.

Cheers,
Jerome Glisse