Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1615000rdb; Sun, 19 Nov 2023 03:32:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFvthy6ce2JBIYhhpfUAyqIM2/efRSL1k0CwsKTMZ33gv8ocmBr8r0EvTgtq+rmlAbFtAdh X-Received: by 2002:a05:6808:10d6:b0:3ab:8e86:fc26 with SMTP id s22-20020a05680810d600b003ab8e86fc26mr7502309ois.46.1700393550426; Sun, 19 Nov 2023 03:32:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700393550; cv=pass; d=google.com; s=arc-20160816; b=CR8u7pPGNAg0nrSKafAwTXmaiXtFS5JXEW45mhJSwaEuX44Q2q9Ub5qyZaNCxq6CMk BXLgXw+9rreVxxr8Ybwn0zymDDTth5Qz2Z5J5VeJrAU2ACBto87XBAVRNwRaO0cIESOG vbZ3OWB+Akydr2fMZWTbGFbVSsR3s4G0NERQuAsoJRqb+UeLEGVBRQnrTJphFdgCezXp 7P6FA9TODyYu0oXQme0MJJ0rXWYF2RiywLkakL/ohPa3kDkYV6Y0qVKOlQ7LVtpbhY7L k9nDmG3GLPymLw5jDbebynAJ8R6lAgLj1kXEE9kS6JJ7ljT5CYHKbLfhRgKIPu3TIZ9n QKxg== 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=Y2pTezH0DgO8+z7w1y5ywOUCZlRR/vO2d+VhJfncoRA=; fh=TkiyChPg6bbF3HR9T06bpNLcepPHbldn/GrIZCqgMvI=; b=XviB+USx472/Nxk8y2aZJh4q1J6hBx0tmJu170Tni7KG8UTNdQhm5CGE+xuYxK26GX j4Dk4Ga5rGecv3rziGKuI/HBTwvUseaAyEzw9rr/o+3fop/tAkTKnYhpOy7Ajsv6g0Yg RxEsWLR5AJ4CUNwtx/wcsCfNV6qXgkF0OfIWatkluYneZpyJ1Cq3eQ0pwBdjXFvVFvnr vZzNb8azoaH0uY+johHbeBtC8TzzVBLtW3uUjppHPbHwck7aPfObOFu7qg/wPQ9l7e1P qKmHE5ATi8tYJhKFwr9jGOKzpPLvNMV6hf4/7N59qsu0pXouBvQZuv555l8BGqI9GMz3 26DQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kunbus.com header.s=selector1 header.b=kVyC4JL3; 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 u24-20020a63df18000000b005b8fb1da631si6353283pgg.897.2023.11.19.03.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 03:32:30 -0800 (PST) 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=kVyC4JL3; 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 57F61802FBAC; Sun, 19 Nov 2023 03:32:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232066AbjKSLcX (ORCPT + 99 others); Sun, 19 Nov 2023 06:32:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231455AbjKSLcG (ORCPT ); Sun, 19 Nov 2023 06:32:06 -0500 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2064.outbound.protection.outlook.com [40.107.104.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4784A3AA2; Sun, 19 Nov 2023 03:30:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gqMnpe1A7TTuPXB8XlXjjpGFNvwYV2UDVDr54x5Nau8izBIuXhzwelALKBkyJVnx8teBM+OEIU5OIMrcVNml8jweKTmaPN6egSFHSBe6eksIQ/RFkiUd3FskI0JVzqcBWEdk+yIjl7b3AgXnSH2Dts+8w6V/vvbt8yup0fKeucr5SkKVWqEHE2WCy3eVc+2zyxXxxIqOg4Wl+eBxoS6X7uyhz4AeTzZ/KWmK8V1YqIQGKe6UlacjrzLOQ3nWwK8B5vhFUPu3CcRBjA6xYuoFCUWhnxbgvxZsiH0d0e08/tdsmovKKwgbYcBLBMuqEqcDqJVMNem09ES8VtBD5PXASw== 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=Y2pTezH0DgO8+z7w1y5ywOUCZlRR/vO2d+VhJfncoRA=; b=Qb0QQbA2gQU9MoUOZxSeqFTsWKJXbVP/AxPACyDocAiYIye8QktYLOL8XJ6Q/oh2HhACq2Xrlv9u6y/h1VBjSA1icN7FGvRseDVz+lQuEhKaEBEeNbZ3YGFncUzBOnSF0stjlHhwKnA9UYuhiWwU2eVF5W0N3P7dKCt3cYvggMapQD22sMAP2MjelSYB5WgS3BwsDdTxzphr+El3MMZnAGV2Yu4t//d3/+KekEb1oaK7OWI7W/WUrnv8LXci7f5XqO8Q3N468AAILAwVLWw5k9abbYu+JLuAnTMd82PC5smaHgLENqCMa7lTJxsvuZUAtt3qtdMocUBwHTgaSQxM+A== 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=Y2pTezH0DgO8+z7w1y5ywOUCZlRR/vO2d+VhJfncoRA=; b=kVyC4JL3qta0Rq0u5WhXjLzyr3rywyZY73jY73LdvUJcXE8ivyDERZ0+OFAlTrQ4bpsPdCeODtcnLSbQOAiyi32kQWio3i7U0ege/iVDKvERXutNc57ppVRilbmufmDJz/u0APaK/+PjG52AWdmx9FWyYOtpJfTounVEx6Woelo= 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 AM8P193MB1060.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:1e5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.26; Sun, 19 Nov 2023 11:29:59 +0000 Received: from VI1P193MB0413.EURP193.PROD.OUTLOOK.COM ([fe80::653f:d0f3:e7f6:8c06]) by VI1P193MB0413.EURP193.PROD.OUTLOOK.COM ([fe80::653f:d0f3:e7f6:8c06%5]) with mapi id 15.20.7002.025; Sun, 19 Nov 2023 11:29:59 +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: [RESEND PATCH v4 1/7] serial: Do not hold the port lock when setting rx-during-tx GPIO Date: Sun, 19 Nov 2023 12:28:49 +0100 Message-ID: <20231119112856.11587-2-l.sanfilippo@kunbus.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231119112856.11587-1-l.sanfilippo@kunbus.com> References: <20231119112856.11587-1-l.sanfilippo@kunbus.com> Content-Transfer-Encoding: base64 Content-Type: text/plain X-ClientProxiedBy: FR5P281CA0007.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:f2::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_|AM8P193MB1060:EE_ X-MS-Office365-Filtering-Correlation-Id: ef6725b6-4b36-4df9-26f8-08dbe8f2dd1b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GUTUgW8ALe0G2xq5rLSflLGhGbHz3foUod+q/Bp98SkOWkZwLAbsskDqkpHr9rDpdSFv4LJaPkAmb5cRFluE5IL1YdFZf3HqZtXHNb3PjxmV1imKZY69wCrnncJBFNlhqSMGlwDut2EAscpTzlUV5xjH6yhixcMMP3sKv6/+T413/BM3PuPohcifnEdd8zCimLDr072z31F2/3fZ2ao5a8ovIi4pCyof3SkPjcxuOj0r7wc/vMvuj88MvaPXk9H6aqMDPmYdauclQ9/DRjrrNJs67FabQyJTP0/YduobSwEUAg+shzoJU27Txxq6I7Gog4KRrZTPNCsuKVJHhUWp+cU6kT1KRlzT7cluw9bVmakw9TtRpXLgIO6OCIMCFPidoVRUotFJCM2coNB2/ErELsbk7zXr5dHE/8YT/033tvL9KduE/1fLtneMHcIRHFMIjI4CBxCPGvW8ULVCIkht7mLI2yLCnuB/L2G0sYNdBaWAt4P3w4N0dk+tw2bem37L6jf8p0D8hoKOVZ1W/Fcn1ipxvgo1EWj/6K7sokpc5nQ= 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)(346002)(136003)(396003)(366004)(39830400003)(376002)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(6506007)(6512007)(52116002)(66946007)(66556008)(316002)(4326008)(8676002)(8936002)(66476007)(6486002)(478600001)(83380400001)(1076003)(2616005)(38100700002)(6666004)(5660300002)(7416002)(2906002)(86362001)(41300700001)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ycBRkyfAQ76L/h7O0AVb8etclca5oTgbxv1WjzBeBCu3iMySu9gu93whUXT/?= =?us-ascii?Q?DdV1OzEC2aF7fACCAsXhILk5v6qPb+NgtAh2mykA1P3arnV3wZGSTw1at0TW?= =?us-ascii?Q?d30b0vmtsTiuYB95FKk7yEE6CGG87lKs+OTCds2LPBPj/77YwxAvNji/gNfd?= =?us-ascii?Q?mWNdEE52WDL4WDtOE0X0Mj+uk8yhMt+u7TAP1A/IvQ9ka63vSAzoXxf5YkGe?= =?us-ascii?Q?lV0FDEtc/N7vIyxI8t+NsyUGypUMYaVgwa+Rw31Gkxw85rOTZF86zpW2JEIH?= =?us-ascii?Q?YRxwM50bDfwdF/50mtnk5AFmvADKd/vu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?uvmyurzq2YgmpliZI6LJl6Iwe1yxZjOSqc4V1MuaLECvysZhiQ9ZOk5bCEj3?= =?us-ascii?Q?lpBmDqeuqHdiFK0vziBMzN5MuUNLYgkRkehiGHHoZzUQe2ZgInXCfyiB5XyD?= =?us-ascii?Q?aEE1iYgFZpNJhRsBewCYIwX6baqTJykK93BiBxszgdMSc8SDfr3EsqI/Wgaw?= =?us-ascii?Q?1L6h3oHmwgWFNep9PwXlM4tJsfua5KUPaBqOdtjILZOutQM7l2hJWjLQH0UO?= =?us-ascii?Q?plzfkk9wHUjGZLaQpo4lNY4FsfsBdz8DWOsgadgDN17LxoWO6EnO4qDhvIj5?= =?us-ascii?Q?tmkoNcKcWuShfHpPnaEeJkk0HkdjYzeHakS3JzoyT/SBzikxnN38y7xEqZjm?= =?us-ascii?Q?RuJbdZPmESxViImKrJYcLwwONcoh8v7EWr+gZemf0Ut5jdLlH+fOZwag5aL6?= =?us-ascii?Q?aTPiBO6GOWkR+Gy4StS0/t9y6IuO8IMgmVBe80EGeRb/?= X-OriginatorOrg: kunbus.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef6725b6-4b36-4df9-26f8-08dbe8f2dd1b X-MS-Exchange-CrossTenant-AuthSource: VI1P193MB0413.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Nov 2023 11:29:59.4907 (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: IM981oZrSd5OGu9aotJLllfE8gp1pXovJCBdVLsFPmQfz/yw71jDsJtx6/lujfBQ4im35LMfVGIN2F4W1CTtpQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8P193MB1060 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_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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]); Sun, 19 Nov 2023 03:32:29 -0800 (PST) Qm90aCB0aGUgaW14IGFuZCBzdG0zMiBkcml2ZXIgc2V0IHRoZSByeC1kdXJpbmctdHggR1BJTyBp biByczQ4NV9jb25maWcoKS4KU2luY2UgdGhpcyBmdW5jdGlvbiBpcyBjYWxsZWQgd2l0aCB0aGUg cG9ydCBsb2NrIGhlbGQsIHRoaXMgY2FuIGJlIGFuCnByb2JsZW0gaW4gY2FzZSB0aGF0IHNldHRp bmcgdGhlIEdQSU8gbGluZSBjYW4gc2xlZXAgKGUuZy4gaWYgYSBHUElPCmV4cGFuZGVyIGlzIHVz ZWQgd2hpY2ggaXMgY29ubmVjdGVkIHZpYSBTUEkgb3IgSTJDKS4KCkF2b2lkIHRoaXMgaXNzdWUg YnkgbW92aW5nIHRoZSBHUElPIHNldHRpbmcgb3V0c2lkZSBvZiB0aGUgcG9ydCBsb2NrIGludG8K dGhlIHNlcmlhbCBjb3JlIGFuZCB0aHVzIG1ha2luZyBpdCBhIGdlbmVyaWMgZmVhdHVyZS4KClNp bmNlIGJvdGggc2V0dGluZyB0aGUgdGVybSBhbmQgdGhlIHJ4LWR1cmluZy10eCBHUElPIGlzIGRv bmUgYXQgdGhlIHNhbWUKY29kZSBwbGFjZSwgbW92ZSBpdCBpbnRvIGEgY29tbW9uIGZ1bmN0aW9u LgoKRml4ZXM6IGM1NGQ0ODU0MzY4OSAoInNlcmlhbDogc3RtMz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