Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5074190ybf; Wed, 4 Mar 2020 16:49:56 -0800 (PST) X-Google-Smtp-Source: ADFU+vt8BFtbnWpcZJY5is2N8vBdd03H+zvP/PnSWCeNFpb5aW/5cCHvxKp37Sekn+0cItHlmEjC X-Received: by 2002:a9d:463:: with SMTP id 90mr4633088otc.283.1583369396594; Wed, 04 Mar 2020 16:49:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583369396; cv=none; d=google.com; s=arc-20160816; b=YnlJ+FUzfqYN1xb3h5pe+H50yo6cer4bdwqpyyu5tcoymVm1dCjKlL/2oD6migdMMH lqcoVzUUWmF1im6szbw4MjvByMKz3UDsnaV8i8SR+xlbUMewXww+aHwPcXQPv/xvJspY Ry9QnLFukop2J5FP1HMmhLxPcA3+5CsapvA5fGTHYgFqDd+a16OCPjDXs9vFtdAsOW9K K8RbNm0t1ihuhOtJ3h+i17XjXVcokXTnFRDn5tLNv/Hfc4qXRj9MolgrYlrEW80X3RBx QM7WOi7aDbCEfkaMH2zRKhrPPBNEWcY++D27FHDZtZweMBXTjXDVG7EvPr9DKOaK23sE /qmg== 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=Dt+NjDKJnvFkl8R5AeUjlcgnglhu+f9HBOgNSX0bmEE=; b=ntczBvDQWvMS4vsdLfiQ5UXPY9paxMixDYJEajYWyJ2Uodrlukh8yvwbETSCDLvy5B 6VEbN54CDV8SnsnIs3TGv9QX/q4VG37SzjPOwak7PxpWjygsGxrKIdlex3Q6VzFzxjLJ ku+bR3NOaOtuvpKGIbhKFsCyHvhnsQqmq1+hi2VaiDh2yp1Z2U1BwpMOhT8Uyyi3sGl3 Qu6+H55p47KuYK5CxweEzOOtagfwjvBAWT2fMZt9ZhcZBiMNRze+MlIJc3Pt7L921n1v mpFJmaJ3x4SOgYwLifmgasdN5KoZl1vds7izq905u7FgpI0RJcrsiIAAoAaZ2UNczk1N Nuwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Xwj1loR4; 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 x14si2196670oto.221.2020.03.04.16.49.43; Wed, 04 Mar 2020 16:49:56 -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=Xwj1loR4; 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 S1725839AbgCEAtN (ORCPT + 99 others); Wed, 4 Mar 2020 19:49:13 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:36531 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725797AbgCEAtM (ORCPT ); Wed, 4 Mar 2020 19:49:12 -0500 X-UUID: 6a35557ffad6498e860e9d885c29fc43-20200305 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=Dt+NjDKJnvFkl8R5AeUjlcgnglhu+f9HBOgNSX0bmEE=; b=Xwj1loR4Nq+7Sw402bvRcCWVaxghwi193wHlRv+MIMIqTepRD0jaBRlF5spKuX1dfN/9eybs2Zq1+/B4xrizQ6FY0O+OqjuwxoBPWbgk3EMfUjbqM6NwzD1MNP/FICR1hPoVYC3lWMFV5jWpTsupB8G/AUN03rZz6F2+wxLuV70=; X-UUID: 6a35557ffad6498e860e9d885c29fc43-20200305 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1851158184; Thu, 05 Mar 2020 08:49:04 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 5 Mar 2020 08:47:54 +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; Thu, 5 Mar 2020 08:48:18 +0800 Message-ID: <1583369342.28558.0.camel@mtkswgap22> Subject: Re: [PATCH v4 11/13] soc: mediatek: cmdq: add jump function From: Dennis-YC Hsieh To: CK Hu CC: Rob Herring , Mark Rutland , Matthias Brugger , Jassi Brar , Philipp Zabel , "David Airlie" , Daniel Vetter , , , , , , Bibby Hsieh , Houlong Wei , , HS Liao Date: Thu, 5 Mar 2020 08:49:02 +0800 In-Reply-To: <1583290652.1062.2.camel@mtksdaap41> References: <1583233125-7827-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1583233125-7827-12-git-send-email-dennis-yc.hsieh@mediatek.com> <1583290652.1062.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 SGkgQ0ssDQoNClRoYW5rcyBmb3IgeW91ciBjb21tZW50Lg0KDQpPbiBXZW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