Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21215C433EF for ; Tue, 12 Oct 2021 16:06:18 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED42E610FC for ; Tue, 12 Oct 2021 16:06:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ED42E610FC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D640614E; Tue, 12 Oct 2021 18:05:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D640614E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1634054774; bh=IaXpAnVqh1YWvDMuquTUAlF3DAstG4ozNephT00rYNY=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=al+MkCZvjkRlkv/Z8RAeZq8+9MXW6ek0qsWYWfMzOCp9ZkTunepa/W+dpUgCyY5S1 gwU1kmABLW8In30R/XUdwXGFL81ySh1lRZmgeGhRyk8dqW13+pB0DQdaKimP/iH9jX 8y5BfRjajae6wS6CfWDXnQuzBx/ykYRoOUBBOM48= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 743A5F801F7; Tue, 12 Oct 2021 18:05:24 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 71071F80212; Tue, 12 Oct 2021 18:05:22 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1C253F80088 for ; Tue, 12 Oct 2021 18:05:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1C253F80088 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="ys7gw0No"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="9mgCgLPU" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 2FDDB21DA9; Tue, 12 Oct 2021 16:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1634054714; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C0rUXknz2EKAtpxhjL/oyonEaKpGrAkO0gIg9Mrtg/8=; b=ys7gw0NofBGW3QLMHwXsjhoB6ijzuOqENLLl2qdbn0b7AKmY6TzpqX/1t9UmLogKk6N/L8 1Fd2hkBLTOkl0OzAmvHzV9PljhsR8X4vk2kjO7pfu46zUYD6EWgoN6GQbz/Q3uPR6M9yfj z+BFcRKiJfdH+MwGyrahg0t3GKCufwM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1634054714; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C0rUXknz2EKAtpxhjL/oyonEaKpGrAkO0gIg9Mrtg/8=; b=9mgCgLPUwAcFook4+W/MnO/slWEs7eT9T6CNm9VAOg7nJ4tBUIlpnpFDpxP6XeSDGH/xtj crd6KBC9Iggb43Dg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 25135A3B83; Tue, 12 Oct 2021 16:05:14 +0000 (UTC) Date: Tue, 12 Oct 2021 18:05:14 +0200 Message-ID: From: Takashi Iwai To: Kai Vehmanen Subject: Re: [PATCH] ALSA: hda: avoid write to STATESTS if controller is in reset In-Reply-To: References: <20211012142935.3731820-1-kai.vehmanen@linux.intel.com> 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 Cc: alsa-devel@alsa-project.org, Danny Tholen , pierre-louis.bossart@linux.intel.com, ranjani.sridharan@linux.intel.com, Alex Deucher , Dmitry Osipenko , Thierry Reding X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Tue, 12 Oct 2021 17:48:12 +0200, Kai Vehmanen wrote: > > Hi, > > On Tue, 12 Oct 2021, Takashi Iwai wrote: > > > > The snd_hdac_bus_reset_link() contains logic to clear STATESTS register > > > before performing controller reset. This code dates back to an old > > > bugfix in commit e8a7f136f5ed ("[ALSA] hda-intel - Improve HD-audio > > > codec probing robustness"). Originally the code was added to > > > azx_reset(). > [...] > > Do we have a bug reference? I guess it worth to be pushed to 5.15-rc > > and Cc-to-stable, if this is hitting already on the recent machines. > > I unfortunately don't have a public bug reference to share. This will > impact PCIe based Intel hardware like DG1. The DRM support is quite > recent for these, so in practise this only affects 5.15-rc and newer. > > And even on these, the functionality will be ok, it's just the warnings > that fill the kernel log that are a problem. OK, then I'll push this without Cc to stable. thanks, Takashi