Received: by 2002:a05:7208:b08c:b0:82:bbfa:f723 with SMTP id c12csp417836rbb; Fri, 26 Apr 2024 08:00:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkq+CcLbxCYiy9HVvQZ5eCkaDHS2KNPF3Lf7OVlDfYYILosH1zhs2jU2Mdyg7Wtln21SbsCLi1LDtVR4VjzBy7DlPjhb1CQYPje0M2xw== X-Google-Smtp-Source: AGHT+IFoimsJh8Eme3XpFmpIaOGWucQergTq0vruR7TZ2kcfxx4+DLKPaC+7wzq8toLAUPaWhPUr X-Received: by 2002:ac2:4c42:0:b0:519:5ed4:c901 with SMTP id o2-20020ac24c42000000b005195ed4c901mr2354854lfk.48.1714143637245; Fri, 26 Apr 2024 08:00:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714143637; cv=pass; d=google.com; s=arc-20160816; b=o7NVFApv7ZU6sF+g4UbNgHxu1la5wlj48zCyozALR7J5yEHgKdh3bKuvoGFAhqWcW9 mwxXqVctwsqVOCpDFkWnjxOkdhW0bxtiBm5/lSZFFxwxpDbnv0LqnoYUJJRXowNGvua7 4J7TNMs5CCzNXfqSP/F63D64Ajw9RPrV4tW0ymwgnWcfARhP9tYEkekXd/VHxhyNhJv/ 4ASoeq5zAbanEvhSrz3mUX25fURooP8iC5dlbJAX1xR6kvmkZTof6ptrcBhb/06sYKly RGYN+RKQsP9A850y42edN1tdzn+3jqiPMfpYlntOuvPOvsiAVw4JmCcTleQQF2DE/vpv eCnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=RI2DiQ7WK0ETjEb7x2y6HuwkQosPYs9rpRMVtAeop9s=; fh=Jao3M3+ANI3HMI2K6fgXk7us81UjIFdVYwHIUIDQYiY=; b=kKSddLAix9MahjYrAqN3iuIRbw+Ss0MT0zl14z3viskdYro0ZoOHaHCfmstg7Qs328 l7dhNOpDwdsbyhTrAC3CbdRyNrK8Ki8K9zXUli9cIc5gkSh+UzxVStTlFdipjK4EF80H pe0yzb+4l7Yw9v/OwONzJIH62gYHNP0ED83dr9tWRQujS8uerNuNvppL7R13u0WB3J8A 1zB9VMl43uR//J8QpKzU6PBHMxU8WOolcTn+1e5DZw2DIBZXWNFXw/HsomY/3bMJ9mjj HNqZy2mGwWQaX3egbkfmNSX3BFXQOYoqD2rlKPzFsTAomJ7EORTX6dAGrpM/INPClKgp hDUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RMfGfSnX; 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-160200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160200-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 25-20020a170906301900b00a55afc07373si7020140ejz.700.2024.04.26.08.00.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 08:00:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RMfGfSnX; 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-160200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160200-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 02CDA1F21BF1 for ; Fri, 26 Apr 2024 15:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28130148856; Fri, 26 Apr 2024 15:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RMfGfSnX" Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.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 E0E891E52A; Fri, 26 Apr 2024 15:00:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714143629; cv=none; b=LFCGBRjIkmISJ9pTHzxnFVcX7XYIhUvR8ivRQdViuQ0smQlbzlLdEwLRz+KDhWfKojF9Y5ExxYSd57GYqUTSHUN/fO1VcCGlZAVZwpyfkw4+1c58ZbnmfiN/WjtDsPUPUnzyAmHRIUSBAbdsvddPu14jlgYXSXmTzP5oJ8mMt0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714143629; c=relaxed/simple; bh=D0JTVPMoItreQXaR98u8YlOOBXWYx6Lk1Qa1JuIAaSQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=MKlDbrQbq3wo/pHel62V7lSLyWRGlwjYD4zzzKFVbPxisAMZGVL47QXc0gRtrMFiVGnUDbUDRmpc40OwM44ZeDLOUcneJs0qT7bO70dKg19Yts9/6Hc/qBJwjftatl5b1o/oC6V98KABPqpjbreCV0FSWTnEsEm4Bn5KLEIJY/Y= 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=RMfGfSnX; arc=none smtp.client-ip=209.85.167.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-lf1-f46.google.com with SMTP id 2adb3069b0e04-51967f75729so2603710e87.0; Fri, 26 Apr 2024 08:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714143626; x=1714748426; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RI2DiQ7WK0ETjEb7x2y6HuwkQosPYs9rpRMVtAeop9s=; b=RMfGfSnXsAevX68ExAyv3pObRfsEdEZEI/kx/kmebLl5eNYX7HIOooBVXhS2vZrnVD 21awBqdwaY4Sg5zO0u0YSQKglQFb+7qF4cXnhssqGi2cP4pR5MieG8zSLJx2KYk3CtaB KTwtZUejAXZ7Usq3Q8wYexIhQcXjeQljYenOOyZ8dsqffKUKPXGew2tQLSsKiTTILbjj dN7FQ1Oc8uedUADd+oH+jSSIovKZu6uDytEf4a42VKqBgPWvjB4sCiU7A9SQqcvTa8F2 uQ79exNqGwykp1/ddF9x7YK2N1HejC5LSIxr1wid7oQV3hFp+GkExHoeIAg6zb+zB/D6 A5Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714143626; x=1714748426; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RI2DiQ7WK0ETjEb7x2y6HuwkQosPYs9rpRMVtAeop9s=; b=jEhU5byBQra2YdKDHU2VvJRZpTxt6gTGmkdg0gJCX8KXSMr4A2J1RoimqLgvcIjRqu NRqpWkVD4JlFGhxfbdiN/r92adnIIu9WjO/Zv5ypVnCP35EdwRkzktscu0g9miOA0vG1 vZNDqsObh0vkQs6KRvE+jtQp6cVdTck1owBueMFwcBuCKocWfR4indinkdAmeO9i6mkS MNhb1VSYoCQtBkrNm4WpcAaoEbVKbkQsI3/0qoOagYsMvjfg7veqqLijW9eis7dm5nZF 4a9U1QwznpiMdKOVMt0QBa2m8WVlCtCeb7mER0vJEUayWw8JzY+woWnxbUTUrhB2trl+ m/HA== X-Forwarded-Encrypted: i=1; AJvYcCVwOMO1wlDmxNZJmw+3KApagT4dUlCOx2lxoWomxaIknYPXwFwXihcfQH2ddACz4aVTG6FfD57FCU9K9DUcjQNliUmXukK6j5neP4Tv8BNpFhc80/LNHk7TP67H6RHnCkt5lixmUlaqq+5L X-Gm-Message-State: AOJu0YxurWazZGw5L2/jNZ7pl1p3Nq6+orZYlSmMJbm2/R2s6QadbT6s /6YuxqB4XPlUH9/b44Grg5wihrrF7/p03fQJChUk0ItjH3X0fLQVHyRq1CcnBFfBKzi4xLzPElH jKr2vELGieZvqOJmWiip6o3pE+G0= X-Received: by 2002:a05:6512:4012:b0:51c:bc4f:2026 with SMTP id br18-20020a056512401200b0051cbc4f2026mr1606484lfb.51.1714143625992; Fri, 26 Apr 2024 08:00:25 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240425183251.174412-1-rilian.la.te@ya.ru> <20240425183251.174412-2-rilian.la.te@ya.ru> In-Reply-To: From: "Konstantin P." Date: Fri, 26 Apr 2024 18:02:48 +0300 Message-ID: Subject: Re: [PATCH v9 1/3] serial: sc16is7xx: announce support of SER_RS485_RTS_ON_SEND To: Andy Shevchenko Cc: Konstantin Pugin , krzk@kernel.org, conor@kernel.org, lkp@intel.com, vz@mleia.com, robh@kernel.org, jcmvbkbc@gmail.com, nicolas.ferre@microchip.com, manikanta.guntupalli@amd.com, corbet@lwn.net, ychuang3@nuvoton.com, u.kleine-koenig@pengutronix.de, Maarten.Brock@sttls.nl, Hugo Villeneuve , Greg Kroah-Hartman , Jiri Slaby , Lech Perczak , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2024 at 5:36=E2=80=AFPM Andy Shevchenko w= rote: > > On Thu, Apr 25, 2024 at 09:32:33PM +0300, Konstantin Pugin wrote: > > From: Konstantin Pugin > > > > When specifying flag SER_RS485_RTS_ON_SEND in RS485 configuration, > > we get the following warning after commit 4afeced55baa ("serial: core: > > fix sanitizing check for RTS settings"): > > > > invalid RTS setting, using RTS_AFTER_SEND instead > > > > This results in SER_RS485_RTS_AFTER_SEND being set and the > > driver always write to the register field SC16IS7XX_EFCR_RTS_INVERT_BIT= , > > which breaks some hardware using these chips. > > > > The hardware supports both RTS_ON_SEND and RTS_AFTER_SEND modes, so fix > > this by announcing support for RTS_ON_SEND. > > Greg KH, who is maintainer of TTY/serial subsystem, usually asks to separ= ate > fixes from new features. So, sending this patch separately may not only h= elp > him, but let's move forward with your stuff. > Do I need to increase the version number in split send? And if I need to do so, then how I should do it? Only on new driver? Or only on fix? Should I CC linux-stable in fix patch? > -- > With Best Regards, > Andy Shevchenko > >