From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DD1DFA373E for ; Wed, 26 Oct 2022 16:54:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233305AbiJZQyQ (ORCPT ); Wed, 26 Oct 2022 12:54:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233682AbiJZQyP (ORCPT ); Wed, 26 Oct 2022 12:54:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C66E5F985B; Wed, 26 Oct 2022 09:54:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 62BCE61FCB; Wed, 26 Oct 2022 16:54:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 749EFC433B5; Wed, 26 Oct 2022 16:54:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666803253; bh=2QZvPddq3LVwpWCyC1ZiUaUBdBGd9LnlGy6Mb6c2s4s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DU2ADWSpgiv68QWcovvOgwewY9Z73R9kogo7fj+a9gqGDFwVtu4NbJlYduFTC93hO 7KKisriyuNInA8/ls1JVEaUGl5iJeFVKBdkN7Rbg/dEJwcaeu6mOYQBeNDupfw0ZgF vayaStsp9+kuKPsvh/SQ7G7kIa83oceizN2Ioqm8= Date: Wed, 26 Oct 2022 18:54:11 +0200 From: Greg Kroah-Hartman To: Dominique Martinet Cc: Lukas Wunner , stable@vger.kernel.org, Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Matthias Schiffer , Roosen Henri , linux-serial@vger.kernel.org, Lino Sanfilippo , Daisuke Mizobuchi Subject: Re: [PATCH 5.10 v2 1/2] serial: core: move RS485 configuration tasks from drivers into core Message-ID: References: <20221017051737.51727-1-dominique.martinet@atmark-techno.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221017051737.51727-1-dominique.martinet@atmark-techno.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, Oct 17, 2022 at 02:17:36PM +0900, Dominique Martinet wrote: > From: Lino Sanfilippo > > Several drivers that support setting the RS485 configuration via userspace > implement one or more of the following tasks: > > - in case of an invalid RTS configuration (both RTS after send and RTS on > send set or both unset) fall back to enable RTS on send and disable RTS > after send > > - nullify the padding field of the returned serial_rs485 struct > > - copy the configuration into the uart port struct > > - limit RTS delays to 100 ms > > Move these tasks into the serial core to make them generic and to provide > a consistent behaviour among all drivers. > > Signed-off-by: Lino Sanfilippo > Link: https://lore.kernel.org/r/20220410104642.32195-2-LinoSanfilippo@gmx.de > Signed-off-by: Greg Kroah-Hartman > [ Upstream commit 0ed12afa5655512ee418047fb3546d229df20aa1 ] > Signed-off-by: Daisuke Mizobuchi > Signed-off-by: Dominique Martinet > --- > Follow-up of https://lkml.kernel.org/r/20221017013807.34614-1-dominique.martinet@atmark-techno.com I need a 5.15.y version of this series before I can take the 5.10.y version. thanks, greg k-h