From: Takashi Iwai Subject: Re: Aureal issues on resume Date: Mon, 12 Sep 2011 09:53:28 +0200 Message-ID: References: <4E60F0C1.5020008@ladisch.de> <4E63E06C.9050109@ladisch.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 7B327243D1 for ; Mon, 12 Sep 2011 09:53:31 +0200 (CEST) In-Reply-To: <4E63E06C.9050109@ladisch.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: Raymond Yau , ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org At Sun, 04 Sep 2011 22:32:44 +0200, Clemens Ladisch wrote: > > Raymond Yau wrote: > > The possible way is to save the contents of 128K memory mapped I/O > > ports before suspend to non-volatile memory and restore them after > > resume > > > > Is there any way for alsa driver to allocate non-volatile memory ? > > 'Normal' memory is saved over suspend. Just use {k|v}malloc. If it's a 128kB bulk memory, vmalloc() is a more sensible choice. Takashi