Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3727171pxv; Tue, 13 Jul 2021 02:15:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZncl+MfQTDIfO134RkhrxsspJLed8ucOrzUhIYsImBI+EYUib+b5yKlETaxwtbLdrP3vj X-Received: by 2002:a17:906:e257:: with SMTP id gq23mr4354191ejb.545.1626167731395; Tue, 13 Jul 2021 02:15:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626167731; cv=none; d=google.com; s=arc-20160816; b=Op1wxCvy4lZhznYwkDh1zBNbErCjvGiiorDrrACtwxVd91t2muiBwXOHENFWp4J4cp GH3IzdPiCiG6f9Gf6cZZTYvo9tYa6qbeCAYQ5TMZ0UJVdA/I+DnfLJQrMCJOl8aG4hSt Yyemw8V+yfpmDWwuccx3nl6fj6SMXyAAIR50gxlyCeAwOJG4UR2YgGUF0ksagXugqLeI i+qVSVuLZVdYpf1bmf9FSJFLNUML2ZTUP+6aKW6td42NbEfyezcFdUHK3jk7XrDADJHp RXtozN5dG9CqwARkG48Yq3ZVeG3eir4DPOF8gD0rTCFXOFlNjI4LPbqXt0WHc4AE4rbu jeJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6gCWRD2y3DyADZfLS/zLOnATOKrBaiuB9hRtzHViF/A=; b=KEHYSzGoumECpMS9CXXInnGdNnqsdsp3rNk/MQvBiIRRvK4SSl5yux/yV1pNt0no44 2AJegcm0+RPTZ8dI2BFE4ZPqK+gxyRx6Qdd3/Avl5wcp/2nbK+NxkI8Lh/l8Jv2KuKsC T9fZJn00I3k16FX8PK/S1IFUO4A41suTzUyulhjeVGncnKIOv8H1BRkreyU2j+0E0y9o RThHMgkNPkEd+XDCwvBYJozflzwmauiCqwL9+qqK3VkG+l4j+1GV1G/Dc1SbZjL/Yvly mK9xFEZgqX7tQL5Eb7nUDqJFUEmbr9Bf4Aj7z3ECvIRF3U+hIkLvyGYR7Zs7e4jP2Xv1 auXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qN6Bc0MZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si20040443ejy.541.2021.07.13.02.15.07; Tue, 13 Jul 2021 02:15: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=@gmail.com header.s=20161025 header.b=qN6Bc0MZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234854AbhGMJQy (ORCPT + 99 others); Tue, 13 Jul 2021 05:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234397AbhGMJQx (ORCPT ); Tue, 13 Jul 2021 05:16:53 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68879C0613DD; Tue, 13 Jul 2021 02:14:03 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id g6-20020a17090adac6b029015d1a9a6f1aso1513682pjx.1; Tue, 13 Jul 2021 02:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6gCWRD2y3DyADZfLS/zLOnATOKrBaiuB9hRtzHViF/A=; b=qN6Bc0MZ/Rd2xInoheIiNxYMDMrV8qWyqcCOqY4ZI6TcYJX7yKyqntIQL4fmOSPWpY SBSvoPB8ySRpNVnZ2y0NdEXsyaQWtJyKiYa/lqgP2IUxNtPgX1IIKHdl/S/HXHCa/wFc CSzhUg8JJi4ty0UWwUx1/u7+dD41D6bqVvKF7NFvGz43Ki6GiOazhLiHhgfXUmP96irD ohvv/XYBuEZcnyAtBnrH7K3G+CsHzC512nWIBFM9/mkARzGm4ku+1Y6QkxkixrCG47Qr x4kycecbe4aJ08yxvb5Eypsq2Kjc3sjqilCscub/WBHNSsCtQy4+FEKe62TbElO8ziPh M7RA== 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; bh=6gCWRD2y3DyADZfLS/zLOnATOKrBaiuB9hRtzHViF/A=; b=VJmfsD5xmExEApdeCapdHX7PF5UcLrlhYU2qpjM1HvwtyQMeYqtBOkmqk/AJQKoEa8 d2edxkjZj6zeqh8vPZnGKI9BY8T4O8+rYOLWuJYQ/tfFKwRU3zgpzAYw7PqsRZZc7dTR QG3OZJF4STA16iILX2K5wfDEtCeFOt/saWpzFY5ksh99U8BD43tEl//E1DRaXUSFHUfn 9MflnSZQjQQ0weFB2Mf3saKrOg+4nTk2s/Gx2KGVZ7zPN21v+jVGXMKHs7yTkDnA6fiy GkqqYHp1zfQiDSrw1yjDFui7BqQVn0C4AivBLDZEO8JugVOLyPDlVVHMFnZfkhCOilH+ kZGA== X-Gm-Message-State: AOAM532yrgMhzzqMmaMGjjpwimVN7BDjFRWqyyjhnv2/IkRseOe1Ze6K /1SxNsoRMm2ciawfi+uvMZsFrj4sScyVMcWmzvU= X-Received: by 2002:a17:90a:17ad:: with SMTP id q42mr18585146pja.181.1626167642948; Tue, 13 Jul 2021 02:14:02 -0700 (PDT) MIME-Version: 1.0 References: <20210511151955.28071-1-vigneshr@ti.com> <0ad948ac-f669-3d6d-5eca-4ca48d47d6a3@siemens.com> <56c5d73f-741c-2643-1c79-6dc13ebb05c7@ti.com> <0ae7e313-1ed7-f1be-e8a7-edd1286277a5@ti.com> In-Reply-To: <0ae7e313-1ed7-f1be-e8a7-edd1286277a5@ti.com> From: Andy Shevchenko Date: Tue, 13 Jul 2021 12:13:23 +0300 Message-ID: Subject: Re: [PATCH] serial: 8250: 8250_omap: Fix possible interrupt storm To: Vignesh Raghavendra Cc: "open list:SERIAL DRIVERS" , Jan Kiszka , Tony Lindgren , Greg Kroah-Hartman , Jiri Slaby , Linux OMAP Mailing List , Linux ARM Mailing List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 13, 2021 at 11:54 AM Vignesh Raghavendra wrote: > On 7/13/21 1:57 AM, andy@surfacebook.localdomain wrote: > > Tue, Jun 22, 2021 at 11:53:38AM +0530, Vignesh Raghavendra kirjoitti: ... > > https://lore.kernel.org/linux-serial/20170206233000.3021-1-dianders@chromium.org/ > > I am not sure if reading UART_LSR is a good idea in the above patch. > Some flags in LSR register are cleared on read (at least that's the case > for UARTs on TI SoCs) and thus can result in loss of error/FIFO status > information. > > > https://lore.kernel.org/linux-serial/1440015124-28393-1-git-send-email-california.l.sullivan@intel.com/ > > Looks like this never made it. Forgot to react to the above. Yes, they never made it because I believe due to the exact reason you mentioned above. Also California set up different experiments IIRC and it shows that the problem didn;t fully disappear with his approach. But maybe yours will work better (at least it's not the first time I have seen it on different hardware according to people's contributions). -- With Best Regards, Andy Shevchenko