Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1214448pxu; Fri, 27 Nov 2020 02:25:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTJ7QyS9r7JuKeBUmLb2He/YxTi2k8TGEgfB+Glj9oU40C+s4qU4kKFgGqwK5P9kgLV1dB X-Received: by 2002:a17:906:5847:: with SMTP id h7mr6685344ejs.124.1606472719883; Fri, 27 Nov 2020 02:25:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606472719; cv=none; d=google.com; s=arc-20160816; b=JOAMtFYBsZh3fk9ZDxsAL6KlZi1pY/KfhWHLw3NOLSITbKsOBtXp0b1aiuMw+CPSh3 cj6wiXhfCdmew0B0Lz02rbo1sZnKZY/5Gdh1jSiGkKXSt9GMLsTjckGJClx2iFWxFCwf oLbsBYkC9yPmHV2Ejq92YSxxs0d7tX6F1LSoMOp1DxO5PSqGVe67/P5dgo71Gj8rKk32 QHjZvA3uUUhIDUXlYheBNAOcvn/BAYZVzIukOi/P59ZjGlo5QdRqaa/OFHi+v2IT/Udg +SzuyyO0YFudULdDxGYCIK2AirSjXLrsfsv6Cg3bJqax8Y8QDw40P2X37Nok/Jkzaq/c RlXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=mumQ7Odfbg86UBYuc0aTTU7S0G45wmDkPgeyYwAnXzg=; b=r8r2lk6yUAURX7FKcsCUHRd9zgt9Y9EVgsKQlq7evyM3yPn1Rqgn2uoeShZHAQfak/ rqsttrfQi29UuZAbeIAMQbAqBAjP2XG0V9sfGtd0do7upokGNm5fox+5AnGFg5CavouZ uV2ny2fEF29tpKm7DvP+C3RsBkuzvXDPubg2ihGFsV0wEL56UlFB5iJQdxlJ+ZnPdJiH HwYHafIVlYecQiLnQDO2IFiW4w9hYPDVLjkXveNMxGTw4OFQZKP9xtETTNa3j7/ggIih GCk8qYzo5AUjwhfMcW5xDtd3/Gy+6Rg0ZoOLgk3jYvbN1ocJnojx95YRgEeRdiqFCf6L 5gmg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx4si4848910edb.505.2020.11.27.02.24.57; Fri, 27 Nov 2020 02:25:19 -0800 (PST) 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727232AbgK0KXe (ORCPT + 99 others); Fri, 27 Nov 2020 05:23:34 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39283 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbgK0KXc (ORCPT ); Fri, 27 Nov 2020 05:23:32 -0500 Received: by mail-lf1-f67.google.com with SMTP id j205so6325313lfj.6; Fri, 27 Nov 2020 02:23:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mumQ7Odfbg86UBYuc0aTTU7S0G45wmDkPgeyYwAnXzg=; b=ZzJFtFckVcSUYKQiNQ6AEhn5MDPS295SQOJuj8eVclgXjE9qS/+iFTovNKHDKe2iaC /4pT6sLglFMcKWXJj0zyPmyTdHkBl7sZepHkPdx8rNULrZDg6p2XTLTSOJ1ccTdCCMVa AzZnjWBM7GJpREZtcTDvhWSSTh3wW9XrEMu1/aVI5j+6oBSCvW319lXc6ZqmEzSlF5A9 5UFftJkup2PAuzNcbFli2ph2GsHg3YBZeeLXqKsnXnLA1qWJYto8ZBQ/cvYs0i925VjZ gBi9I/10oyBA9YEp9KxMOuR8ByKH87KzJ0ydjZpWHsIG9tIyW7+Flw1YaHjsbyArq7au ohNQ== X-Gm-Message-State: AOAM5304lzGVEMXemnhZ2cQ+R9ONgmifvD4K4NaPxPyrwauS7+4x0YAi sSbJ5bRladqm5q0yDVpZuPs= X-Received: by 2002:ac2:428d:: with SMTP id m13mr2850555lfh.137.1606472610279; Fri, 27 Nov 2020 02:23:30 -0800 (PST) Received: from xi.terra (c-beaee455.07-184-6d6c6d4.bbcust.telenor.se. [85.228.174.190]) by smtp.gmail.com with ESMTPSA id c6sm908462ljj.140.2020.11.27.02.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 02:23:29 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.93.0.4) (envelope-from ) id 1kiaur-0006Qe-HY; Fri, 27 Nov 2020 11:23:50 +0100 Date: Fri, 27 Nov 2020 11:23:49 +0100 From: Johan Hovold To: "Wang, Sheng Long" Cc: Johan Hovold , Sheng Long Wang , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "lkp@intel.com" Subject: Re: [PATCH v6] usb-serial:cp210x: add support to software flow control Message-ID: References: <20201016022428.9671-1-china_shenglong@163.com> <520e730958174cb39561a94d03e4727e@siemens.com> <496f2cc77b4d4c3a9b49410ac318b927@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <496f2cc77b4d4c3a9b49410ac318b927@siemens.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Again, please do not top-post. Quoting Greg: A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top ] On Mon, Nov 23, 2020 at 01:11:24AM +0000, Wang, Sheng Long wrote: > Hi, Johan > > Do I add my software flow control patch directly to the branch you > gave me now ? > https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git/log/?h=cp210x-termios Yes, please rebase your work on top of that branch. I'll merge it to my usb-next branch before applying your patch. > Then, I also need the cp210x_ get_ terminus() add ixoff / iXon handling? No, if you rebase your work on top of the above branch, you won't have to deal with cp210x_get_termios() which has now been removed. Just add support for software flow control to the new cp210x_set_flow_control() function (and cp210x_termios_change()). I think you can even drop get_special_chars() and just leave the rest set as NUL, which appears to be the default. Johan