Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp590506ybm; Thu, 28 May 2020 10:09:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4ctokNkZbz9kEBBFJUW9/I5DEP4NzkHxXdR5gkVNSo4hMTqNhFtWTO5nrmtaBc4gVrsBH X-Received: by 2002:a17:906:da1e:: with SMTP id fi30mr4085977ejb.80.1590685748709; Thu, 28 May 2020 10:09:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590685748; cv=none; d=google.com; s=arc-20160816; b=uDLzmVTY1NpnLeOPviKBeV1EfiXTCwQXm2lDuolv8Ns/QBR3srU70DAKzQUbxgHZVx VAAq+SWMBTAnbz6+BHGY6TtRp1WZbTQwG5Bs9IZAAgpONdK9s69tK8lBJy7GTJnxVT3g kngvrXm/ZDD2YUt/2gksaGuOtD6QgSOWxg/us4OcYMIH68QTx8YNrbfAdwBa453qOEP9 /lRQxvwmjSiPh7GKONNS8CgzNoxniBNUQfFvVokIdMDmGtPsUevKYpT64hqRYj7xlQNd 4CeNS95g5OZeYPIVqciAH/10tQpRDpJ3QP3QbcetTZTV+izzIdrUDlCjc9d9rnTIAcrL cJ/Q== 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=Eom+bJqurS/dqNzfrcniOtuvCPDFdKtJTHEiGRe1jB8=; b=xFcJFcW0Xiv6R0e+LDKZ0ZZoxMbT1mmcZlKouocRtZtJE2HBWT90X8T1p864KxJ3kS +ZovhlIjkAqLJpbU6VvA1H515/zbgIVA9kCztXd9eDF8DVZX6MdtsESEHgqZ2hb/w+0c ODlOJQjt/u3KmH5J2QU2BCLLljuTduTHFy0pQDcLvXHDZ3XIatePnTjY8SU0hOdoNLL7 rL5R5dat7pFCrDxt6r0KMTqYdl/LM0ja60+zBJZgqIhYc649p2jEYkj3eepDjHupc3gx nerQhx+AT6/FoRQr5XIbiS6ZG9p5VLgX7jxCDRzWIGVqY0VWhWoCAwNi5JeKdnWS5zeR hJzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=A1ztlDRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id cc27si5116228edb.544.2020.05.28.10.08.45; Thu, 28 May 2020 10:09:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=A1ztlDRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2405473AbgE1RGR (ORCPT + 99 others); Thu, 28 May 2020 13:06:17 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:31229 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2405384AbgE1RFY (ORCPT ); Thu, 28 May 2020 13:05:24 -0400 X-UUID: 76bfacfd98a449ddb4d286df51d7a1a9-20200529 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=Eom+bJqurS/dqNzfrcniOtuvCPDFdKtJTHEiGRe1jB8=; b=A1ztlDRy+c0Y4KgklbZr85/GbJkwzn1GnPGcKYQBmZIwC68JCHtnGAGpA5FNCyIw7+pRcFZiViHUg3jcFz8Dcnk3VHcoRhfybnIulwokRt06RHKoHB10y7gdPozmeU+zIRPWBzX4Jx5B7g/qQc6xZGDnuf9Jwygk2ICCcyrRKHA=; X-UUID: 76bfacfd98a449ddb4d286df51d7a1a9-20200529 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1990888823; Fri, 29 May 2020 01:05:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 29 May 2020 01:05:09 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 29 May 2020 01:05:09 +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 v6 14/16] soc: mediatek: cmdq: add jump function Date: Fri, 29 May 2020 01:04:49 +0800 Message-ID: <1590685491-17107-15-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1590685491-17107-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1590685491-17107-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 d2hpY2gNCmNvbnRhaW5zIGluc3RydW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