Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3968157rdg; Wed, 18 Oct 2023 10:49:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYcw85wTJORhQYdk1/YStJRQD+MM8fcakOltNAkKXTjado1uuqkGOLtrcMlaVU5HN/YVZ+ X-Received: by 2002:a17:90b:2414:b0:27d:b811:2fe4 with SMTP id nr20-20020a17090b241400b0027db8112fe4mr6143366pjb.26.1697651393425; Wed, 18 Oct 2023 10:49:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697651393; cv=pass; d=google.com; s=arc-20160816; b=ZQIhLTV+mb3cQSvTkLOTLQexTuzO+snmEz9a+h37RwX8ehNUBQcUB7o7N85lXvw41o 23su1Gufw7AU58yDR6G22rko8vr/QDMKvsWD2+L2nM47o3b8rmv3oq2O/2Z9oRYWZXsT zxv2lfdd2gRcijkYfUEGO8pEkEMYg4j7447pSpx+kGMIpEnQZHN2b/V82dE/B3UFMqhl 7HRiZ/CPo7Aa7Phfa2xvZF4q/VkJzcY2HX8c5koA6ULQqmWxna7M27J5XI+ZSm1iUo4H xDDpVQ0ZPgNmGnv+HQRQBWS9IOMnppUw5n0d1rgmGheBNlbUP2OHlCnl8WZPO6lyvKV8 5XZA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kig7DXAIM3jbV8RnY2R78WbZepJvDlAZxse7gk0wTaQ=; fh=TkiyChPg6bbF3HR9T06bpNLcepPHbldn/GrIZCqgMvI=; b=bdLOvyR7Q4ghWgImbKc2/bQ2NDT9TJnHCUoTO8IzJec4xCM1Ra+OY89i7+E2dNm5Y0 AvI+ax+jIOhQcWLE2vgBTV690VpRAlXkDj5t8joDIbJaKl8svPVhO8Ormr6yxEpgvitO Iq//tr2FepfiAM2ISeBFsRyCAi4hQFu8JqAzfoB2T7z+Ws2a+XEY1uMALAt8vZo3m9m5 Qf4efywnMJLu1ZXE+B1ubjJrmLjLZVYBHYVlLwh6TndWw0NfvQ3K0yO5BPwPhtou6adt bjjBboLeDdvTFh4xqF4Hht2v1O1VTVBzkxi0b5EhcoJKZFZPJp3JxW1DkRbEBclFi+4t c8sQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kunbus.com header.s=selector1 header.b=GUD+rpoE; 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 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id hk1-20020a17090b224100b0027ce5a78453si321542pjb.29.2023.10.18.10.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 10:49:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kunbus.com header.s=selector1 header.b=GUD+rpoE; 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 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 9CCE981B94E7; Wed, 18 Oct 2023 10:49:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231300AbjJRRtq (ORCPT + 99 others); Wed, 18 Oct 2023 13:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230132AbjJRRtn (ORCPT ); Wed, 18 Oct 2023 13:49:43 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2047.outbound.protection.outlook.com [40.107.22.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CF6A112; Wed, 18 Oct 2023 10:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZJMFDHnUNSKyDjDufaULtC/PvwznpBvduHHHhBlZqGKkMRPIT3YpJY+hp+vEOnxMKkO8YUJdIUhLDtPAD6sESs7TkenWZmeYahhqNkpMvtMKrvJQqYqffSmyASxVwGtxCQQH5doYP6VBx4KwZpJ2Lo/jrDG0qGm7FQdNdBz+y3DdzrbHPWmRRfr2aZKt/kge9sNh/emzDEX8CgkWTglMHVGRHTZ9QAm38fwqQ2ZyxXdDe9ENJpy5mDQqFqjl32qA10k/IY9XtHlOC5Qhn8o05BR0kClYzU70MqgHUD5uP2GFCrN96pkm/ox/cYrM3Cn7/fxMdnw9XNY9r7lqONwk7w== 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=kig7DXAIM3jbV8RnY2R78WbZepJvDlAZxse7gk0wTaQ=; b=PTECnKq3pP1/XA5RRiKHUSFx2lMLOkm5T7kYxEXFmPuG3IUOzxurRWLQXMVP1a65WhbUX+gg9VtANJXSTMoNMbIhm62BACUEXpq34YDKw9iWGKc0GoKv4yHq5Kb/p0dBeX8pgC7YnO6DNl5KEev028J3AjD0LdsyvpIdzB6DWr18r5yLTQbYHcdwzFtLhBySQ+7TjemyGlp7fUo5InBPgAcND+4FGFrHzbIFOn1EjR/Rkskkx/fOaxvytErOL4PWWEhK/16oS+b7HqOHLoo+9O73CpcpaFkzOGyqSrQkAN/KwMKA5ZpFWxY7QpuWRXhbjMhl90svB48yfoK3rAJSTQ== 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=kig7DXAIM3jbV8RnY2R78WbZepJvDlAZxse7gk0wTaQ=; b=GUD+rpoE3gNaAKX/aB0nTbYTdQ+IG/cdHb6jNJTtAMZs82d1KVxX+/nn7kwBx2wi9UeoqkWib1T1ODAdeq2aUzaGKyMpla05Ps/xA3Z0F85zX61/tuWe4VcbLHEwuO4dgq2wBwrh8nru2vRCSfciuWyjDl5+Ar61+04Q1+aPgaI= 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 AS8P193MB1478.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:350::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23; Wed, 18 Oct 2023 17:49:37 +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.6886.034; Wed, 18 Oct 2023 17:49:37 +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, 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 v4 1/7] serial: Do not hold the port lock when setting rx-during-tx GPIO Date: Wed, 18 Oct 2023 19:48:34 +0200 Message-Id: <20231018174840.28977-2-l.sanfilippo@kunbus.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231018174840.28977-1-l.sanfilippo@kunbus.com> References: <20231018174840.28977-1-l.sanfilippo@kunbus.com> Content-Transfer-Encoding: base64 Content-Type: text/plain X-ClientProxiedBy: FR0P281CA0130.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::17) To VI1P193MB0413.EURP193.PROD.OUTLOOK.COM (2603:10a6:803:4e::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P193MB0413:EE_|AS8P193MB1478:EE_ X-MS-Office365-Filtering-Correlation-Id: df67c3bb-bcd5-4e5d-4540-08dbd0029899 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zVuJrcLoriTOHM1JYrJky0Z5WHGN5rPnXGVQACkTIrIYvRUecpBsHpY2CI3ai5qLSEbDzIj8QWbOLxjnXg2xaCfqBGgsovT3OzhQohraoRFzuOpDg5+VANWny39G0ytw/1nQOaLY7bVPt5+H9Xhj4oQQb+CMbImsW3zsJb6v2b7V/3hB8HrAsc5GNbjQSg62kL6OeOJS8MOilXEtCkS0uEWMZ+IklIpr38HEpS3a18FuxF7s1nOCM2xUYIqGNsnZe/9JewHtZUIKqsgcd1F23ySj0O0Z+sIe0mo4cwdwzkiASBzJbCPRvS/Uk+FQX4b9h7rHimpWQCV2OVsR3xNQez31au9wXi81FdF9pYiosTFpNkMErJFHw1YpZ4ZPLeynNhE/iOZ3KjThyBeeEr3pqd87aSfXcv62GHK3EDGNvKK47D4/IgHmvEGElZa5h1qddUeYS2zqIhG/TgZU9I3YT6oXJ9kpX3V5UGMBNIlm1QWb38rnAXcxmHjd/IJWFs74pwFH8z1K6TzqneoT0+QCzLIpgrmHpZWahqYrqBlHFSQ= 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)(396003)(39840400004)(376002)(346002)(366004)(136003)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(36756003)(66946007)(66556008)(66476007)(86362001)(38100700002)(1076003)(2616005)(83380400001)(6666004)(6512007)(52116002)(6506007)(7416002)(6486002)(316002)(478600001)(5660300002)(4326008)(8676002)(41300700001)(2906002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?vBvekx8VX1rcwvvmhxBGQrT4TM8YbhB0Cm6Ka9lfPE5p6ojGn+ZPnO25Blds?= =?us-ascii?Q?uKwQwquwLQ728F+L+znhwniiwSG8339uUh3fK5+/cWcAE2SiXvwSAKPG5+7I?= =?us-ascii?Q?dB9DBWSveVmrCbAxzTjxMKWk/G1/xUgojTmn3K2czQ7V/kQqSWAuzMWp9npj?= =?us-ascii?Q?ymFt5dWL5kx0wPBF/h4ovhC7X1SaGP93tY7mqL8CB4YpgYIOZP2Eb8/OjkWD?= =?us-ascii?Q?ZgzJGtcoFA2fNxqGWJEE6E63PG4ihflPdt3e2ntomeducl77PCU728Bnqg9f?= =?us-ascii?Q?qGChbUvCkUEzFrVket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=?us-ascii?Q?S4+UUYm790DiHBGAzASwJm9EUiXboD6+g/lg8hiTxqj8aZzC3SBrEJ9RYaHA?= =?us-ascii?Q?/bbVkQJNQhzv+Gf+HP/FjBj9EDD9wDG/1tizgqqYFaYd5voviV0bxeVPmpiB?= =?us-ascii?Q?u1nSRLXX9ekOhj8SIJKyDe5Q8o/hy6pPSC8yedrEF+3fhMjXXs2txMn4+X5o?= =?us-ascii?Q?ruCvDJtyieq3ZBikrMW0T7iIZP2zgDMFdHtCEddG/bsY/NekDeDjwfA4gGyM?= =?us-ascii?Q?dQYXqKwyhZbJTzqjMIUOOfDH1m/5tYHP+ix9XGDSpxYszVNx/z6LDLT6fhCY?= =?us-ascii?Q?IiA57Dy95B+Rcb6Yvw8jN77m+GueRQEsqALCUHPpwNF487o6cCIbn42ZIhn4?= =?us-ascii?Q?o3dJhKG5KPkQFKT/8JV9bt3lwBX185OfSmnbQ7eeLRbahffzdvgfP/0gGYnj?= =?us-ascii?Q?0OsPUbS8KNSArxqJ1tDaAmcKDGXlL3uISQoCHG67vLOd?= X-OriginatorOrg: kunbus.com X-MS-Exchange-CrossTenant-Network-Message-Id: df67c3bb-bcd5-4e5d-4540-08dbd0029899 X-MS-Exchange-CrossTenant-AuthSource: VI1P193MB0413.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 17:49:37.3227 (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: dwcD3vU1XL3VB/zRaSK5EE8tX9LeKWKLBmOzFAzMO1IYEcbM3poO9fpJvz5eVVMD0lT173xsiN1B6A53TG/pSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P193MB1478 X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MIME_BASE64_TEXT, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 18 Oct 2023 10:49:50 -0700 (PDT) Qm90aCB0aGUgaW14IGFuZCBzdG0zMiBkcml2ZXIgc2V0IHRoZSByeC1kdXJpbmctdHggR1BJTyBp biByczQ4NV9jb25maWcoKS4KU2luY2UgdGhpcyBmdW5jdGlvbiBpcyBjYWxsZWQgd2l0aCB0aGUg cG9ydCBsb2NrIGhlbGQsIHRoaXMgY2FuIGJlIGFuCnByb2JsZW0gaW4gY2FzZSB0aGF0IHNldHRp bmcgdGhlIEdQSU8gbGluZSBjYW4gc2xlZXAgKGUuZy4gaWYgYSBHUElPCmV4cGFuZGVyIGlzIHVz ZWQgd2hpY2ggaXMgY29ubmVjdGVkIHZpYSBTUEkgb3IgSTJDKS4KCkF2b2lkIHRoaXMgaXNzdWUg YnkgbW92aW5nIHRoZSBHUElPIHNldHRpbmcgb3V0c2lkZSBvZiB0aGUgcG9ydCBsb2NrIGludG8K dGhlIHNlcmlhbCBjb3JlIGFuZCB0aHVzIG1ha2luZyBpdCBhIGdlbmVyaWMgZmVhdHVyZS4KClNp bmNlIGJvdGggc2V0dGluZyB0aGUgdGVybSBhbmQgdGhlIHJ4LWR1cmluZy10eCBHUElPIGlzIGRv bmUgYXQgdGhlIHNhbWUKY29kZSBwbGFjZSwgbW92ZSBpdCBpbnRvIGEgY29tbW9uIGZ1bmN0aW9u LgoKRml4ZXM6IGM1NGQ0ODU0MzY4OSAoInNlcmlhbDogc3RtM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