Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp375782ybf; Sat, 29 Feb 2020 05:43:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwhtKPd+L5EqYj8R6jWKUzmwNc+PSZnGKiV1D6pRuW0fPsrYn+YaI9kjBYjJz9YaMldDrMc X-Received: by 2002:a05:6830:1385:: with SMTP id d5mr7161181otq.61.1582983832532; Sat, 29 Feb 2020 05:43:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582983832; cv=none; d=google.com; s=arc-20160816; b=IkTIkfI6rrWpk6lHUpLTFzIgoC9iCep8C6+22gpQmN8ZWaYPWGqTcEmLJ459axcTCr rIkfHgO56iu722n34m7JIZLHqcUOsn80Q35KOtYhkCq8h63pwNGSWeJrDlYXoFZJwguT vC1Y28VTiZ6HnHvwQzF6gSi7xMWVQvxymVCC2TBfLk+ugOZYlKDhxGNP87zKUh6QMYbB gKos24lHcNOLRq2Le0nNng+T7ToAUdxh22IKNWa05WIHzEoeplXjqvk8FGa+lox47fTw Q/9bOn1odNzahT+mSDdVe04TenLuEFwH+qDYGBDQm9GkFVm5THx7YANS3Y1cGQb8yC8A xEcA== 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=cQkQXaq7I6lwdpCSeXRWaWw4mSw0OfTOluhKKLIJai4=; b=Q/ocVHM05b9Q9Y9ZPOxd3uL6IK9fDgvN0vG+IdW3LzLiGYtOKrJFXYC+czFWaY7bBY xkupqv+0xS2VPPX00fZty52TlKEwadjzShvhAlZhNriResWXZCAQboCxOWESe+sZXnPe eM81qCCFxhbwfqP9+7ALNTNuEB4v+itZKbEpQa3xdryIFUtNxyVAT9/Lf1+0aQnAjtVw RRguOn6BBwp7W6dlVpMBztdUY9KyYyXLwI36V7Pt/xnyte8F0bENsTKDFMA/AJ0RIe/M hzBqCjt2HkG4EcY+VyScwNXtdI0+rLfhwvhqRC/4A0490KcQ13H7PA/7WfGJGSzm9+ac ZhqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Bl7TXcQf; 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 o1si3215332otk.154.2020.02.29.05.43.40; Sat, 29 Feb 2020 05:43:52 -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=Bl7TXcQf; 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 S1727052AbgB2Nmg (ORCPT + 99 others); Sat, 29 Feb 2020 08:42:36 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:41395 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727003AbgB2Nmg (ORCPT ); Sat, 29 Feb 2020 08:42:36 -0500 X-UUID: 67885924e42d45bbb4566cf722b0cf0d-20200229 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=cQkQXaq7I6lwdpCSeXRWaWw4mSw0OfTOluhKKLIJai4=; b=Bl7TXcQfBqtUvLvsfquaU/Q4/A9yOiUGvhkKA96tGkx6wipngKxWXp5jlIgbVXRiSetfIYRmqOQ1576rVrjXShwRQoyGxhD6h96FD4TE/R04oLapB6Z0QJOq1lp51yf5b6ENVB0pBEfLCkA1r0B0QeJfew122+5DAvPXsJoDUe8=; X-UUID: 67885924e42d45bbb4566cf722b0cf0d-20200229 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 703551717; Sat, 29 Feb 2020 21:42:28 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 29 Feb 2020 21:41:27 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 29 Feb 2020 21:42:04 +0800 Message-ID: <1582983747.21073.7.camel@mtkswgap22> Subject: Re: [PATCH v3 11/13] soc: mediatek: cmdq: add jump function From: Dennis-YC Hsieh To: CK Hu CC: Rob Herring , Matthias Brugger , Jassi Brar , , , , , Bibby Hsieh , Houlong Wei , , , "Ming-Fan Chen" Date: Sat, 29 Feb 2020 21:42:27 +0800 In-Reply-To: <1582901981.14824.9.camel@mtksdaap41> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1582897461-15105-13-git-send-email-dennis-yc.hsieh@mediatek.com> <1582901981.14824.9.camel@mtksdaap41> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: CBDBE3BEFEB61174315C589E7E673FE40EFFB573D8E4196F5D7D6274AF11E8562000:8 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 SGkgQ0ssDQoNClRoYW5rcyBm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