Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2017454pxa; Mon, 24 Aug 2020 02:40:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzS+7yL6dJmjDkaXmC6lqikSiH33IfggcxdTCQe21kAn1mCiL7F6g37rMC1OKUvg4eubGk X-Received: by 2002:aa7:ca46:: with SMTP id j6mr1927882edt.128.1598262036065; Mon, 24 Aug 2020 02:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598262036; cv=none; d=google.com; s=arc-20160816; b=wgeCrvqaE1EaiI3+NEz0OOo9bBmyoKIc0JRcZLxxl1I0VwiYOfhf2OQqTZpGEqGVgg 7zTAGnDlu8cPJjk+0/L1SaQoKWrU6Epgfo5LCXaKOfjFuo5+SnA8aSdDn/Wp6cxWficZ jDk7p0Z4zPkJoRyDqmNAkYZ114iNCkesu+q6qlrRK/G2eHOIksJVhHKtmUV6XMenDJmn 3I7vap6TSqHHB/NAdKjuDZsZr+8k7Gs9Pgh/8mHwmnTW2HR+vghWkyPg/YrYCrdRll2u xcNI8ro0JGqaOpGEiVPWiAZEG1GkVPT2SXzNUDMo1XvEaEZyP6yo/pbtjWTv51vWlsJn gpIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=M+w3RWAISuvkgnjHwiLRvcOxr2Ds1+hoFPAqbidKDYs=; b=KuKL0I0DfhjbdgnF6tW1V4LuF1a8Tv5qh/xcOVWGTlq4r4oX4Lr/UcncgeuzXUN70l ra2lKkSTeeMmICCv6wTZg/C1OrKO3bsF3X8RDBnC3AADewfYt9wEgfUHhL+03qD/uths kKIPemBCz1AOw1JSgLwoXqtXHUrIL+olhq3debpotTi27Hxa3fdPJjK6VdHKr+7i6xR0 uhFrWPvJdkQo5956Ud4vja2d6ESjYrwVA9EdxssyetIMH1gjl7/hxNTbSRylU/a0mhe4 bCxjjqKVb7bFFH43ceBxqwu3NZFjJzBZPoBByifLjDhV36GDLlvz+kBgLIHpCZUQtHxI AwxA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k13si6240366ejr.354.2020.08.24.02.40.13; Mon, 24 Aug 2020 02:40:36 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729837AbgHXJhR (ORCPT + 99 others); Mon, 24 Aug 2020 05:37:17 -0400 Received: from goliath.siemens.de ([192.35.17.28]:39727 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbgHXJhL (ORCPT ); Mon, 24 Aug 2020 05:37:11 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 07O9arbw001563 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Aug 2020 11:36:54 +0200 Received: from [167.87.131.75] ([167.87.131.75]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 07O9aoeD028000; Mon, 24 Aug 2020 11:36:51 +0200 Subject: Re: [PATCH v3] usb-serial:cp210x: add support to software flow control To: "Wang, Sheng Long (EXT) (RC-CN DI FA R&D SW)" , Johan Hovold Cc: Sheng Long Wang , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20200820075240.13321-1-china_shenglong@163.com> <97836b78-740b-cf70-4803-27305b6e0a4d@siemens.com> <20200824090948.GC21288@localhost> From: Jan Kiszka Message-ID: Date: Mon, 24 Aug 2020 11:36:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.08.20 11:28, Wang, Sheng Long (EXT) (RC-CN DI FA R&D SW) wrote: > Hi Johan, > > Thanks for your reminding. I am adjusting patch according to the latest Linux Master branch. Use git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git, branch is likely usb-linus, as Johan requested - just in case there is another conflict due to a patch not yet in Linux master but in that tree. > > With best regards, > Wang Sheng Long > Siemens Ltd., China > RC-CN DI FA R&D SW > Tianyuan road No.99 > 611731 CHENGDU, China > Mobil: +86 15281074996 > mailto:shenglong.wang.ext@siemens.com > > > > -----Original Message----- > From: Johan Hovold > Sent: Monday, August 24, 2020 5:10 PM > To: Kiszka, Jan (CT RDA IOT SES-DE) > Cc: Sheng Long Wang ; Wang, Sheng Long (EXT) (RC-CN DI FA R&D SW) ; johan@kernel.org; gregkh@linuxfoundation.org; linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3] usb-serial:cp210x: add support to software flow control > > On Fri, Aug 21, 2020 at 07:32:58AM +0200, Jan Kiszka wrote: >> On 20.08.20 09:52, Sheng Long Wang wrote: >>> From: Wang Sheng Long >>> >>> When data is transmitted between two serial ports, the phenomenon of >>> data loss often occurs. The two kinds of flow control commonly used >>> in serial communication are hardware flow control and software flow >>> control. >>> >>> In serial communication, If you only use RX/TX/GND Pins, you can't >>> do hardware flow. So we often used software flow control and prevent >>> data loss. The user sets the software flow control through the >>> application program, and the application program sets the software >>> flow control mode for the serial port chip through the driver. >>> >>> For the cp210 serial port chip, its driver lacks the software flow >>> control setting code, so the user cannot set the software flow >>> control function through the application program. This adds the >>> missing software flow control. >>> >>> Signed-off-by: Wang Sheng Long >>> >>> Changes in v3: >>> -fixed code style, It mainly adjusts the code style acccording to >>> kernel specification. >> >> Patch does not apply. You forgot to rebase over latest tty/tty-next or >> linux master. > > That should be the usb-next branch of the usb-serial tree: > > https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git/ > > or linux-next (or, currently, Linus's master branch). > > You can use "scripts/get_maintainer.sh --scm" to determine which tree to base your work against. Thanks for correcting! But it's scripts/get_maintainer.pl. ;) Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux