Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2834425imu; Mon, 17 Dec 2018 08:32:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/XWYJ4PC6tqHPA4cBHmRduuEKBqqbRZgkiqxRV3cUrtorCUbFho4mX2Iazi1esiIQdak0uQ X-Received: by 2002:a63:d252:: with SMTP id t18mr12828941pgi.133.1545064341204; Mon, 17 Dec 2018 08:32:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545064341; cv=none; d=google.com; s=arc-20160816; b=VliPj1hGZZWwGS4pWHGxFDgZ+Z3Fr2iO3HJY7gkc9wgFR0wrZtM931rpaCRZR4aOLC H6UkyxmXgFaxrQa9Pykwudols8MPq8xLfzAdQyjgMTQi2YvxhHhZo0rvlyGctTyqK1Vy +4GiiDMyO3l42ZUBuYEen5Q5hVpfaSPXazYn2ABrpj+21hJkF6MLhq/nQ4mQ1XdTWnnv xCQn67u0zXBbyRtmrygDP9PHfDguRoHI2lWcgQAyqCRNxpfHFaZ6/Hs6wvLTnDVhu+/+ 9U4+Xxtuhrbl7xxxvFOy/un/Uh+ji5KazlgCRH+a9PO2F+ih4uOi7OJku/M9XbAqmDw6 T1kQ== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vcCz+tZEuR+GAAEezOii7FCCv5K+K+Thbrld+WbJel8=; b=vy8Ks8XVgrfbJInj4Wl8Z8xZagpE7MTd8ahy2LdqH+YejqZrs8goTY7TDFjLJSJVdT 99FOgllWLYRrZxGhk/yl2H712hlWXgqA02ThhsqD8+JuHmkdDNJBu9kabjBpbEduGMIF o9pRLQA15/jL21kb7743qKtITM25nPBtZ4Ug/z1+P1mNCvCgq3ROAsfAeEQxBVWrPRt3 8KkpH4LvK0KxVIkJ2GhhoTntHjUfW2HTKlNjZg/8NsCrzkiIOMub9e1pVjZGIux0lbgY 2QSUoHIx47VbFxyN2J9+rZbyQNLBHGPxToiBjUJdrv0kz6sDCOGAqHlr3SiKAq+dEo8D CFDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=XNGLOS8I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n125si12028151pga.179.2018.12.17.08.32.05; Mon, 17 Dec 2018 08:32:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=XNGLOS8I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388127AbeLQQbG (ORCPT + 99 others); Mon, 17 Dec 2018 11:31:06 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:37210 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727771AbeLQQbF (ORCPT ); Mon, 17 Dec 2018 11:31:05 -0500 Received: by mail-pf1-f196.google.com with SMTP id y126so6624480pfb.4 for ; Mon, 17 Dec 2018 08:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vcCz+tZEuR+GAAEezOii7FCCv5K+K+Thbrld+WbJel8=; b=XNGLOS8IJetpsHz47/xIHOYwP7ULYi4EaZIRxT66+u0MDlmG6EU+RQLfGWdvQ/8PPa agQeTU1m8Mgsfg1KyktkrgFojdTpfPnEersV3IyyL3a5mbd+/UF2Oz1f9kU4dMstsPUt S1QUOGFwrIkG7m6lz6c/jUzCE1Q0rru39jJAARe+eObJGVL+pWd23fSwRbuBKj7qfUco hOP1hpwPFAZD21WEPCGVCdkVAZDCCT1AsDQ2Ej0ZEHreS9/b35U42RVT/6beZEZql68p GcQP/hfPZAAkMRjyaTDQUwDIgmFZws6FeI1l4tt9Jh+AyrEQCgBHDfR3+pplZrCZBX+L ZiGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vcCz+tZEuR+GAAEezOii7FCCv5K+K+Thbrld+WbJel8=; b=n277J3RYg6c8Djb5CVIF1acws5sFaqPRgKj/L5u+n28TVKHdNnKNPTMjHz1ALx8q55 0KChyutxMuz7zvi1xFDeXlwdIhISUIiElVo9Ft7D6ITwtNpt1NiJ+a8JvHgL3bQ6S+eL c4pPDNtTAbg8aWj61NeZQmB39+nZ6X3ZtseVw5LWB59RuotyJG+wcEVvvLqZ+sOAkGkf TMJGDTKIuZZZEn24JP6GdSy7C6R5FfecUGlk8tc92IYNBqUlHlippCVbY6KesOrpND6m 4il7r91ordRIp5BNdR2bm8pH1IaTt8I/WV2Hc8ILnm/369pY7SVZeP0E9EGQhPjYkXB3 T3nw== X-Gm-Message-State: AA+aEWawm7ddmI+e2jVZP+SBqIelHEJ+lWN+dh5ziUM8qbAMcStT4pDX FEaxVBLCEOWlRdVC3zCwklMeKuXyqGEtZYsBiDmzzo0YrGQ8tQ== X-Received: by 2002:a63:a002:: with SMTP id r2mr12517212pge.212.1545064264409; Mon, 17 Dec 2018 08:31:04 -0800 (PST) MIME-Version: 1.0 References: <20181213174834.kxdy6fphaeoivqgh@pburton-laptop> <20181216200833.27928-1-paul.burton@mips.com> <20181216213133.kwe24pif3v4wcgwp@pburton-laptop> <949fdd3d-535e-d235-f406-d5bde4658c5e@denx.de> <20181216222411.5jkexuaqxpfudj7b@pburton-laptop> <20181216223510.hxsdotf332ousinh@pburton-laptop> In-Reply-To: <20181216223510.hxsdotf332ousinh@pburton-laptop> From: Ezequiel Garcia Date: Mon, 17 Dec 2018 13:30:53 -0300 Message-ID: Subject: Re: [PATCH] Revert "serial: 8250: Fix clearing FIFOs in RS485 mode again" To: Paul Burton Cc: Marek Vasut , "linux-serial@vger.kernel.org" , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , Paul Burton , Daniel Jedrychowski , "linux-mips@vger.kernel.org" , stable , Ezequiel Garcia Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 16 Dec 2018 at 19:35, Paul Burton wrote: > > Hi Ezequiel, > > On Sun, Dec 16, 2018 at 07:28:22PM -0300, Ezequiel Garcia wrote: > > On Sun, 16 Dec 2018 at 19:24, Paul Burton wrote: > > > This helps, but it only addresses one part of one of the 4 reasons I > > > listed as motivation for my revert. For example serial8250_do_shutdow= n() > > > also clearly intends to disable the FIFOs. > > > > > > > OK. So, let's fix that :-) > > I already did, or at least tried to, on Thursday [1]. > > > By all means, it would be really nice to push forward and fix the garba= ge > > issue on JZ4780, as well as the transmission issue on AM335x. > > > > AM335x is a wildly popular platform, and it's not funny to break it. > > Well, clearly not if it was broken in v4.10 & only just fixed..? And > from Marek's commit message the patch in v4.10 doesn't break the whole > system just RS485. > Careful here. It's naive to consider v4.10 as old in this context. AM335x is used in hundreds of thousands of products, probably "industrial" products. Manufacturers don't always follow the kernel, and it's entirely likely that they notice a regression only when developing a new product, or when rebasing on top of a newer longterm kernel. Then again, I don't have any details about what is Marek's original fix actually fixing. Marek: could you please post the test case that you used to validate your f= ix? I can't find that anywhere. > > So, let's please stop discussing which board we'll break and just fix b= oth. > > I completely agree that would be ideal and I wrote a patch hoping to do > that on Thursday, but didn't get any response on testing. It's late in > the cycle hence a revert made sense. Simple as that. > > Thanks, > Paul > > [1] https://lore.kernel.org/lkml/20181213014805.77u5dzydo23cm6fq@pburton-= laptop/ Well, I think this patch a lot of sense. But since Greg wants to revert Marek's fix, it would make sense to collate both Marek's and Paul's in a single commit. --=20 Ezequiel Garc=C3=ADa, VanguardiaSur www.vanguardiasur.com.ar