Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1273089pxk; Fri, 2 Oct 2020 05:42:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwc9AdnjNuc3KdF7p3ndYgKsMUIDJV76DvuB1NkQCdpGJ1tvEfHu4NpcN3VfBP691KoAD9 X-Received: by 2002:a50:9f66:: with SMTP id b93mr1902839edf.201.1601642567325; Fri, 02 Oct 2020 05:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601642567; cv=none; d=google.com; s=arc-20160816; b=l8U5v+LkuGe2PHlrD6rNHPoIMp53qmJAYU9Rvw23aJUT2b3B1xp5tsPolJUS0+Qr3K 36m+ay7+Wbb38yNVJYYXp8iera/jTraeY69pxQPARhJwcGoDbTVxi208J17mZdkuvWDk VbY4JLoHECNs7W/df0DAO8dGv/OoTIoApRWQA7iyBgvKptF3e4CoB+KiEgsP17QdMdRP 91DZ6akwoIdat9icfnYmlL56ESoiwdhBPWEyCyoBfLA/bPRXjIlmPXKfcINRl8BgR7xy KVdhpRnHbdcjsUGyoIEmVYB6jCp8HVfYeXeWs/pQxPRvh9gMG+mT+0VIuvlPPtfZ8Ngs R62Q== 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:dkim-signature; bh=rOtmrDeU+INT545O9Muhzk2bA4lpnYr429IdKa2x0e8=; b=x5/T2w2gfQ7pWMGQDgp5Bcm5OdaPzD9Cx7FfVGjvzwS3P6+L/9N9tcRP5Mbfg7vAbW ysGU4W4vQNqdGyYRhLoBHVdNS/ubnICmVj+30Q0MxCUe1MXX64kOL6wwVZaIHnzqslzX Mt6RVi9XU8yCrpNUfYIz97AFyg8QgXT+6jyS/XnoBbUxxrr4Q8Stv2Q4m186emYWbfcu EYZqBmz8kzThyiADMeYFwqMz39Br+9sjjoxyNRPj0QOCozSGZH87L6z1FJktrFN3qGVc JBK4G1FIIBgboPkFusovL3RmLeKb3Kob1BIdcIA667++NM3pSb+m2T+csMLb+f3Hy2Ck 6xoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iHV8cFWz; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si1007100ejo.534.2020.10.02.05.42.23; Fri, 02 Oct 2020 05:42:47 -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=@kernel.org header.s=default header.b=iHV8cFWz; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387845AbgJBMkt (ORCPT + 99 others); Fri, 2 Oct 2020 08:40:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:51206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725964AbgJBMkt (ORCPT ); Fri, 2 Oct 2020 08:40:49 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1012F20644; Fri, 2 Oct 2020 12:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601642448; bh=nXdzXzeAc1yMvHsj447ukLSP4Jtd85+JIsr3gszdND0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iHV8cFWzbZ7pyyl7oCJoGFe17c6E9A9b9TbOhzrfxt4VEBrTuQKBLIEHo0LciUwYl 4yN2ho+BA6T7EsEPAw7W87B7q875GGifrzjHMtEvxgdmozD/gt2ZKGtgsOffCKmwG2 2XnPWnXeQJ/MIWUWX9csVvb2iVJVk4Jp9bU+B/tU= Date: Fri, 2 Oct 2020 14:40:47 +0200 From: Greg Kroah-Hartman To: Andy Shevchenko Cc: Thomas Petazzoni , Jiri Slaby , "open list:SERIAL DRIVERS" , Linux Kernel Mailing List , Jan =?iso-8859-1?Q?Kundr=E1t?= , Mark Brown , linux-spi Subject: Re: [PATCH] serial: max310x: rework RX interrupt handling Message-ID: <20201002124047.GA3348062@kroah.com> References: <20200930135137.197592-1-thomas.petazzoni@bootlin.com> <20200930165037.77813365@windsurf.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 30, 2020 at 05:54:15PM +0300, Andy Shevchenko wrote: > On Wed, Sep 30, 2020 at 5:50 PM Thomas Petazzoni > wrote: > > On Wed, 30 Sep 2020 17:24:48 +0300 > > Andy Shevchenko wrote: > > > > > On a Microchip SAMA5D3 platform that is receiving 20 bytes every 16ms > > > > over one MAX310X UART, this patch has allowed to reduce the CPU > > > > consumption of the interrupt handler thread from ~25% to 6-7%. > > > > > > Was it always like this? > > > > As far as I can see, yes. I guess you were thinking about a Fixes: tag > > perhaps? I don't think a Fixes: tag really applies here, as we're not > > fixing a performance regression. > > Thanks for elaboration. > > ... > > > > > + /* Reset FIFOs*/ > > > > > > Add a space before the asterisk. > > > > Indeed. Let me know if a v2 is needed, or if this small typo can be > > fixed when applying. > > Greg usually doesn't touch commits, so v2 would be better. Agreed, I don't like to edit things :)