Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1593301pxb; Wed, 20 Oct 2021 08:06:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyBUyoOlN8Nn+O2cZCnem1/AG12Btt6IMdz9HB6uOt1Cx+5nzgzuE5T6L2rtMG4r316GCU X-Received: by 2002:a50:d558:: with SMTP id f24mr569241edj.305.1634742391368; Wed, 20 Oct 2021 08:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634742391; cv=none; d=google.com; s=arc-20160816; b=BX0N+ikygPHCRcdjxnMBNS+FWde5kEG2LqmW8M1mTsvSFbj7e4S2vKKDoycX8PfDYf dr07K88OCYXKpGyaOSIqBbaXCUI5jERxcg25DEhAaTtORNOS68jYCxXZlHWIaw75eG0v ju+Jy2inY5ynCg7YVZnTecLYJjAOwyudg+0owo+cNTXKFwQXqEmEY9UTzzAxs+by38dS FHCfhIwr3jeB1y/Xjpnn5mByFQeLq4mYtsHP6OKDQyQJROAhfLt9ysDQaGzdvQxkyY5+ WUnF/Ka1I6JL7m/9jKDPAbCbf+OmZP3HhuiOntcPAe6/W0FyaXeDhYL0xN3yYEKQPZ3Z TBjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=/mbS3rI3GU5MtgSIiUL4Dk27DaAKwzz06CpbrXE9B/4=; b=i2cdXrsTBzRvOgIzrnqmcs0nHy1Myyr/VG+KKPzbk0j8D/2X7Nbwi9uxlVskvaOzXX Hjhk+88ihNhk+pLzklg64p4eQ2u/gWN4LLX6t8EL5f073Q1ZOoOZz0Z22L3lPP1UpyX6 5zCCi161ivi+qgDeRQ+UnLDoCsYGCnDxwIelePPHTqmIVzSUDyEnURmflvSFt8pt4aBS yKcZkPZF39NX7Uh6VkMAdNWi6GbwCFvTp8uJf9zGT6vxndVEto7RqOyM0TRdZOJFrDYt 1O5eIfsmT4ebjJCg0ILn7QUhjA7Zl85edDEqcSyvZ5r5durNwLUvsxkiI61vxsQUuqOz CLBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=3khk3uMb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si3295242eje.121.2021.10.20.08.06.00; Wed, 20 Oct 2021 08:06:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=3khk3uMb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230340AbhJTPGP (ORCPT + 99 others); Wed, 20 Oct 2021 11:06:15 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:52242 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230103AbhJTPGO (ORCPT ); Wed, 20 Oct 2021 11:06:14 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19KAW1Ao018138; Wed, 20 Oct 2021 17:03:51 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=/mbS3rI3GU5MtgSIiUL4Dk27DaAKwzz06CpbrXE9B/4=; b=3khk3uMbHjpd3EYtptaJXkilu2nS7czzNUIEbyfxvdLgPYQkIMRayfI9R/WikkUHLLCi Lh4bT2yAYmJvaw1nEY8GJ5eoootJwl34FJ+kyed0dXuaQV8tLD1onAEKiNCQmUUo6zo0 UOSew+OfRLKiwhfhiJPODr0eu+0b9t6WvGfsLo1BSwUl+Ory5BsvXAV3CqFnCTrQCQrA /DxXNsKJJ0TIeRXW7DVKpAls6pfgUadVN8Krawzk9xQmFOPXIGb4/ZmyGNjltBLLsFXm 4VDnMGTA29remt53CY2B41trxySBGS6x0twaFDVnOfQJOkov8xepIqJEjplB2DTL0z52 NA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3btdkybm16-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Oct 2021 17:03:51 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 446FA10002A; Wed, 20 Oct 2021 17:03:50 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 3CAAA22A6E8; Wed, 20 Oct 2021 17:03:50 +0200 (CEST) Received: from localhost (10.75.127.46) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 20 Oct 2021 17:03:49 +0200 From: Erwan Le Ray To: Greg Kroah-Hartman , Jiri Slaby , Maxime Coquelin , Alexandre Torgue CC: , , , , Erwan Le Ray , Fabrice Gasnier , Valentin Caron , Amelie Delaunay Subject: [PATCH 0/3] Rework STM32 UART RX over DMA Date: Wed, 20 Oct 2021 17:03:29 +0200 Message-ID: <20211020150332.10214-1-erwan.leray@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-20_05,2021-10-20_02,2020-04-07_01 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series reworks STM32 UART RX over DMA. Erwan Le Ray (3): serial: stm32: re-introduce an irq flag condition in usart_receive_chars serial: stm32: rework RX over DMA serial: stm32: update throttle and unthrottle ops for dma mode drivers/tty/serial/stm32-usart.c | 240 ++++++++++++++++++++++++------- drivers/tty/serial/stm32-usart.h | 13 +- 2 files changed, 200 insertions(+), 53 deletions(-) -- 2.17.1