Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp302694rwe; Wed, 24 Aug 2022 00:56:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR6YLfPEWU2kaNt8u8xSRhNkNA15jzZuzhZu0y+5YQ9xQx0wLBg2Bjk8qLpcmCXOvczSuJtp X-Received: by 2002:a17:907:2c5b:b0:73d:6dca:62e5 with SMTP id hf27-20020a1709072c5b00b0073d6dca62e5mr2159560ejc.341.1661327794672; Wed, 24 Aug 2022 00:56:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661327794; cv=none; d=google.com; s=arc-20160816; b=IHGTTqL24YlrQw+UCDhWPtfcbLzAMOUBibW+lSxR/p0//cVUH2KcVSuXQSxAA2T/bZ abnJT0oOH7sVd/JgTP3SZU2eZd70kD4MOMLvbOYTgdWNdXqTkvtx0ZDs55ZMwvwqLYde 3X1U6LVxEloyUDoDTKjwVMQ8LTm+RpZckzfb06VDe2uyV9wqqjXG1pH9tbGspLLyKJFy aK7zHaYR7Kj1XLVsYgNuXi045wEs/GbvZiCmIs+v8mf03CTOlGZyEzUvtlnJK/QwakZn 5k6vBXoRr06NsuqSwsKRUkM/MljpaV9075gIKtQ/I1Ihi9VkmhcqQaxcsv2t7CJaRTTr 7yfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=g0SnJ5e9estMdgKVA32pSy2duPvxEgahFUHgUGp/AfY=; b=F35qnxPNg2klP4/l4Mw6CEHEdUVHExzUVnTktYkt/GLV2quFIkCQ44lR4AktoGPW07 tbvuKpwq9h//OAjg19tByEu2G8WMY/Y5+Mm8CvnOVDXMVgdPj79knufLjnsrN2zGNtjZ OPAwAWiF2r3fpBcG/AQ2uR/e+vww23J2dXKDcPJTHblTtWbZmJNa42GWPO++wQcs6VcD a+B659V5RGTFuLcaN3qE40SuGVnXtkAkIGzgD7NXDPSYRnp5aY2tf8wAX5ZXxX51nkpH 5Hy2JdPB413K5mI/o/MX62BlURDbiXAsTzc6aRp6lHT/wiFIsGuvO5amVgHUtpqY6nQS cepQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=q3DQ1Oqp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt14-20020a1709072d8e00b0073dc0a15a6asi292238ejc.8.2022.08.24.00.56.08; Wed, 24 Aug 2022 00:56:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=q3DQ1Oqp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234882AbiHXHIm (ORCPT + 99 others); Wed, 24 Aug 2022 03:08:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234428AbiHXHIh (ORCPT ); Wed, 24 Aug 2022 03:08:37 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1F4A9322E; Wed, 24 Aug 2022 00:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1661324916; x=1692860916; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=E7dBTFLuHmlRMo3zzffCQ2u+pMWgaHQ/XvLs2QO7rXE=; b=q3DQ1OqpooGfks1ibWc3Y7jTWeD0RqGw01ilLm6qr5OVau5wik/jrYA6 H2P1yc9BqNtz/fjzPQzM5oVlOfhTcaB6YGlgZ1RwuXEmHiS0zbw9Ps2bx rEerUxD4WTKFPUyfhEycbZOafr/ZDGt8K7LTMD/+AzvHkUQzGvs0ZylXt JFzb79Y2cKVsju/4MSE29eVBfYZX/YkVn5fPSyxjWuz0SXwRQHw7LRJKh AdfV/hrLvWh2IOO7j119CBlJkRyZN1ZjY1uDqMjzYpXBWUDobLL+s5quU yJqDULfjWlpDaoIzWdhk97SqIh4iFvFPy4sx6TYpOU9ujTQO3u6c/406d w==; X-IronPort-AV: E=Sophos;i="5.93,260,1654585200"; d="scan'208";a="170677304" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Aug 2022 00:08:35 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 24 Aug 2022 00:08:34 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 24 Aug 2022 00:08:33 -0700 From: Conor Dooley To: Jassi Brar , Rob Herring , Krzysztof Kozlowski CC: Conor Dooley , Daire McNamara , , , Subject: [PATCH v2 0/3] MPFS mailbox fixes Date: Wed, 24 Aug 2022 08:08:08 +0100 Message-ID: <20220824070810.52219-1-conor.dooley@microchip.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey all, I spotted a couple of bugs in my mailbox driver while developing some new features. None of the features these bugs relate to were in use so they've gone unnoticed until now. The binding screwup is unfortunate and I don't really know how I misread the register map so badly. Thanks, Conor. Changes since v1: - add the extra fixes tag & Krzysztof's R-b for patch 1 Conor Dooley (3): dt-bindings: mailbox: fix the mpfs' reg property mailbox: mpfs: fix handling of the reg property mailbox: mpfs: account for mbox offsets while sending .../mailbox/microchip,mpfs-mailbox.yaml | 15 ++++++++--- drivers/mailbox/mailbox-mpfs.c | 25 +++++++++++-------- 2 files changed, 25 insertions(+), 15 deletions(-) base-commit: 1c23f9e627a7b412978b4e852793c5e3c3efc555 -- 2.36.1