Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9377224rwr; Thu, 11 May 2023 14:07:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6EX+WKtR7mjb+e2T1I07KZCzUpoYS0J4s3wgHdqY1DUZllE4DSBrcIMAcm/YLELIvL4LDK X-Received: by 2002:a17:90b:2354:b0:24e:df1:df8 with SMTP id ms20-20020a17090b235400b0024e0df10df8mr20916190pjb.49.1683839248846; Thu, 11 May 2023 14:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683839248; cv=none; d=google.com; s=arc-20160816; b=KIG9K0zFNTp35TGwNYgeQSzXbxGEiHtE6DehEKFS0+q76dEziJ2PMfahJOIPRT5JjQ RX+V9XupmbmjoMymKGBZrKa3+Osyx02MfpfbiufC6jrDbfFRD9RjK8S4IeL7SavMdYLj Gv/Sg6Urznz74K+elbn/G2qGoPds+g2ivzcRL1Cby+bbOADUERK+2AcVhSq1elKizgYJ 5VvaiiqkpUiCRjF/tFQGQk1BMswzWv52KxIcvMP/UcqGVfyVqXBktH9v5EFkuolAJ+8n egAduxVq0g9HiELC3wuRfcViL3LYzpt/HSDxG/gbW9fcetcb/wlYYgmqp73MUoCmuOgU BavA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=CKDjlNfsjGnFKzF01l+hVl7cUi2WErjjOil8ZTO8U8o=; b=Pf3471KvzHkdI/A1+Dl1Eh4Q2e+mwkPhlxaHXrXRT7Z9YcULhOutuINwAeIVQt96O8 2765PQqPUmGbyicq11sisVNBCDRealttstzazy6Glf8JPNuYpM7DWWgvGFDxIdlMDEUz g9ohs5HsQJiZuH40MNXPPJJ3QDix2GZ1Z2DOvgeK/Fl/FZp2l3KSVl7jJK1YjJ9F0sm9 h5z37lg/wDEApcmjvN9Cs5EL8Z76iI57ULFDqv82gLeHA6NlI/BW39YN3zp/kfYHnFWZ VciFARCzXULN2LRkp7TPax9azngMDgYbUIghuBtxZ7GQmQ662QbUY0sUdcDED5LnnchO Vzdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=b1FHNpRh; 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=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3-20020a633c43000000b0053045471012si6502769pgn.191.2023.05.11.14.07.16; Thu, 11 May 2023 14:07:28 -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=@alliedtelesis.co.nz header.s=mail181024 header.b=b1FHNpRh; 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=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239188AbjEKUgh (ORCPT + 99 others); Thu, 11 May 2023 16:36:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239120AbjEKUgg (ORCPT ); Thu, 11 May 2023 16:36:36 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F17A46A2 for ; Thu, 11 May 2023 13:36:33 -0700 (PDT) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 6D9612C048D; Fri, 12 May 2023 08:36:19 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1683837379; bh=CKDjlNfsjGnFKzF01l+hVl7cUi2WErjjOil8ZTO8U8o=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=b1FHNpRhP5/cdPETzz4Qy2ICJvoTSD8zbiwBWUOtLC6HukuzFeqqrirdiquf/j34t M1wImWBoecy3dmhWmxN/jx+KVd99wZLxK+6dqKzRw0bTd18UQN3kYJ6sFQVEzKfvu8 lDOTg/MFnJoMx53PFrbB6OWItTWLmM4NjGguzGyb+t76DGLEpXGOBLeaoc0vcpTRrh ilArSe6m/cr/GgIxTVjxWw2kHF10HwIlfHGgz4c7X5g3o49PztHxOGQL1qVlzVQwUd fzUcPdTQVnbEFBl8L2PzGEYHPh0k8Fy8Dl3yRwal8tZnzS7Z99Ezaf2iN30lh4r/TI YD4RHkMn67PVA== Received: from svr-chch-ex2.atlnz.lc (Not Verified[2001:df5:b000:bc8::76]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Fri, 12 May 2023 08:36:19 +1200 Received: from svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) by svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8:f753:6de:11c0:a008) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.26; Fri, 12 May 2023 08:36:19 +1200 Received: from svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8::76) by svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8:409d:36f5:8899:92e8) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 12 May 2023 08:36:18 +1200 Received: from svr-chch-ex2.atlnz.lc ([fe80::a9eb:c9b7:8b52:9567]) by svr-chch-ex2.atlnz.lc ([fe80::a9eb:c9b7:8b52:9567%15]) with mapi id 15.02.1118.026; Fri, 12 May 2023 08:36:18 +1200 From: Chris Packham To: Linus Walleij CC: "andy.shevchenko@gmail.com" , "brgl@bgdev.pl" , Ben Brown , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Marc Zyngier , Hans Verkuil Subject: Re: [PATCH] gpiolib: Don't implicitly disable irq when masking Thread-Topic: [PATCH] gpiolib: Don't implicitly disable irq when masking Thread-Index: AQHZgtQLyOA2wo5swkyuf0Vo3SyOl69SVxQAgADekoCAALj2gIAA0wsA Date: Thu, 11 May 2023 20:36:18 +0000 Message-ID: References: <20230510001151.3946931-1-chris.packham@alliedtelesis.co.nz> <760ae58f-cb0b-dfe6-9e24-664310651e18@alliedtelesis.co.nz> In-Reply-To: Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.33.22.30] Content-Type: text/plain; charset="utf-8" Content-ID: <829E292AAD3DD144BB26208B5FC1BF44@atlnz.lc> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=cLieTWWN c=1 sm=1 tr=0 a=Xf/6aR1Nyvzi7BryhOrcLQ==:117 a=xqWC_Br6kY4A:10 a=75chYTbOgJ0A:10 a=IkcTkHD0fZMA:10 a=P0xRbXHiH_UA:10 a=EBvnk0w614hoTqdwZjwA:9 a=QEXdDO2ut3YA:10 X-SEG-SpamProfiler-Score: 0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 SGkgTGludXMsDQoNCk9uIDExLzA1LzIzIDIwOjAwLCBMaW51cyBXYWxsZWlqIHdyb3RlOg0KPiBP biBXZWQsIE1heSAxMCwgMjAyMyBhdCAxMDo1OeKAr1BNIENocmlzIFBhY2toYW0NCj4gPENocmlz LlBhY2toYW1AYWxsaWVkdGVsZXNpcy5jby5uej4gd3JvdGU6DQo+DQo+PiBUaGUgY291cGxpbmcg b2YgZ3Bpb2NoaXBfaXJxX21hc2soKS9ncGlvY2hpcF9pcnFfdW5tYXNrKCkgd2l0aA0KPj4gZ3Bp b2NoaXBfZGlzYWJsZV9pcnEoKS9ncGlvY2hpcF9lbmFibGVfaXJxKCkgZ29lcyBiYWNrIHRvIHRo ZSBzYW1lDQo+PiBjb21taXQgYTgxNzM4MjBmNDQxICgiZ3BpbzogZ3Bpb2xpYjogQWxsb3cgR1BJ TyBJUlFzIHRvIGxhenkgZGlzYWJsZSIpLg0KPj4gSXQncyBub3QgaW1tZWRpYXRlbHkgb2J2aW91 cyB0byBtZSB3aHkgdGhlIGNvdXBsaW5nIGlzIG5lZWRlZC4NCj4gVGhhdCBpcyBqdXN0IGEgcmVm YWN0b3Jpbmcgb2Ygd2hhdCBleGlzdGVkIGJlZm9yZS4NCj4NCj4gVGhlIHVzZSBjYXNlIGlzIGhl cmU6DQo+IGRyaXZlcnMvbWVkaWEvY2VjL3BsYXRmb3JtL2NlYy1ncGlvL2NlYy1ncGlvLmMNCj4N Cj4gVGhlIGRyaXZlciBuZWVkcyB0byBzd2l0Y2gsIGF0IHJ1bnRpbWUsIGJldHdlZW4gYWN0aXZl bHkgZHJpdmluZyBhIEdQSU8NCj4gbGluZSB3aXRoIGdwaW9kX3NldF92YWx1ZSgpLCBhbmQgc2V0 dGluZyB0aGUgc2FtZSBsaW5lIGludG8gaW5wdXQgbW9kZ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