From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF17AC433DB for ; Sun, 27 Dec 2020 18:47:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 764D52255F for ; Sun, 27 Dec 2020 18:47:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726226AbgL0SrI (ORCPT ); Sun, 27 Dec 2020 13:47:08 -0500 Received: from mx2.suse.de ([195.135.220.15]:52214 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbgL0SrI (ORCPT ); Sun, 27 Dec 2020 13:47:08 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id A6866AC37; Sun, 27 Dec 2020 18:46:26 +0000 (UTC) Date: Sun, 27 Dec 2020 19:46:26 +0100 Message-ID: From: Takashi Iwai To: Jaroslav Kysela Cc: Ravulapati Vishnu vardhan rao , Alexander.Deucher@amd.com, Liam Girdwood , Mark Brown , Takashi Iwai , Akshu Agrawal , Dan Carpenter , Vijendar Mukunda , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: Re: [PATCH] ASoC: amd:Replacing MSI with Legacy IRQ model In-Reply-To: <9f1df5a9-f2ab-33da-3111-c01db88912b4@perex.cz> References: <20201222115929.11222-1-Vishnuvardhanrao.Ravulapati@amd.com> <9f1df5a9-f2ab-33da-3111-c01db88912b4@perex.cz> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 27 Dec 2020 19:03:28 +0100, Jaroslav Kysela wrote: > > Dne 22. 12. 20 v 12:59 Ravulapati Vishnu vardhan rao napsal(a): > > When we try to play and capture simultaneously we see that > > interrupts are genrated but our handler is not being acknowledged, > > After investigating further more in detail on this issue we found > > that IRQ delivery via MSI from the ACP IP is unreliable and so sometimes > > interrupt generated will not be acknowledged so MSI model shouldn't be used > > and using legacy IRQs will resolve interrupt handling issue. > > What is the real culprit? It's hw bug? If not, it would be better to fix the > PCI code or the irq handler. I'm not surprised if it's a hardware "feature". There are lots of deny list and quirks about disabling MSI in HD-audio controller code, after all. Takashi