Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2251571rdb; Thu, 21 Sep 2023 12:56:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPdYQBSVphvNE0zfvWG2o8ag62gjaxvPxCWWBiObhpiKdCcgEJHkvofCkd1NnrgH3z1F0k X-Received: by 2002:a05:6a20:6a1a:b0:158:17e6:7a6 with SMTP id p26-20020a056a206a1a00b0015817e607a6mr6753559pzk.42.1695326182237; Thu, 21 Sep 2023 12:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695326182; cv=none; d=google.com; s=arc-20160816; b=PQnv6kUrngQz3mo2q0oH2vla6DNkAvw9DKJ/AgthdlYPuZJhjRzIKIjMsg0vwdgULt QU/jqU+1nfEo99aBrIfn2KI5XHhn6oSwLUsp/0qnL1qDaknQd8tVZWRHAYhRzNZsKveB sT27vr8T+f2EzCFVZ+dCVA4RfxpTAwn3C9QqkOJbIWNu3lsd3wVPOB30Ky0NgqKk+Snt cfzTbheFnMPEB6fQbyLY4JQ5Jtpo6eKCk3xOxhj/aXf2g9btpJpc3G+cvfGv4XDjM4Ft 5pCEr11Opyw/b1eaz+H7FTkNxTvrDa8/3dBT7cNnRc8/LmNm+F79WPpFLnMZ6qrUaXZB raKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gheOXV1g6GucfJEQcSLF427HO0timOGVufXd6mBdK84=; fh=0BPabzIwSLUF3kD1qhNF3jXC5RYEvm723aaY7WDZPX4=; b=c3Zvjk5qBpR48RMlzSGrN0Igc59JUp2s912lDJw93HaJIuzVH0nkbxigtH/YRcPc2S 6JUZjQ9/Zgxf70jfsM44Zjrg7J92whH74iQuv9WqDX5WZoBgQS8AfKzoTilHSyjTV8UV OYeJrrTJEfdi8ssE7wgLmkwhZ3aB3zBcPP35wZS2gBsx/7mLDVFXbzz+3RP8AwB/cMHq pkk4lFyo/Ie/6d+cIp0FGiKWXW0BHjUO66pvXVUe6QGRSY8wHpjoY+xPrdXIsFo16A9J Z+G8wcL/b+l/lntIV+9rcpvpkakFTy3yz8r20Jqfzbid2AdGpIPpRuSdTfE0B5IaBuPa PrVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=k8SjMrjB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id ik29-20020a170902ab1d00b001bdd35033efsi2109280plb.374.2023.09.21.12.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 12:56:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=k8SjMrjB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 70ACF832C36E; Thu, 21 Sep 2023 10:54:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229487AbjIURxR (ORCPT + 99 others); Thu, 21 Sep 2023 13:53:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230122AbjIURwu (ORCPT ); Thu, 21 Sep 2023 13:52:50 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2059C43CAA; Thu, 21 Sep 2023 10:16:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695316575; x=1726852575; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=j/e5kx3KtW0oiBzzN4+AezEayhJ5LGFpaU3KZp4ujsg=; b=k8SjMrjB4B/bqNJ8gPQQKiI3lu8QdSVRZVS0d8/V8UXu4dxNLwhuuUG3 B4wsFLFbbnhMPu3WO1SDvyGtEivor+vZMJyj6EbrNNDCpL1JMSKE4x9tY jYqM8pmWjPRfZZmj622qVfBtPjMHH65iIYXyGihbDVrG2yN3+QkHivZ8M SWmCFvqSDB3fLZG0cr9y0dOdrqVXFTYsa5w4XGkpCETXQd7GUlDcVFLRb VS44T68Fj0cbz2hKOs5jq4tLTgAanDsSdBOm0XuNc4vB/811B4+xLvF6O uYpQcIhX5sOpuI/I33xV3/Ek++Qb3AfJbq+mxdBFsuTc57SiARBWCmJGG w==; X-IronPort-AV: E=McAfee;i="6600,9927,10839"; a="444598202" X-IronPort-AV: E=Sophos;i="6.03,165,1694761200"; d="scan'208";a="444598202" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2023 04:30:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10839"; a="837284511" X-IronPort-AV: E=Sophos;i="6.03,165,1694761200"; d="scan'208";a="837284511" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2023 04:30:38 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC0) (envelope-from ) id 1qjHtD-0000000GsSk-2QdX; Thu, 21 Sep 2023 14:30:35 +0300 Date: Thu, 21 Sep 2023 14:30:35 +0300 From: Andy Shevchenko To: Jiri Slaby Cc: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Wolfram Sang , linux-mips@vger.kernel.org, Jonas Gorski , Florian Fainelli , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 1/6] serial: 8250: remove AR7 support Message-ID: References: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> <20230920201035.3445-2-wsa+renesas@sang-engineering.com> <1165e159-62d1-4abd-88d7-b8eaeaf797df@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1165e159-62d1-4abd-88d7-b8eaeaf797df@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Thu, 21 Sep 2023 10:54:01 -0700 (PDT) On Thu, Sep 21, 2023 at 01:21:46PM +0200, Jiri Slaby wrote: > On 21. 09. 23, 13:16, Andy Shevchenko wrote: > > On Thu, Sep 21, 2023 at 12:36:05PM +0200, Philippe Mathieu-Daud? wrote: > > > On 20/9/23 22:10, Wolfram Sang wrote: ... > > > > -#define PORT_AR7 18 /* Texas Instruments AR7 internal UART */ > > > > > > I'm a bit surprised definitions are removed from the uAPI, isn't > > > it expected to be very stable? Shouldn't it be better to keep it > > > defined but modify the comment, mentioning "obsolete" or "deprecated"? > > > > The numbers up to 20 must stay, they are being used somewhere, setserial > > implementation in busybox (IIRC). > > But they define it if we don't: > #ifndef PORT_AR7 > # define PORT_AR7 18 > #endif Yep, but the problem is that we may not use that number anyway, because two different versions of kernel can clash on the same version of tool that will think about AR7 while it's something different. That's why instead of having reserved space, better to leave with names assigned. > > NAK. > I don't mind either way. But likely we should reserve the field if we go and > remove it (setserial has a number->string mapping in busybox). Hm, then > reserving it or keep it? Perhaps keep it is better... So ack the NACK :). -- With Best Regards, Andy Shevchenko