Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5193271rwb; Tue, 8 Aug 2023 23:25:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHk2PcBYcAYbeNoUIDSZ6SrY82hC4aPybM6Gn61fPO8BtKSlsxQajmyzeqAevYwWD2X9OV9 X-Received: by 2002:a05:6402:2714:b0:523:4e41:2a37 with SMTP id y20-20020a056402271400b005234e412a37mr2547946edd.11.1691562352535; Tue, 08 Aug 2023 23:25:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691562352; cv=none; d=google.com; s=arc-20160816; b=R6XLTX140VFibEH0v5dcPEODzYUBAi4z76OR6K0jrwjab/2osL83o/QMt/wcNDHl4c 98/tBUUxOFavnBHzYus7zjjSokLtgFV+y1uy/WYekKVawg79SPePKkbcKAVyVWzoZo5X l3hP2NvCHtyLGKLNBW3V49zYRtuS+F9FZ7oz0GM9Mt49j49p3sljcIOtGyICG6kofkIG BXq11TXggQUl82IpDTbNPrYms43Eet2AeUsNMBI+O/W5EXqaPa+j5DaLSUiSf4OQLewv 0Fryu4hONsJnviO3kxhS9s5mBvKRa7zQ7g6zcjBDR6GzKZjKtHiJrQVf9f3Gh2t/kPAQ 7CkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Y/oQmnTPtdE4S4g/XeGVIXfJpEWD680xqI1AbmwKmaA=; fh=MA1GnJg8tgWOzSTfuQstYJwYTTsbfcCkAVrOvY/IWeM=; b=oC7BlrkDQAoV6DSzzMQJQNnb+ODZqMxT2D05fVeJe+NjxdZWaqU1XjPIJYWlUE4cYI ffqaU7QKIfIOTCCNwP6ue59f/FR82+tHEZNQJxnvXomxssDaec1lZJyhrXQ/tHW2w+x0 r4iy580qxXe8H6iukxjftvDyTjWQis4XLfVcnRVIJgeLJT9NAhPEMS7sdgd1VSsAjIxD h3O15fVqiofcQzQoThak7b5tC5mpTLMyGkmcowikaiRa7ZaR0POU40FKfkla37yAnZzR Uxgh7fsofTpJzNV4Qjc+q2Ju90rJML3lQJJRc9yk7g1bDItcm40oxsq7bIcrnncvX5YC NDFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LWQQj8fK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020a056402079300b00523379298f7si4449217edy.200.2023.08.08.23.25.28; Tue, 08 Aug 2023 23:25:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LWQQj8fK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230284AbjHIFd6 (ORCPT + 99 others); Wed, 9 Aug 2023 01:33:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230267AbjHIFdz (ORCPT ); Wed, 9 Aug 2023 01:33:55 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AADEF19BC; Tue, 8 Aug 2023 22:33:54 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3795XFGS012495; Wed, 9 Aug 2023 00:33:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691559195; bh=Y/oQmnTPtdE4S4g/XeGVIXfJpEWD680xqI1AbmwKmaA=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=LWQQj8fKFeeTC/IoO6Krx6ATI4L+5phZ2JjvuQ4/A4TH2FzWxJEvcBzqyelUOsU/Z ppq4sTgI+KRj/0OWpEq72TTicjfMFlh4J4GHs05tXodbX+3tH+r1/Nh8fNttlyRumC 6naPFKmC3Sou/8bY+bMv2CXeQtM3/5gPXFU8dYv0= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3795XFTa053429 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 00:33:15 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 00:33:15 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 9 Aug 2023 00:33:15 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3795XEYl059916; Wed, 9 Aug 2023 00:33:15 -0500 Date: Wed, 9 Aug 2023 11:03:14 +0530 From: Dhruva Gole To: Tony Lindgren CC: Guenter Roeck , Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Andy Shevchenko , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , , , Guenter Roeck Subject: Re: [PATCH] serial: core: Revert port_id use Message-ID: <20230809053314.dwksdbl63dnuiar3@dhruva> References: <20230806062052.47737-1-tony@atomide.com> <20230809052650.GT14799@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230809052650.GT14799@atomide.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Aug 09, 2023 at 08:26:50 +0300, Tony Lindgren wrote: > Hi, > > * Guenter Roeck [230806 13:19]: > > On Sun, Aug 06, 2023 at 09:20:50AM +0300, Tony Lindgren wrote: > > > Guenter reports boot issues with duplicate sysfs entries for multiport > > > drivers. Let's go back to using port->line for now to fix the regression. > > > > > > With this change, the serial core port device names are not correct for the > > > hardware specific 8250 single port drivers, but that's a cosmetic issue for > > > now. > > > > > > Fixes: d962de6ae51f ("serial: core: Fix serial core port id to not use port->line") > > > Reported-by: Guenter Roeck > > > Signed-off-by: Tony Lindgren > > > > Tested-by: Guenter Roeck > > Thanks for testing. > > Guenter, care to also test the patch below on top of this fix and > see if things still behave for you? > > I'll send a proper patch assuming things test fine. > > Regagrds, > > Tony > > 8< -------------------- > diff --git a/drivers/tty/serial/serial_base.h b/drivers/tty/serial/serial_base.h > --- a/drivers/tty/serial/serial_base.h > +++ b/drivers/tty/serial/serial_base.h > @@ -16,6 +16,7 @@ struct device; > > struct serial_ctrl_device { > struct device dev; > + struct ida ida; When you send the proper patch, might want to change variable name to something other than ida? [...] > > -- > 2.41.0 -- Best regards, Dhruva Gole