mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [ALSA] f2c5784f827: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5
@ 2015-03-12  4:01 Fengguang Wu
  2015-03-12  6:29 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2015-03-12  4:01 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: LKML, lkp, Li Zexi

Hi Takashi,

We noticed the below dmesg errors on

git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-regmap
commit f2c5784f82792221990f708dff42a71a4a51b721 ("ALSA: hda - Use regmap for amp accesses")

<6>[   17.709789] snd_hda_intel 0000:02:00.1: Disabling MSI
<6>[   17.710115] snd_hda_intel 0000:02:00.1: Handle VGA-switcheroo audio client
<6>[   17.748128] snd_hda_codec_realtek hdaudioC0D2: autoconfig for ALC898: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
<6>[   17.748729] snd_hda_codec_realtek hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
<6>[   17.749253] snd_hda_codec_realtek hdaudioC0D2:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
<6>[   17.749735] snd_hda_codec_realtek hdaudioC0D2:    mono: mono_out=0x0
<6>[   17.750102] snd_hda_codec_realtek hdaudioC0D2:    dig-out=0x1e/0x0
<6>[   17.750456] snd_hda_codec_realtek hdaudioC0D2:    inputs:
<6>[   17.750788] snd_hda_codec_realtek hdaudioC0D2:      Front Mic=0x19
<6>[   17.751140] snd_hda_codec_realtek hdaudioC0D2:      Rear Mic=0x18
<6>[   17.751494] snd_hda_codec_realtek hdaudioC0D2:      Line=0x1a
<6>[   17.765185] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input2
<6>[   17.765787] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input3
<6>[   17.765845] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
<6>[   17.765895] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
<6>[   17.765958] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
<6>[   17.765999] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
<6>[   17.766041] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
<6>[   17.896645] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input9
<6>[   17.897272] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input10
<6>[   17.897914] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input11
<6>[   17.898581] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input12
<3>[   17.919298] snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5
<3>[   17.929749] snd_hda_codec_realtek hdaudioC0D2: Unable to sync register 0x2f000a. -5
<3>[   17.930271] snd_hda_codec_realtek hdaudioC0D2: Unable to sync register 0x2f000a. -5

It's almost 100% reproducible:

testbox/testcase/testparams: lituya/will-it-scale/performance-writeseek3

74b67c48b10486f1  f2c5784f82792221990f708dff  
----------------  --------------------------  
       fail:runs  %reproduction    fail:runs
           |             |             |    
           :10         100%          10:10    kmsg.snd_hda_codec_hdmi_hdaudioC1D0:Unable_to_sync_register
           :10         100%          10:10    kmsg.snd_hda_codec_realtek_hdaudioC0D2:Unable_to_sync_register

testbox/testcase/testparams: avoton3/netperf/performance-300s-200%-TCP_RR

74b67c48b10486f1  f2c5784f82792221990f708dff  
----------------  --------------------------  
           :20          95%          19:20    kmsg.snd_hda_codec_hdmi_hdaudioC0D0:Unable_to_sync_register

Thanks,
Fengguang Wu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ALSA] f2c5784f827: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5
  2015-03-12  4:01 [ALSA] f2c5784f827: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5 Fengguang Wu
@ 2015-03-12  6:29 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2015-03-12  6:29 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: LKML, lkp, Li Zexi

At Thu, 12 Mar 2015 12:01:04 +0800,
Fengguang Wu wrote:
> 
> Hi Takashi,
> 
> We noticed the below dmesg errors on
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-regmap
> commit f2c5784f82792221990f708dff42a71a4a51b721 ("ALSA: hda - Use regmap for amp accesses")
> 
> <6>[   17.709789] snd_hda_intel 0000:02:00.1: Disabling MSI
> <6>[   17.710115] snd_hda_intel 0000:02:00.1: Handle VGA-switcheroo audio client
> <6>[   17.748128] snd_hda_codec_realtek hdaudioC0D2: autoconfig for ALC898: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
> <6>[   17.748729] snd_hda_codec_realtek hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
> <6>[   17.749253] snd_hda_codec_realtek hdaudioC0D2:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
> <6>[   17.749735] snd_hda_codec_realtek hdaudioC0D2:    mono: mono_out=0x0
> <6>[   17.750102] snd_hda_codec_realtek hdaudioC0D2:    dig-out=0x1e/0x0
> <6>[   17.750456] snd_hda_codec_realtek hdaudioC0D2:    inputs:
> <6>[   17.750788] snd_hda_codec_realtek hdaudioC0D2:      Front Mic=0x19
> <6>[   17.751140] snd_hda_codec_realtek hdaudioC0D2:      Rear Mic=0x18
> <6>[   17.751494] snd_hda_codec_realtek hdaudioC0D2:      Line=0x1a
> <6>[   17.765185] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input2
> <6>[   17.765787] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input3
> <6>[   17.765845] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
> <6>[   17.765895] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
> <6>[   17.765958] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
> <6>[   17.765999] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
> <6>[   17.766041] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
> <6>[   17.896645] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input9
> <6>[   17.897272] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input10
> <6>[   17.897914] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input11
> <6>[   17.898581] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input12
> <3>[   17.919298] snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5
> <3>[   17.929749] snd_hda_codec_realtek hdaudioC0D2: Unable to sync register 0x2f000a. -5
> <3>[   17.930271] snd_hda_codec_realtek hdaudioC0D2: Unable to sync register 0x2f000a. -5

This is a known bug of regmap, and the fix was already submitted to
Mark, found on linux-next:
    commit 4ceba98d3fe204c59e5f63c4d834b45dcfe789f0
        regmap: Skip read-only registers in regcache_sync()

Once when it's merged to Linus tree, I'll either rebase my branch or
merge the fix.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-12  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12  4:01 [ALSA] f2c5784f827: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5 Fengguang Wu
2015-03-12  6:29 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®