Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4950087ybc; Tue, 26 Nov 2019 18:02:41 -0800 (PST) X-Google-Smtp-Source: APXvYqwuLZ3Y58LMOH16wdIlTiLDXI7VjmJmSBnO1hIZvfwZbgOPZcPbGSMI/72TybCg2qomtDnG X-Received: by 2002:a17:906:751:: with SMTP id z17mr46017842ejb.313.1574820161100; Tue, 26 Nov 2019 18:02:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574820161; cv=none; d=google.com; s=arc-20160816; b=shd6TKVlQ/sD+Uzq29jI1z1m5o7WyTRnRnXsus27EOoL05d4Fs0zXarJUEMVW5tZ3H jIJG39QaQcG1shj+QmsFM6z/MW07kA4ek5mVzqNcLxuIALqXMlV1y6e1aYY/bOV/3dcM khK6f0tl+RbCxHjrEclfsZS7G/apni1pSBOSTnhMfRpl1vlpgCq+ZOwwn3OL66Et6FwX BrwBwVKtPV1nvJ70ksLRqN6TXA67bgfymKopF6Wyd0tJeHZelq8BDbo3IE+xtFI5Idj4 uA/mioHS4lpa0Pk30+z6rTKj4byGRgKn542CyVY5mym8CRSQv7j3G4SIs4WiPKpbQdXn C9Gw== 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=/WG0/ZIzndL78ejy8T/2Uj5Sk+deMI/YNbJUjaiPzhg=; b=t0btRf5dsD0fZN2ZJDY442Txj6337nc+7e1Wf9l2alEHMo8+5V3b8eUtPCij0ACaqb pipBDkEtNKTy5gBeO/c0yNKVa+Jp7DS5v0TVVFbvSPMUlf4cJg28xOwiS+SQDB+AiLLE nweTZP64VP3nd11v/q0U41Xq9yZ3jT7pnlMl7CM/rMwldLTMVycR7dP583OiMCv/jtFi //XOqThyhDqywxb1xBFk/fVgUhhy4sxSWybo8CClitXXiOTVI7ZwrLUzi46tq/wLyBVR IfkQb8fmZOOtVwCBCmJ6m9D2ACvW3OGjWVFoywwgabdzcpWVZiPT6yEKxe26xTyOuZC9 8RuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=C1h9blj7; 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 y21si1671148edi.386.2019.11.26.18.02.17; Tue, 26 Nov 2019 18:02:41 -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=C1h9blj7; 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 S1727004AbfK0B7X (ORCPT + 99 others); Tue, 26 Nov 2019 20:59:23 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:45904 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725871AbfK0B7R (ORCPT ); Tue, 26 Nov 2019 20:59:17 -0500 X-UUID: 07f47f5d424d454ea45c974d7b472472-20191127 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=/WG0/ZIzndL78ejy8T/2Uj5Sk+deMI/YNbJUjaiPzhg=; b=C1h9blj7FtVnTtcGXzD2ALcaw/frEBeEQa/e2Js8gEdWRiCXIpihwmmYkDlBGNUlJcbjWMb5ZjssoBhMhJwxAmciU0It01xPUUdbnEmLgO71tVxPZ5EKshtNPqGPnAQr5Fh5IpSwELk7eURhy1C/JDG81Ic6v3sR04PYhAnXMfk=; X-UUID: 07f47f5d424d454ea45c974d7b472472-20191127 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1310537841; Wed, 27 Nov 2019 09:59:10 +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; Wed, 27 Nov 2019 09:58:59 +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; Wed, 27 Nov 2019 09:58:18 +0800 From: Dennis YC Hsieh To: Rob Herring , Matthias Brugger , Jassi Brar CC: , , , , Bibby Hsieh , CK Hu , Houlong Wei , , Dennis YC Hsieh Subject: [PATCH v2 02/14] mailbox: cmdq: variablize address shift in platform Date: Wed, 27 Nov 2019 09:58:45 +0800 Message-ID: <1574819937-6246-4-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1574819937-6246-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1574819937-6246-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 U29tZSBnY2UgaGFyZHdhcmUgc2hpZnQgcGMgYW5kIGVuZCBhZGRyZXNzIGluIHJlZ2lzdGVyIHRv IHN1cHBvcnQNCmxhcmdlIGRyYW0gYWRkcmVzc2luZy4NCkltcGxlbWVudC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