Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp904383pxb; Fri, 15 Apr 2022 14:54:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp2lsg2QVUFw79wBRkteyBl4V52kHDvRiiHNr6dvxkgkXfKNhO7oEaPa/ePh9dgLLmJBK0 X-Received: by 2002:a50:9e61:0:b0:419:d8e5:6236 with SMTP id z88-20020a509e61000000b00419d8e56236mr1083486ede.327.1650059679143; Fri, 15 Apr 2022 14:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650059679; cv=none; d=google.com; s=arc-20160816; b=wBtUcEhQt6trXmt2IlQk+q9FWpZQ52iAjsyJJhZkIWT+qTLLtkiMugdAdozMd4wX8a FuRUhqaT56KQJZB0gMgWXT2j0w3LltiIQpFrwMpTd7f9cQgBBz4QwKcplsbNwLJi2l7p JhSm9uAcRFCSJhe1QR+kd0gU6xm+yuqF3+/fS66tFuGNYsE1p3gY9+NBj7airQELTF6j R4oX66NuYSkgnfuFp329dq1W5gLEAGJrmDJ584G1YUFkPShVtnHHl/aEJDUFkl6fpuSs 2LC7I3NY/DAb8PIkPfZFwBs3Ya0tRHJidnodQ+DLwcY72WkGuZ/a+UFfbOxTsOr8IFyx myQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Q/gbAEREb62A8JevuFxQMwwR0Kq1AX0d797Hsd3s/CI=; b=JQrhCoOCCbBNxDE2zzx/glGtCK2C2OY6vLoPH1lnwyrj0cY0gV6N+KBP31SMdVIHOM CRBM/YEBQBnNTX7H7ErFZMENChYNt6t1YLmKW+CIO5ik0G2Qq7jA6l8TSKbVVX32dVB0 wEx2WxKC/jGz09Hc/1Piv6oxTFneUqMfvlKLKTuy5gpIoRurBbBUwUzMBIzFeIVBMcs0 3UwwZlpLQEdj7n3kl8xgimgfwaquNaT5FcTZaAxUKEHMZT/G4XxANzS6Gza2N7rAEgrt QZMroiOP9vK2nHJIVj0puOvt1oO1y08SVE0rIGj32r8bNP0rgAjHIMHAvKA0CXBx660M CT7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h+0BbF6s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p5-20020aa7c4c5000000b0042250712f29si1658122edr.70.2022.04.15.14.54.13; Fri, 15 Apr 2022 14:54:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h+0BbF6s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346485AbiDNN5U (ORCPT + 99 others); Thu, 14 Apr 2022 09:57:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244763AbiDNN2G (ORCPT ); Thu, 14 Apr 2022 09:28:06 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D39B3A5E95; Thu, 14 Apr 2022 06:20:52 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id t67so9385826ybi.2; Thu, 14 Apr 2022 06:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Q/gbAEREb62A8JevuFxQMwwR0Kq1AX0d797Hsd3s/CI=; b=h+0BbF6sL4P9IeOcFTP3fUX4pLFM2G+jWWL7otAPjya+NOFgkW/ui40SHY/sZAhHS4 qmoS/HCiMFZ4xJbootTmWiqv5CVvquVUizsFTmMAXk6R9UMr+wniH/k+IO1f54So0cBk hKGJe6FmDckivfj3yze2asz/Dp13VnroJOR7SM/s/a28Ejtw/dK5n6cQLTSmQuBb6F9G 1jN+nNtyU2+tHCYV8Zyq0uptEJkrXSBpLVvthDv6On6WtT49dlHByS2f/X/sWnODoKrc C1QQuvIS2R2U9J4wfIj+juph9RscMlH9ugpiNc70/1F2gfgO8AibxxY9/lZgIHHdnCM8 LKDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Q/gbAEREb62A8JevuFxQMwwR0Kq1AX0d797Hsd3s/CI=; b=7kRkR3LXLvwsMY4kfT462LGssc46rn3d+KPvRN6HN9CikvnaHk++5o9pmRkkhQX+jt d8UFZGTUEmvn1mFsqKrSDEJPBxjc48TMZxOmZloN7JVt02fuBC/JRNpzhRtrj8ujP7NL A/41t+y/vAMSioS6rTedU31gJG+QK7Q/EKm64HHThjgV4XcOff5v8ULtRzJsX0wo7VgO ENh+iuucop/3zKT8LHZwVW+CpGnLFVvkiBTDwtYjqJwQGBEkp+EGqO81I1Z/DXSiXRB4 s4fcp4hd5vv2ep6/kr7l9UjUxAJjVGHmVqcr8uRFbCv9FDAAOV7gFhjN0SdwczsFG7vS vGDA== X-Gm-Message-State: AOAM530TMKM0bgjPOolEFPdQyInm/+DxODjpojtnY61etFzqjfo7DNUn 6XPqY+G4kziEwvyBgEiNOytF8L2/XJDc8nGakP0= X-Received: by 2002:a25:cf11:0:b0:641:bfc8:4fc7 with SMTP id f17-20020a25cf11000000b00641bfc84fc7mr1733774ybg.366.1649942451985; Thu, 14 Apr 2022 06:20:51 -0700 (PDT) MIME-Version: 1.0 References: <9e12d806c5554b4ed18c644f71f6662fcf0d0516.1649813822.git.lhjeff911@gmail.com> In-Reply-To: From: =?UTF-8?B?6YOt5Yqb6LGq?= Date: Thu, 14 Apr 2022 21:18:34 +0800 Message-ID: Subject: Re: [PATCH] spi: remove spin_lock_irq in the irq procress To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?B?5ZGC6Iqz6aiwTHVXZWxscw==?= , "lh.kuo" , nathan@kernel.org, Tom Rix Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mr.Mark : I will remove the variable "psim->lock" in the next patch Li-hao Kuo Mark Brown =E6=96=BC 2022=E5=B9=B44=E6=9C=8813=E6=97= =A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=887:32=E5=AF=AB=E9=81=93=EF=BC=9A > > On Wed, Apr 13, 2022 at 09:38:00AM +0800, Li-hao Kuo wrote: > > - remove spin_lock_irq and spin_unlock_irq in the irq funciton > > It looks like this is the only use of the lock so the variable can be > removed as well?