Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp369426rwb; Mon, 28 Nov 2022 22:46:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf7bB5oL98+3VSAin+sR/cI+qZDQ7YBHO1lmRR7qFAxEHFm+EHlfOS4xRtU/fS7bfHXGEJ0l X-Received: by 2002:a63:2484:0:b0:478:2620:d7ec with SMTP id k126-20020a632484000000b004782620d7ecmr6669979pgk.100.1669704392950; Mon, 28 Nov 2022 22:46:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669704392; cv=none; d=google.com; s=arc-20160816; b=HTJF6yXQcPbj5o9icVm8EO1XufMI5m76/zH7pVW667whn7T8DsX/sqeCk1915v5DDg WXLffdY5sPppP2KWxIvlPHeZ6x9O+kMbrOfYysNCYDQATtx0u+TY3m3B/8Gf/8pPeITg tWxa+yM2/yshCsavJMXezuFcyk+3oaOlhSOo9T53bPSuGbtY3M1Q+ipEV3np/gg4wE9F Cs/XsmVorVciPhlirAlntzq6V1UWkDgVVxBkkywYFAHkXBKLWFyyFw/P1k9elL6jzBUi +kd0fNv1A03rUaY86xHAj06ji4d25CdJxhMW8GPj+b7DfExuQVpJTsoZPJrCdeev/3Aq kvVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=UGouC9aHtzSXLihgGalVY3YwbBFH6yJ0O83fDRF8rsU=; b=bJ0PZeOexMBBbz5r0v1NOuczHKkXPS1yxlBSO4YJFE6qESWq2fUXmDKmMcEsWZyteH 3Hc/PhLuknTyCMCtRM5dUqWpP5Iv6rH+jvbv8dnNb2wrKwdQXBbgiHfZGhvpmIWRC9Y6 0tCfxJse25hDjTw9TLulcfzBugMFwrtc1XV12HHf8bYg8K5xdu+VpLFgh5VcRvhtI/9H LzriZe3tJ0BRa1DN/kZCwJRS7JYxXnqYD9CWqs8W1tE3erwZwT1Pzb1h3a9/rJJfNNLy mqK83zpn3P3AhSIBiEp0cIP67NGxY83OPXDwHaHrceiHgsNrnajo0maH1rtX42QVh0Bq uY8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a635404000000b00477bfab5a83si12956500pgb.2.2022.11.28.22.46.21; Mon, 28 Nov 2022 22:46:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229571AbiK2GcU (ORCPT + 84 others); Tue, 29 Nov 2022 01:32:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiK2GcS (ORCPT ); Tue, 29 Nov 2022 01:32:18 -0500 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F7F64FFA9; Mon, 28 Nov 2022 22:32:15 -0800 (PST) Received: by mail-wm1-f49.google.com with SMTP id ja4-20020a05600c556400b003cf6e77f89cso430813wmb.0; Mon, 28 Nov 2022 22:32:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UGouC9aHtzSXLihgGalVY3YwbBFH6yJ0O83fDRF8rsU=; b=RGlhOIKqcnat4s5xdnvEJsJHyhylyFWzFur7lnRrCFEJrvIK+pDcNiZ1PuQujEpAXC E+Ro5wy2/8OftafsxpoUnszlKbCv/pVAEiX+4x3wyHkLh/ZsGTjAAFSrXVyzL/PAGVVF zd5T934hpJoQurpq5dOrLK8wVQFzq5XY6X4QQf4YQYA//N/mkBb65sTG1AsHZ38OAR9q vv8g7ADqBK7tW6HY9oN3+NWTg+0qmgAqPXQJUo1aNiZuCaLMrB1q11K1yBld/YhA4IwP zX/xL+SfGZUhD4hz6oJgr8LCC4p7LJrH4OWCN+1hwY2BjeUf8WLZA6FqML2GcV6VFIhZ 2c3g== X-Gm-Message-State: ANoB5pmbl5SpiOmIZgKOHEsPdKtl4mGoDSyEzL7+Cv2ApYCxbhgF/1Ex dT/1ZMEfsZvIPXzticUNH8M= X-Received: by 2002:a05:600c:5408:b0:3d0:1c3f:e3ae with SMTP id he8-20020a05600c540800b003d01c3fe3aemr31016843wmb.27.1669703533886; Mon, 28 Nov 2022 22:32:13 -0800 (PST) Received: from [192.168.1.49] (185-219-167-24-static.vivo.cz. [185.219.167.24]) by smtp.gmail.com with ESMTPSA id u17-20020a05600c19d100b003c6f8d30e40sm881201wmq.31.2022.11.28.22.32.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Nov 2022 22:32:13 -0800 (PST) Message-ID: <2b020f4c-5c2b-f905-27e9-a3f603a2568a@kernel.org> Date: Tue, 29 Nov 2022 07:32:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v2 2/9] serial: bflb_uart: add Bouffalolab UART Driver Content-Language: en-US To: Jisheng Zhang , =?UTF-8?Q?Ilpo_J=c3=a4rvinen?= Cc: Rob Herring , Conor Dooley , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Kroah-Hartman , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, LKML , linux-serial References: <20221127132448.4034-1-jszhang@kernel.org> <20221127132448.4034-3-jszhang@kernel.org> From: Jiri Slaby In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, 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 On 29. 11. 22, 0:20, Jisheng Zhang wrote: > On Mon, Nov 28, 2022 at 06:01:28PM +0200, Ilpo Järvinen wrote: >> On Mon, 28 Nov 2022, Jisheng Zhang wrote: >> >>> On Mon, Nov 28, 2022 at 07:10:41AM +0100, Jiri Slaby wrote: >>>> On 27. 11. 22, 14:24, Jisheng Zhang wrote: >>>>> +static void bflb_uart_tx_chars(struct uart_port *port) >>>> >>>> Again: >>>> >>>> Are you unable to use the TX helper? If so: >>> >>> You know serial subsystem better than me, may I ask for more >>> details? For example, >>> Besides uart_xmit_advance(), do you expect other TX helpers? If yes, >>> can you please list them? >> >> Please take on look on commit 8275b48b278096edc1e3ea5aa9cf946a10022f79. >> The changes following that commit convert some drivers to use the tx >> helper so you can look into them to see examples. > > Thanks a lot for the hint. Will those tx helpers(uart_port_tx, > uart_port_tx_limited etc.) be in v6.2-rc1? Or I need to patch > based on Jiri's devel branch? It's in tty-next and so in -next. You should base on either of those anyway ;). And yes, the plan is to have them in v6.2-rc1. thanks, -- js