Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp121219rdb; Wed, 20 Dec 2023 07:49:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMIfJxdqdIa/cp3bW3cRtRCd+gZCuQRvNi0CcDUg0snXd6ZMy9OLWKRM9ewZ83sTOurY0J X-Received: by 2002:a17:90a:548:b0:28b:d432:9feb with SMTP id h8-20020a17090a054800b0028bd4329febmr659904pjf.64.1703087340455; Wed, 20 Dec 2023 07:49:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703087340; cv=none; d=google.com; s=arc-20160816; b=CBbgXmR0f76O/d4yPimdBQgrj15pe2HI6ubW8FLPvMy7bV/9indEr4KyJQvVFs4dd3 oXGom3HwBX/0russzC+hqKHWGfBhcT8/UOZnOtsvaEo7hzJ2tlC3KwIXmXKlqw/Cw6VM HKOLcHxmpw55c5MSqWcPOKdGsOOg+ub2mrbD02niN9kJIYSoTq+a13sJOa+iSj2YUhik vh9tMSZ0pVRKb70Ya0vVPbpQqxSnsRSfe88zA2gJqSJt7r1k057UdYunoJJi+2k0u7AZ IMVbtzkZf6Mkopj+rlR/QckaN5Rj6qBtN0VvF53V9/qOYjo8hhSEb2KDrx/ozDXU3WIh Utpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=C8R3kUcMWpQ7uDrTAgQvwO+EUQdaasUMkOU1/AWK9Xs=; fh=oWFj1HPwiu9zJJ1lym9G4qUj25jFSQwP9xY3cFZv6o8=; b=GjWSzlcGNMfwm6rDU7M1bLFTHUmbfDFd4Od034gY9LFx1eEGws4RX4h+3pkU4/YgIo qcHAhsivtkwa0mUH79BiyXo1zr8MxgnuQSd5hy3ZrcCNHe2xSppq4ahmDIrEk5ClPWMG 7Q3DY/OB4L73cVGKD2xhL97YjPwhmO2taFYZe+icfeLxkGOvvAtaw7ES6vnG+QV2aYtM PUNtE/aH7TSkxvLO9m2J2MCy8J/1BrJSEXyiFC29xsbZoRK7hagUMlVGXXWbi+CaMejn lfu6lnHhmQJQJ9iS4lYFVyhC+4jhVJLMzxYXIWhUcBMgOXIKM45vww8hpTsAx1vxFBgw seqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7193-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e88-20020a17090a6fe100b0028bdcdf80a2si692519pjk.157.2023.12.20.07.49.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 07:49:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7193-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 25C16285731 for ; Wed, 20 Dec 2023 15:49:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C073541235; Wed, 20 Dec 2023 15:48:29 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02D7045C03; Wed, 20 Dec 2023 15:48:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="482018936" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="482018936" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 07:48:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="776380819" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="776380819" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 07:48:24 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rFyhQ-00000007adt-0dll; Wed, 20 Dec 2023 17:41:32 +0200 Date: Wed, 20 Dec 2023 17:41:31 +0200 From: Andy Shevchenko To: Hugo Villeneuve Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org, jringle@gridpoint.com, kubakici@wp.pl, phil@raspberrypi.org, bo.svangard@embeddedart.se, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Hugo Villeneuve , stable@vger.kernel.org Subject: Re: [PATCH 03/18] serial: sc16is7xx: remove obsolete loop in sc16is7xx_port_irq() Message-ID: References: <20231219171903.3530985-1-hugo@hugovil.com> <20231219171903.3530985-4-hugo@hugovil.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231219171903.3530985-4-hugo@hugovil.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Tue, Dec 19, 2023 at 12:18:47PM -0500, Hugo Villeneuve wrote: > From: Hugo Villeneuve > > Commit 834449872105 ("sc16is7xx: Fix for multi-channel stall") changed > sc16is7xx_port_irq() from looping multiple times when there was still > interrupts to serve. It simply changed the do {} while(1) loop to a > do {} while(0) loop, which makes the loop itself now obsolete. > > Clean the code by removing this obsolete do {} while(0) loop. I'm just wondering if you used --histogram diff algo when prepared the patches. If no, use that by default. -- With Best Regards, Andy Shevchenko