[alsa-devel] A bug about cache inconsistency report

Hans Hu(SH-RD) HansHu at zhaoxin.com
Tue Jul 31 12:52:04 CEST 2018


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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 11070 bytes
Desc: image002.png
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180731/1a2cf990/attachment-0001.png>


More information about the Alsa-devel mailing list