From nobody Thu Nov 28 06:48:55 2024 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 9560D176AD0; Thu, 3 Oct 2024 12:17:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727957863; cv=none; b=hXrjtkQR4dHqk23f7spdx7QjCaTSx8jnm+66us1yXLaouFsKgAKba0fjok1o5x4Vf7wMeCp2J8jvJXjSvFSfM7pjl5oFexF68MLXw5urx2hRrW5o9mtH+tF0185jZywos+r8wYecxyF7lN/Qqkp9KMKMf2WK87zrKzBMpY3lANI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727957863; c=relaxed/simple; bh=0GfcwRhMqlrIWD0p/2ugXnoonC3s6GLJ5qcjY8YjoUY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Xzt66btDqobRIvBdSMRTgeaT008JbKU91Moyc6fRHKu7KLgL/epTZyDsDcPqTWmSfjkP3u7vwWNplL7VDx5z41LPAEt4FZidChyv7jn1ZqsNj20ZedriW7PSBS1dLc4n+yCBeQHTzmmGlLj+UrVdf3W5feHUZfuvk2vVjI3+/98= 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=iDyX5NFA; arc=none smtp.client-ip=192.198.163.12 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="iDyX5NFA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727957861; x=1759493861; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0GfcwRhMqlrIWD0p/2ugXnoonC3s6GLJ5qcjY8YjoUY=; b=iDyX5NFAr77NUVwpXKUp217nhUZwDdAxRLmIcIoMGaaPOqu2hR4wNb3q TNhkYYiUcu3sEXWMAPL3U6tiLPUu6xQQVuSGutx8WvtGWfytE05M9hbjg r7qAhKC6wAYZC+TsRbGj3Hjn3aV3neQMlEz/yt4f4l2sPx0pNxbbHh0AG n81dBtulaCmUP6C85FR3iAWFQ5I/LjJiIlrgq1CESJeDUV+TmWh58IznE D5O5UWr8JfwvEMIZgksJhQH37f9GdqwxW1gGa2EdSLtroLc3OOy/2MZ9E 29UdL61Lqa/oT/WBU7lMBNxNGSxGmymN9ENplYUM6Eb97KfKhy51lb56I A==; X-CSE-ConnectionGUID: NFKvb0AKRQGtL7pgZvPh3Q== X-CSE-MsgGUID: SNgGsx76SNaLNHyU51Sfgg== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="31029807" X-IronPort-AV: E=Sophos;i="6.11,174,1725346800"; d="scan'208";a="31029807" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2024 05:17:41 -0700 X-CSE-ConnectionGUID: a7zNg4YlTVCopRkzt8urbw== X-CSE-MsgGUID: xyL84KhgSKe/ANM7eSycIQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,174,1725346800"; d="scan'208";a="111786207" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa001.jf.intel.com with ESMTP; 03 Oct 2024 05:17:40 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id B86D91E5; Thu, 03 Oct 2024 15:17:38 +0300 (EEST) From: Andy Shevchenko To: Greg Kroah-Hartman , Mathias Nyman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mathias Nyman , Andy Shevchenko Subject: [PATCH v2 1/3] xhci: pci: Aling the naming for Cadence PCI ID 0x0200 Date: Thu, 3 Oct 2024 15:14:44 +0300 Message-ID: <20241003121729.3867216-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20241003121729.3867216-1-andriy.shevchenko@linux.intel.com> References: <20241003121729.3867216-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Rename the PCI device ID to match what's used in another driver. Signed-off-by: Andy Shevchenko --- drivers/usb/host/xhci-pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 295d3297ca3d..2c148b143c54 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -81,7 +81,7 @@ #define PCI_DEVICE_ID_ASMEDIA_2142_XHCI 0x2142 #define PCI_DEVICE_ID_ASMEDIA_3242_XHCI 0x3242 =20 -#define PCI_DEVICE_ID_CDNS_SSP 0x0200 +#define PCI_DEVICE_ID_CDNS_UDC 0x0200 =20 static const char hcd_name[] =3D "xhci_hcd"; =20 @@ -475,8 +475,9 @@ static void xhci_pci_quirks(struct device *dev, struct = xhci_hcd *xhci) if (pdev->device =3D=3D 0x9203) xhci->quirks |=3D XHCI_ZHAOXIN_TRB_FETCH; } + if (pdev->vendor =3D=3D PCI_VENDOR_ID_CDNS && - pdev->device =3D=3D PCI_DEVICE_ID_CDNS_SSP) + pdev->device =3D=3D PCI_DEVICE_ID_CDNS_UDC) xhci->quirks |=3D XHCI_CDNS_SCTX_QUIRK; =20 /* xHC spec requires PCI devices to support D3hot and D3cold */ --=20 2.43.0.rc1.1336.g36b5255a03ac From nobody Thu Nov 28 06:48:55 2024 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 B0FAB17CA1F; Thu, 3 Oct 2024 12:17:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727957864; cv=none; b=LyKPIowVOQhDJSGa61b9b1s53yBAx6LcjTrZAJ+atVhbx9LK5vNkH6IE8hJrWgYQFMPSieJzWUmp5xoOahQRligZTHD7h0YrILMSvRQKEJCh7F/36L1dfE/Dq5yau5SCNo0Rs2t2eYKNucayzaQWgxx2Bg9wI+SW6xgkOifuxdw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727957864; c=relaxed/simple; bh=t5gymWfJKU1ixqiZWXX3m/YNB2DjHWDovue9DofdyiI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=j8JcRiDmPDusgikymytaoAXD0Z4LEs0b7OOhZNTkZsdF/E79WB5K6x70/Gl/B6ZnqZQda1SM3ILLrtRzAB+8mJCZFllFgHPl1XrQaXA9Ee04lQ0xOg1aNaVPQ7yvOutJ9Umo6i+5NC2JyTzs65TlT+ZOXi+RrnaSUKzuErDT0fI= 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=Jctzv4rA; arc=none smtp.client-ip=192.198.163.12 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Jctzv4rA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727957862; x=1759493862; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=t5gymWfJKU1ixqiZWXX3m/YNB2DjHWDovue9DofdyiI=; b=Jctzv4rAUDTs0mCfah2ZyCpsOUSrD3r0AjzajoiBDo6HfWOEk5LQMQMM i4viUuskWwlMWSc7d+GwkWbj8dvN77XSYQxxhUtVjARsLjPGOZCFfgvpR MAsIrbZzKj0BaHSZUs3loa1XGd+HVKvT3wBNzKRoBEX6T6Dei0Stwi4ez aXcGr9fhN1+B6Mm82tBVaIKziJIvhE6mZqt2lERH3IyekBVd4awTSZRFC Jt7H3S+nanE85QDy+3PXIVfa82VeRiOYVEMVCP6DSHZxphJycucw8QlCR 6SYyNEV2ANHrYzethJoEPiMZlHR2qVG9teFbw657vFtd+1KGSFBcDNSkf g==; X-CSE-ConnectionGUID: 6v+xZDeFT9icJ2a7/IU/AA== X-CSE-MsgGUID: WIrCXB9lRjOz67tlaEJfag== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="31029810" X-IronPort-AV: E=Sophos;i="6.11,174,1725346800"; d="scan'208";a="31029810" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2024 05:17:42 -0700 X-CSE-ConnectionGUID: LJ5cHVhVTn22SQgKYZZKPA== X-CSE-MsgGUID: foUKneg+RGK6bKrOOKW+CA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,174,1725346800"; d="scan'208";a="111786210" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa001.jf.intel.com with ESMTP; 03 Oct 2024 05:17:40 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 7AC06373; Thu, 03 Oct 2024 15:17:39 +0300 (EEST) From: Andy Shevchenko To: Greg Kroah-Hartman , Mathias Nyman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mathias Nyman , Andy Shevchenko Subject: [PATCH v2 2/3] xhci: pci: Use standard pattern for device IDs Date: Thu, 3 Oct 2024 15:14:45 +0300 Message-ID: <20241003121729.3867216-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20241003121729.3867216-1-andriy.shevchenko@linux.intel.com> References: <20241003121729.3867216-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The definitions of vendor IDs follow the pattern PCI_VENDOR_ID_#vendor, while device IDs =E2=80=94 PCI_DEVICE_ID_#vendor_#device. Update the ETRON device IDs to follow the above mentioned pattern. Signed-off-by: Andy Shevchenko --- drivers/usb/host/xhci-pci.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 2c148b143c54..1f7333a5e9a9 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -34,9 +34,9 @@ #define PCI_DEVICE_ID_FRESCO_LOGIC_FL1100 0x1100 #define PCI_DEVICE_ID_FRESCO_LOGIC_FL1400 0x1400 =20 -#define PCI_VENDOR_ID_ETRON 0x1b6f -#define PCI_DEVICE_ID_EJ168 0x7023 -#define PCI_DEVICE_ID_EJ188 0x7052 +#define PCI_VENDOR_ID_ETRON 0x1b6f +#define PCI_DEVICE_ID_ETRON_EJ168 0x7023 +#define PCI_DEVICE_ID_ETRON_EJ188 0x7052 =20 #define PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI 0x8c31 #define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI 0x9c31 @@ -393,12 +393,12 @@ static void xhci_pci_quirks(struct device *dev, struc= t xhci_hcd *xhci) xhci->quirks |=3D XHCI_DEFAULT_PM_RUNTIME_ALLOW; =20 if (pdev->vendor =3D=3D PCI_VENDOR_ID_ETRON && - pdev->device =3D=3D PCI_DEVICE_ID_EJ168) { + pdev->device =3D=3D PCI_DEVICE_ID_ETRON_EJ168) { xhci->quirks |=3D XHCI_RESET_ON_RESUME; xhci->quirks |=3D XHCI_BROKEN_STREAMS; } if (pdev->vendor =3D=3D PCI_VENDOR_ID_ETRON && - pdev->device =3D=3D PCI_DEVICE_ID_EJ188) { + pdev->device =3D=3D PCI_DEVICE_ID_ETRON_EJ188) { xhci->quirks |=3D XHCI_RESET_ON_RESUME; xhci->quirks |=3D XHCI_BROKEN_STREAMS; } --=20 2.43.0.rc1.1336.g36b5255a03ac From nobody Thu Nov 28 06:48:55 2024 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 3AA8718593E; Thu, 3 Oct 2024 12:17:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727957867; cv=none; b=Lvx7sOFFzQoKZk6wQzeWQS5qn86G1rqAb3VwNT/ys9OW/dM+1Fgcs8muzSmtf8h7q81Q2G0C0t96CtgGWoSrKI0ouHoMhHoC7K7reiJ7y5DKydDCOM3ThqWS42G20fZvcO94zlE6C6qkzWFwWojCQPmZU5xD25SVr8M7fQ4aI48= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727957867; c=relaxed/simple; bh=aGQ7+SR9U7HF7iLueB7DH4Z3T9tvu3SmVEYNeNRliE4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eOy5znc8KfBmtIT07i+uqXPavB9OZPFOWX6mCHpUP+mbpe42K42Al8dbRLuo9wEQSgPU3GFrXaHHAXbSFxbYha2Us/BTY0gAVk8Q9r9mdpbthdbkyYzequu6nRyWjf+B5yjuN+/7mAP4fJlhRi+D05UZJ1i6Rt5Fe0gB5bnkaNs= 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=NXjcTk/3; arc=none smtp.client-ip=198.175.65.11 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="NXjcTk/3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727957866; x=1759493866; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aGQ7+SR9U7HF7iLueB7DH4Z3T9tvu3SmVEYNeNRliE4=; b=NXjcTk/3FmrIJ+UcoDTCJZcbiOCQQ2+Oza3I5r0WjuuPAwYEDZWvnpp4 jRMPsMrjT/v1Fyt5U8DeStknrt0250MPAqyPl+DpgjEMkOYeXD8QVPiOG WE075lyy930uxy2w9VTby4pRzqR26GC/Xmit+li6YYjRy0hY9BZiJLwJR hM4ZlhHWe3vHF3ldBQFxkrqjc3JN6xKERhpT1VHWGpF5PhgMVXZS948Pd UzRpJ4/xCY7o4oRgmnpGFEVPaf2sn5ZSue3BJ7pgeZL0nvYOXsohtdmHI 4rYPE2EHOcffgbUzwLaWAH1L0L3HjbOPfRdYGRIb6/mjiUHu0NC+tNrfV w==; X-CSE-ConnectionGUID: iP+0WW/wQH6BsJ9GiJqzVg== X-CSE-MsgGUID: w01VOoNESHmYg6JJLAW69g== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="37705720" X-IronPort-AV: E=Sophos;i="6.11,174,1725346800"; d="scan'208";a="37705720" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2024 05:17:43 -0700 X-CSE-ConnectionGUID: qrFFcryMQVS07sLTy0Alsw== X-CSE-MsgGUID: Ikt77AB3RLusenKZkhVhtQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,174,1725346800"; d="scan'208";a="78746177" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa005.fm.intel.com with ESMTP; 03 Oct 2024 05:17:41 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 350A337D; Thu, 03 Oct 2024 15:17:40 +0300 (EEST) From: Andy Shevchenko To: Greg Kroah-Hartman , Mathias Nyman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mathias Nyman , Andy Shevchenko Subject: [PATCH v2 3/3] xhci: pci: Fix indentation in the PCI device ID definitions Date: Thu, 3 Oct 2024 15:14:46 +0300 Message-ID: <20241003121729.3867216-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20241003121729.3867216-1-andriy.shevchenko@linux.intel.com> References: <20241003121729.3867216-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Some of the definitions are missing the one TAB, add it to them. Signed-off-by: Andy Shevchenko --- drivers/usb/host/xhci-pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 1f7333a5e9a9..4b0378a9b584 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -28,8 +28,8 @@ #define SPARSE_CNTL_ENABLE 0xC12C =20 /* Device for a quirk */ -#define PCI_VENDOR_ID_FRESCO_LOGIC 0x1b73 -#define PCI_DEVICE_ID_FRESCO_LOGIC_PDK 0x1000 +#define PCI_VENDOR_ID_FRESCO_LOGIC 0x1b73 +#define PCI_DEVICE_ID_FRESCO_LOGIC_PDK 0x1000 #define PCI_DEVICE_ID_FRESCO_LOGIC_FL1009 0x1009 #define PCI_DEVICE_ID_FRESCO_LOGIC_FL1100 0x1100 #define PCI_DEVICE_ID_FRESCO_LOGIC_FL1400 0x1400 @@ -38,8 +38,8 @@ #define PCI_DEVICE_ID_ETRON_EJ168 0x7023 #define PCI_DEVICE_ID_ETRON_EJ188 0x7052 =20 -#define PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI 0x8c31 -#define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI 0x9c31 +#define PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI 0x8c31 +#define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI 0x9c31 #define PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_XHCI 0x9cb1 #define PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI 0x22b5 #define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI 0xa12f --=20 2.43.0.rc1.1336.g36b5255a03ac