Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2964752lqp; Mon, 25 Mar 2024 14:51:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUdCTZPwq8fObzRGlFBljgO9a7CbCJOLL1MlCJ7lEPl9SwXoNr1uo4A5KBSuALgdbFxJso0oXH4F9GXeR6er52+oX7Noyuke/Cz34QTA== X-Google-Smtp-Source: AGHT+IH8etaJRU/VVpeAjig3bKWDvkg0lKIEpGSPX1NB+qblIR/PhpkhfSe/RCPS81POQbKdf7Gp X-Received: by 2002:a05:6358:fd03:b0:17f:870b:9dfb with SMTP id ui3-20020a056358fd0300b0017f870b9dfbmr3069810rwb.0.1711403459634; Mon, 25 Mar 2024 14:50:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711403459; cv=pass; d=google.com; s=arc-20160816; b=lvNlLdDkNW1BoG2baoyH5GCHI6VqKgpe61tMPkQVqHMiiIsrZDBX0Z9HVx6m9WdifM EaqtltxUxCKarCrvzmX8ey25uDz06kBQ6SrKplUVrA/5rkIM+t4Y5PQRVqqKOwAfPup5 alfphRUAdfns7rUWCgvluQsSFKgyqus0q4J2zgmIyLzwWuy+qEadun9qprv3sIYLDGWa Lwb9tOyZYXbvx6H6uwHvAp7f6fw+awkdrUGeyxXM4JALWV5xlFQ9ybwURSHxY3WQUCal +VNoYYfMnEIrjbRB3pQ0pHOLQUea9pRTPgj8tUhtH/cTcXvFDkBaEkaPsyZH3pTbmEly wxKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=PoSfbikonTDSBOuLxdHwiEiP9ZejpGDsNbVllGW8OsA=; fh=y5dhirsi57sm6il0X0RQC6sO6EhAWCpElcJ8Cm4d78E=; b=dDwHPlC0Gd0a89nmUPNQ/H9UGfF7Bn2gCsf8qtz/FhxYdiOnQFhj8RlrBhTXcxTr/V Td6lYVEeVDKFA8AQO/mERO0GlRj1Pq3BaC0U3y5mj4H04CO132rI5c5ahmH1elXZu0Ma QtJQUXEx2SA7S+nDmfQa8SOmK24hno42X+HJlneyiEVDjSLoO/xpCm8zRj9hZih/0pLD ZIH+MSODHDwMDDGGe+Ot6VPMYNBp1MVcy9CsiZPuHLQMhEkaAZn4T5YW9YYTPnhQuIPI UzIxnxVIFi1Bc+yM2tEqVTu/hphPWHEGgulG6Pfw24AjA5gPh51fBuxN7E2BD8B0puNU o/GQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Nfl0R74o; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-118027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q20-20020a631f54000000b005e438e99128si8355183pgm.721.2024.03.25.14.50.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 14:50:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118027-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=@gmail.com header.s=20230601 header.b=Nfl0R74o; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-118027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 3EB7AB33FDA for ; Mon, 25 Mar 2024 21:20:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C92826FE1D; Mon, 25 Mar 2024 21:19:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Nfl0R74o" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 287502F2D; Mon, 25 Mar 2024 21:19:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711401586; cv=none; b=TBuP89+Mrp2e26v6jWTMEIsmm0GjKhlurnUR/HlUIdEiF8LA/DUHs+4o7Wt/GVfMqPoDy9PyjvT1qAzcghIxEtR66ddA5FioB/0bjgLED58NqQKgRawtysqO8bV4/7leOssQ5fG276CwBgYIGDRHTz9LojKcfnL9K6eHT5pG8no= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711401586; c=relaxed/simple; bh=pyKqoCTD+lIbBbjlyXz91NzejdbHvMMjyPPz9MEw2q4=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=feBdyTl3fSpAQ5ZPZMYeZN45mGea+8sPutm8hslrlMelrfRbIGf8K3KiGICOdvaR+jMYbkpvllWNa1+AKFvQMnDQZXxn5rZZtWgtFJA6P3SlmIbLp0fnJNAYkmLICkzKoBaRvgaa1TcsYIw1x1xw5CAu7wKBLK7T8bFNzr6LwLg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Nfl0R74o; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a466a1f9ea0so289950466b.1; Mon, 25 Mar 2024 14:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711401583; x=1712006383; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=PoSfbikonTDSBOuLxdHwiEiP9ZejpGDsNbVllGW8OsA=; b=Nfl0R74oM0ELb8ZnV3Mtz85BBIVcC4gn9kVOZ+NLN3GC8k95Ofgjz9UNNbC8D+jA/k SNfLAkOrvICbXyc7R3KW4v53EXHc4PxqCtYe1tIScJ8yR5CepmDoxRw9Vms6trgw3mTq x8W5dJ/xSHpRqNaXpOfgIBnyRNWqi3FO7ip1Tn61Sd9AF4vP9N1574RTbNhKCkHDU05v FZnP+ZYQhuxQ1FV6J6jt1UINriwyuyUNi8lQ7kJzcvU75uDKfnDaL5VQWeBiIwGtzib1 w7QSDRyD5/mhDjHkk7/bnbVuoyNbvI2jFdM5WsA3ExbqWYpUAiYJY7ML2rhCsX1vodeg XsRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711401583; x=1712006383; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PoSfbikonTDSBOuLxdHwiEiP9ZejpGDsNbVllGW8OsA=; b=rCOusTya4GvRR0N6vIuefpNiU4I7zc8LyEaHCBwE5VXGENcffY5Q8O3Ymq7/vdOOkO hntjIQ3dkyu3g9qh+mMONHBpEPbjEidz+cJIbxENPE5DYSC0+a2CPUOZ4OqtRM1X1DK3 HXj0F2MhVyfjEalhZyuI3bykNTRyTKt/GilzqSYWjko87R2ny3g7X+lwBHcXKcxMEd9V wu9FRO2a2KjOEEexuDAMjJNXLr31uDzs+UQhdDRpV+WFIJgOs/YJSvE5HOKjMdDM5YcO wjiQuDj3Yj/44ROzSEf1Rvm1U5jN8kJDZox+CmQEf60jRnXgwLCtbVHTrjh1m4kg9WVJ WTgA== X-Forwarded-Encrypted: i=1; AJvYcCVbHAXD+cXLHuTvumAizil+g8KQ92aetgKU/WviQUFsTa8dXFQNs1QetokFmtNwnEZ4mDv8jLWkvqNQWDYYS5VQ7czSCwkRp8rtNE1ogDfvPpqnddlhrhrVD0V80C5CKKbjuxXvRFPTLx6AjCu0nxkdRNQ0iA7wTgE32zaZ5qiYHugObhzuEYP4e1CdLR9PcqeYgXyFa4P6Y8iuYtCycuunymiX6ta+iGRHzz4OIi2OO3NBL4nW5mOdZ0F0TzaXXMhW/0WjG6prJO0jIGtf+yE6qdEgKAiPS9mTIVGyC6ljVdpyPAo+KjkTO5jZ03CBK4dVRpZSE4Lp7oS080bl7RRT1sfbqKHSYdHVMnZjkxuDue2gieeqqA+savPxsH1jpjs6zWC8xdDePTFwdqQQTVf0bDg= X-Gm-Message-State: AOJu0YzCaPscGqVnSrWOVe6/gwO+fPsH/3FBzE/L+vRFh9xlE1goyu2G sygcujFP0DSHw3gv8JFvNPNVzjqEQ4GXKwvTSJJBwX7piAUHQGG0 X-Received: by 2002:a50:8d14:0:b0:568:a752:5fb3 with SMTP id s20-20020a508d14000000b00568a7525fb3mr7779537eds.15.1711401583242; Mon, 25 Mar 2024 14:19:43 -0700 (PDT) Received: from ?IPV6:2a01:c22:7a49:5100:f87e:9160:36e9:a3bd? (dynamic-2a01-0c22-7a49-5100-f87e-9160-36e9-a3bd.c22.pool.telefonica.de. [2a01:c22:7a49:5100:f87e:9160:36e9:a3bd]) by smtp.googlemail.com with ESMTPSA id ck5-20020a0564021c0500b0056c1bf78a3asm736491edb.28.2024.03.25.14.19.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Mar 2024 14:19:42 -0700 (PDT) Message-ID: <3376d9e8-7841-43b6-846a-45c75975fbb1@gmail.com> Date: Mon, 25 Mar 2024 22:19:41 +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 17/28] net: realtek: r8169: Use PCI_IRQ_INTX 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 References: <20240325070944.3600338-1-dlemoal@kernel.org> <20240325070944.3600338-18-dlemoal@kernel.org> Content-Language: en-US From: Heiner Kallweit Autocrypt: addr=hkallweit1@gmail.com; keydata= xsFNBF/0ZFUBEAC0eZyktSE7ZNO1SFXL6cQ4i4g6Ah3mOUIXSB4pCY5kQ6OLKHh0FlOD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i8OK2d2j4FfF++ AzOMdW09JVqejQARAQABwsF2BBgBCAAgFiEEbF+pj/I7JePKMl6Fct6KD1TwOgwFAl/0ZFUC GwwACgkQct6KD1TwOgxUfg//eAoYc0Vm4NrxymfcY30UjHVD0LgSvU8kUmXxil3qhFPS7KA+ y7tgcKLHOkZkXMX5MLFcS9+SmrAjSBBV8omKoHNo+kfFx/dUAtz0lot8wNGmWb+NcHeKM1eb nwUMOEa1uDdfZeKef/U/2uHBceY7Gc6zPZPWgXghEyQMTH2UhLgeam8yglyO+A6RXCh+s6ak Wje7Vo1wGK4eYxp6pwMPJXLMsI0ii/2k3YPEJPv+yJf90MbYyQSbkTwZhrsokjQEaIfjrIk3 rQRjTve/J62WIO28IbY/mENuGgWehRlTAbhC4BLTZ5uYS0YMQCR7v9UGMWdNWXFyrOB6PjSu Trn9MsPoUc8qI72mVpxEXQDLlrd2ijEWm7Nrf52YMD7hL6rXXuis7R6zY8WnnBhW0uCfhajx q+KuARXC0sDLztcjaS3ayXonpoCPZep2Bd5xqE4Ln8/COCslP7E92W1uf1EcdXXIrx1acg21 H/0Z53okMykVs3a8tECPHIxnre2UxKdTbCEkjkR4V6JyplTS47oWMw3zyI7zkaadfzVFBxk2 lo/Tny+FX1Azea3Ce7oOnRUEZtWSsUidtIjmL8YUQFZYm+JUIgfRmSpMFq8JP4VH43GXpB/S OCrl+/xujzvoUBFV/cHKjEQYBxo+MaiQa1U54ykM2W4DnHb1UiEf5xDkFd4= In-Reply-To: <20240325070944.3600338-18-dlemoal@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25.03.2024 08:09, Damien Le Moal wrote: > Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY > macro. > > Signed-off-by: Damien Le Moal > --- > drivers/net/ethernet/realtek/r8169_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c > index 5c879a5c86d7..7288afcc8c94 100644 > --- a/drivers/net/ethernet/realtek/r8169_main.c > +++ b/drivers/net/ethernet/realtek/r8169_main.c > @@ -5076,7 +5076,7 @@ static int rtl_alloc_irq(struct rtl8169_private *tp) > rtl_lock_config_regs(tp); > fallthrough; > case RTL_GIGA_MAC_VER_07 ... RTL_GIGA_MAC_VER_17: > - flags = PCI_IRQ_LEGACY; > + flags = PCI_IRQ_INTX; > break; > default: > flags = PCI_IRQ_ALL_TYPES; Acked-by: Heiner Kallweit