Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp726882ybf; Fri, 28 Feb 2020 06:33:55 -0800 (PST) X-Google-Smtp-Source: APXvYqyi9kvgTuoYvXEjLYs7Uzk5BNJqUc2S62PfGDsAySG0QXy+GtamBOlONAlLKU18RRk0CsRR X-Received: by 2002:a05:6808:64d:: with SMTP id z13mr3399956oih.104.1582900435447; Fri, 28 Feb 2020 06:33:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582900435; cv=none; d=google.com; s=arc-20160816; b=Kenxku2YhoEJtpKujbBYjnKZhLcMx0Xt5HlN0n+9SWi4JHKXAezf7RKqIdYbH5Shxk Ic2K4qwu6n0IWCl9vcfTSdGc1hqiyL16LtKd2xFnFsVOvZFq8nmKDG6JNPyxVR5iT3Kp 28Y9PSPiYejtYWsZxwtQdCqrEch/7syp/OP8BWfrtvOczlG4LRt8UNtcP2fUsjODthpl o08+CsmGs2m6ydUGnHLtpetBeQQxESMWbKkccLo71W5cPmRyOYDO0DRDy87Qk+oB7LDZ AqvYDQYw0jiKIOH8z3py4hsc0TDNPeJWNFgA/lwNwfvImoYkrQajcB3LWZ4jm6DQLvM1 QiNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=tCcBPOv9JtXBkELXSRqCsT2eYGkv19cNJithXm3gQmI=; b=CFeGBagfxnKrYFisu4MSd/Ajpr5AfFCABljLom0wnXnwTZOfScHA43ObDseghLC3XS 69HdJ89fCMvagjmusRQQ1LVcJR9NXYWiD3ZNmtvxTJLeGL1oAMOAPT7XdnfzmDiNpOXM f24nPdqVwByoJby1kOeE6PjBR6sB2BbS6a0ipstGzCmqabjGf1oK+90Te3ruUnOBGXmB 8Tw3YNfo+B3rxTQfrjxNZRLtwCe8Y2o3E092kS7B7RYQ6cFVwi+Qs47LSttBV+OpOhre mQkCbhPFJmRm9VfKoyEyOOsDjzrNnyL3hT/WAmWv80zZuW5dWyAaVpPile+valTQpvzd qh2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rK2xvdfF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d125si1750153oia.86.2020.02.28.06.33.42; Fri, 28 Feb 2020 06:33:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rK2xvdfF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726980AbgB1Oc5 (ORCPT + 99 others); Fri, 28 Feb 2020 09:32:57 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:28862 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726860AbgB1Oc4 (ORCPT ); Fri, 28 Feb 2020 09:32:56 -0500 X-UUID: 2e8db6e70c9c49dda18a0ffc1f66d1f1-20200228 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=tCcBPOv9JtXBkELXSRqCsT2eYGkv19cNJithXm3gQmI=; b=rK2xvdfFpUEKoKLgQMQtPi0oTugLow49yQ9vccqNylPPRo0ThMvqO1nx9zBCZNJZ3MbgtWHT1sNLleghvtYcx10mPhdXGxnrCOyX97ekU01OSV3UtHax94Ns0XvPfjRduWQIT1khCC+TRsw7GqXLid2xZjfYnEeU0g3vNuFa/Xo=; X-UUID: 2e8db6e70c9c49dda18a0ffc1f66d1f1-20200228 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1308984288; Fri, 28 Feb 2020 22:32:51 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 28 Feb 2020 22:31:51 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 28 Feb 2020 22:32:41 +0800 Message-ID: <1582900369.14824.2.camel@mtksdaap41> Subject: Re: [PATCH v3 12/13] soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api From: CK Hu To: Dennis YC Hsieh CC: Rob Herring , Matthias Brugger , Jassi Brar , , , , , Bibby Hsieh , Houlong Wei , , , "Ming-Fan Chen" Date: Fri, 28 Feb 2020 22:32:49 +0800 In-Reply-To: <1582897461-15105-14-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1582897461-15105-14-git-send-email-dennis-yc.hsieh@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIERlbm5pczoNCg0KT24gRnJpLCAyMDIwLTAyLTI4IGF0IDIxOjQ0ICswODAwLCBEZW5uaXMg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