Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp305160pxu; Fri, 23 Oct 2020 00:49:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzA2FuzmuquXFdoOyj4bJUAYcZO9kADZ2XgKO1YSSwHbmKTFBBKctvpG88rOzz1WspVeMhY X-Received: by 2002:a17:906:4705:: with SMTP id y5mr772107ejq.112.1603439360488; Fri, 23 Oct 2020 00:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603439360; cv=none; d=google.com; s=arc-20160816; b=oPQp08/Un4GkYsSH2XPNPVoQIr9KQmUTg2l5JzhUhYFQLz+nydfbC2prqstp6PRuU2 xU54p42Fs8StAoNdspNWJ5sjWJkQtTxLqtftOG1iqAG/h3XggFyZxOeNCmA1UHzw/pdt fyORmK00vXp+bfiyjNWpvpsny/fIE/mZ4UWHZKZYSdwNftOyQYWPC1MsI+i4HzqTr1OF Z/5Ek6mqtqf1xY6LBdn3PHK7xwDw4OQgNOazMW8eJwsvUN329CiEs+ghYc4LUH16YWdk PD2rVEDIqlw41DNfWGzOm5AgfHeqEwxadRURsjNmpDtymfv5JoPEU2BSMkkBqY9em/Ua 8VpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=fNuY07AMgjnynTixXsB/HfnuTDQgjpiBtP3slRvyS2k=; b=ssPLaWtWfGzcfQS9HGVpIJ6+q7NGBFvX3UWsCiFWH1kMy8Y+vPfEgmist/dDp0Uv1J kdTTeWmvsOvLW5lkrcFUQVQWS5upeIanM/hk/nPcTthVsGJyAvU/H1U3UHI1/EHDMvDK YLLlXp4ynDx8Dz98eWfKTDdQ0P/iPVJXlEY3i3KqAJEbHf0MGC+WHcXGNuXkBJA2RD3x AH//JLEAWWS26J2EAnlU1Xe4lNDQjFiJSyEtsGqACre9XjPFM2IHUoAyu+0uJO6Gxmmc 8S3NhjrddpgWmQMsGbEGy6vnAaxN6GxZbp8By80qDk3r1IXwNeRnN78JpUtx4bIT3yRb zcTw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si313781edn.216.2020.10.23.00.48.58; Fri, 23 Oct 2020 00:49:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S460213AbgJWCnz (ORCPT + 99 others); Thu, 22 Oct 2020 22:43:55 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:45140 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440111AbgJWCnz (ORCPT ); Thu, 22 Oct 2020 22:43:55 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 8375E2A909; Thu, 22 Oct 2020 22:43:51 -0400 (EDT) Date: Fri, 23 Oct 2020 13:44:01 +1100 (AEDT) From: Finn Thain To: Tianxianting cc: "kashyap.desai@broadcom.com" , "sumit.saxena@broadcom.com" , "shivasharan.srikanteshwara@broadcom.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "megaraidlinux.pdl@broadcom.com" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] scsi: megaraid_sas: use spin_lock() in hard IRQ In-Reply-To: <89c5cb05cb844939ae684db0077f675f@h3c.com> Message-ID: References: <20201021064502.35469-1-tian.xianting@h3c.com> <9923f28dd2b34499a17c53e8fa33f1ca@h3c.com> <89c5cb05cb844939ae684db0077f675f@h3c.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Oct 2020, Tianxianting wrote: > I see, If we add this patch, we need to get all cpu arch that support > nested interrupts. > I was just calling into question 1. the benefit (does it improve performance?) and 2. the code style (is it less portable?). It's really the style question that mostly interests me because I've had to code around the nested interrupt situation before, and everytime it comes up it makes me wonder about the necessity. I was not trying to veto your patch. It is not my position to do that. If Broadcom likes the patch, that's great.