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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 62D85C4363A for ; Fri, 23 Oct 2020 02:43:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 03D9C20790 for ; Fri, 23 Oct 2020 02:43:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S460217AbgJWCnz (ORCPT ); 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.