Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp749708ybf; Fri, 28 Feb 2020 07:00:14 -0800 (PST) X-Google-Smtp-Source: APXvYqxXqJp9od5RBAhH/JKvQh9nZRZh7g479kR/zau8PQTO7Jvl1lnVcpMN1RFIuSL62Wc25c6J X-Received: by 2002:aca:1101:: with SMTP id 1mr3457178oir.30.1582902014277; Fri, 28 Feb 2020 07:00:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582902014; cv=none; d=google.com; s=arc-20160816; b=N7xRtr/Q3XZ9MoyeBbJMu4nCi3iIHtwA2bJyHDtAxpjZZO6nCAeA27dv5hZvj0tmr0 H29+HVZ+uz3iVWwswlgoF0aHaqe9/vnk6w1RxKy/YgYRkrceFbRMqRCZyrcNh/bl+fvz iVCyLW2RLD/zuCZZIwUHNnjXCjaDSIRo1yf8RjTIu1rerjyloBzn6LLDhO7GJfas8EVB XSiIVorc0J2PcgLp3SeezDHD/+4iFYNLXqXQfuPhSTHJ6693Lm2PduOabr0848VDFCIr mVKRXaZbBb/7JhMJQ9KGhnaDi57H4+EGGgucnqzIMoU6uADsS9PGHpZXLiJfH80fftHM raNw== 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=NL2GKs6cWZDfq31vqetafIYcn/LVSVpleZHl8l/E0rk=; b=bUAcOYuOj/A32OKc0gE1Xxcvwk2tJGoYuxzFbeKM+E7ecdWoGkcjXaJj8648aauPcD Y4n31vC3Y7Z+lskqUFzRIoKA86AJvxlj+CIkBBouDTm8gzoZVFdM5HjK6ibwIfi7v0J/ UqoaqU9P4l8gJpKCrkc8pmfB1MUPSgfaNzyVVHj210X7BkrQgJd5WFiT4h1vd49LHeP2 XbbugNTOlGvVt6d+yzKUlH9rqIhv5zJ9A4ZuLLzYEe10iJ8+iFIWlDj8Qn99enMy0JPn bEpdd+jTudeMBPOZkvon5Wviz1hvxC9MMk21UoLrDwMsACaGFUH6cbEFNC/U81t6c1DC 1jJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=SHwf7hfp; 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 i20si1799488ota.82.2020.02.28.07.00.02; Fri, 28 Feb 2020 07:00:14 -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=SHwf7hfp; 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 S1727142AbgB1O7s (ORCPT + 99 others); Fri, 28 Feb 2020 09:59:48 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:3230 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726788AbgB1O7r (ORCPT ); Fri, 28 Feb 2020 09:59:47 -0500 X-UUID: be1125d1dec44581b285cb0689465ad5-20200228 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=NL2GKs6cWZDfq31vqetafIYcn/LVSVpleZHl8l/E0rk=; b=SHwf7hfpS2zxYELI5+4ubreXrNJa4ZKvzA11q7RE6/S7dYdqtCf/9FWZ6bINM7qFOjQvcEJf6Dm5PXyX/RQ9T6NkYlNz30Dun5fNP0YNO04dArV/QaqYGpP9CtbMQAgo9hg2uw+u+L5PZFZ0zImaZ+ZXpcJAuRwRTQGMPk+QaL8=; X-UUID: be1125d1dec44581b285cb0689465ad5-20200228 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 468731037; Fri, 28 Feb 2020 22:59:42 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 28 Feb 2020 22:58:36 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 28 Feb 2020 22:59:23 +0800 Message-ID: <1582901981.14824.9.camel@mtksdaap41> Subject: Re: [PATCH v3 11/13] soc: mediatek: cmdq: add jump function From: CK Hu To: Dennis YC Hsieh CC: Rob Herring , Matthias Brugger , Jassi Brar , , , , , Bibby Hsieh , Houlong Wei , , , "Ming-Fan Chen" Date: Fri, 28 Feb 2020 22:59:41 +0800 In-Reply-To: <1582897461-15105-13-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1582897461-15105-13-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 SGksIERlbm5pczoNCg0KT24gRnJpLCAyMDIwLTAyLTI4IGF0IDIxOjQ0ICswODAwLCBEZW5uaXMg WUMgSHNpZWggd3JvdGU6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