Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1411596ybh; Sun, 8 Mar 2020 03:54:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvO9Wj2GwKxMdbkHz7ZEvqRWAi6dsMjx4x/4jl0QQ5d1OZ9SrEu46taTMnEqpnG0daESjo+ X-Received: by 2002:aca:de07:: with SMTP id v7mr3427953oig.22.1583664854383; Sun, 08 Mar 2020 03:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583664854; cv=none; d=google.com; s=arc-20160816; b=u5sRRUae5IBtMTiPeZJ4wuUBq5KRuGoQ9UEyDIIPchF/ItzXcNpzWH3aq5BjfQPVVd TGkdB7zhreNQnym62BKsNqLn6huIXmhiAWWJNsWovDVRjRUSbjTgaXSztksSXSgX51bm OBR6yPWoDbIxuCia20JL4I3kvHoyoAM1Kzl5VSKV1sK2RJkmJ0N2ORCYrShhOxwMEMfa 8b5xVsB/Pf++igTPxPwllHpVhPS6c0f8/zw4H5fylPR6dq4K1e4owsJginkZY3rJbIow KTyZTBW5IQheR5J/bYtOCHsKZrM5cAUYKbS7MBq66p/TOrG9LVQWpTy6HuHbZFCRn97G BsQg== 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=1JNePjB6YqDB7fVq03Mwu2OpxYlWObOTYcRp1X0n4oQ=; b=qBzlLVodW0HYRpdKCZ9fnR8dsK6n9E1IMlpfohzIcw5jLRLfJB3YLCIWBKVWJWW5vT Cl4Vb3OeZqGscC/WXBVNtT0oW5bVhEHLeWSABpK/Il7xNcFsjX1cW36o01VAX2ySIV4N HRzeCc4OAUlTTv18zw4q1xfUv6+JsEPvdiC5Y/yQ6OeiBC7G/ncxSShf8Q8FGI/y8aZB 1AovPBxP5ql+shxrt58D+ditp4+9k8+Kir1wSfrymRKpnFpFxrofGnEFg4atfARjExCv FLKz0s3MHzU7j+3399LJ/R9M91GjvgXI0xZnrYsOWUBWItM3gJTSsuAuFp25LZak/Fpu 9CFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=UZlXvRIB; 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 y82si668602oia.35.2020.03.08.03.54.03; Sun, 08 Mar 2020 03:54:14 -0700 (PDT) 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=UZlXvRIB; 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 S1726475AbgCHKxM (ORCPT + 99 others); Sun, 8 Mar 2020 06:53:12 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:20447 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726339AbgCHKxM (ORCPT ); Sun, 8 Mar 2020 06:53:12 -0400 X-UUID: 4bbe4a8b0c264a27a313218f51fa1815-20200308 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=1JNePjB6YqDB7fVq03Mwu2OpxYlWObOTYcRp1X0n4oQ=; b=UZlXvRIBIwKaaMMI5eTtkFMM1vV8nLU3exQpyAmS3l8lwst9Elh5LPAQ2ctxpngBN8ER/GOt2LBeqZ8Q78M53AjIblZJm8tp+JjRjULJEVQ1dJm3pVooC4oBPDbnclOcm2UzUMs8OplbLq+FgD0n0DQn/oI/APMXZTBG/dpjJb4=; X-UUID: 4bbe4a8b0c264a27a313218f51fa1815-20200308 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 1339047386; Sun, 08 Mar 2020 18:53:00 +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; Sun, 8 Mar 2020 18:52:06 +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; Sun, 8 Mar 2020 18:52:59 +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 v5 11/13] soc: mediatek: cmdq: add jump function Date: Sun, 8 Mar 2020 18:52:53 +0800 Message-ID: <1583664775-19382-12-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1583664775-19382-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1583664775-19382-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 d2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