Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3509447pxb; Mon, 4 Apr 2022 19:17:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuxOeazFYE5c+gf2HcoVRRulxQKXFtYPyQf5kBmpPDn5pecVGsVBnZhobUCET+n0jZ0HIE X-Received: by 2002:a17:902:ed12:b0:156:b4ed:a6a6 with SMTP id b18-20020a170902ed1200b00156b4eda6a6mr1181033pld.103.1649125031777; Mon, 04 Apr 2022 19:17:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649125031; cv=none; d=google.com; s=arc-20160816; b=cBsstrrvn7ZQCghaVo0YlecnabgYLIyuc/judmpBeBz4fhem7N0tUdF19bM6ff/ERY 0EVQr7fpRQX/1ExcG9qNnQ7YynS2Z5QJzqDP0gJVsnlKQ7ETwJSMH7OQCs6h8y3obuzR zNKnuo6R/lpN4eT+glXjWtq1V6AmajiAHjNgaiZ0z7hxripcLK0+TIKei/BQ12VQ5yuh lb4x9/wl2peZP11ICW9n4zcqiwUAfbuKTETLqIPhG70Yzlp6CYHYy7/ZjJOEKxG6b02l g5aOq3Xkupb2EQZ/kmFWoNV5ufmzu3zvN/jIMKuRHFA5bTn4MCnqpN1cxZR6D2YLvkaJ ymiQ== 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=o/5H3hQU1bKGnfI2Eizpq3URJjhLApS4+nGYxyH5uXs=; b=hxFruB2FQd6t/NibFWGULtvP2QFq/xLfUO11ZeB/rz2jplBju1FpLP9DQ+iOiY791+ Y0xSI6s0al5+Zf/MVhF2pTycGZbbVpL5OOp5fStdRXtzTLvBUe6PcozGADHqoEFoKoqj 22yzCt2yFxc+BwSEWn2v/flc4V411OLwPGudW5JfwsBUYn9MQQcqvNRSTi8QCg/Oujpw m/KfQOviLn8yL0gLI+lqXr5dizWlYzKQKDyHDwBZMmQ/Lru4lHBtn+/DZnEVQBB7E4Jw QLtFw8oMsPwhrmadrhdUQuU1t8/L+oxKUQk0WU8nUdBdc2LB1vwMyqJB4L4H5D3dKY1/ pAbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=W7oxCgG6; 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 z10-20020a170902ccca00b001567d82c09asi8000099ple.174.2022.04.04.19.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 19:17:11 -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=W7oxCgG6; 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 2653428E4B4; Mon, 4 Apr 2022 17:39:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353711AbiDCNEQ (ORCPT + 99 others); Sun, 3 Apr 2022 09:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235242AbiDCNEO (ORCPT ); Sun, 3 Apr 2022 09:04:14 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 900F221E0D for ; Sun, 3 Apr 2022 06:02:20 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id k21so12667478lfe.4 for ; Sun, 03 Apr 2022 06:02:20 -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=o/5H3hQU1bKGnfI2Eizpq3URJjhLApS4+nGYxyH5uXs=; b=W7oxCgG6rhTffSg1LkpIKdY7Tv/R9el64FWQVlZ3J9FZvla3/k9q+OePlgqJ/aaa0J js8FBngRi4H7nZ83cKHEUEn930EH4zgb0z//euOzyTgqxE81Ug1UPCaJ4UYEzV6/aByU EJquYtZJwQA4RJ+skVTlRN569zpgMZxknHn3y2ShLGOyVSXBAzb+Q8B68v9svZR1ibrv RLl2OGRPtpOM6qIdxAVOzkODHLcBZuQ/EXJWmDfz3qZqn60INBTRD11hU6x1sCYoCJXZ +Vn+906bdVtH/wu7RAkhnZhMNg4VKfOfHvCkSHy+U3Ka/DRM2Bm1XgmHJXsfDyIrnigT 4SjA== 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=o/5H3hQU1bKGnfI2Eizpq3URJjhLApS4+nGYxyH5uXs=; b=jTDFT0lv+H3uEsDPHGQFklfbsjhHnJqpXgpfjzevLRrAzpfx5HgBarggOvDz/K536l qfjK7umZRiddiqzAr5VNtsAnwFli2WJTjcMxzbqFyMaY0DYM3+9/9K/JyH3omhj7Gbnf m8mXBYHDiHO0z3X4iUAxJkbUMXfID2xQafxamIYkE1cRzfZShkGAuKOUE5acudnFOayf DK12fciEfPkjfaktVBmBqHtXvBQjQ4kfnBd/Tggb9Gu/oCq2lup/+/eIpzWvGvyLUzY7 802GudyXpR+r7iZb2Dgrh8a/nbV9wYxNDwyc3ruS/SlS2WlAfBcEfzYPnUK/lOnjdFYS IqAQ== X-Gm-Message-State: AOAM530YJLvIewYcPrTayc2NuH+W8UQofBQOh9UjMRuNYCZgbl2pzP7k lm9iiY3EV8K1qvVtkvPNNr0= X-Received: by 2002:a05:6512:3056:b0:44a:5117:2b2b with SMTP id b22-20020a056512305600b0044a51172b2bmr19532934lfb.275.1648990938668; Sun, 03 Apr 2022 06:02:18 -0700 (PDT) Received: from [192.168.1.11] ([46.235.67.247]) by smtp.gmail.com with ESMTPSA id z23-20020a2e8857000000b00249a15d93b8sm786112ljj.125.2022.04.03.06.02.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Apr 2022 06:02:18 -0700 (PDT) Message-ID: <7d3d23c3-1839-3e6a-27bf-85bad384e5e4@gmail.com> Date: Sun, 3 Apr 2022 16:02:16 +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: "Fabio M. De Francesco" , Michael Straube 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> From: Pavel Skripkin In-Reply-To: <2029549.KlZ2vcFHjT@leap> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------ztQ7hFqw52D7RmjZ5Zza2Sdv" 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) --------------ztQ7hFqw52D7RmjZ5Zza2Sdv Content-Type: multipart/mixed; boundary="------------kEZEa3yRzqeY92pR2tN00X09"; protected-headers="v1" From: Pavel Skripkin To: "Fabio M. De Francesco" , Michael Straube Cc: Greg KH , Larry Finger , Phillip Potter , "open list:STAGING SUBSYSTEM" , Linux Kernel Mailing List Message-ID: <7d3d23c3-1839-3e6a-27bf-85bad384e5e4@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> In-Reply-To: <2029549.KlZ2vcFHjT@leap> --------------kEZEa3yRzqeY92pR2tN00X09 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkgRmFiaW8sDQoNCk9uIDQvMy8yMiAxNTo1NSwgRmFiaW8gTS4gRGUgRnJhbmNlc2NvIHdy b3RlOg0KPiBPbiBkb21lbmljYSAzIGFwcmlsZSAyMDIyIDE0OjQ1OjQ5IENFU1QgUGF2ZWwg U2tyaXBraW4gd3JvdGU6DQo+PiBIaSBGYWJpbywNCj4+IA0KPj4gT24gNC8zLzIyIDE1OjM3 LCBGYWJpbyBNLiBEZSBGcmFuY2VzY28gd3JvdGU6DQo+PiA+PiA+IA0KPj4gPj4gPiBkcml2 ZXJzL3N0YWdpbmcvcjgxODhldS9jb3JlL3J0d19wd3JjdHJsLmM6Mzc5DQo+P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RmjZ5Zza2Sdv Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEER3XL3TplLQE8Qi40bk1w61LbBA0FAmJJmtgFAwAAAAAACgkQbk1w61LbBA3I aA//SU9SjnbUrWUShxTLqLoxLRi3zL08861r8rC+JoNWBbYNmReFX+ENZYz3OKSiEsxWIZys2X/r PB1sCOTqB4TK32xkkC61552ChAXy3hNyhzpM+ox+ZPcbHq/3SidHEt2DvOvJxGL7yqdKF+t50drv 7XLVjPYS+cIqzxggxt7Hkf6r7MzOr/zbNhKD51JJxny4/K3hgtv3BZlJILvz0AkaW/2jpvT8H88m 9ZDpj/SklO5+NuaBd4mdGAdJgoHyVuSwOYk6JtCAgH31flRAvyi6CnR0L3tWAbpG0czBeGgJn3Yi JKhPY9juqVVrPsIn+QvtW/5Ao4eXNuVCAiwVd3DsWHP6OzI6h80xWg046XMYthy6mOJQ5dt4sDjp NVZAAk/r9t1Zk2ujtX+GrL1UsMmGjALneMXJTAquEHk8mrVL9NMANtmpLutvQrVj+Zn+Pnd+RFdr G0lvHP6xXdo8cvh/w6NFYVExgPISY9z2us36LeDGYr0ZTAhlLbYDPrsSEq/10DPr5VcPqU202EiV 26uHceFRBzOLDA0aDFWfiBn08qqma3w1W8VRYygv2mHSAC1HDFTaL8DIGswi9A3SMqVuWNNzP9Xm dwMXI86VR+RQowpoSgyq/pH2CcdkGV4x7SCJBEQrB9ukI8+KU5Lj7154Opce02BuG/N6YEA3C/z8 xdY= =wfyk -----END PGP SIGNATURE----- --------------ztQ7hFqw52D7RmjZ5Zza2Sdv--