All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hans Hu(SH-RD)" <HansHu@zhaoxin.com>
To: "'alsa-devel@alsa-project.org'" <alsa-devel@alsa-project.org>
Subject: A bug about cache inconsistency report
Date: Tue, 31 Jul 2018 10:52:04 +0000	[thread overview]
Message-ID: <c859756ba7f742869642fd80a105c3c8@zhaoxin.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1058 bytes --]

Hi All,

               Try send an email.

               Appearance:
when use non-snoop + ioctl path combination, an issue occurs:
usage: aplay -D plughw:0,0 44100_S16_LE_2c.wav
Ubuntu, it performance intermittently noise;

Root case:
               Function set_pages_array_wc marked the PTE of the original address; Function set_memory_wc marked the PTE both original and after vmaped address.
[cid:image002.png@01D428FF.92621520]
However, cache or not in transmission process is based on the PTE of the later, and the set_pages_array_wc did't mark it, so a cache inconsistency issue occurs.

               Related bug:
               SHA1 ID: 9ddf1aeb2134e72275c97a2c6ff2e3eb04f2f27a

Best Regards!
Hans Hu



?????
?????????????????????????????????????????????????????
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.

[-- Attachment #1.2: image002.png --]
[-- Type: image/png, Size: 11070 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2018-07-31 10:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-31 10:52 Hans Hu(SH-RD) [this message]
2018-07-31 11:59 ` A bug about cache inconsistency report Takashi Iwai
     [not found]   ` <05a9e8e374994ada9d195b7cc6a08d07@zhaoxin.com>
2018-07-31 13:55     ` 答复: " Takashi Iwai
2018-08-01  2:05 Hans Hu(SH-RD)
2018-08-01  4:45 ` Takashi Iwai
2018-08-02  8:22 Hans Hu(SH-RD)
2018-08-02  8:50 ` Takashi Iwai
2018-08-07  9:00 Hans Hu(SH-RD)
2018-08-07  9:25 ` Takashi Iwai
2018-08-08 11:07 Hans Hu(SH-RD)
2018-08-10 15:15 ` Takashi Iwai

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=c859756ba7f742869642fd80a105c3c8@zhaoxin.com \
    --to=hanshu@zhaoxin.com \
    --cc=alsa-devel@alsa-project.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 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.