Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3516213pxb; Mon, 4 Apr 2022 19:33:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4pnEDB/z7+vG9rd4n96R7chHlYs5pXo3jXwq4zreDL/Eam3AOixxVOzsfvL4mRuRyl3ZB X-Received: by 2002:a17:902:9a8d:b0:155:ff17:c9fc with SMTP id w13-20020a1709029a8d00b00155ff17c9fcmr1195969plp.28.1649125996729; Mon, 04 Apr 2022 19:33:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649125996; cv=none; d=google.com; s=arc-20160816; b=o2pkkkEGSmSrjfswFxgHkoJfGxHDx13iTjhn2TENy1wdFRnszZTvDFZ5Sl6cve/7Zk 4xHZRHP3/GmV3lS0IiJ/uCDhM2bwDdC+A7ijqpmgzWUPkRbSPT6XwgK+4hIj44lMZGVm eK9o9S8TtdoinyiOP32opkM0eDQu6Utt0dYWS/KkoxdRH8wc7i6UXBropwZiXigKfqBV xLMawKUcHoqGX6I6Ooy0Wsa5guKATb7mzu/GrZdM0AzplCqujD1ybt0W6h0dNAzALhxX 7R7ogYDxFtfTOF9QLfU0YDZUo+HkGWSsqZLvbAdulYCIOxiaKnUKeBRytOYbLKSuwUWc JZFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=oo8RE32nCoCnJcNuvIDU6kj6dR7jI6fh9JBXKwfUBHo=; b=wvt2a1LzWpDZuQalFP26HbP5d65aHeI6dW87dxDsswkbQ2TDeudubNJS498gzTwH3d 4BUZrObYTppFcBsRMzezBH3p47Dzs3Qr5aK/CWxBroJqwKy7+59jM/7PyHKqZ3Hf3PGo /P5h8iPP+KOK8qa43c5uLRrH0It+hiSwNOzNKNjXmNMOwdXq5VF+lq+nU4rJeRw34zqz bS9BsptkY/F3l27w4z0e8wDznYqoR2B9XqGp1Zofz0hRiOFxapJISN1LMYs+tgjJXib7 PkIv4jCcMvUqfCnKoUegH0PLsfDe5SeJ4spb0VWkxzXIwPvPDzX60Kywh/qcGWJYP1si zdSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="S/DawjrT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v7-20020a17090a898700b001caa43d9645si850141pjn.95.2022.04.04.19.33.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 19:33:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="S/DawjrT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3259A15755D; Mon, 4 Apr 2022 17:56:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381929AbiDDVY0 (ORCPT + 99 others); Mon, 4 Apr 2022 17:24:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379479AbiDDROc (ORCPT ); Mon, 4 Apr 2022 13:14:32 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0A9913D16 for ; Mon, 4 Apr 2022 10:12:34 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id bx37so10053113ljb.4 for ; Mon, 04 Apr 2022 10:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to; bh=oo8RE32nCoCnJcNuvIDU6kj6dR7jI6fh9JBXKwfUBHo=; b=S/DawjrTHpwGGbpG+dCODzMvOUlxdV8xj+b4tNbbVnOQuZy5XLBD7WPUTkCNRvNY6R FjlWtNIJBDmHMR5WwBu4mG1DnHYCI3RvDeLIzVDyyuEmjWshmiJeAA1pVUNwNWKOiAvS JuIcVMYunN+8EAr90Ft4D2gZOyowPTsiLhhnrMFqllFu+5ggIrS7xV9GBHHuzt7KFCfW EGV+CVqzCvD9ybtuiz7J+M0jO16h7+rT14kkzOCemY3l2PO+HYWna55A9K0TH9yJDDBv NW1fL0lCh9uOnoOJ39tcwG85zKMX5bhGicPqm8MUxNo0boipgt/Lmy/ChFcZoE+0cUBL 0a+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to; bh=oo8RE32nCoCnJcNuvIDU6kj6dR7jI6fh9JBXKwfUBHo=; b=DtCu947YiJt7F1SfnNzYJbrBTQ48Se7MusVQqtb2ICXeKT5esVq0cUqGF/K9ng+UGe sUcV+UiCQFPDPr+WgYT6tO/lT16Aj+PyCIkXtXrZ0ILt73CdhqIycQxR/LSTy/L2iePs pskP5Z0Qm6IGZETBs3A48L3GnsfPd+E0ztcqi2re/um5+gHUXlaS2c2Ewx7xIsiszK0I zH1dkIZmL1VsIrTj6GPboaxReIm5lTbj9GTGNn3COfKdwg8TmNVjN7WKVMxmA2unO/Jg dSdg7B35aPcEH5dtUZBXLem/xwc4Ypt9koDWq+8gJJhzkLS4h8KoZW6Ytg5G4PU2p2RK A3PQ== X-Gm-Message-State: AOAM530HWH2d0JPHZpIgo1bg+xgr1qrReiSR9dsF6GOheWzt2Br2eMsl qoa8wQSSZG5NWUJec9ifw+o= X-Received: by 2002:a2e:bf12:0:b0:249:3a3b:e91a with SMTP id c18-20020a2ebf12000000b002493a3be91amr359298ljr.343.1649092353019; Mon, 04 Apr 2022 10:12:33 -0700 (PDT) Received: from [192.168.1.11] ([46.235.67.247]) by smtp.gmail.com with ESMTPSA id p15-20020a19f10f000000b0044a36e3cc33sm1188334lfh.298.2022.04.04.10.12.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Apr 2022 10:12:32 -0700 (PDT) Message-ID: <6771d68a-5251-4fb1-cecb-a0d2f32faf36@gmail.com> Date: Mon, 4 Apr 2022 20:12:31 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: staging: r8188eu: how to handle nested mutex under spinlock Content-Language: en-US To: David Laight , Michael Straube , "Fabio M. De Francesco" Cc: Greg KH , Larry Finger , Phillip Potter , "open list:STAGING SUBSYSTEM" , Linux Kernel Mailing List References: <356c24cf-625b-eea2-2c04-ce132d881cac@gmail.com> <4412825.cEBGB3zze1@leap> <26ac4c2d-91cf-656d-2b7e-21a95e500e70@gmail.com> <2029549.KlZ2vcFHjT@leap> <7d3d23c3-1839-3e6a-27bf-85bad384e5e4@gmail.com> <942c0fbd-f8b2-4cae-dd21-79bc55c54902@gmail.com> <26a91705-f721-03d1-f4c8-7f00ce0e65a8@gmail.com> <4ef1e90716e64fd78ebbc222bbb7e597@AcuMS.aculab.com> <3c8b6454-6b52-fe62-8db1-c76bdbeb2df0@gmail.com> From: Pavel Skripkin In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------ojgS2yDN6b8jEpOHeVgba6OW" X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------ojgS2yDN6b8jEpOHeVgba6OW Content-Type: multipart/mixed; boundary="------------f4ntLhnd0DATl3FwdBkEaOwo"; protected-headers="v1" From: Pavel Skripkin To: David Laight , Michael Straube , "Fabio M. De Francesco" Cc: Greg KH , Larry Finger , Phillip Potter , "open list:STAGING SUBSYSTEM" , Linux Kernel Mailing List Message-ID: <6771d68a-5251-4fb1-cecb-a0d2f32faf36@gmail.com> Subject: Re: staging: r8188eu: how to handle nested mutex under spinlock References: <356c24cf-625b-eea2-2c04-ce132d881cac@gmail.com> <4412825.cEBGB3zze1@leap> <26ac4c2d-91cf-656d-2b7e-21a95e500e70@gmail.com> <2029549.KlZ2vcFHjT@leap> <7d3d23c3-1839-3e6a-27bf-85bad384e5e4@gmail.com> <942c0fbd-f8b2-4cae-dd21-79bc55c54902@gmail.com> <26a91705-f721-03d1-f4c8-7f00ce0e65a8@gmail.com> <4ef1e90716e64fd78ebbc222bbb7e597@AcuMS.aculab.com> <3c8b6454-6b52-fe62-8db1-c76bdbeb2df0@gmail.com> In-Reply-To: --------------f4ntLhnd0DATl3FwdBkEaOwo Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkgRGF2aWQsDQoNCk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2hlIHRoYXQg dmFsdWUgaW5zdGVhZCBvZiBhY2Nlc3NpbmcNCj4+IG1lbW9yeSBvbiBlYWNoIGl0ZXJhdGlv bi4uLiBJc24ndCByZWdpc3RlciBhY2Nlc3MgYSB3YXkgZmFzdGVyIHRoYW4gZXZlbg0KPj4g Y2FjaGUgaGl0Pw0KPiANCj4gQmVjYXVzZSBjYWxscyB0byBleHRlcm5hbCBmdW5jdGlvbnMg YXJlIGFsbG93ZWQgdG8gY2hhbmdlDQo+IGFueSBkYXRhIHZpYSAnb3RoZXInIHJlZmVyZW5j ZXMuDQo+IEZvciBpbnN0YW5jZSB0aGUgc3RydWN0dXJlIHBvaW50ZXIgdGhlIGZ1bmN0aW9u IGhhcyBjb3VsZA0KPiBhbHNvIGJlIGluIGdsb2JhbCBkYXRhIHNvbWV3aGVyZS4NCj4gDQoN Ck1ha2Ugc2Vuc2UsIHRoYW5rIHlvdSBmb3IgZXhwbGFuYXRpb24hDQoNCg0KDQoNCldpdGgg cmVnYXJkcywNClBhdmVsIFNrcmlwa2luDQo= --------------f4ntLhnd0DATl3FwdBkEaOwo-- --------------ojgS2yDN6b8jEpOHeVgba6OW Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEER3XL3TplLQE8Qi40bk1w61LbBA0FAmJLJv8FAwAAAAAACgkQbk1w61LbBA2Y FQ/+JO/v68k6xBMFzpBxhJLs8DsUg3auoVNTFLCilloTOAqlQVIp3JfgCf2tnc3i89vjphOtAYh5 6QbtMCJyMigxcAIYq/AVEFHVMg1IuX2fiCYF0l7QFLSyuzZi4hya4WEQoXO762mR2wgpBqBbcySj uJ2nWSDPJaqBp5HXEYoV6/8mTSgTfIZfGax1PxLAIC+/aPb3CD37wkRGT3yH5d70gvSUku3zfD6f Ije3k4ypAoVTo6SPOwVxt0zNDgWeKkmlqIrvi6XD96vHmJujTmDyIPT5Vln3K1iHpzf6Mi3HpL9D dttDjLexS/WIpNrmDY3ks8O8FJlkMvymizj4EeCGg2F+SDVqEodU+bUZ7T/25rR7C0cUuVdSxgT8 WYvNqr4HXI9bVEYjtNCL9OF4b0X7DXPOq0nY8ZvoyN+QAIaJcHWOdoLns9weqgNNmFTcQ70L+2Wz +TKEsfOfLE9wtoOSeHweDUmO2GqJ/obwHELXHvB5KYBgITdl2kvFJiuZ5mE62Q8VqS62oTmqnMxE TIKh2WkvckIWoMIvIWmuacF/dZL9bjelNvYoF3H7FnKR1/8Qua3rTrtEWzQ/Z+h1MTKe3kRIU+ho 6/YxgL646R9SLNt1rk9xj8ZJCz4eCTzbM+Xyu4c8WsHcCMH65IAxZi4xm0Vz851FrTnD3wrvC619 Lfo= =7pMo -----END PGP SIGNATURE----- --------------ojgS2yDN6b8jEpOHeVgba6OW--