Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4053279ybf; Tue, 3 Mar 2020 18:57:56 -0800 (PST) X-Google-Smtp-Source: ADFU+vvujhEjOGnxgZN+ONub5rxdmvGwZ5ThcUHN1rLxZ7dmiFt51HelxsdRVcxEF3L2Pj8ImgJF X-Received: by 2002:a9d:3e89:: with SMTP id b9mr745784otc.3.1583290676374; Tue, 03 Mar 2020 18:57:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583290676; cv=none; d=google.com; s=arc-20160816; b=aONaEP7QDKOF+V/L5BLCeuxRBo1QQpPRLw4UiNep5xjrIFtTv9tRL68qqD81VUvke0 aQJSqWsFfEtYW3hgMEwqK17aCD86ILD8EnaTaPozdgWQu3HwVTrPiJb9ALegXRqx7j4Z gT1Zqyyxuxgm09BBwb8+5C+jcXjMhq5shD71K6BihqfNu7SNlbz2/7/nRIttX0oPeBy+ Fksr7KPzS/OvtARk5zIzZ7G7E5TAs2tNtL+Hf3uwFBgaBQmMSh2pzGXdalMGtQ5N1qBf tAMgQ6Jz/Qy0ZYrq7ePdqXXkuo9/k13DO0RJ6y0wWSjd+2gNVg3Cgk4JOOUuaPdyGJHm KArg== 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=uW7yJsKMnYCXbZS5/MrcBoSUI2+S5xj3nwYGlN1X97w=; b=jpOfmYzpAaTWWymi6u5jTO/WASNTh/bSL37Lw5IVJLRS5V5DVgNcwRI2f3bOeGNZ+M O4QoUHygDhZmrhhZpFvqg2zStEKEK5b/ZfKW78MnLuFSZDGvFTGep4g2+s1BztjwABH7 OOhKJUPDkduvplGP3z2dtDyrGKSTd+Zhu2ppLrUVkB4kBtIRqdJVWvp/zjq2uNty77YE 4d9Inl9iPkfKZJukMyy4hfH8QbAO/rg6RoLC+Ei2GIGfxnysEy4E4we78T1o8t/VXyAT zuWqE3aMvRQ67ip5b2tnstubZRkYMBA8+u4GMt6+N/X4EaSYSDxk9c+ZmkBY9tqH7lmB AeQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=QTXMSXUM; 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 j15si345816oie.15.2020.03.03.18.57.44; Tue, 03 Mar 2020 18:57: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=QTXMSXUM; 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 S2387566AbgCDC5i (ORCPT + 99 others); Tue, 3 Mar 2020 21:57:38 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:34929 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2387543AbgCDC5i (ORCPT ); Tue, 3 Mar 2020 21:57:38 -0500 X-UUID: 2e0c820f2ca14225af068b98e099a8f2-20200304 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=uW7yJsKMnYCXbZS5/MrcBoSUI2+S5xj3nwYGlN1X97w=; b=QTXMSXUMpFFDnlAWWLt34/sDrohyxfoAwvzh9dzAuqa3Loj7oG8+B4YeR/l99HvTDNl2DKwB6+LTVZVEuECKVZFLgBrTTFfbiEnnTHOI62+/K4aBkbc8S+LRDfq/avajWm082of/DpvK/vXDhG8QhGB5f72/0BHU7OfQqztAU/0=; X-UUID: 2e0c820f2ca14225af068b98e099a8f2-20200304 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1832508137; Wed, 04 Mar 2020 10:57:33 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 4 Mar 2020 10:56:31 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 4 Mar 2020 10:55:00 +0800 Message-ID: <1583290652.1062.2.camel@mtksdaap41> Subject: Re: [PATCH v4 11/13] soc: mediatek: cmdq: add jump function From: CK Hu To: Dennis YC Hsieh CC: Rob Herring , Mark Rutland , Matthias Brugger , Jassi Brar , Philipp Zabel , "David Airlie" , Daniel Vetter , , , , , , Bibby Hsieh , Houlong Wei , , HS Liao Date: Wed, 4 Mar 2020 10:57:32 +0800 In-Reply-To: <1583233125-7827-12-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1583233125-7827-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1583233125-7827-12-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 SGksIERlbm5pczoNCg0KT24gVHVlLCAyMDIwLTAzLTAzIGF0IDE4O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