Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp165271rdb; Fri, 5 Jan 2024 06:12:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuX3i3YbMkR3uzN8mkkNUDvsylCcZe4p2xnz6ok2d1H1tfafBmJqj4+tlsRsOz9AZnoHOl X-Received: by 2002:a05:6102:2b97:b0:467:bac8:c864 with SMTP id ib23-20020a0561022b9700b00467bac8c864mr348931vsb.1.1704463959834; Fri, 05 Jan 2024 06:12:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704463959; cv=pass; d=google.com; s=arc-20160816; b=g0Pj2/OFwMA9jAtoMNuPgA+2qThoOdRG3rEqDC+Q29bzuWa8hcdYIpBdzhFvCeiBYp 7A2bM5xQ8Ic2nwIcEMYoFCEr9SlNjtZ91OMiN4ExoOpzQpepgUP5Tu0CH3dXzV46PQlQ JtNB1xo/tG9atnY49YJS/shbkMhSiJ1ckp2Mmpifay+FrJ69jyLAAObkCeeu/yHIe1Kw KklH5PWU1XXJH59/QbJWMjjWfzz8cYjB1Av/2WGE0ar6ZdDuZkbl3038brghtyTwrTU/ my19jD13RBJ52T2nBxlvS3c+zFTGgJ8+G7EjN5/ERQ6YvR0jRPi/1GKC1unc/YWHVn/u YZgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=08tY/p64qe3JTx/fl3vp5vN6HV6IIz26ikwTn6Erw4M=; fh=MN/bkHGu84ooMMTgCiXP1oFxiryoF+JDoK0S8hA26Mo=; b=Ai6RuXZ2MWZVjOiWy8Y63QrZ/hQGV9Vznulvdze0bVrYBzwqh9VSU8VIWtS+8ClBKw sDlGmxNU1zDRZlcj1VccqyzYdCEdTs6Ow03Sh0+lzE9DVomXi+QVgb/3tcFiM6zpDfh2 TxHBFyPttGpBLdBAjf07EH6Pmm1JdYTp/xN6HYBmQdmjCHRuiHjo4HgMb3P1CNQazt1i e0NcJuYqtLNrKL2zNarZPkt7e8Ms/KNKftnKPsyAZPmE9OwynhyeZzi4haM5s8LggTvh lSUyoyWnbjOXgzAonwBJeoc+974Kegoc9OVpKlj7QFMAXA+s8ojMoE1HjDaorNLgZT4s Ts3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kunbus.com header.s=selector1 header.b="xIgIn/g9"; 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+bounces-17906-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kunbus.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jn11-20020a05610219cb00b0046705a3d381si127524vsb.35.2024.01.05.06.12.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 06:12:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17906-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kunbus.com header.s=selector1 header.b="xIgIn/g9"; 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+bounces-17906-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kunbus.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 817931C22D3E for ; Fri, 5 Jan 2024 14:12:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0AF3D2E3F0; Fri, 5 Jan 2024 14:12:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=kunbus.com header.i=@kunbus.com header.b="xIgIn/g9" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2060.outbound.protection.outlook.com [40.107.22.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79F2C2DF62; Fri, 5 Jan 2024 14:12:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kunbus.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kunbus.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ezpO/WuQlYeaPlhfJJGWvXmj1fi/71Xj240Vj9g5DAXhSry5PTIf+w8lQyvqu/z25wdQjQKQw34HGGeMmWjwpPZMlGTxoWdx9F6HHrgGmCXoYyuQXMlrwFxTcwzkFYUCZp2AaQpk5/FBgAA1T80/kByYRt+NqS3N9XOaGgGDK+FjIsq8nzcK612wX50gh5BwtJqDHSLHxOqztqmbsw67aAheN5EVM5Wvn1Rx67/J8zrhNxSjpt0R7An7TEL/l2bO5KMgfkNdNpzvqU1EAZehuIxNzugl84t/Ixbh4QBzyCTII6RL+KcHesiHTf7aoXo+V3vdP7X823LRcv6JQPjfZA== 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=08tY/p64qe3JTx/fl3vp5vN6HV6IIz26ikwTn6Erw4M=; b=WH3tkmAcdTeTQdOxKevgvs/GDLnoD79/B7+gPJb7+mBNo4jXAlwiFDRdFdYyUm410avHTOXBTog28Or7wNOevy2CbmSeaBdOlR7LqNGgmDvQBNyOLqTteoti6vKJ5kdXZrjwoTVDiMxDzV+1xkuituq3g/slVGixMkGs4yXbJEtELefAjT9UwOO5qUjuewijk3AkokMYeK8Wd1bSixCiFfT6ro2aHEzZ+FdmHq7tsy3HZyvLEOKTBF6lJVNas26CdzNoIjiyXTVlpzSnnQ83clVZO1OEAxWxjB9rjUYyvf7EidjbOCK4RD2zrI7jiGqGTO1GrhTmQXTA86OLNrri6g== 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=08tY/p64qe3JTx/fl3vp5vN6HV6IIz26ikwTn6Erw4M=; b=xIgIn/g9e/MvI3R33fVdtTa97/V1sCsD7Wd8RpSIJiwmdGjbvad/eqi6mRSi4Dua3uDA/x2hIBVylxOaHPnkkDRePH1FP56GDwipJhoqD/DBGDs6wwkCrvnzCXc7jZQ60S0IFRA7OzPoOl8yC0w3KPE1g0Zlk6r2NC9ff7+GO3U= 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 AM9P193MB1538.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:30a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.16; Fri, 5 Jan 2024 14:12:13 +0000 Received: from VI1P193MB0413.EURP193.PROD.OUTLOOK.COM ([fe80::67b0:68bf:2582:19cb]) by VI1P193MB0413.EURP193.PROD.OUTLOOK.COM ([fe80::67b0:68bf:2582:19cb%6]) with mapi id 15.20.7159.015; Fri, 5 Jan 2024 14:12:13 +0000 From: Lino Sanfilippo To: gregkh@linuxfoundation.org, jirislaby@kernel.org, ilpo.jarvinen@linux.intel.com Cc: u.kleine-koenig@pengutronix.de, shawnguo@kernel.org, s.hauer@pengutronix.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, cniedermaier@dh-electronics.com, hugo@hugovil.com, m.brock@vanmierlo.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, LinoSanfilippo@gmx.de, lukas@wunner.de, p.rosenberger@kunbus.com, Lino Sanfilippo , stable@vger.kernel.org Subject: [PATCH v8 1/7] serial: Do not hold the port lock when setting rx-during-tx GPIO Date: Fri, 5 Jan 2024 15:11:47 +0100 Message-ID: <20240105141153.19249-2-l.sanfilippo@kunbus.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240105141153.19249-1-l.sanfilippo@kunbus.com> References: <20240105141153.19249-1-l.sanfilippo@kunbus.com> Content-Transfer-Encoding: base64 Content-Type: text/plain X-ClientProxiedBy: FR4P281CA0327.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:eb::11) To VI1P193MB0413.EURP193.PROD.OUTLOOK.COM (2603:10a6:803:4e::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P193MB0413:EE_|AM9P193MB1538:EE_ X-MS-Office365-Filtering-Correlation-Id: 603bc360-aa28-4985-4403-08dc0df84ff8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oxe1DYxMJQTpGEWY3LZdg3W9U/EQwWhuFE26xuSF1aAXemLq4H+mDvgvrRxDtXFo3pQKfpjptFXL/ylhc2UuczZSSI3sofRA1qvdmHB79P3EeXoGkmJJPXVk4yl4HIhFWs9TZvUNKjpRgQa1ul3OKAMyqtB6WahW9Aqv/4bxjiogSSn4GB6mUReJjj8QscE7Air2yiNO7Yt8hra9tohFY9fFRIyVriEBZdVcOxe+5H74p0KWBYSBH8K1YJevr84JFlVe9mBLD+Yg3n3J6LQy+GGB98Bat3EXAveHA4h6B+YeB2BodPZtmSEVqEUuZ0FraaCuGG+QXExEaHcYkqi8CeXj6dVfd/Snk+FZsTLs7M1x98b/nOe+iNJOwDd+uxA81GezDEzKsRhij64ZhFK3lXEeTfXvc9F7Gh4Cj0yGmLJgW6j5yiOisf6l7Sy94tsZHveBv9HQtU/orcDnDik1FTmBbunec19Ghz+9vqdYUm5ai34zoVots7iDWC4KNbYVWvjXMq3phZLLogkXPoxVzpsJBfOZt/u4kuVWNq+aGHxZVLAu5fRQffpATGBvBndE 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)(39830400003)(376002)(136003)(346002)(396003)(366004)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(36756003)(52116002)(6512007)(478600001)(6506007)(66946007)(66556008)(86362001)(66476007)(6486002)(83380400001)(38100700002)(2906002)(6666004)(2616005)(1076003)(7416002)(4326008)(5660300002)(41300700001)(316002)(8936002)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiS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094M7Gp1HBga7oKv0TtmMGb8J0f/0hkCd?= =?us-ascii?Q?wdmskG5s14kk0TkxmAUUVrsr6+3GhuuKpmoA/Y2UGzbfW0Royje4LqpfthFN?= =?us-ascii?Q?DbNalat3sF9iykwkLmTltZ43wVdyeRYs7v+dnjupEsiY/q8DhMRJOsKFNmAQ?= =?us-ascii?Q?n/VZH45hdW0hTpFkUtVM1GBNCOIezZG47ttxtt9Xgjndr55ujMG3MJgEgpMn?= =?us-ascii?Q?8n49NzuDWLhf2/i6O3d2dcSMatvFxZeo7nniHebrEkpWzoSnhSHqU0AoZdNW?= =?us-ascii?Q?hjGGR/VkQxQo+d+MLYoZfsO8a3swbDsWv+ue6xCBXqREICaxQCCJNB7ODYPX?= =?us-ascii?Q?oPN/U2UibtcqLxr0R4yCbX8vlhoqSlTQoQxpInrd3zxaBnjRbcF9Bxeg7r+e?= =?us-ascii?Q?AUZxNsFvo1Q4jHHzTuGU0AsM9y6KjFd5SLRyjgIkizcdgu2sxrDgM3Pl4xJp?= =?us-ascii?Q?b5d8/RNWqoz+MoVmDea6nw6NEFelU8zSZg2FE+/ecEujsXt4Q9EYHVAfWZ7m?= =?us-ascii?Q?qLxNPWiupZ4PO/Au9/yuspNGfDi8BmZ77hrjA7Dg6j/NGufexr97cGO2ETnH?= =?us-ascii?Q?Tc5UzE/SGdTmMIQKLoQRHatA7vqwobtiBp6X4iGG+y1aygh8BHY9eeTelQwG?= =?us-ascii?Q?68dwAq6aqA8uvlpWzRk23BIO0KTbtlRwCpk2R7m4TLV49+HuOyh36bEEW9u8?= =?us-ascii?Q?//JOcbJh3mbXpnUef/A/guYWRCDsYnaIHYUfL/VgieKyMuGuGWUUuIY7KCZG?= =?us-ascii?Q?1EHXd8675MQc43H9iDM6mJEwzLE7EAroFt9Ox5olt+Mpyl8jMG3rvne/PqGD?= =?us-ascii?Q?UziYfQ=3D=3D?= X-OriginatorOrg: kunbus.com X-MS-Exchange-CrossTenant-Network-Message-Id: 603bc360-aa28-4985-4403-08dc0df84ff8 X-MS-Exchange-CrossTenant-AuthSource: VI1P193MB0413.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2024 14:12:12.6080 (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: pMs1JZs1AOxaf/GiR/+CaHy7kq2nfWvV9YZFS+PYxZSvVC2WtV8jKT2Ll/wZgVjaxZyywL7bcHq6OY9Vbaucfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P193MB1538 Qm90aCB0aGUgaW14IGFuZCBzdG0zMiBkcml2ZXIgc2V0IHRoZSByeC1kdXJpbmctdHggR1BJTyBp biByczQ4NV9jb25maWcoKS4KU2luY2UgdGhpcyBmdW5jdGlvbiBpcyBjYWxsZWQgd2l0aCB0aGUg cG9ydCBsb2NrIGhlbGQsIHRoaXMgY2FuIGJlIGFuCnByb2JsZW0gaW4gY2FzZSB0aGF0IHNldHRp bmcgdGhlIEdQSU8gbGluZSBjYW4gc2xlZXAgKGUuZy4gaWYgYSBHUElPCmV4cGFuZGVyIGlzIHVz ZWQgd2hpY2ggaXMgY29ubmVjdGVkIHZpYSBTUEkgb3IgSTJDKS4KCkF2b2lkIHRoaXMgaXNzdWUg YnkgbW92aW5nIHRoZSBHUElPIHNldHRpbmcgb3V0c2lkZSBvZiB0aGUgcG9ydCBsb2NrIGludG8K dGhlIHNlcmlhbCBjb3JlIGFuZCB0aHVzIG1ha2luZyBpdCBhIGdlbmVyaWMgZmVhdHVyZS4KCkFs c28gcmVzZXQgb2xkIEdQSU8gc2V0dGluZ3MgaW4gY2FzZSB0aGF0IGNoYW5naW5nIHRoZSBSUzQ4 NSBjb25maWd1cmF0aW9uCmZhaWxlZC4KCkZpeGV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