Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2335762rdg; Mon, 16 Oct 2023 00:31:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAbZhZd8CeyIxKa/75Ro3MW1e5Ogtx2C511jj/Wv23YQk7GdmzVCJBOfBpivRqSRsbmOUn X-Received: by 2002:a17:90a:cb03:b0:27d:2949:9e05 with SMTP id z3-20020a17090acb0300b0027d29499e05mr9976682pjt.11.1697441482609; Mon, 16 Oct 2023 00:31:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697441482; cv=pass; d=google.com; s=arc-20160816; b=kUckpCwBa7CY5C4djyZk2qbeEyb/dwLLj5j6O36JbUHQBTFJpBsr/QDG+15yZH2aka bOb/0qG+d0VSvFuPkHdWFMlGgRpDql2UPJ1BG2gi16Ym8bS6o1yxPg7W0+1Y/epGkjHh g4IWGOBfuBI7hyvvkdqFhV6biQSUhhyKyUPiZQRGndRLYoUTCYaMNB0P5nu7HFoBybvk DghJ7VEm3tYo+lh0l7Buhc/yD8PoLwXKRo1XCoRkl5BgqrhAd95loZdGFO8OCoqg4fc+ PODWBhnhrZ7tMxtwm7Isp5jycCknbTgEv30gnSLmUZGCD+S3qFc/wZARM5U6Y0l5XSTs doCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date; bh=A8ZD+VE6xDx92ONnmydVSnfByQO6QE7L7wogSwXu5M0=; fh=K+LOI3zl2Gp5fOLi3rHDxjHg9K460nqWBFln65I3/e4=; b=mqAySN4dc1jr+BSKAkMLQGtk7lQltODOWzzN2OmKbraubqyjQD+qsUC67CDufkIp/6 745YNmgavNeZbL2bdKWoeCpsNgDt/28jISVEgW+AGc+7q+xh8BrkXSjho7k/Eenqzo0t ARTWGdf/PHUq+TQayCbSvS68RLdWBVZCD+O+xEJfHzvGXEIGxXa6CtWagjZoEaLp7u3Q cTkvsO3rdjeqkdrC+MBo5Cj/7PowcxxPBR2SQkcEAsgzLtJ/u0BVRb/QGPdpJRl76aeY fyeZoic3BfHxwdyiTqyj5ZHg4QUqaNdyQb16rF5Xjba03z0fpFFr8bJmedYGU71IPW0G 2biQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=live.co.uk Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id rm3-20020a17090b3ec300b00274df6d4c38si6091302pjb.89.2023.10.16.00.31.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 00:31:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=live.co.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id BCAFD8087271; Mon, 16 Oct 2023 00:30:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231135AbjJPH35 (ORCPT + 99 others); Mon, 16 Oct 2023 03:29:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjJPH34 (ORCPT ); Mon, 16 Oct 2023 03:29:56 -0400 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02olkn2081.outbound.protection.outlook.com [40.92.49.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4460BAD; Mon, 16 Oct 2023 00:29:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A5lVFCZ3zNcDs4RZY2bvCSl4R7fBYtUvzAcJlPnQUsZBYiH3DoPg36ieNHcdeK5ayGUkLP6INLnTDC2jIcfZDDCC6k2s8evtwxabCvh93GQItn+VEaC0s6KgUYzbbLUwR0jwY9bRRfrYlG3ryc4DmILqc5DABCvkicakSByRE6kywOXcZ/jlzxvfmbxa3+URw/gmUxBICuCbbrAx03g/9f+RVvIGEUqQRd49l8902xugnfm5XFJJq4GRdtJFGI6Wz77oTqTftdNQY18u/CDcWMdOb3o122eY09gr4qs7VD5QNh0I2oaxwbLf22KznsCYAONeQLFtberI7nK3nZgOUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=A8ZD+VE6xDx92ONnmydVSnfByQO6QE7L7wogSwXu5M0=; b=dxytDmnzpcClUtmzHvG3mHDzv4pUL3admf5tUxx4v7pV7k602FGGiODazWS+MNRmiC2XFLUOoyLD4tnqOjIJB1uD7D+TT6MApcnpVaKlgZYmETczLHDBZiz/iYTDtBVkJn4shrclAFzxXOuh3a34f69mFfyCikRpKj9J/oRlmID/LBWcEYgDGmNchd1QRyf2c3JwUxquo9iK0wOF2mG+dJUdgrCL7BpdMiMvuAJUErv/KMFs5g51xB6/0O75eIA6tjiV7v7gsesRrw8ol8fGLT/RcvH8OKykS0UK7ZiXjPDtQY9peQofGKkl0VBum2zWPhb3ieWIAifoKv15iSwy5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) by VI1PR02MB6398.eurprd02.prod.outlook.com (2603:10a6:800:198::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Mon, 16 Oct 2023 07:29:52 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%7]) with mapi id 15.20.6886.034; Mon, 16 Oct 2023 07:29:52 +0000 Date: Mon, 16 Oct 2023 08:29:48 +0100 From: Cameron Williams To: Jiri Slaby Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v3 1/7] tty: 8250: Fix IS-200 PCI ID comment Message-ID: References: <20231015171141.3309-1-cang1@live.co.uk> <17636fae-6aad-4f6f-bd16-6296e726b324@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17636fae-6aad-4f6f-bd16-6296e726b324@kernel.org> X-TMN: [5Spj37XGBai377bwbBn/p2VZlGFbYP8n] X-ClientProxiedBy: LO4P265CA0066.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2af::9) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|VI1PR02MB6398:EE_ X-MS-Office365-Filtering-Correlation-Id: e636bc5e-6be4-41cb-5f94-08dbce19af4a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a3iFlTWo0xPHV3N1Sx/HEoqgdEvfvuZemDRp+j+F8fy1fVs78NUhnltN6Zo9RFrTUFfgEqUEbVfb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-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: e636bc5e-6be4-41cb-5f94-08dbce19af4a X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2023 07:29:51.9360 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR02MB6398 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 16 Oct 2023 00:30:15 -0700 (PDT) On Mon, Oct 16, 2023 at 07:37:43AM +0200, Jiri Slaby wrote: Hi Jiri > On 15. 10. 23, 19:10, Cameron Williams wrote: > > Fix the PCI comment for the IS-200 card. The PCI ID for the IS-200 > > is 0x0d80, and the definition used (PCI_DEVICE_ID_INTASHIELD_IS200) > > is indeed 0x0d80, clarify that by fixing the comment as its > > neighbouring cards are all at 0x0020 offsets. > > The real question is why to maintain a comment here at all? I suggest > dropping them both instead. > I try to avoid touching other people's code unless it's wrong as is the case here. I could remove them both but since they both (IS-200 and IS-400) refer to the definition in pci_ids.h, and the rest of the cards use the raw hex IDs instead, its more consistent to have them all showing the card ID in one way or another, IMHO. > > Signed-off-by: Cameron Williams > > --- > > v2 - v3: > > Clarify commit message with better explanation of the change. > > Re-submit patch series using git send-email to make threading work. > > > > v1 - v2: > > This is a resubmission series for the patch series below. That series > > was lots of changes sent to lots of maintainers, this series is just for > > the tty/serial/8250 subsystem. > > > > [1] https://lore.kernel.org/all/DU0PR02MB789950E64D808DB57E9D7312C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ > > [2] https://lore.kernel.org/all/DU0PR02MB7899DE53DFC900EFB50E53F2C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ > > [3] https://lore.kernel.org/all/DU0PR02MB7899033E7E81EAF3694BC20AC4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ > > [4] https://lore.kernel.org/all/DU0PR02MB7899EABA8C3DCAC94DCC79D4C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ > > > > drivers/tty/serial/8250/8250_pci.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c > > index 62a9bd30b4db..ecb4e9acc70d 100644 > > --- a/drivers/tty/serial/8250/8250_pci.c > > +++ b/drivers/tty/serial/8250/8250_pci.c > > @@ -4917,7 +4917,7 @@ static const struct pci_device_id serial_pci_tbl[] = { > > * IntaShield IS-200 > > */ > > { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_IS200, > > - PCI_ANY_ID, PCI_ANY_ID, 0, 0, /* 135a.0811 */ > > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, /* 135a.0d80 */ > > pbn_b2_2_115200 }, > > /* > > * IntaShield IS-400 > > thanks, > -- > js > suse labs >