Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp57322pxu; Tue, 24 Nov 2020 18:36:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXlLgx1qLt74AaUgd0X6mUVbO/cyQdnjPfgTXVvgVPvsVUq4IPMfLAFMJ2CIYCHfPy7LL8 X-Received: by 2002:a05:6402:1b19:: with SMTP id by25mr1456721edb.108.1606271781463; Tue, 24 Nov 2020 18:36:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606271781; cv=none; d=google.com; s=arc-20160816; b=QLoNAij3cGCPFMbWjhkZDIk4lW5sW02OoxKuvFsBn/JVrQqMw/UYL89pvGUA/92Zwv gKZImd3dkci1Mzy7+n1iA+/sAA+8tXJVkh1n0MJfDHrMOzUKdJ0Ci00w8XZOxN2huThP TtcgWF+X46GMxIjCcda1zvLvw/cvTwpK08niqJ5gCNLqi8e7G75Ll3mpJUvV1thfbyxY SvFRQBLlV8VWwCIkvvsNwZdEdE/gXaf10m6jJbojoEM73ykOmTvP91V3TFtey9jte8OT VUSyq10KffPSWkRs+Jbck24PQvK17Y7pE3NA6t9hGDEzcmi6cN0M5JoJqdb9PkkQ0KRJ oeiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=d3nr/xPB4/Ytmie+cSNJY9sU92H7/I+2d3g8d6Ae3Dw=; b=aoBTkmHsH0EQOYYgzhi5jmNgIgtFLzcSQ5Swfreik7HClM1g7AJxOFFIDwtAHXq9wd Gyjtb5Lma69dbMb4Vg/mB5nDwd7Ns/pBuJIFQycUTZZH98Vc3/3fFsFD568xkYEZiWK5 ppPTCL7+VLb3K3xhT9xhYPfYqDFSSKskVcluN2XfwTiRvVN2b+z/5U5gxbRXxwgF/zHo CxhR5nFYFFHdnrwxXgRngDc+O0GilqsxQNr/WOwiN4l62yQ+ikox1HBp0PPtRTfacpiy JgzvITkFsS0zaHoRXrQaC+ozGChsGHkMdKqTO3VUKERSoDxqYwgB1ZLYHRm7NGLnGqd5 NsdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hdzdf2N1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p14si427774ejg.51.2020.11.24.18.35.58; Tue, 24 Nov 2020 18:36:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hdzdf2N1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726873AbgKYCdg (ORCPT + 99 others); Tue, 24 Nov 2020 21:33:36 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:64514 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725952AbgKYCdg (ORCPT ); Tue, 24 Nov 2020 21:33:36 -0500 X-UUID: cd64df1ea4064c21b8a4df535923749a-20201125 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=d3nr/xPB4/Ytmie+cSNJY9sU92H7/I+2d3g8d6Ae3Dw=; b=hdzdf2N1UKhfpIXPW571fE+ZE//9Evis6CiDaxJgUPiMzjrsLzuMtFINiUrTY9QUDO76yXpEhdiy4C0VyAyvFHtr3DWvsza01ng2Ua33CGPVXfFSN03QF3Ox8Go45ksVec3KoJVFq8DfCVjx/vjEug67BxMfyqkOm5oCNTzeQNg=; X-UUID: cd64df1ea4064c21b8a4df535923749a-20201125 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2029650414; Wed, 25 Nov 2020 10:33:30 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 25 Nov 2020 10:33:30 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 25 Nov 2020 10:33:29 +0800 Message-ID: <1606271609.7284.2.camel@mhfsdcap03> Subject: Re: [PATCH] usb: mtu3: replace spin_lock_irqsave by spin_lock in hard IRQ From: Chunfeng Yun To: Tian Tao CC: , , , , , Date: Wed, 25 Nov 2020 10:33:29 +0800 In-Reply-To: <1605515682-23771-1-git-send-email-tiantao6@hisilicon.com> References: <1605515682-23771-1-git-send-email-tiantao6@hisilicon.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 38AEA4F68145BA0AE654977F218C7D5F37B2304FC5A015F89CA984A57FCCDBFB2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgVGFvLA0KT24gTW9uLCAyMDIwLTExLTE2IGF0IDE2OjM0ICswODAwLCBUaWFuIFRhbyB3cm90 ZToNCj4gVGhlIGNvZGUgaGFzIGJlZW4gaW4gYSBpcnEtZGlzYWJ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