Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1351496pxu; Mon, 23 Nov 2020 19:45:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyxyoMgD96odYYiX7kQrXVISuI9IlfHvjwZZgRPGh9J+K+CdymCi6cpUGjzFtdaDLdHwH97 X-Received: by 2002:a17:906:d20e:: with SMTP id w14mr2425383ejz.479.1606189528503; Mon, 23 Nov 2020 19:45:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606189528; cv=none; d=google.com; s=arc-20160816; b=GfugpF2S2DDS9ejMe1nSW6A0/KKeL65rfude3mgjMCI1IreRiAQxUaUD2Qp4GfiO/9 t61dleL1/xZ2Uv/lCOkC5+c0i4cOBs2SOdEAEUABNYX5xvbJU9hGxL72zToYzwHBZCKn JGQ7HZ9CCp/4N5tjwiocXfe4GOXM+2aEwAQ9lUfGpblPYGnAlq3dYOiTdGXjMX/bYm4j 1l4LqLEsTq9zqtXa9PeG+hH7tw7yzj198arbe8zkkVvsvOQgganPYoKSdvZxu98dWM2V 2of6KnfYObOk5d8YFsOisSjrruoN/B6AhEu5MpgyHG6ksyaCsagKOJ8JKiFFGHkkqhnk 3E5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature; bh=ldFF5IXY6CEUyzmGNh6fCsABJDF4qn+Dj5jqif4qb+M=; b=aXod3a4NS9YofHf+EN7jFG9mhxH4ylQutoi3PSgYmSNrfz2CHIuaLgOAIJqpFFtnY7 sv5OkD7WziIi6PcsHih5m7SVAlKrEY8U4Nvlhue7NAlu+gh0YfDKMu/RPRf1Z0yFEbGD HxIhsg4MPEakuP7LstuS+57aaOt60QxwtDLb6ripiObh+EAtzW5ZVYi6B1MVn7eyknhL pVLv9N/poCit29gQzx2cHrtvSbqLDf2FNDgxhCrQqe041Hlc8qgC/zv8S/lCenzBjh79 Z18D/WkI0xkYJk7oaH37xplPxbc3k0TO3xAD5nGP6/NxOVA0C8MNR8h2upGyFu231kRR ijfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=jXccEQFQ; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm15si7062744edb.555.2020.11.23.19.45.06; Mon, 23 Nov 2020 19:45:28 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=jXccEQFQ; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728824AbgKXDOs (ORCPT + 99 others); Mon, 23 Nov 2020 22:14:48 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:51172 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726789AbgKXDOs (ORCPT ); Mon, 23 Nov 2020 22:14:48 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AO39tXa008956; Tue, 24 Nov 2020 03:14:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : mime-version : content-type; s=corp-2020-01-29; bh=ldFF5IXY6CEUyzmGNh6fCsABJDF4qn+Dj5jqif4qb+M=; b=jXccEQFQLTLbLD9YRyqy7OwzYmr8Hb0Ap5Hhm8t9DdYAcbPWSNTWEz3MQ0nrETqpzBU0 qnwlstZXvrwafWyNIxodyOG9/vV7EftB4jU9jku5/X7GuNGG4iurwJnQCY17An9A9J/y T55QGwzFc85goHVqms9LyJIKCLm9vnLp9ffUSYKQPdyTnINeUYDKO7M2Og5iidUwHfYm 81pgfFoN+GP+Qw9SgKQKdAJY4zv5hxW0UItOcJ3m16bSBwooIezhLLVKqLzHHeGLy7Ux f5wEM7hOZ0Z2GHmVWm71ckORoZoT9nYNE1WHkMO+591IQL11b8YmmuiZmM1ysbPAbhtH KQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2130.oracle.com with ESMTP id 34xrdarhpc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 24 Nov 2020 03:14:42 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AO39vrx043513; Tue, 24 Nov 2020 03:14:41 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 34ycfmq9ta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Nov 2020 03:14:41 +0000 Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0AO3EeT5010062; Tue, 24 Nov 2020 03:14:40 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Nov 2020 19:14:40 -0800 To: Finn Thain Cc: Michael Schmitz , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi/NCR5380: Reduce NCR5380_maybe_release_dma_irq() call sites From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: Date: Mon, 23 Nov 2020 22:14:38 -0500 In-Reply-To: (Finn Thain's message of "Fri, 20 Nov 2020 15:39:56 +1100") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9814 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=1 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011240018 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9814 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 impostorscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 phishscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 adultscore=0 suspectscore=1 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011240018 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Finn, > Refactor to avoid needless calls to NCR5380_maybe_release_dma_irq(). > This makes the machine code smaller and the source more readable. Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering