From patchwork Wed Jun 22 16:16:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?C=C3=A9dric_Le_Goater?= X-Patchwork-Id: 12891148 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C545DC43334 for ; Wed, 22 Jun 2022 16:28:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Ewpxoc5gyA29aMFE2k+QYz0KZ6ORoBIjXYqbEMf+mv0=; b=kee+IZTlzHtXNB ZSNvg1zBAVn3SH2F12w3NfnWkFWpRgHuldSuFqEAxlo+Ma+NySEHcaEuMrPuMTUXP+ubJmY4aTMTe B5TjMCEkfItHKcNNDBuJ5w95N8BAi7mv4g9OSpAl+mpv1iKLZgrCU4qHJEcD0k1XB3TT6WC6JO6qD xbeVZ2bjcjoUxc/IqfSLMV62zXTVFkOQmH3k43KxzXHcpP+JyQAQQbGUDaRCO3M+8QmYl555F0d5p 2H3jLhd3eU0ny8kn4Q8TB26BQskDNhOq08A+nYA9qgs7mO3/pFHbKIyAD6rccyl06lVYd7O8AtmfP LXYMmiX+M9xDtJvEPlCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o43CQ-00BW7O-Ox; Wed, 22 Jun 2022 16:27:26 +0000 Received: from gandalf.ozlabs.org ([150.107.74.76]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o431u-00BRXY-AS for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2022 16:16:36 +0000 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4LSpRH6pLqz4xZb; Thu, 23 Jun 2022 02:16:27 +1000 (AEST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4LSpRB30ysz4xDK; Thu, 23 Jun 2022 02:16:22 +1000 (AEST) From: =?utf-8?q?C=C3=A9dric_Le_Goater?= To: linux-spi@vger.kernel.org Cc: Mark Brown , Pratyush Yadav , linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, Joel Stanley , Andrew Jeffery , Chin-Ting Kuo , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= Subject: [PATCH v3 0/2] spi: aspeed: Fix division by zero Date: Wed, 22 Jun 2022 18:16:15 +0200 Message-Id: <20220622161617.3719096-1-clg@kaod.org> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220622_091634_557141_41CE3014 X-CRM114-Status: UNSURE ( 8.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, Here is a small series adding some debug and fixing a division by zero on a board using normal speed reads. Thanks, C. Changes since v2: - improved commit log Cédric Le Goater (2): spi: aspeed: Add dev_dbg() to dump the spi-mem direct mapping descriptor spi: aspeed: Fix division by zero drivers/spi/spi-aspeed-smc.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)