linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: clemens@ladisch.de (Clemens Ladisch)
To: linux-arm-kernel@lists.infradead.org
Subject: [alsa-devel] Question on arm64 unaligned faults during playback
Date: Tue, 09 Dec 2014 09:19:55 +0100	[thread overview]
Message-ID: <5486B0AB.7000109@ladisch.de> (raw)
In-Reply-To: <CAM4voam0h4e1Z8q3eqNpgMhhfw-zJpfh7fi4iznX_Y0bj98nKA@mail.gmail.com>

Abhilash Kesavan wrote:
> Currently, if I continue to use the SRAM allocation driver, two
> options are working:
> 1) ioremap to ioremap_wc in drivers/misc/sram.c.
> 2) copy_from_user to copy_from_user_toio in sound/core/pcm_lib.c
>
> Which would be the preferred option ?

I don't know how to tell the SRAM allocator to hand out WC memory, but
copy_from_user_toio() is what you would put into your .copy callback.


Regards,
Clemens

  reply	other threads:[~2014-12-09  8:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAM4voa=kiLsiLEzUbo3D+f1go5px78fXBSjSi7kGK4QCdnwPyQ@mail.gmail.com>
     [not found] ` <54856621.8090107@ladisch.de>
     [not found]   ` <s5hppbumnis.wl-tiwai@suse.de>
2014-12-08 11:15     ` [alsa-devel] Question on arm64 unaligned faults during playback Lars-Peter Clausen
2014-12-08 11:31       ` Will Deacon
2014-12-09  2:56         ` Abhilash Kesavan
2014-12-08 12:04       ` Takashi Iwai
2014-12-08 12:25       ` Catalin Marinas
2014-12-09  2:56         ` Abhilash Kesavan
2014-12-09  8:19           ` Clemens Ladisch [this message]
2014-12-09 11:43           ` Catalin Marinas
2014-12-10  4:10             ` Abhilash Kesavan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5486B0AB.7000109@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).