Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2038436ybt; Sun, 21 Jun 2020 07:21:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIsq4BB+QuvhI8knOb0lLdHPwM5gLap/bpb+9/tE7HXwvUJwCGXxV04n1/F8dqAruf037I X-Received: by 2002:a17:906:d93c:: with SMTP id rn28mr12753361ejb.190.1592749305508; Sun, 21 Jun 2020 07:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592749305; cv=none; d=google.com; s=arc-20160816; b=WReayg7Tb2ZpB3mrYFDjLUTmEGUrwgzaql9MGyp3mC+YD5eV1jmON2iT4zka4vDKN+ +AGSQd0grNCU256ppo8dgdg9Oire2yCOWRjJPIwDspQWjnIju3+4hQcqwXQySkCQDYB1 nBK0nPNBBF6c2iNFCVJoUXP2IIrXCUppQNPkOCcR7WhWngOj2kcZiKgHUVfVHDAVHxlm sSEg9RpamJ2zBjoNjWm54rVVdmLflArxW/ALgtBQ3uNqNEJKSInXY+mweDZXwExtm0fT 1/SY7lOuczLj1hcdm0JYl75gTqYZz5/27ABHyUKSor45aEI2/hNcNxMDDKZryf2nOpYm lSdA== 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=fvMw5ljFu1mfguRoXf60m5fp2sNpcRGVzbt+sAiy2PA=; b=hCT/wWGnTsYKk+wOfeO47WcQHwZbhjMU3LzRM0pMhAYOHT/cX9DH8w0pycLC0iVxzV 1Ik/EBxzP04PZn7nVHeU4rQdnIOXUkY90P3N9nwRI0kSqbu2iM3G8gDBfOt6HSTgLwFe Ts5oZHvHv/WIiYx/Fb2GevOAxuB4mMvKAR/xbRL2sfMv7nWMEZo4fNpgmpuYa1+lzR2m 1/TsInXfXd+koYvlFPVAopE3aYjQI5uhaWexly9AVnH+nDYPVzAcdhuihsOLCRrpZHkM n1KJkcOhcGMbYlmCmj+LtRblKT9GD1237VNnqGC1JZula8S3R53M8aZgSEswQkokfTZi e/IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Ppaik4jt; 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 b10si7348507edw.184.2020.06.21.07.21.23; Sun, 21 Jun 2020 07:21:45 -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=Ppaik4jt; 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 S1730218AbgFUOSs (ORCPT + 99 others); Sun, 21 Jun 2020 10:18:48 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:17793 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730190AbgFUOSr (ORCPT ); Sun, 21 Jun 2020 10:18:47 -0400 X-UUID: 24e9fc548b3746c392e250452d0b3676-20200621 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=fvMw5ljFu1mfguRoXf60m5fp2sNpcRGVzbt+sAiy2PA=; b=Ppaik4jtjkeMRGVM5F8rvQsK043cjQNMQy/PaTpa3ZD82khRiDI5xfXfardsA9y6jkV6H1IS1aJHgKmMI3w+aIkGWbgsLTq3mP95EZ4FP/rJ0LgjQ6XtQT1Q7iwsa9UlklEAIRunx4pI5AofmMJUxTXOCcR3SKYHoKlh955F7pM=; X-UUID: 24e9fc548b3746c392e250452d0b3676-20200621 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 431989172; Sun, 21 Jun 2020 22:18:40 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 21 Jun 2020 22:18:30 +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; Sun, 21 Jun 2020 22:18:31 +0800 From: Dennis YC Hsieh To: Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , CK Hu , Bibby Hsieh , Houlong Wei CC: , , , , , HS Liao , Dennis YC Hsieh Subject: [PATCH v1 09/11] soc: mediatek: cmdq: add jump function Date: Sun, 21 Jun 2020 22:18:33 +0800 Message-ID: <1592749115-24158-10-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1592749115-24158-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1592749115-24158-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 d2hpY2gNCmNvbnRhaW5zIGluc3RydWN0aW9uLg0KDQpTaWduZWQtb2ZmLW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