All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Vincent Lejeune <vljn@ovi.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: ASUS Phoebus (CMI8888) HDA Support
Date: Mon, 04 Aug 2014 13:27:49 +0200	[thread overview]
Message-ID: <s5h1tswwl3e.wl%tiwai@suse.de> (raw)
In-Reply-To: <1407099944.1470.YahooMailNeo@web161503.mail.bf1.yahoo.com>

At Sun, 3 Aug 2014 14:05:44 -0700,
Vincent Lejeune wrote:
> 
> Hi,
> 
> I just found this thread http://thread.gmane.org/gmane.linux.alsa.devel/116096 
> I'm trying to find what can make the CMI8888 not work in non single_cmd mode and it looks more and more like a DMA issue.
> I don't have an "iommu mode" option in my bios like Geoffrey McRae, it looks like an AMD only option, and using bigger page size/alignement constraint didnt solve the issue.
> However I added some code to dump the content of the rirb buffer in the update_rirb() function and I copied it below.
> 
> The first command seems to be correctly handled the second time it is send to the hardware. As the AZX_DCAPS_*DELAY_RIRB doesnt change anything, I'm starting to think
> that the corb engine may require some delay to be processed.
> Is there a way to spy the dma transfer request from the device point of view ? I'd like to know when the cmi8888 request a dma read from the corb buffer and when it requests a dma write to the rirb buffer
> to determine if it parses the corb buffer correctly or not.

Well, if the CORB RP is updated, it essentially means that the CORB
has been updated.  Did you already try snoop=false option?
Also,  AZX_DCAPS_RIRB_PRE_DELAY might be worth to try.

> In addition the first value returned is very odd : 13f68888. The pci id of the phoebus is 13f6:5011.
> What does the 100f0001 cmd mean ? hda-decode-verb tells me the verb is "0x0"...

This is the codec IDs, which is often different from the PCI IDs.


thanks,

Takashi

  reply	other threads:[~2014-08-04 11:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-03 21:05 ASUS Phoebus (CMI8888) HDA Support Vincent Lejeune
2014-08-04 11:27 ` Takashi Iwai [this message]
2014-08-04 18:30   ` Vincent Lejeune
2014-08-04 18:35     ` Vincent Lejeune
2014-08-04 19:06     ` Takashi Iwai
     [not found]       ` <1407181440.71480.YahooMailNeo@web161503.mail.bf1.yahoo.com>
2014-08-05  7:13         ` Takashi Iwai
2014-08-05 22:26           ` Vincent Lejeune
2014-08-06  6:30             ` Takashi Iwai
2014-08-06 12:38               ` Takashi Iwai
2014-08-06 16:05                 ` Vincent Lejeune
2014-08-06 16:07                   ` Takashi Iwai
2014-08-06 17:07                     ` Vincent Lejeune
2014-08-07  8:01                       ` Takashi Iwai
2014-08-07 17:13                         ` Vincent Lejeune
  -- strict thread matches above, loose matches on Subject: below --
2014-08-03 21:11 Vincent Lejeune
2013-12-04 10:36 Geoffrey McRae
2013-12-04 10:53 ` Clemens Ladisch
2013-12-04 10:57   ` Geoffrey McRae
2013-12-04 11:57     ` Clemens Ladisch
2013-12-04 12:08       ` Geoffrey McRae
2013-12-04 12:18       ` Geoffrey McRae
2013-12-04 22:20       ` Geoffrey McRae
2013-12-04 22:36         ` Geoffrey McRae
2013-12-04 12:42     ` Geoffrey McRae

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=s5h1tswwl3e.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=vljn@ovi.com \
    /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.