Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1977003rdg; Sun, 15 Oct 2023 06:03:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE5qV1HuIjs/X3boIEZr1pdKBMs9d7hHLbYuzn0y2rffR0WDNz28U3PiKONCpE5cNkJrzn/ X-Received: by 2002:a17:90a:4214:b0:27d:2c3c:7e25 with SMTP id o20-20020a17090a421400b0027d2c3c7e25mr5775080pjg.46.1697375026654; Sun, 15 Oct 2023 06:03:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697375026; cv=pass; d=google.com; s=arc-20160816; b=cnA+FUNofr8K3Tp3APjltGlqvlURqAc7FV4xTyShyo2SRF5weCUJgwqQabUZ2YGIhc 4P7FL6Q/3Feo5tNVFXBQiJbx9t7wH7utbbXpELjnDHkJbE0AREibTIwIsAvQ7e2xptV0 Y3QedUjowvxk3p8wvX8Np1r/vJpXjZ+PYdqwhpi6eVJrgpLSSThLovg7iv/wkcwLgZWj xu1SkAnrvf+q6m3xvQfTVoPzVDZm4FC+gIStVEJOqHgVT7c5bHIp5XkRm4bW2vdwmHaT hne74tF6rEK1FEhwqoBSm5ffrn04LoiEiViNvEM+E3gr2N7xkgsNJCCQsXiDjicDbEZq hWqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=WZEdw5yBq6bVsizgAYQQd+w/awdGEoftjGFqBmkQKO8=; fh=g0O+K2T1sQU6g/FT5uoALj2AtncPgPrEhO/02VfZcZs=; b=jsBRkqOmiXm8rxGzQcSqvzLvrgnyMvNZ12z5EB3akPN9jxORyfeFW++YF/80L80BqX /9kevtbduVfL7PPPzgO5Es3CA7PZMLVC4HZkSwvg8m44CaP1vQOonEyo1xgbHBKQdWaw uxBKeBy0H/B8yRNQze8B6JdXb9Q6DVlkiHNEnyOzosr8mdRmEgQvIcxzXNII6d9JwLPw gLiSiLYe4WOOHvui3IWiQbvG2b76npqa+gTiBzlCNnR3Gbojc2WC+CQC1v4vgWO5ZTaJ z0IZ0LXShWc9XQamEmZPgdd9a9cT0yHI91nZPOs4sG2w8HanOfQPiG5Jv6Kk4wLiBPpb vvxQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kunbus.com header.s=selector1 header.b=xFdjoCLO; arc=pass (i=1 spf=pass spfdomain=kunbus.com dkim=pass dkdomain=kunbus.com dmarc=pass fromdomain=kunbus.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kunbus.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l18-20020a170902eb1200b001c9c8c4c6d0si8254137plb.26.2023.10.15.06.03.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 06:03:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kunbus.com header.s=selector1 header.b=xFdjoCLO; arc=pass (i=1 spf=pass spfdomain=kunbus.com dkim=pass dkdomain=kunbus.com dmarc=pass fromdomain=kunbus.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kunbus.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id EECA280C282E; Sun, 15 Oct 2023 06:03:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229854AbjJONDa (ORCPT + 99 others); Sun, 15 Oct 2023 09:03:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjJOND3 (ORCPT ); Sun, 15 Oct 2023 09:03:29 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2083.outbound.protection.outlook.com [40.107.7.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9914AD; Sun, 15 Oct 2023 06:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OPLYd0SrtBj6SMjM7NDFEZjses4XG+wG5esz2laL20vx8qqyDeVc8ykd0ootR3o3y31VdfatZkBwSKIix9It8eP6szCEFOpqvXNTAh7Dxr44P7QibmDGnclyj1JcFWGd5gbvRaNWiFyD8mclVMlKd8W+QgXBgmNyylLsNAZuAToWI/YbAV38guw4fVpaB85sT6SWBdn065dhhSLfHmzURyeiiYAFvQFhMVrbWd20+iNYXJ0gTla0OG9rwTcJ3AAuXnw4NJBWuGRwsiBXQ3cohuM2rR8Su5HpOAb4U8XYAe97E/dNPn3krWQ3eyR1VqKZftHz/hPq13ep3rGO9mqdFw== 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=WZEdw5yBq6bVsizgAYQQd+w/awdGEoftjGFqBmkQKO8=; b=NH4egsltLDBL/KqnUtvX78TnP2ZlUnUSalwANo78RW+p0j8KLn4tl+w69YeuYreHzuPI6cCEdrH5uzNtUBDmu/CAqAq3vaS3lxTjdU9XdQXdhb+Li09f/86S9ashxh7uOvT4+qG1YQiLwKz5sd4DyS4SDFvc8h7apFjey/rdn7I9YrxJn6b3UXSi/qGbDgesWLyikSezM9YXZ4+iyMCziPtTENTI4XrH46B+waJvMh9FIreYT63xjnEGx5uVHKw3NDd/GoEzbWWhBi9b8/WCR/6z1hdiYoLFdKHznu1ILGBl2OOuWx1eiJduJ4iSOMV9KS0SzyfTYsWvurBAGc41TQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=kunbus.com; dmarc=pass action=none header.from=kunbus.com; dkim=pass header.d=kunbus.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kunbus.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WZEdw5yBq6bVsizgAYQQd+w/awdGEoftjGFqBmkQKO8=; b=xFdjoCLO+Z3eOX24P3jnlWN7M2g1R5Y8km8L08czFWWJS2/azBskstBevn/sq+V/k1mvL3ZS0MlYsij+1smLbwsO2iBDg6jIfFcqJoerjolqVVC14O/eKLKUXkskTbqfh8qu9+mbHgV3vvU2qRf+3D5qv68BDsQ99gLa/KIXYAE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=kunbus.com; Received: from VI1P193MB0413.EURP193.PROD.OUTLOOK.COM (2603:10a6:803:4e::14) by AM9P193MB1346.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:2fe::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.34; Sun, 15 Oct 2023 13:03:24 +0000 Received: from VI1P193MB0413.EURP193.PROD.OUTLOOK.COM ([fe80::550d:2425:c0ed:3e59]) by VI1P193MB0413.EURP193.PROD.OUTLOOK.COM ([fe80::550d:2425:c0ed:3e59%3]) with mapi id 15.20.6863.046; Sun, 15 Oct 2023 13:03:23 +0000 Message-ID: <0ca84efc-c999-4077-85aa-e13fd0984182@kunbus.com> Date: Sun, 15 Oct 2023 15:03:20 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/6] Fixes and improvements for RS485 Content-Language: en-US To: gregkh@linuxfoundation.org, jirislaby@kernel.org, ilpo.jarvinen@linux.intel.com, u.kleine-koenig@pengutronix.de Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, cniedermaier@dh-electronics.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, LinoSanfilippo@gmx.de, lukas@wunner.de, p.rosenberger@kunbus.com References: <20231011181544.7893-1-l.sanfilippo@kunbus.com> From: Lino Sanfilippo In-Reply-To: <20231011181544.7893-1-l.sanfilippo@kunbus.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0008.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:15::13) To VI1P193MB0413.EURP193.PROD.OUTLOOK.COM (2603:10a6:803:4e::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P193MB0413:EE_|AM9P193MB1346:EE_ X-MS-Office365-Filtering-Correlation-Id: 2fd995d6-a9c4-421c-0124-08dbcd7f1cbc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D/zoYB8EVLOnhqNN+AvpnsrPh0wNr7DwZGpX7+32dl3upTKppEN5L0f/Jd9482iwRGozIL9fsuHvDhZ1g4N+AvYz7o6N2NBrGoeCvGn2+/DYFNkAo9VCvMtTKsU1A9PV0upxFxb89ZIOryk/ulQZu4Mh95gT60mvg0s8bcT8tnCVgg4aqt2/Np2MIKX2hBSPSv4KV2w0//Q4TfvRCydQaHbvhNhDlF28s/UA6kNrjlQlQm7OicWrj2K/FtZEGMJaAM2+zaTxCDZ3D4bWgx5PBXv37TMDpBcJzpTft4o4F8ATgDBmmx1HLqKbogOlzJA2DRMZNjXfSfE1NjEzgonObgPe6RxustAGeZzly/YHyB9qCefurB9SC8U+Vu1rXp15W7BL3Fen2TNYr1Blf4ynDkZnJMf6ohigLGBVEodrHFmnRrVnKy7TP05nN/Vp7TEKkZbYAxyVVoaIh8rkugl2u9mzD5h+Ppi4F3UuzDHcy+MjhxC49qFVJ6u9hy94ARIaaELsrF+I0qnLciR5W91XUVhN6q+6PRbMUqZ+/yxVjlaiSmlu+RCOYrl1F6VmZQeIj15UXxAeLGm1pFrHnWOzhCzuaf0AZodUWeCB73UdHeHXu8jspLe0lWCOu9ps+wrDvViDP6Qmb4ymIg6XY1ru1g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1P193MB0413.EURP193.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(136003)(376002)(366004)(39830400003)(346002)(396003)(230922051799003)(1800799009)(186009)(451199024)(64100799003)(31686004)(478600001)(6486002)(66946007)(66476007)(66556008)(83380400001)(31696002)(86362001)(38100700002)(316002)(6512007)(107886003)(53546011)(2616005)(52116002)(6506007)(41300700001)(5660300002)(36756003)(8676002)(4326008)(7416002)(2906002)(8936002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?R0NpcjhpOEoySXZFVDU3RXl4OTNYelpnUkRXdk02dHpScGRsWWlwc3BTOXVk?= =?utf-8?B?aFdpbUt6WFBzK28zdXJ0L1J6RmVYMkw1Z2pVRG4vVk02L3pRUzFoZnJFcHEz?= =?utf-8?B?MXhYVWxOVnprMDZ3Z1VOQk9yMzZUWndCckRvNlJabG9Kd3dlTm1sVSsxbzFP?= =?utf-8?B?ZFZOaXhSZHRFYWxWaG1KTlJvMUdyMm9XakpwSGhFVHU5OFlORzNIYVEvK0M5?= =?utf-8?B?bXRtQkRr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MENG?= =?utf-8?B?VjdUc2o1T1NtVlZrM0MvODF0ZktDRDNJSGNBNEZDdEppRzg3VmRhb2xoZFMx?= =?utf-8?B?OW9GVzVnNitYS3c3bGlvanhoQzlkWTN1Mm96UDZvUk1hT1FGaG5SSUxXUlpl?= =?utf-8?Q?jUuXQ4nuyQ9kB7uc+7YvaHmk7XeJEP+YNBsen+IIRHjW?= X-OriginatorOrg: kunbus.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2fd995d6-a9c4-421c-0124-08dbcd7f1cbc X-MS-Exchange-CrossTenant-AuthSource: VI1P193MB0413.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2023 13:03:23.6844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: aaa4d814-e659-4b0a-9698-1c671f11520b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /vkiqOscqBKgWDgZi4v02pXHb1Fn6ie0elh6ihgKTE4FQjUxWoYT7JJNNBBHkbC0gtmYWGx2mznF7rTSH0TPig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P193MB1346 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 morse.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 (morse.vger.email [0.0.0.0]); Sun, 15 Oct 2023 06:03:43 -0700 (PDT) Ccing Uwe. On 11.10.23 20:15, Lino Sanfilippo wrote: > The following series includes some fixes and improvements around RS485 in > the serial core and UART drivers: > > Patch 1: Do not hold the port lock when setting rx-during-tx GPIO > Patch 2: Get rid of useless wrapper pl011_get_rs485_mode() > Patch 3: set missing supported flag for RX during TX GPIO > Patch 4: fix sanitizing check for RTS settings > Patch 5: make sure RS485 is cannot be enabled when it is not supported > Patch 6: imx: do not set RS485 enabled if it is not supported > Patch 7: omap: do not override settings for rs485 support > > Changes in v2: > - add missing 'Fixes' tags as requested by Greg > - corrected a typo as pointed out by Hugo > - fix issue in imx driver in the serial core as suggested by Uwe > - partly rephrase some commit messages > - add patch 7 > > Changes in v3 > - Drop patch "Get rid of useless wrapper pl011_get_rs485_mode()" as > requested by Greg > Sorry Uwe, you gave valuable input for the former version of this series and I just noticed now that I forgot to Cc you for this version. BR, Lino