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 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E2D62C433F5 for ; Thu, 10 Mar 2022 13:36:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 70C9110E91F; Thu, 10 Mar 2022 13:36:14 +0000 (UTC) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by gabe.freedesktop.org (Postfix) with ESMTPS id B3DAC10E931 for ; Thu, 10 Mar 2022 13:36:13 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id B27491F385; Thu, 10 Mar 2022 13:36:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1646919371; 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=eg1lHQJNdKst+PLRqkjA9oK9gtUXO0XsptMPNcYy+BQ=; b=cdsB/aaq8JVS41GFrznrGScENTV5gGqtNORzY/8S5IQp+ZPeDQrKIxFDrDWejBsuoVGA2D DekSPxSrvaa7XkmmkJ0xKIbND44OoXdcjogHFk7+M2rPWT7WG729RAqyn3PWDDy04CsKhF WbU6cycxHgZLYJHPYe39OZ/XgiUI+ys= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1646919371; 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=eg1lHQJNdKst+PLRqkjA9oK9gtUXO0XsptMPNcYy+BQ=; b=GuNde0YD7HILHG9qKO4QNhTtCngfVZxl6Rn3cXQP7cN5/JQa1W5VTmOyMKUBXOyHVTv1A2 xXunq99psGC8BEDg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id AB12FA3B96; Thu, 10 Mar 2022 13:36:11 +0000 (UTC) Date: Thu, 10 Mar 2022 14:36:11 +0100 Message-ID: From: Takashi Iwai To: Kai Vehmanen In-Reply-To: <20220309182439.1053856-1-kai.vehmanen@linux.intel.com> References: <20220309182439.1053856-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 Subject: Re: [Intel-gfx] [PATCH v3] ALSA: hda/i915 - avoid hung task timeout in i915 wait X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, intel-gfx@lists.freedesktop.org, lucas.demarchi@intel.com, amadeuszx.slawinski@linux.intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, 09 Mar 2022 19:24:39 +0100, Kai Vehmanen wrote: > > If kernel is built with hung task detection enabled and > CONFIG_DEFAULT_HUNG_TASK_TIMEOUT set to less than 60 seconds, > snd_hdac_i915_init() will trigger the hung task timeout in case i915 is > not available and taint the kernel. > > Use wait_for_completion_killable_timeout() for the wait to > avoid this problem. > > Co-developed-by: Ramalingam C > Signed-off-by: Ramalingam C > Signed-off-by: Kai Vehmanen Applied now. Thanks. Takashi