Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp335556rdb; Mon, 22 Jan 2024 05:56:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGu2ANwc/rE5woB9FXQxVw+zYn8LtRCx7aKBtl7r5KXP6HzgmQLIaL6ISE2r+JKM3R+YSg2 X-Received: by 2002:a05:6808:1410:b0:3bd:587c:5e8 with SMTP id w16-20020a056808141000b003bd587c05e8mr6395394oiv.112.1705931799890; Mon, 22 Jan 2024 05:56:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705931799; cv=pass; d=google.com; s=arc-20160816; b=N9OTmTEHbztzGYffOZUl5dbD8rvSudZ8efwOms9Fa7vVv/wRtt+HcAy/T+VQeEBOHL sSndoBW0MueBhOJuQ93Rk9VUzFId6CCtuvmuqm7Rk5Mu+vkkgoYyzj+UVQpjqZnLRxUb AGM2WhydNjAD86gqLbM9SnuLeU39lXcFTws6aXwn+2UaqPWVTcSBrHwTHacj5bZFPcPa xHoAOq1tT4wrUqNPVHXTy1HMI3w1CxndaIEujzMg/qFeJ52G9f6u/4p/SD0wYiPa9rOi Yh+7svPb1GaHYx9RVUpym8sq0lCDeZDNAOxInEVw6rbosFjXPyM1mXcEMLzX71FzHMBq odSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=gtpOQUIAnAmHezK7IZc+ZxEQxmnTpiKWBRWiePcDhGQ=; fh=qNzmwZB6i/s028H9W+ZXhO9+Q8jzzfiIBCxFYD1+kAM=; b=JvV7VOkOKxOgFhvJMFGov8xbjYs9BieTdMYQSMuoSRDDOw1oYOK2kqmjga/SawBX2j 5XuJyPYTsB/Q5F91cTKAf/kqSlTq4PNeJsAzFQ0pvWhD1d9JO78cnYG186k02G7vsqGJ Gh4kvOpEPjOyYfEcy7qEolDlaP8VOvxm+V0quhT0CbCnbLYV3fs7X51tqfJwTwzpVdNX cxlSoHNqNDEyXQeJxdDKdRseyyGvzoMewU7cBHw7Ks8G2MiLe+Sg2dRTn002je28IpL5 7WzAAIVn9b1MugU8jrapU1eJ+Ww5ud+JuwLv/FXv9zGSOwyUx/z4dsRYiAZahhhDflCp uv9g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=a9fiQe6q; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-32975-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32975-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f16-20020a056a0022d000b006dbdb8ae514si2444320pfj.314.2024.01.22.05.56.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 05:56:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32975-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=a9fiQe6q; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-32975-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32975-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 12445B286D6 for ; Mon, 22 Jan 2024 11:53:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0691B3B287; Mon, 22 Jan 2024 11:51:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="a9fiQe6q" Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E37B23AC0F; Mon, 22 Jan 2024 11:51:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.134.136.31 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705924300; cv=none; b=lEXDm2wlMrGfLoXWoG0DzLFZNZ2799bTaQoZGA7YzitwMBYwbmhaxZBJTwvnOaY2uScB2hLLZ+7vzW8EeBy1GzpCi9+Qp+Ng2Boz1NBlcw8mDQvlZDyswmiCYOnVwohKtbVIE3A2V6F4cRyhfhm1kYtc4J9M1f3FNmI+9c+ogtA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705924300; c=relaxed/simple; bh=8U5I3BA2WDzmDr+uJ4+nC3p4EXcojAiWBaxOyz8f4SY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MbGwBnHsiYqZq2rR6RkVQS8TJ1GKxNFsvBL0FkB8+rPLwTfa1lUIRw15YCOGxFkaI/oSCzbzpE0eYr7LHwYrsgdoKR7cZzY/uIE13n7y8iCBluTzjQ4e4wsnbCJnZKxonAvvMIlFsSkau4yZ1tXE2RK5BvDK+5IhdUWRzv5F+SA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=a9fiQe6q; arc=none smtp.client-ip=134.134.136.31 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705924298; x=1737460298; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=8U5I3BA2WDzmDr+uJ4+nC3p4EXcojAiWBaxOyz8f4SY=; b=a9fiQe6qJKEz2wf/IjrF5eVCX1eABI5QoxtXFU8V4/Unys36cEC5u86h drPeOVOob4a/Kjm87LSsSfUa2KBH/LrgtehK7l7X1ARZ73d3XqY5LXdpW j+rLU6ed7m8pEC/wKrFPYwUsRgjdG8fs99m6YwOKyP0EUKllw2IiivfH2 FWQfl/iY6gIIvf3hE+B3R9XIzajEe/Z/NjmU8dWQtrBcsDFOxVFA0kF0b sEKjp+3R3NrTyYa8hg67Oqz+4WvSricWDKzHrUCtzzGC6Unbuwe9fOqL9 +Xa9ZYrI5dhfJtCDNOocSwx+GsZuS2pdAB+IlWP6KyfV4zrNHuTUwkaPl A==; X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="465448418" X-IronPort-AV: E=Sophos;i="6.05,211,1701158400"; d="scan'208";a="465448418" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2024 03:51:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="928968818" X-IronPort-AV: E=Sophos;i="6.05,211,1701158400"; d="scan'208";a="928968818" Received: from aslawinx-mobl.ger.corp.intel.com (HELO [10.94.8.107]) ([10.94.8.107]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2024 03:51:36 -0800 Message-ID: <521ead90-0eb8-468a-a56c-557a6ae64564@linux.intel.com> Date: Mon, 22 Jan 2024 12:51:36 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] ALSA: hda: Increase default bdl_pos_adj for Apollo Lake Content-Language: en-US To: Rui Salvaterra , tiwai@suse.com Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240122114512.55808-2-rsalvaterra@gmail.com> <20240122114512.55808-3-rsalvaterra@gmail.com> From: =?UTF-8?Q?Amadeusz_S=C5=82awi=C5=84ski?= In-Reply-To: <20240122114512.55808-3-rsalvaterra@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/22/2024 12:45 PM, Rui Salvaterra wrote: > Apollo Lake seems to also suffer from IRQ timing issues. After being up for ~4 > minutes, a Pentium N4200 system ends up falling back to workqueue-based IRQ > handling: > > [ 208.019906] snd_hda_intel 0000:00:0e.0: IRQ timing workaround is activated > for card #0. Suggest a bigger bdl_pos_adj. > > Unfortunately, the Baytrail and Braswell workaround value of 32 samples isn't > enough to fix the issue here. Default to 64 samples. > > Signed-off-by: Rui Salvaterra > --- > sound/pci/hda/hda_intel.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c > index 66f013ee160d..1b550c42db09 100644 > --- a/sound/pci/hda/hda_intel.c > +++ b/sound/pci/hda/hda_intel.c > @@ -1732,6 +1732,8 @@ static int default_bdl_pos_adj(struct azx *chip) > case PCI_DEVICE_ID_INTEL_HDA_BYT: > case PCI_DEVICE_ID_INTEL_HDA_BSW: > return 32; > + case PCI_DEVICE_ID_INTEL_HDA_APL: > + return 64; > } > } > Reviewed-by: Amadeusz Sławiński