Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3991595pxb; Mon, 8 Feb 2021 05:32:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAcHzlIfjaADcJR00Ec7F4vhWZCrsrR36FIVlW3sCWaYkkZxfQM9ywfDxuDlKM3iw+13R+ X-Received: by 2002:a17:906:d0cd:: with SMTP id bq13mr16758728ejb.75.1612791127249; Mon, 08 Feb 2021 05:32:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612791127; cv=none; d=google.com; s=arc-20160816; b=tyy153QOF6Vzwl+6QWod0egOtlfgsxphY+hTjdptZaBQLAj4lpJMWGCpctKl5Oy2cG GoITM7IXSxuqrLPbdum8TxEl6DPvnS4i9dx4Riu0/C4zjuakN5+fv1D4Kjfo3/9X6LzL XP6+1KkLcwN5qy+5VmVAo/ViN5VDPpEe9iOp8pcAQCcuHr1AXEWAsYVZdP81qtTJ7QDj U1l/BiAGTRtMhv9gpptBg/p11HVXHWdW+gpIr3ItXUW51f1ATbgaNaN11uC9UeXRYfwY ddvx4kQQ7UALL5GBASjeBhWUI8ty1SzZ2RUQtzz0LY/x5JBEnBNDSFsXzQvV85JoNfkn b3ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+SRwZCjQXqBonjclq0sFfPG9c3K5kM6QDAkUywKYgps=; b=HBkz0/NWgaHMu4Ezr1W8cc1Fnvj29P7fXKB0vZdsrhh1T1a7x4P0kuU96gH5c5UPil 3ZgYsw3RS6w1btTQ/4HEguDqQYEDCHlWndQ/8QbeepqLHH/lQUT+E5Mw8CDtJNjee8gL M/3Pi/IDwpZZWyzAA2looQ1lkRrpeaTQWxEAc0K4d76RyksiTFCGUihHWxRTjOISvrBM +JgHNDhh36NGb3mu5qYCvxMhA7VHpslEb6XeOCB5eEQBcCNeblTDMM6Ui7D/Uo0qd+C6 rZaVM/wjDDf68jFuk/k0Z+hIGaZqQVfKqJPo06adHT7Qj0BL0dXv6pR4/4/wYkWUlVXn kXAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Kejp0Hjj; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si10864594eju.216.2021.02.08.05.31.41; Mon, 08 Feb 2021 05:32:07 -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=@gmail.com header.s=20161025 header.b=Kejp0Hjj; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbhBHN3t (ORCPT + 99 others); Mon, 8 Feb 2021 08:29:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230267AbhBHN3m (ORCPT ); Mon, 8 Feb 2021 08:29:42 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C57AC061788; Mon, 8 Feb 2021 05:29:02 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id fa16so7840520pjb.1; Mon, 08 Feb 2021 05:29:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+SRwZCjQXqBonjclq0sFfPG9c3K5kM6QDAkUywKYgps=; b=Kejp0HjjRmBA4BGjWzGymQm6EpB3B8AZEcKzpOcjAi/omGrHEJwTEa1+mDzT9vGTSj q3OxdMk98CsRaATzP8KY0Oh90v6wqOHVPTIeZVD8Vfiw/S7iAiOGieZlQU88pBkmpNpc 9cMx6ydnBQyP6cIkhVeb5Pa3W7sX4uYGiZlz59hnhtyB4A+R8AP9ser374qomlWT/Vlw YJgyOpqmWHie6552z+ZFSEPkidfow9gRRrdwdWQDjdA14gpCi5Vk9TmUW3VIi8kJVfWq vgDYxYFSQvpCLcJyrbNR0xXMAP7fjB6wv+DD6KrrrkNxqlpL4MMvPgGa1z/dQbJzsLsP 8Hyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+SRwZCjQXqBonjclq0sFfPG9c3K5kM6QDAkUywKYgps=; b=sqF71eOe7qh48o28+T9GBXApChDNspLVdBkQ1Vt2KSvq6yRCnrCHV/+w7bQc+xECsO OTKJF0pfsQWPlGmCCxWVr9BCo6q2zxwOm/5ZQC8xY1vYaDJfx+xARTbEJXoA+cK0C8Gi fQxzvZQN0F1AYGPzZfYysTxoN9jhmnV2p03cuE2Qbwt+bxOVMiQPNAU33OlLC6EVv75s r+W873tCK4zWf40G3tMbUkQwoPWseeDuJ47TWK5dYbRUmzhkPJTyqKbeBpPaOBk30MuP fgDx/CeewwFc3EddUEts+QN1GLjfaFSZEBvgtG731ie1JPfrD/VJ3KVRLMvQrEGgO4sP wqaQ== X-Gm-Message-State: AOAM533QSa1tZZJuClncI7uSSmFOEpheqWvPfTU9/69HNHXEO7IQrpAJ s2CYnpwV6pOQ8S3KSdaO/ZfQ5ma2vEiSw6M2U9w= X-Received: by 2002:a17:90a:644a:: with SMTP id y10mr17594770pjm.129.1612790940739; Mon, 08 Feb 2021 05:29:00 -0800 (PST) MIME-Version: 1.0 References: <1612774577-55943-1-git-send-email-luojiaxing@huawei.com> <2b8001bb-0bcd-3fea-e15c-2722e7243209@huawei.com> In-Reply-To: <2b8001bb-0bcd-3fea-e15c-2722e7243209@huawei.com> From: Andy Shevchenko Date: Mon, 8 Feb 2021 15:28:44 +0200 Message-ID: Subject: Re: [Linuxarm] [PATCH for next v1 0/2] gpio: few clean up patches to replace spin_lock_irqsave with spin_lock To: luojiaxing Cc: Linus Walleij , Andy Shevchenko , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , linuxarm@openeuler.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 8, 2021 at 11:11 AM luojiaxing wrote: > > Sorry, my operation error causes a patch missing from this patch set. I > re-send the patch set. Please check the new one. What is the new one?! You have to give proper versioning and change log for your series. > On 2021/2/8 16:56, Luo Jiaxing wrote: > > There is no need to use API with _irqsave in hard IRQ handler, So replace > > those with spin_lock. How do you know that another CPU in the system can't serve the following interrupt from the hardware at the same time? -- With Best Regards, Andy Shevchenko