Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp774196ybf; Fri, 28 Feb 2020 07:23:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxjRSpP+qOpodmbO1nh+rkj0eqA49B+QPQIyhyWf5+xyf+GxNFAv2jrJpvPhULj+x5qL2AH X-Received: by 2002:a9d:740d:: with SMTP id n13mr3919282otk.140.1582903417772; Fri, 28 Feb 2020 07:23:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582903417; cv=none; d=google.com; s=arc-20160816; b=SXVDoV4PAQWnpes8882bb+DlRnwe0s9QKmbrCF2p/Yu7VVB/cVQ8VnYf2dNjA91uhN QQQ7sMABUrhTiOTT3zNk8RA5AGe9qMzrojRCl24bGc71VVQ6CHrx5rdQefeGCV104LDu 1kpv1lHqTRaRJc9LoR98thAjotvcDug/Ir+Stipp0LAOliW5/GxkJ8bz9umm7M+V6E4s JSLI/r6KkNyMSKNGroD8hNEECj8TXnNU4KTEF2C5zZWZHdxoxTSVD2C/My1Nt8OPxnV0 CT4n9o8zS3LHMozchA+aPyonNcR7tqVSjCcUkcl3iFQ9wHqt6drOXuQSs4czI3NOTOkT VFYw== 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=ifFGmBxdS0EJEl6Bjk1aR1VMhenXnvQtJT+O9VME79I=; b=LgfEoVnTVUQsttWsE2fO0EHG/e5BP+q96y8Z7wryotnX+3TQ8+zP24G6iWaQzhApxe RYkdSH4C56iLeKYUz1Wz3gSc1ffDEPxy9BU3UB7llyOXjSN6z3re+9HGcCesn7uYqYLt QoDUdbLRRVPXjt91IojS/sbBTcNdE5P2OQsAxX+QEooeBQX0vi8AssvhTVu9Qu7xn8KF h4z/sNSRE59TK5kECcEiunqfCJP94/e01cM2qBjLMZSX0q8nFmpgw0PWECpTq4gMSBQ6 sbzMwMyowtEyff65r74YqvDPZG8f3jpJUVQKtSU2y4PNBQr+tuWAJQNV715XgKzkZAs1 Ihyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=jahVD06M; 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 g25si1822947otp.20.2020.02.28.07.23.19; Fri, 28 Feb 2020 07:23:36 -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=jahVD06M; 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 S1727164AbgB1PXH (ORCPT + 99 others); Fri, 28 Feb 2020 10:23:07 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:34115 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726650AbgB1PXG (ORCPT ); Fri, 28 Feb 2020 10:23:06 -0500 X-UUID: 092b7c56750e4f31a675daafab3161c7-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=ifFGmBxdS0EJEl6Bjk1aR1VMhenXnvQtJT+O9VME79I=; b=jahVD06MDfTO5KYynj8KIJMu767Sq+hIRk7dqnTKJXFoK+YJoMqAk9RgQDS0sGYVav+qD9spnUJ1YONi1fUCp6MAk5WE1KZnLEbiNHC9Ow5NY4EpnRh8S/yAeeRT3weqm/8UWouAjXekUEUZs6CNu7B4Duk5hFDjcmEzZja2kVw=; X-UUID: 092b7c56750e4f31a675daafab3161c7-20200228 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 13775098; Fri, 28 Feb 2020 23:22:58 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 28 Feb 2020 23:22:03 +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 23:22:39 +0800 Message-ID: <1582903376.14824.16.camel@mtksdaap41> Subject: Re: [PATCH v3 02/13] mailbox: cmdq: variablize address shift in platform 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 23:22:56 +0800 In-Reply-To: <1582897461-15105-4-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1582897461-15105-4-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 WUMgSHNpZWggd3JvdGU6DQo+IFNvbWUgZ2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