Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3295836ybf; Tue, 3 Mar 2020 03:22:04 -0800 (PST) X-Google-Smtp-Source: ADFU+vta2Nn3RzZoC/pE4w1+o0VLUa/Bep5l4HmX2QqPporrD3AAT34/nIK3lDqibLghuqxaVtob X-Received: by 2002:aca:ed8d:: with SMTP id l135mr2133972oih.112.1583234523864; Tue, 03 Mar 2020 03:22:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583234523; cv=none; d=google.com; s=arc-20160816; b=TQyxIXqXOCPMXllhcUaVwDL1NlZLfQxLQ8QaThgny1rjh5paEucQDaLn0Ku5dfsciO DmPrn1JnRytzVH7d0P0jLtum/peipQyvYehj6yzOYhh8nc95uBiZcYM1hdSp3Eb8y1X4 9M9zDY8H/fubmzVvf/C8ogalNYhxgSRWxZesdIghLKn8dpkXiejQrcsAqpzdyKM+bte2 /QmfEys079j9UL06Y4ntO8cr0LtnkVAYYSHP7D7RittMASO1Ki0GZdohTm2J/Cvi5xXQ YJfBHofTaeVdf8en0v3R980C7xoBogCzckHm4Ez+luPI57IGNbahjBO2Lu7UvPHbiGi4 8ROg== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=+x+PrbDJBJiVqHYvjuhbK3vXjX2qHO65rGPeR593FOg=; b=NuSGkMZ/bhLBJwozbBH74GblmGwH17IWOukJoe3uP7omZg4k7V4bbIkPsc+0llc4wu eEKlsbeFr8X76KJk3TkFsJ388SLS1jECKxLAJcG/SZhSsRdkd1E34kC/tIZVS3wXX/Ld ga+Wbg2clD92ZU4TxZXAr/MGOdMN69ZNp3Io6fk8jjOofxlfabRNKO57xo9KM36slDZA dU+NgNQcmSqNliUIangAC6k17P5EZDFCgmdzLVkmcNjJ9aTFmaWyWQ0MvV3wZqX0hzxu 1302kk0wzRvC2n+J8AJoTQYDZL2DRj8107yM8a1Ec9/hYqrcGqZTAna0f2Mb/gEuVvxH qsWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=XQjUJ81Y; 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 h23si5259388otr.53.2020.03.03.03.21.50; Tue, 03 Mar 2020 03:22:03 -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=XQjUJ81Y; 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 S1729000AbgCCK7G (ORCPT + 99 others); Tue, 3 Mar 2020 05:59:06 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:30785 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728157AbgCCK7E (ORCPT ); Tue, 3 Mar 2020 05:59:04 -0500 X-UUID: 05316f9c481a48d7b825d7f3bf4170bc-20200303 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=+x+PrbDJBJiVqHYvjuhbK3vXjX2qHO65rGPeR593FOg=; b=XQjUJ81YYNikIkve9D9M24UKitlqbqGPEDqkcondRCMZtTLCSHCCinz8NbNWZxyRm4+BkVtZcX1lfu3mfYET4SVCY1tMpdmoYixWvBJzKEVIHy9qCReIsHgFBQA9VLpIyHPomlUaXAShOldCtHxVhyoKclXEN0vkfHg01NzWwLQ=; X-UUID: 05316f9c481a48d7b825d7f3bf4170bc-20200303 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 1687676717; Tue, 03 Mar 2020 18:58:50 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 3 Mar 2020 18:57:57 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 3 Mar 2020 18:58:12 +0800 From: Dennis YC Hsieh To: Rob Herring , Mark Rutland , Matthias Brugger , Jassi Brar , Philipp Zabel , David Airlie , Daniel Vetter CC: , , , , , Bibby Hsieh , CK Hu , Houlong Wei , , HS Liao , Dennis YC Hsieh Subject: [PATCH v4 11/13] soc: mediatek: cmdq: add jump function Date: Tue, 3 Mar 2020 18:58:43 +0800 Message-ID: <1583233125-7827-12-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1583233125-7827-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1583233125-7827-1-git-send-email-dennis-yc.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 QWRkIGp1bXAgZnVuY3Rpb24gc28gdGhhdCBjbGllbnQgY2FuIGp1bXAgdG8gYW55IGFkZHJlc3Mg d2hpY2gNCmNvbnRhaW5zIGluc3RydWN0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