Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3482971pxb; Mon, 4 Apr 2022 18:24:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrrLYVed81mbCT1NIlSDMLEv3/D7LWkQUw3zPmYLwluLco1kIenACtwmvuXKH0E/JlZPN3 X-Received: by 2002:a17:90a:8417:b0:1c7:85c9:96b1 with SMTP id j23-20020a17090a841700b001c785c996b1mr1192857pjn.8.1649121862476; Mon, 04 Apr 2022 18:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649121862; cv=none; d=google.com; s=arc-20160816; b=BAt9JQ4FIqIYCt/AutfqV+pKWH7w2Gt28O1m2dVG8MFDimn8lWpM7Gil+dSL+zODAd y9rUKUkye9DWJYYiJp0+hnxR1156F8UCTAbrpyfe489J8+7ndFa2v3C7ZN/zNo+Q7J0b RrPJADDbIB4kytPci/+fugGXcVuCopodJSe+xTzPDdtA6wq3JMd2NTCAuFwu0nc5lwM8 pDdRd8CB/fuUHcMamCCUf/+RE9IpRW943JXYWUO5KUhFPr7YA2Yq3doKBBG9F78Pl7UG TGZUR0W2mDy74XxaAGq5V7ecs0TEE1/OPdED9STMNiGrXKOqNrisnxZ6ma5JQaK39/D9 JROQ== 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=0VMA9dSUTpLCb6xWZrmY1SOl3mR04sovoHbxgbSlKCY=; b=TLKvcru3pUrq9K7a5ogDF0F8gwS6gBDyfVmBApb0hV2ctF8PBiT9GU49KBlOzBuGh3 3iU/U6YZpPQuEnF9C4eA8sAB5kJVMD9Ck/wGufBmvFD3xSYgUNNJXowMWo/A+w2ixSeS 6WjmJB1dMynhMYHDMOuPBb5C0RjrLVJWUDs5X3qHgXA554296P+yCeUZpFYPp3zc/CFn 1X7ja5jI8JaoLi6bcRSHam28JjpNnKkI/aYa9OEPsR4Plwu7HfqBYVulvpKZmKMyPcwP 5RVtNsgyzFwWeZR6ilqjzs55bwPpp/FLPEZ5bWgNyXMyhYlzSXNjNamLg2WtuR9toRfD 9qGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aFGkE9KT; 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 82-20020a630155000000b003824fa90821si11595270pgb.523.2022.04.04.18.24.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 18:24:22 -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=aFGkE9KT; 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 D8CE6199514; Mon, 4 Apr 2022 17:15:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356327AbiDCVRL (ORCPT + 99 others); Sun, 3 Apr 2022 17:17:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiDCVRK (ORCPT ); Sun, 3 Apr 2022 17:17:10 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A360255B3 for ; Sun, 3 Apr 2022 14:15:15 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id h11so10611509ljb.2 for ; Sun, 03 Apr 2022 14:15:15 -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=0VMA9dSUTpLCb6xWZrmY1SOl3mR04sovoHbxgbSlKCY=; b=aFGkE9KT8GWKejenrGuUh7DISUGy9cu45NTcDbgVmLzFcxJ5gZ41A4/X6n/7Scf6d8 qKDHY4sfZNF1yjy64GR9+5jtfD/iMBbgo6RWPuVMpiSzS8M2Y6fJ+yDXCzlojxNJEKB6 AVlOI2QbfdrLl3DrfbQC1+cJEKB3dhtuEzp9n2VFJklYcacr1N+IvOX+7SN1yx4eiwjG 3dzkf6np4Fzoe1bcD0/VRTZqUSR6Ke/bnqU73rM4Ll8q8vV2+hcvHCv1arNFWnqKGwRE JOcg0oyYp7acZZLAtO9FUaDlKo6O6xiAqX/Nq05NyBEKMFQSCTWl9xr0GnRiwGDclwGy 4F7w== 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=0VMA9dSUTpLCb6xWZrmY1SOl3mR04sovoHbxgbSlKCY=; b=Eq1idG4zqiEpeeIyxPec4pULO22uT0WCKTGr5fpSq9oVzYkuYosrT0GqTvAL7cL9eQ 2arxBu+w+NWQl6KaGM1tpUr3UNBlm4BRYrNzwI1/IaeLrhB6idLwHM+6zRazWGjM00eN 9voQjlbqwXGp3x3+DGJtu4I29yWnasOlIYzS08Q5hKpMQrCWXxFbCp2qyRH0LcZlDlqX SruqQVHnoDzsZmfn6FYvCld9DOUx50RCLkv4VUSnljEowko9wl0fCsALHdidwQaI70wD cRM200ZYjlqKqSHbLAbjmTqTq4qpYfFUqka6lrzCH5CeQfV3SBQ11vW+8dTN/t6kGd9t NhOg== X-Gm-Message-State: AOAM5318SxOTRZaThQsuae92NjMIGMI9qDV8+ztRBb+3zbvxfga5j0g7 MN91CRcEwohbX3AyAszDIo8= X-Received: by 2002:a2e:968e:0:b0:24b:125b:f399 with SMTP id q14-20020a2e968e000000b0024b125bf399mr3838883lji.67.1649020513369; Sun, 03 Apr 2022 14:15:13 -0700 (PDT) Received: from [192.168.1.11] ([46.235.67.247]) by smtp.gmail.com with ESMTPSA id u21-20020a056512129500b0044a51b85576sm921220lfs.21.2022.04.03.14.15.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Apr 2022 14:15:12 -0700 (PDT) Message-ID: <26a91705-f721-03d1-f4c8-7f00ce0e65a8@gmail.com> Date: Mon, 4 Apr 2022 00:15:11 +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: 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> From: Pavel Skripkin In-Reply-To: <942c0fbd-f8b2-4cae-dd21-79bc55c54902@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------zH4AhstN0hmrhzV5ODHhhnQq" 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) --------------zH4AhstN0hmrhzV5ODHhhnQq Content-Type: multipart/mixed; boundary="------------khzppFhuE5jRIu4GaNSU6LLR"; protected-headers="v1" From: Pavel Skripkin To: Michael Straube , "Fabio M. De Francesco" Cc: Greg KH , Larry Finger , Phillip Potter , "open list:STAGING SUBSYSTEM" , Linux Kernel Mailing List Message-ID: <26a91705-f721-03d1-f4c8-7f00ce0e65a8@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> In-Reply-To: <942c0fbd-f8b2-4cae-dd21-79bc55c54902@gmail.com> --------------khzppFhuE5jRIu4GaNSU6LLR Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkgTWljaGFlbCwNCg0KT24gNC8zLzIyIDIzOjUxLCBNaWNoYWVsIFN0cmF1YmUgd3JvdGU6 DQo+PiANCj4+IElNTywgdGhlIGJlc3QgYW5zd2VyIGlzIGp1c3QgcmVtb3ZlIHRoaXMgbG9v cCwgc2luY2UgaXQgZG9lcyBub3RoaW5nLiBPciANCj4+IHJlZGV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yIHRoYW4gb2RkIGxvb3BzLiBBaCwgd2UgY2FuJ3Qgd2FpdCBoZXJl Li4uDQoNCkluIGZpcnN0IHBsYWNlLCB3aHkgdGhpcyBmdW5jdGlvbiBjYXJlcyBhYm91dCB1 c2Igc3VzcGVuZCBjYWxsYmFjaz8NCg0KSSd2ZSBnb3QgdG9vIG1hbnkgcXVlc3Rpb25zIHRv IHRoYXQgY29kZS4uLiBJJ2QgYmV0dGVyIHN0b3ANCg0KPiAJCSAgICAgICAocnR3X2dldF9w YXNzaW5nX3RpbWVfbXMoc3RhcnQpIDw9IDMwMDAgfHwNCj4gCQkgICAgICAgKHJ0d19nZXRf cGFzc2luZ190aW1lX21zKHN0YXJ0KSA8PSA1MDApKSkNCj4gCQkJCW1zbGVlcCgxMCk7DQo+ IAl9DQo+IA0KPiBJIGp1c3Qgd2FpdHMgNTAwbXMgaWYgcHdycHJpdi0+YkluU3VzcGVuZCBp cyB0cnVlLiBBZGRpdGlvbmFseSB0aGUNCj4gPD0gMzAwMCBoYXMgbm8gZWZmZWN0IGhlcmUg YmVjYXVzZSBvZiB0aGUgb3JlZCA8PSA1MDAuDQo+IA0KDQpZZWFoLCBhbmQgdW5mb3J0dW5h dGVseSBpdCB3b24ndCBiZSBvcHRpbWl6ZWQgb3V0IDooDQoNCj4gRXZlbiB3b3JzZSB0aGUg Y29tbWVudCBzZWVtcyBtaXNsZWFkaW5nIGJlY2F1c2UgcHdycHJpdi0+YkluU3VzcGVuZA0K PiBpbmRpY2F0ZXMgdXNiIGF1dG9zdXNwZW5kIGJ1dCBub3Qgc3lzdGVtIHN1c3BlbmQuDQo+ IA0KDQoNCg0KDQoNCg0KV2l0aCByZWdhcmRzLA0KUGF2ZWwgU2tyaXBraW4NCg== --------------khzppFhuE5jRIu4GaNSU6LLR-- --------------zH4AhstN0hmrhzV5ODHhhnQq Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEER3XL3TplLQE8Qi40bk1w61LbBA0FAmJKDl8FAwAAAAAACgkQbk1w61LbBA2F CQ/+Lezdqmz1Jux9DjMbQXe3dTUaICPfCq/2TS0KwjLgNcNhtA2zkUjWeKk1qYnk0i3prcU/vIcl LmmBgVxKWlgBIfAukuaxRormobtXWGaLauEFqt/FHlPA1qmPXfSAq/Q1LDAvrwB4OpjpQWp/Rimv 2miub4BjvPV5X85wxxgVFO/YWlecub3cht2nKXhKmhliW47TLCQnHY1bn3cZNZScrEI3aDlbQT6J sut2wptTcIQHigLe0eSYFsam0opb6DPIs78eKFu5EjrZFXCgnF0ugD5LkYcbyhYOw8o3mqEz1nbF lg4PCx3H1v8cFilkLK/NapVIYFwLg1FMxh9MH+/NKpHoq6m3pH6kmeiwC4piMpGyFHOKVEGMfASs l1XSqs76LBo6/qgSaBF5jNbWuQxF6mWdPYOmU/CFfe+IPItWujW/7GeEEhoBktMno1LbTc0v1hv/ izkEDKJJinqqKsG8281SCNHIxUODQrkWe5YugTnb5xblKEZNcBgZIsqXFtAuYE1dA4+sUlOsPm1h fxnuN9WnD1nBUKfrEU+/+WtYVoNPcfZdHiClIJxRtJLNtXbDeUFfK0DOvsmcv2Wizt/AyAmIpV3z 73bWr7o8Y7UhLDAURQvr/IjT19F/SG9CysBhV1ta2DjHBEYgj0I6MNUUgCpAFved+o8C7cSVP+Rb 8F4= =16uw -----END PGP SIGNATURE----- --------------zH4AhstN0hmrhzV5ODHhhnQq--