Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4296713rba; Tue, 2 Apr 2024 12:42:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWusmhpYBZNUFgJBl3ZJRPxSlZWS4NJ7TCV3QHU0wqzqPWk6G1h7VmqNTLEYQb0U+Q5Z1W4w/aKGPxa+LT54ARyQHA+TWNj7xJysWfaPw== X-Google-Smtp-Source: AGHT+IFXCXCnyQ+pvlrJiZjSm8kjnyxI9RhpXEzd+UOGWT+dKB1+znjw0/DOm/xjBkaU6l5M5ZjC X-Received: by 2002:a05:6820:981:b0:5a1:8ca1:ae47 with SMTP id cg1-20020a056820098100b005a18ca1ae47mr13248543oob.5.1712086972750; Tue, 02 Apr 2024 12:42:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712086972; cv=pass; d=google.com; s=arc-20160816; b=XcX7oJtLG+3aipE4kFGXZ0Pa3KAwdwabwdo9hcMNfOU80SD2t7iS5O2mTb3qmFGE8o yxybj/8LotWSrm1+gcRZAOP+WUAswEzlG4pG+xKeHqyunccmX/IQbApftm0yWsGSXbfY IooGl5r1LXNrXNZY3FtOhGzS/Yct38FfNwFuxulKeFtXjR7EZ7P0B1b/0lE7SSxp1Xlf faqO0f1qfFD1ytugDRjjXd+PVNC701Y426u/eDO1jAchkzcZInYcAFlnUZI7Q6iBU0De 0wfvEXeO3bxiN4NEXc3GOOkcGTvk+dMjbKBNG1E77JX1+c5pqCIH5WB4tSW5GhQb5Qqi oVtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :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=8ojFUSzgLEbHsabLvFNUZf8962PV4dPkItOhPh64158=; fh=2bt+suC96ZJggeascT1Lt3laX964MZgXzoznW2EV3y8=; b=g88Cv+gY31PRdNQ1UJPuTxIgJjUrCj1ch50bQqKKVjrc00MG0kXPdO1ZUb/FW1Mzk2 S9WxogS6n0SunSX3GewTpULSuocSGfwpL5ysNESYvDeWK8xtAAGsn3U3sNSbwj71bDFr yPLY3c921LMbWI4n32tdAfgwiquKgQNwrdhzkuEkieAClya0A9E78au3jE/+JzoGcnsn namaYdAzNeurkT9oHDdPebrMi/ERyXLMLv/Ldf2XqqSVFOhqOUYopww5sZ/F+H57kGzi 1fI48F+Et8FUJGG2iPgb5xERkwJJRp2oJEnru7U58KqxhRWqA3yj50S5SdQuri6UQtVM yuXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b="2vaJe/9Q"; arc=pass (i=1 spf=pass spfdomain=alliedtelesis.co.nz dkim=pass dkdomain=alliedtelesis.co.nz dmarc=pass fromdomain=alliedtelesis.co.nz); spf=pass (google.com: domain of linux-kernel+bounces-128599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128599-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t10-20020a05622a148a00b00432d61ce48csi7242600qtx.124.2024.04.02.12.42.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 12:42:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b="2vaJe/9Q"; arc=pass (i=1 spf=pass spfdomain=alliedtelesis.co.nz dkim=pass dkdomain=alliedtelesis.co.nz dmarc=pass fromdomain=alliedtelesis.co.nz); spf=pass (google.com: domain of linux-kernel+bounces-128599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128599-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 618711C22CCD for ; Tue, 2 Apr 2024 19:42:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 732FE15B98E; Tue, 2 Apr 2024 19:42:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="2vaJe/9Q" Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69DD615B97B for ; Tue, 2 Apr 2024 19:42:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.36.163.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712086968; cv=none; b=JvcuiOCgsVT4Fo00BtAyrbqTBSahbRXsmHq6ViymlvaZiY1HY735PISsPjc4woDFuPQxCbHNxiNUdt8LcsSlpjwK/WicIVTclKRO4ShslB7iKc3aynI+akab0L9MGoPAVh/mNx9wi72l3UMKJwvBULrH/aouUb9VY0RghoOWNEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712086968; c=relaxed/simple; bh=8ojFUSzgLEbHsabLvFNUZf8962PV4dPkItOhPh64158=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=nKabQxymTZ6MPLB7L1gxJmNxGfqv5OIY1ZaG3yq46V1/Qc5dftGFE1ntWGXbkv/TPU0WrMtRSxI01Hq2XeFt/y1duDx+V1mWxbjbGJVzKJCjSQH9XDRjpV7A4+nIu+Lu+lrhrnAQsBVTubxqa5g4m2uW0K1rGViaYpXs/9Dll24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b=2vaJe/9Q; arc=none smtp.client-ip=202.36.163.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alliedtelesis.co.nz 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 ABF6E2C03B0 for ; Wed, 3 Apr 2024 08:42:36 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1712086956; bh=8ojFUSzgLEbHsabLvFNUZf8962PV4dPkItOhPh64158=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=2vaJe/9Q9FfFEoITZTdFoSgpcXWc2mcwnAT/xeOMVOYrTicTaJoSO7Na4BXVWb6R5 pTwZgIATFqSbWqKAhxZNPNmVeKAAV8qoQIzlZj6uX+HRRENHY7JCx57D7cT+zA6FHs ICG792ZXC8VgpnO1m/HhsbFWb1lPZB8d/rFKVHz3vg6o9EMvZ4U12dK6tOp2mrGMom RXBcMDVUV6Jg/7CU7xPS4nBgFe7T8ZUTnpeYOiVG5nNv7+CLc6ZN0FpGcTbEkaElB7 /xeIpi6gFAU24s0s1y6J1CNK3Ux1qAHUouuHbGdBhZfSuGRttjjtZ99oUONSZlyxtg NyATmtyMBr+iQ== 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 ; Wed, 03 Apr 2024 08:42:36 +1300 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.1544.9; Wed, 3 Apr 2024 08:42:36 +1300 Received: from svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8::76) by svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 3 Apr 2024 08:42:36 +1300 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.1544.009; Wed, 3 Apr 2024 08:42:36 +1300 From: Chris Packham To: "gregkh@linuxfoundation.org" CC: "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] uio_pdrv_genirq: convert to use device_property APIs Thread-Topic: [PATCH] uio_pdrv_genirq: convert to use device_property APIs Thread-Index: AQHaflbc221U+rfzREuYffxemxf6r7FUlTaA Date: Tue, 2 Apr 2024 19:42:35 +0000 Message-ID: <1a0ffd16-3ace-4c11-a1fd-2efb5f02e93f@alliedtelesis.co.nz> References: <20240325015045.778718-1-chris.packham@alliedtelesis.co.nz> In-Reply-To: <20240325015045.778718-1-chris.packham@alliedtelesis.co.nz> Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.4 cv=KIH5D0Fo c=1 sm=1 tr=0 ts=660c5fac a=Xf/6aR1Nyvzi7BryhOrcLQ==:117 a=xqWC_Br6kY4A:10 a=75chYTbOgJ0A:10 a=IkcTkHD0fZMA:10 a=raytVjVEu-sA:10 a=nMnnotQueRib_lDv3RoA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-SEG-SpamProfiler-Score: 0 DQpPbiAyNS8wMy8yNCAxNDo1MCwgQ2hyaXMgUGFja2hhbSB3cm90ZToNCj4gQ29udmVydCB0aGUg dWlvX3BkcnZfZ2VuaXJxIGRyaXZlciB0byB1c2UgdGhlIGRldmljZV9wcm9wZXJ0eV8qIEFQSXMN Cj4gaW5zdGVhZCBvZiB0aGUgb2ZfcHJvcGVydHlfKiBvbmVzLiBUaGlzIGFsbG93cyBVSU8gaW50 ZXJydXB0cyB0byBiZQ0KPiBkZWZpbmVkIHZpYSBhbiBBQ1BJIG92ZXJsYXkgdXNpbmcgdGhlIERl dmljZSBUcmVlIG5hbWVzcGFjZSBsaW5rYWdlLg0KPg0KPiBTaWduZWQtb2ZmLWJ5OiBDaHJpcyBQ YWNraGFtIDxjaHJpcy5wYWNraGFtQGFsbGllZHRlbGVzaXMuY28ubno+DQo+IC0tLQ0KPiAgIGRy aXZlcnMvdWlvL3Vpb19wZHJ2X2dlbmlycS5jIHwgMTEgKysrKysrLS0tLS0NCj4gICAxIGZpbGUg Y2hhbmdlZCwgNiBpbnNlcnRpb25zKCspLCA1IGRlbGV0aW9ucygtKQ0KPg0KPiBkaWZmIC0tZ2l0 IGEvZHJpdmVycy91aW8vdWlvX3BkcnZfZ2VuaXJxLmM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