From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00358C433FE for ; Tue, 8 Dec 2020 01:29:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FB6D221FD for ; Tue, 8 Dec 2020 01:29:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727472AbgLHB3b (ORCPT ); Mon, 7 Dec 2020 20:29:31 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:35734 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbgLHB3a (ORCPT ); Mon, 7 Dec 2020 20:29:30 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B81SR9h064042; Tue, 8 Dec 2020 01:28:27 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=fk47qCz258HOn/ymeHmrCxhgOgh2epzdVLIPU2HNlng=; b=eBcmAYpWLLBHnff75JXrjZ91eNxCr7SjwEliG6xhYqWAf9f503aLHotQzOjrCTZoafud cxynaObPkqjtqc3lwjT3VY0vr3uzrY7dNZGiRt2J0bzJ+u3/RTCYy4L/oWZxnQEkcnF/ AsumJhCJqQl8hLXzQRAbEjbRslIfC0MXZvCYUr6vW4Tv63/h2HBR5KJWHAALWXfTMA6A ZXl6PDg/qBz33UTUHWhDoxDQRSSZ6OO4QpKi58TbmHudJx+hS/gQ1SgsWz0UiKAzLfmH fZVrOuEjux1y4XIvASDcesGWII6cEQBq/LFCgNgRuq34aV94N+vZCGNqSVGxwyIU6Jxd JQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 35825m0d55-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 08 Dec 2020 01:28:27 +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 0B81EjFI122693; Tue, 8 Dec 2020 01:26:26 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 358ksmwwcm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 08 Dec 2020 01:26:26 +0000 Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0B81QM0e012637; Tue, 8 Dec 2020 01:26:22 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 07 Dec 2020 17:26:22 -0800 To: "Ahmed S. Darwish" Cc: Finn Thain , Michael Schmitz , Geert Uytterhoeven , "James E.J. Bottomley" , "Martin K. Petersen" , "Sebastian A. Siewior" , Thomas Gleixner , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] scsi: NCR5380: Remove context check From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <20201206075157.19067-1-a.darwish@linutronix.de> Date: Mon, 07 Dec 2020 20:26:19 -0500 In-Reply-To: <20201206075157.19067-1-a.darwish@linutronix.de> (Ahmed S. Darwish's message of "Sun, 6 Dec 2020 08:51:57 +0100") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9828 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=822 suspectscore=1 bulkscore=0 malwarescore=0 phishscore=0 mlxscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012080004 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9828 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 adultscore=0 bulkscore=0 phishscore=0 mlxlogscore=850 clxscore=1015 priorityscore=1501 mlxscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012080005 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ahmed, > NCR5380_poll_politely2() uses in_interrupt() and irqs_disabled() to > check if it is safe to sleep. Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering