Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3053456lqp; Mon, 25 Mar 2024 19:00:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUeKyzpE0PK1zOskftJfIM2+0pvLKEWu6bOAYZqoQS5/596KZoxlFUQl2+lxcreG3/AQD0s1WwLeAwpkIJJW34u298o3BouAOAhyI1N8w== X-Google-Smtp-Source: AGHT+IHrn1M1K54b+j60KJbFGn6+kd0GnwWi4nKZ5nWSfaVZm7xPTuqTxTlSE0DQZhuWKCg/rdIc X-Received: by 2002:a05:6870:a54a:b0:21e:f03b:8836 with SMTP id p10-20020a056870a54a00b0021ef03b8836mr10238034oal.52.1711418425818; Mon, 25 Mar 2024 19:00:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711418425; cv=pass; d=google.com; s=arc-20160816; b=b5J1p9e0cM9L6Msxvo9BoXPCYHJse5+ezTV3/DKqQ5smjDhcu3IEjsgcp5p5s/E2ru O4wsVSzw89oN/NV/j+qNdfol6etL079VTvjawanIKq7kNH0UAXNIl0NgcZPa09B9hpJN GTR2nP4/PUNlBl9OCA++ZPrWjEjlPOCuoxFk15DzoQ6SWvO3lqHqeajN3kcGzWsNDQGq 82Hzm1C4LnY8AatEZS4Dc2r5Y9YGHupOaHSGCn8mzS8nzYU+lbm6ohCByw9Z74T6Zzqx xHGQNSmIrM/vnGrdgNtQTyjnFbARmL+4YHTRe/8MmdUBbUTJxEfqwjX5WzHvdye6Jrig 3v4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=9O+Wzitjn97rcwIks504Lms1FS2/pv8dDedQTy9bbkg=; fh=0HttNvEClJAfslPd3m7RLpdmOezUiKWKY2C7Bg507/U=; b=SUdSkqJV3i6Kx93/JwwbHx8kcXLr5Hrv+UaxLqDyO9YHo7rWjVTo3N9It3Ca6lwv0b Z1VAokfWb32bYgrRp7H7db8I67+l7+Lyj9ittd6wfeLyIHe8iu2QVJfPcqdLUgVrA8Mk EJmEH/eVO4NKuVVQiXDQniZz70oC12pW++LLS/DQ/MGb1DAq0UJhj6z3574TPgiTWBtY xReAfXeI9K10Fonv3JTgO2D0TJeq3mvrBFC16vUuIq08qvxCysz4hAZqk+XRCDKgkhoL t+AyUueCTYbh98OMaob0nFClMfUrQs2x3llGdi0NC+AINVwa2lOjw4JZHlGHASn48/Rw 4AGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jJUAlXLp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-117072-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117072-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. [147.75.48.161]) by mx.google.com with ESMTPS id j28-20020a63595c000000b005e49edf6458si8324767pgm.753.2024.03.25.19.00.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 19:00:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117072-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jJUAlXLp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-117072-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117072-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 DF717BE695B for ; Mon, 25 Mar 2024 15:33:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7327281ABB; Mon, 25 Mar 2024 12:57:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jJUAlXLp" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (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 0D4378062E; Mon, 25 Mar 2024 12:57:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711371435; cv=none; b=F3JGkS5CzXamA33+Bk4EwxeG2K/FgMd6uwm/vKUn/6O6V9XJVzRu79PV0jyh5UR9dojTkXk7dK0HeCoMDbQBexuBx3HooIgQjxumXrWUnjE9gw4cnZ7WzYzPu/Q9H1lM4Vps3wx7vOtglMx14Xf8O4z2Hd+RvQWx8/AYF9RJ9ag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711371435; c=relaxed/simple; bh=HUjKdQlxom6P1m/TBqTuw6g6vhOkoQNgKeUZCY9XFh8=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=S0PfVWyk1RENFfnj21UUcFJPW2TPp5oSIdVFOrZNqxWYVsrS0PMWLa/VwP82Oa2jDH5IVoupmvyDf5faQnruJHAtDxKCPKTeYzrYj8RJKRU95yaNPoxw1ShK0spEJSi/TwV4cSCn+jJv4PiNYetdl0UL+sI5bCPcqbHHJLt7rOU= 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=jJUAlXLp; arc=none smtp.client-ip=192.198.163.15 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=1711371433; x=1742907433; h=message-id:date:mime-version:subject:from:to:cc: references:in-reply-to:content-transfer-encoding; bh=HUjKdQlxom6P1m/TBqTuw6g6vhOkoQNgKeUZCY9XFh8=; b=jJUAlXLpNmQvj1sPQuPkQIAXYKr5zeC4VNVj9Ux1TwLOuSS6Esa4zLz0 zgEgwo/w7ayto416WoD4OWjK28R7LT3nFHmJB7mXhtz2SNx2K6kC31p5U zokP/yHr2iFMo8fP2ftyk69TN7iXUPRNKur3Pl4oRglfGoFbJk2NkgTbk Ld2SM0WM8n9T8n6b6LhtlenvoYlxARr3y8LdMlr/xjKFEJKKy7U7aIPV4 HzXWu0erfWuIPcR0FYP8eDfZMhh9gvMfeAgGO4ZztPpozZ/+GYo7IYEVU z6kr/vMDhaX+uJedxYk8whHWDGx1fO1YooHU9R81QnU+gbr0aY4OV5LA3 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="6552944" X-IronPort-AV: E=Sophos;i="6.07,153,1708416000"; d="scan'208";a="6552944" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 05:57:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,153,1708416000"; d="scan'208";a="15637244" Received: from aslawinx-mobl.ger.corp.intel.com (HELO [10.94.0.53]) ([10.94.0.53]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 05:57:06 -0700 Message-ID: Date: Mon, 25 Mar 2024 13:57:04 +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 04/28] sound: intel: Use PCI_IRQ_INTX From: =?UTF-8?Q?Amadeusz_S=C5=82awi=C5=84ski?= To: Damien Le Moal , linux-pci@vger.kernel.org, Bjorn Helgaas , Manivannan Sadhasivami , linux-scsi@vger.kernel.org, "Martin K . Petersen" , Jaroslav Kysela , linux-sound@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-serial@vger.kernel.org, Hans de Goede , platform-driver-x86@vger.kernel.org, ntb@lists.linux.dev, Lee Jones , David Airlie , amd-gfx@lists.freedesktop.org, Jason Gunthorpe , linux-rdma@vger.kernel.org, "David S . Miller" , Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Cezary Rojewski References: <20240325070944.3600338-1-dlemoal@kernel.org> <20240325070944.3600338-5-dlemoal@kernel.org> <3edd5823-bf54-4898-bcee-e1628c863388@linux.intel.com> Content-Language: en-US In-Reply-To: <3edd5823-bf54-4898-bcee-e1628c863388@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/25/2024 1:34 PM, Amadeusz Sławiński wrote: > On 3/25/2024 8:09 AM, Damien Le Moal wrote: >> Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY >> macro. >> >> Signed-off-by: Damien Le Moal >> --- >>   sound/soc/intel/avs/core.c | 2 +- >>   1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/sound/soc/intel/avs/core.c b/sound/soc/intel/avs/core.c >> index d7f8940099ce..69818e4b43da 100644 >> --- a/sound/soc/intel/avs/core.c >> +++ b/sound/soc/intel/avs/core.c >> @@ -343,7 +343,7 @@ static int avs_hdac_acquire_irq(struct avs_dev *adev) >>       int ret; >>       /* request one and check that we only got one interrupt */ >> -    ret = pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_MSI | >> PCI_IRQ_LEGACY); >> +    ret = pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_MSI | PCI_IRQ_INTX); >>       if (ret != 1) { >>           dev_err(adev->dev, "Failed to allocate IRQ vector: %d\n", ret); >>           return ret; > > Reviewed-by: Amadeusz Sławiński Sorry, one more thing, can you adjust commit title to: ASoC: Intel: avs: Use PCI_IRQ_INTX and with that, you can add above Reviewed-by: Thanks!