Message ID | 1500458142-19243-4-git-send-email-anup.patel@broadcom.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3C82D60388 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 19 Jul 2017 10:03:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2637826E40 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 19 Jul 2017 10:03:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B1032862A; Wed, 19 Jul 2017 10:03:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A48C426E40 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 19 Jul 2017 10:03:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=2fS6hRnZ3AsYszenoc3PZLmY6L8W8FWqs5+uL0bc1sk=; b=KC6GQVxRnD72ixZzHLofKzZbuo aFnDAQnwQgTaadqrQBJH/BW/or2MmiZug7zBgAe2U/MuqeXD+g87tre1yWRwR/J7kST94E05qDd1R DmkrNs3IkbcZi+oAWgxAajY3rizP4ono4+1TPTHuYQAvVsk6tRwQXSbtlALVtboolwhfhAeFKpD+n KjlY9CD6FTv3kauBsV3L/mVfAKk8CK80vyoFIB59XGcUFi+kdwJ6B0K5mxiZlL1VdIxFwFhMuHBsf U0Q+ftKqOZAZzwr77TG67YpWMZh30UYcGDlryb8IDwRkAkxyTzbOl3MEMoe5Mmf4Z6BWF8EOQGeHZ +XbcabVA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXlp5-00011e-H9; Wed, 19 Jul 2017 10:03:15 +0000 Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXliy-0004wb-Pd for linux-arm-kernel@lists.infradead.org; Wed, 19 Jul 2017 09:57:04 +0000 Received: by mail-wr0-x229.google.com with SMTP id f21so52038wrf.5 for <linux-arm-kernel@lists.infradead.org>; Wed, 19 Jul 2017 02:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MMisM5mcorXGMuOn2g169zP8JloTy8BtSHmww7hbTCw=; b=WZwyV9plupFVlf2mFGHn7+PI9vgfa0b4eBD25asUmFH9r6EgB/dMHuQui7na9+eYFT 5z0onXWFCsGgkd88qwJWU3k00evdtjKIeijdLwTrq5dDDZiCrWJggPpz9Awcs6a/SsFQ n+U08as6Ah/wixK85pfd2K8VWqLX1nqeX7do0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MMisM5mcorXGMuOn2g169zP8JloTy8BtSHmww7hbTCw=; b=Pt7Q2NVlzZ1nSzM6as3J2sHy4mWqpM7fa3VRSAF5PjMBcx1+tbQTN/ENYZaeZh6a8a URe287MNoaad/N7zfaGmorCt0/TZYkYLmbxRVoefDgq7Kj3TiQI/7djNCqUN1datvFrG fzaWWqFvMoPQrhtyZUkKcNhQMEcVwzvVginYbSEOgusm5aT+0H//yJPExdoWmElL5IwR iwn6s5h5MplWH2dTZpEnJAxT9Yu81nErDyi4W8IcAodhaK70ED9Vg7Se+DWHVxKZMMq0 uqeacsXaOiMVoJPJZFAzoEt15yXGwij2z9kTVX14erElNzX6wxQsdpdscR5w3j1bDWBQ JjmA== X-Gm-Message-State: AIVw112beU3tgKcp/El6B0IxS3F+WHQs+bGKlKxRW58PYaIR4J8L+xrz 0/4pH2/m62W3GzSa X-Received: by 10.223.139.134 with SMTP id o6mr3841281wra.207.1500458195109; Wed, 19 Jul 2017 02:56:35 -0700 (PDT) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id 16sm20181480wmk.13.2017.07.19.02.56.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Jul 2017 02:56:34 -0700 (PDT) From: Anup Patel <anup.patel@broadcom.com> To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Jassi Brar <jassisinghbrar@gmail.com> Subject: [PATCH 3/6] mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE() Date: Wed, 19 Jul 2017 15:25:39 +0530 Message-Id: <1500458142-19243-4-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500458142-19243-1-git-send-email-anup.patel@broadcom.com> References: <1500458142-19243-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170719_025657_929630_940B52C5 X-CRM114-Status: GOOD ( 10.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, Florian Fainelli <f.fainelli@gmail.com>, Anup Patel <anup.patel@broadcom.com>, Scott Branden <sbranden@broadcom.com>, Ray Jui <rjui@broadcom.com>, linux-kernel@vger.kernel.org, stable@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/mailbox/bcm-flexrm-mailbox.c b/drivers/mailbox/bcm-flexrm-mailbox.c index a0be2ea..46ad305 100644 --- a/drivers/mailbox/bcm-flexrm-mailbox.c +++ b/drivers/mailbox/bcm-flexrm-mailbox.c @@ -97,7 +97,7 @@ /* Register RING_CMPL_START_ADDR fields */ #define CMPL_START_ADDR_VALUE(pa) \ - ((u32)((((u64)(pa)) >> RING_CMPL_ALIGN_ORDER) & 0x03ffffff)) + ((u32)((((u64)(pa)) >> RING_CMPL_ALIGN_ORDER) & 0x07ffffff)) /* Register RING_CONTROL fields */ #define CONTROL_MASK_DISABLE_CONTROL 12