Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2005501ybh; Sun, 8 Mar 2020 19:20:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu1uXaPP6kankkwQqEJirXFrxZd130ppz7A4SyWua/+7Htuw3za7eQDFBKERa6l0wInsFhY X-Received: by 2002:aca:b70a:: with SMTP id h10mr10473487oif.20.1583720418626; Sun, 08 Mar 2020 19:20:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583720418; cv=none; d=google.com; s=arc-20160816; b=vNMrkKIiXUtTNBTzo0IH6fCj4Bvwr5wdz5i/kya4FD0DM/4QUTlZ7yHWt4jRUCBlDC OL4Hgw/itdmxIJ2sT8+AyMi3v9kBc8w9aTOekLnPeq3cEHqMrWio+wv8FEGXhbut1O0J HPQHS5DDZWbE8STrCfK+8mJ4D+FNfM9OWmEXnvLGzFjzrWy8HfmOZHE9JIFRQNlZx/BV i9xRw+yCzJuwkQIjswk7GZBp8qWdzTtdQfN5OSXuO2t3q3MUU97tumu/r/0+DUP50dQZ 8RMe0ijjZ64JUk+Cwo/EbC679Sz0hRkb64DnKs2ev3QNeBx1Ej4Pwq4MNuv4EhvWZFck 3aWA== 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=lji2RDfjYiKO0JLX1yRMYaI2Rm6gbe1z5aG0az/wNdo=; b=S9bO8Y1n9TjKHkMgyKy5Lij/gl4WQ3k60T8yhhutQp6PyoYDkceWt1gmdGyt3w4VtT QVuKxD/Ti6bMLUExIKT1v/uhm+dcJyklyKBiGtZkpkSFaBcNxjBOTAINYPVIzLubO6By rQ8b4AR32Me0YCYv3UsC74vNpPrfJKeqn4/s+d0mxzwKaJu1mTPALhMiXlSA9KZIWTfU LBAk3fuWXMjbNmntchSSEju4hGLkSM5sqw4IqyRqFoL/XmUeU0WmP9/IW3SXr7zzue2+ BJVEoiaX6CNVjSApUa/GfFnAhjwxxk85BXupvUBFHfubwpfx6N0hOd5jWej4CeQ+N0Ga +C1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=gjOLEitI; 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 m10si5693304otp.119.2020.03.08.19.20.06; Sun, 08 Mar 2020 19:20:18 -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=gjOLEitI; 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 S1726898AbgCIBsY (ORCPT + 99 others); Sun, 8 Mar 2020 21:48:24 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:28167 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726875AbgCIBsY (ORCPT ); Sun, 8 Mar 2020 21:48:24 -0400 X-UUID: ed99637e9f564bcc8bc0e65f8c9787cb-20200309 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=lji2RDfjYiKO0JLX1yRMYaI2Rm6gbe1z5aG0az/wNdo=; b=gjOLEitIurGZfl1wvPLfp7ggzS59GLiZHk8RZuNQKQ0b0GULsvKPS4CeSnIBsDS5m9nYxFfohwwNVy3C84Fmceo94BXePwla9bt6naF1eMNBKVJ9nZP1VSm7Afw4vRQA+UjzMtW9oOHda/LZkn1y+0/WuIMOUY5v7O9HwPWxxgo=; X-UUID: ed99637e9f564bcc8bc0e65f8c9787cb-20200309 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 1109298110; Mon, 09 Mar 2020 09:48:18 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 9 Mar 2020 09:47:20 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 9 Mar 2020 09:48:35 +0800 Message-ID: <1583718497.28331.0.camel@mtksdaap41> Subject: Re: [PATCH v5 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: Mon, 9 Mar 2020 09:48:17 +0800 In-Reply-To: <1583664775-19382-12-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1583664775-19382-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1583664775-19382-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 SGksIERlbm5pczoNCg0KT24gU3VuLCAyMDIwLTAzLTA4IGF0IDE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