Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Klaus Ethgen <Klaus@ethgen.ch>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [alsa-devel] CPU hook snd_hda_intel
Date: Sun, 8 Dec 2019 18:31:27 +0100	[thread overview]
Message-ID: <20191208173127.GE4433@ikki.ethgen.ch> (raw)
In-Reply-To: <s5h4kybciir.wl-tiwai@suse.de>


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

Hi Takashi,

Am So den  8. Dez 2019 um  9:45 schrieb Takashi Iwai:
> On Sat, 07 Dec 2019 21:06:43 +0100,
> > Find attached the perf output of the relevant event handler.
> 
> Thanks.  So it seems wasting in the busy loop for waiting for the
> response from the codec.
> 
> How about a patch below?  It's untested, might break things, but at
> least avoiding a busy loop.

I'll give it a try. Kernel is compiling right now. It might be hard to
see if the patch is working but I suppose that it do when I don't have
that trouble within a week or so.

> BTW, if your machine is Coffeelake or Cannonlake, this patch wont'
> work on the old branch because of forced polling mode.  It was removed
> in 5.5-rc1, so please test with Linus tree at best.

I hardly have such new Architectures on that laptop. It is a lenovo x61s
so it is from latest 2009. It has a Intel Core 2 Duo LV (Merom). :-)

I actually check it with gentoo kernel source 5.4.2.

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 688 bytes --]

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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2019-12-08 17:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-02 18:47 [alsa-devel] CPU hook snd_hda_intel Klaus Ethgen
2019-12-04 16:31 ` Takashi Iwai
2019-12-07 20:06   ` Klaus Ethgen
2019-12-08  8:45     ` Takashi Iwai
2019-12-08 17:31       ` Klaus Ethgen [this message]
2019-12-09  7:10         ` Takashi Iwai
2019-12-09  8:57           ` Klaus Ethgen
2019-12-09  9:27             ` Takashi Iwai
2019-12-09  9:45               ` Klaus Ethgen
2019-12-10 14:32               ` Klaus Ethgen
2019-12-10 14:35               ` Klaus Ethgen
2019-12-10 14:43                 ` Takashi Iwai
2019-12-10 15:10                   ` Klaus Ethgen
2019-12-10 15:19                     ` Takashi Iwai
2019-12-10 15:28                       ` Klaus Ethgen
2019-12-23 17:18                       ` Klaus Ethgen
2019-12-23 22:14                         ` 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=20191208173127.GE4433@ikki.ethgen.ch \
    --to=klaus@ethgen.ch \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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