Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp66022pxh; Thu, 7 Apr 2022 14:08:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaPYDFnl7UKbShNnvVvfNHW96yM9ylUbIsnd438LLS6oL7qqkzgsRCG1XzP/4NkueVQCFd X-Received: by 2002:a17:902:7794:b0:156:7641:a6cf with SMTP id o20-20020a170902779400b001567641a6cfmr16079575pll.35.1649365710698; Thu, 07 Apr 2022 14:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649365710; cv=none; d=google.com; s=arc-20160816; b=Ckr7P7APsdr/j73ENB4Uw4aov5SmceaJ1zjDJjR0YdzZfoIftjtU5qRfNOkmrHd8DZ MGv59R8kAYE8V91D31rM++wn2NxRDp9rm4lSvi7H6v301iQrZgUWZXN17xtIG9TInxLH crpGA4zPVDlVfpwwo0+IXf7T2bfuJQwmOC8QsXqzCTfcwoAEbfc/kJKyrkOw3meXRq3b r+mYERLLhSeQXmqelxO5nNf538GyJ3xJmbuxYt4VAb79hliOxf3+Bk1NEapTJiYDOnKQ hmoPJLFsMntUUru6S4d/FyKFQkRy4Hili7390lwDg9dESCnz4kp+2mbpZvTNAjRVOnlN 4oDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=1IHj+cRB6KBmyzKGlk+i3O9FZMDgkI42Z1ltNMk6mX8=; b=QqFvurbCbe5OjUPtIvpgplmrqCRQ20P0w9tzKiDJ76Bv/4pjGYupGPhesfEMepVf+n nbSNiNVP3HQgQ1QXwF3NXKk/y9++UhCCsFzWc3TmWRMOWHFgYIw21upxyVaUmN+gJMRW mrTW4nXSJKbQj+FQzRVHZIXhun5J6/FjD4sVhikkHlb6hpi1aQ50htF432n5jWkEE+m3 ZiV9RK1d6sCfGTA2Vdl3ftGdeOSodXUvSY8cKIEM2cNUC8a7pcjcm0fL7GVns3z+3gmC 3kRUL/wRW4Z/NDSPPHLTBeD9A5GvYVgElf4nZZzQ+2OvOTPA7LlLc2mQYuwyGaUgGgOr 490Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x35-20020a631723000000b0039ca75905dasi5866233pgl.424.2022.04.07.14.08.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 14:08:30 -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; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0C7FC28D2BA; Thu, 7 Apr 2022 13:02:07 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235612AbiDGLIm (ORCPT + 99 others); Thu, 7 Apr 2022 07:08:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235628AbiDGLId (ORCPT ); Thu, 7 Apr 2022 07:08:33 -0400 Received: from zju.edu.cn (mail.zju.edu.cn [61.164.42.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 320318F9A1; Thu, 7 Apr 2022 04:06:24 -0700 (PDT) Received: by ajax-webmail-mail-app3 (Coremail) ; Thu, 7 Apr 2022 19:05:54 +0800 (GMT+08:00) X-Originating-IP: [10.181.226.201] Date: Thu, 7 Apr 2022 19:05:54 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: duoming@zju.edu.cn To: "Max Filippov" Cc: LKML , "Chris Zankel" , mustafa.ismail@intel.com, shiraz.saleem@intel.com, jgg@ziepe.ca, wg@grandegger.com, mkl@pengutronix.de, "David S. Miller" , "Jakub Kicinski" , pabeni@redhat.com, jes@trained-monkey.org, "Greg Kroah-Hartman" , "Jiri Slaby" , alexander.deucher@amd.com, "open list:TENSILICA XTENSA PORT (xtensa)" , linux-rdma@vger.kernel.org, linux-can@vger.kernel.org, netdev , linux-hippi@sunsite.dk, linux-staging@lists.linux.dev, linux-serial@vger.kernel.org, "USB list" , linma@zju.edu.cn Subject: Re: Re: [PATCH 11/11] arch: xtensa: platforms: Fix deadlock in rs_close() X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.8 build 20200806(7a9be5e8) Copyright (c) 2002-2022 www.mailtech.cn zju.edu.cn In-Reply-To: References: <9ca3ab0b40c875b6019f32f031c68a1ae80dd73a.1649310812.git.duoming@zju.edu.cn> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <569b0b8a.3f281.18003b3c5c4.Coremail.duoming@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: cC_KCgB3HwCSxU5iMGyRAQ--.28878W X-CM-SenderInfo: qssqjiasttq6lmxovvfxof0/1tbiAgYNAVZdtZExiwABsc X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 SGVsbG8sCgpPbiBUaHUsIDcgQXByIDIwMjIgMDA6MjE6NTggLTA3MDAgTWF4IEZpbGlwcG92IHdy b3RlOgoKPiA+IFRoZXJlIGlzIGEgZGVhZGxvY2sgaW4gcnNfY2xvc2UoKSwgd2hpY2ggaXMgc2hv d24KPiA+IGJlbG93Ogo+ID4KPiA+ICAgIChUaHJlYWQgMSkgICAgICAgICAgICAgIHwgICAgICAo VGhyZWFkIDIpCj4gPiAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHJzX29wZW4oKQo+ID4g cnNfY2xvc2UoKSAgICAgICAgICAgICAgICAgfCAgbW9kX3RpbWVyKCkKPiA+ICBzcGluX2xvY2tf YmgoKSAvLygxKSAgICAgIHwgICh3YWl0IGEgdGltZSkKPiA+ICAuLi4gICAgICAgICAgICAgICAg ICAgICAgIHwgcnNfcG9sbCgpCj4gPiAgZGVsX3RpbWVyX3N5bmMoKSAgICAgICAgICB8ICBzcGlu X2xvY2soKSAvLygyKQo+ID4gICh3YWl0IHRpbWVyIHRvIHN0b3ApICAgICAgfCAgLi4uCj4gPgo+ ID4gV2UgaG9sZCB0aW1lcl9sb2NrIGluIHBvc2l0aW9uICgxKSBvZiB0aHJlYWQgMSBhbmQKPiA+ IHVzZSBkZWxfdGltZXJfc3luYygpIHRvIHdhaXQgdGltZXIgdG8gc3RvcCwgYnV0IHRpbWVyIGhh bmRsZXIKPiA+IGFsc28gbmVlZCB0aW1lcl9sb2NrIGluIHBvc2l0aW9uICgyKSBvZiB0aHJlYWQg Mi4KPiA+IEFzIGEgcmVzdWx0LCByc19jbG9zZSgpIHdpbGwgYmxvY2sgZm9yZXZlci4KPiAKPiBJ IGFncmVlIHdpdGggdGhpcy4KPiAKPiA+IFRoaXMgcGF0Y2ggZXh0cmFjdHMgZGVsX3RpbWVyX3N5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