Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp418997ybf; Sat, 29 Feb 2020 06:39:28 -0800 (PST) X-Google-Smtp-Source: APXvYqx6EgKoQE9cTzWZ8NDWoSZKDFe8hihsaEewR2pESUCbgbEocJBR5olH9K4H8vPIK+C3RlDp X-Received: by 2002:a9d:66c1:: with SMTP id t1mr6390437otm.73.1582987168023; Sat, 29 Feb 2020 06:39:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582987168; cv=none; d=google.com; s=arc-20160816; b=0jQkm8eFl5iqXWF9XrY8nb8YfVebr3ZWjMLAnvIdUVGuHarlgk7tGo1n292KGOrYX8 1cXFqjT17hhHmsqWGo/rdSikJjUSdiHFHgIL1PtsZYucsMJjSOHbR9JNt+9iCJY1o2cP MjXhwEkD4XpXQh1n2zmkwFksoF9AvOP4V2tpoyiZH8K3Q/99TVPYjGrNueB8Xgtciq4J 5LlgLqt5X4eK70EHbjendfd3TO/WOGCmQiaE60DHbv4cOqKGWjVd0RB7uF4mzAQaS0MO W/2JQ7WY5bV0BQEvG4ZZxNuplPcQYeT8aLroBgNlDyZ1YVxwMYVVpHdSB3gHGTsl+I+X xVPA== 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=xQp3WRgKEp5tZlL+HV4rSlO/znTkeJUSxq/TzrB4xVA=; b=S94zyPuDcZoh7ejmlErdSqV0Dwi3x4cwio65NX4XhMuOQu662vtu/5txFfcdUPUM8C nl+wmeS9EVrLyukij8WSiGM1Us57ZDQDwYonhIzX+0qrTnry2XjFNJlZaYPp/2hw+bS3 4KlBPzYihFTLK5VFxwb2gB61/XOV3HHp13UpN0WLdmOHRaIRlBm4jJahBx+x9jLtgImM iRN2rxNJ7W9qVGIANlVPf933L/8pfKoWG0GAYF7YLNz6+4ObRM9zztHqXFIPpPyMHdE8 zcMP+Kioq1ePARe9Nv9GA1rmS4C7PeZpvGY4wvgFbSfbLaGUCQO/xWyJ4DCp6ww0uTmp PZGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CAa8qCMD; 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 r22si3184292otn.192.2020.02.29.06.39.14; Sat, 29 Feb 2020 06:39:28 -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=CAa8qCMD; 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 S1727118AbgB2Ohq (ORCPT + 99 others); Sat, 29 Feb 2020 09:37:46 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:64607 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726308AbgB2Ohp (ORCPT ); Sat, 29 Feb 2020 09:37:45 -0500 X-UUID: 89f67a14a8264cb58726f652872fb23f-20200229 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=xQp3WRgKEp5tZlL+HV4rSlO/znTkeJUSxq/TzrB4xVA=; b=CAa8qCMDc3E2m//OdnZWoBS1Dr0/VgXjUghrflPtNw/6kAfYc/iMb7t0rJmvhBovX2/4ujKNzGqVCjhZDhLhjj5WKnBneve6DDbWI5K2jygoJwfH2xvMpFqpPPYKUUoz42cGqMLA2+ahns1Oci7KQYJs08ObiD9SFN93WOrMKXM=; X-UUID: 89f67a14a8264cb58726f652872fb23f-20200229 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 2070284286; Sat, 29 Feb 2020 22:37:38 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 29 Feb 2020 22:36:38 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 29 Feb 2020 22:37:14 +0800 Message-ID: <1582987056.13875.0.camel@mtkswgap22> Subject: Re: [PATCH v3 12/13] soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api From: Dennis-YC Hsieh To: CK Hu CC: Rob Herring , Matthias Brugger , Jassi Brar , , , , , Bibby Hsieh , Houlong Wei , , , "Ming-Fan Chen" Date: Sat, 29 Feb 2020 22:37:36 +0800 In-Reply-To: <1582900369.14824.2.camel@mtksdaap41> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1582897461-15105-14-git-send-email-dennis-yc.hsieh@mediatek.com> <1582900369.14824.2.camel@mtksdaap41> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 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 SGkgQ0ssDQoNClRoYW5rcyBmb3IgeW91IGNvbW1lbnQuDQoNCk9uIEZyaSwgMjAyMC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