Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33B0FC7EE2D for ; Mon, 27 Feb 2023 08:04:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230076AbjB0IE4 (ORCPT ); Mon, 27 Feb 2023 03:04:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjB0IEx (ORCPT ); Mon, 27 Feb 2023 03:04:53 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CACF71285F for ; Mon, 27 Feb 2023 00:04:52 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 72843219E9; Mon, 27 Feb 2023 08:04:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1677485091; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SL3hNZ1PhZNtjYXOI8bgqaxWiXRExCffqLVe0/4Pqxc=; b=EYiafKnwKunGFHSNwIkvCEr09Duztld4s1w87kMdF5qD/Hqyr7XTBJVExnN6SQLs9YIZyl +r7WOW9WJsVg5gPYp3PFJmChFjD5CHfs8RAfQMBbgHhuUAtm9Mv9GUbvtQllVw8kxZ+x3y GqXQEMxWLL+z3malgFwl4551ntwSVqg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1677485091; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SL3hNZ1PhZNtjYXOI8bgqaxWiXRExCffqLVe0/4Pqxc=; b=x41VCA+g2/tVofUbCNcy+xuP++d/1K3VGA8wxe43Bh2gaVxoXRMspff0iEGvvMwvOemLw1 VROaZpp2FxizeoAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3ECF813A43; Mon, 27 Feb 2023 08:04:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id eG9ADiNk/GPGKwAAMHmgww (envelope-from ); Mon, 27 Feb 2023 08:04:51 +0000 Message-ID: <3d94a119-dc83-aede-fd39-df7a3ee7cdc0@suse.de> Date: Mon, 27 Feb 2023 09:04:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt() Content-Language: en-US To: Asahi Lina , Dmitry Osipenko , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter Cc: Alyssa Rosenzweig , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, asahi@lists.linux.dev References: <20230205125124.2260-1-lina@asahilina.net> From: Thomas Zimmermann In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------J1Lb5TSRvy34253xYuFZL0Nn" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------J1Lb5TSRvy34253xYuFZL0Nn Content-Type: multipart/mixed; boundary="------------v7YMrJxP0MzJrghKXAGDAzMQ"; protected-headers="v1" From: Thomas Zimmermann To: Asahi Lina , Dmitry Osipenko , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter Cc: Alyssa Rosenzweig , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, asahi@lists.linux.dev Message-ID: <3d94a119-dc83-aede-fd39-df7a3ee7cdc0@suse.de> Subject: Re: [PATCH] drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt() References: <20230205125124.2260-1-lina@asahilina.net> In-Reply-To: --------------v7YMrJxP0MzJrghKXAGDAzMQ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkNCg0KQW0gMjcuMDIuMjMgdW0gMDg6NTUgc2NocmllYiBBc2FoaSBMaW5hOg0KPiBPbiAy Ny8wMi8yMDIzIDE2LjQ1LCBUaG9tYXMgWmltbWVybWFubiB3cm90ZToNCj4+IEhpDQo+Pg0K Pj4gQW0gMjUuMDIuMjMgdW0gMjI6NTEgc2NocmllYiBEbWl0cnkgT3NpcGVua286DQo+Pj4g T24gMi81LzIzIDE1OjUxLCBBc2FoaSBMaW5hIHdyb3RlOg0KPj4+PiAtRVhQT1JUX1NZTUJP TF9HUEwoZHJtX2dlbV9zaG1lbV9nZXRfcGFnZXNfc2d0KTsNCj4+Pj4gK0VYUE9SVF9TWU1C T0woZHJtX2dlbV9zaG1lbV9nZXRfcGFnZXNfc2d0KTsNCj4+Pg0KPj4+IE5vdGUgaXQgd2Fz IGEgR1BMIHN5bWJvbC4gSSBleHBlY3QgdGhhdCBhbGwgZHJtLXNobWVtIGV4cG9ydHMgc2hv dWxkIGJlIEdQTC4NCj4+DQo+PiBSaWdodC4gSSBkaWRuJ3Q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lbGRzdHIuIDUsIDkwNDA5IE7DvHJuYmVyZywgR2VybWFueQ0K KEhSQiAzNjgwOSwgQUcgTsO8cm5iZXJnKQ0KR2VzY2jDpGZ0c2bDvGhyZXI6IEl2byBUb3Rl dg0K --------------v7YMrJxP0MzJrghKXAGDAzMQ-- --------------J1Lb5TSRvy34253xYuFZL0Nn Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmP8ZCIFAwAAAAAACgkQlh/E3EQov+AT sBAAnwuKmArPei56rq2mShl4mx6s6vOVNxdFN3Clr/wzgd0Pjb0VVME0daAlpTmr9IY6hneL+Cqt 87A7r05pYu6G+yqghRf7d40ZVeioYhiK1allBzmZR0xJlsD7FKKzRm8dI4LJF2OtEj+WPvy4d4Ny WXP0P42nWxb+RPS5In+UIDrM7+5XBaJbKWkzU8mhKL1b0Qo8AZRD6zTdHjivkfPmUO8Hk00WFm+X f2ijOvzBHMsW77qtxFgASXnNiXQr9qgb+i6SObYBcPihPkMxAQhBVMgwVWh9OERPfs80ixz2Fq1B QpcoCLFLHewopdRbdpGgKhhXyt9W4pWJAGb/Y+VN3c6CgZdn1E2p9+w7iq3XYiLb7MmISQzN35bU d/RVBnMC7raqkq84ei0f6u15bts4mTFVCrR/28WMAITDuWV/Zm8yOhquojig4I82SPB7SUUcXoXR 3rfmbKJ6eNbb8oO7BQ+P9cI53ZTxY3/MfyzyXikxl8a+xr5aDKJC52Fk8bsQRKu+x40hbuX8pNzw ZD/N/EGrAKTfHaLgMcNsictAjh+730irHOqvGwbg5IWdqMRpyGb01VThfwE+vCbWUT0GYj7rWGOg 55zFXpvrshMf7UTJqpr8dEOqFmL1aR1pxFxgC66SbGkVebEXwFo4A8fSGMUf+IV81tW/kHYDxt6E emU= =pxG9 -----END PGP SIGNATURE----- --------------J1Lb5TSRvy34253xYuFZL0Nn--