From patchwork Thu Apr 6 20:11:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13204077 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 01DB6C76196 for ; Thu, 6 Apr 2023 20:11:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id BDB7FC4339B; Thu, 6 Apr 2023 20:11:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78143C433EF; Thu, 6 Apr 2023 20:11:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680811887; bh=RG0+qH0bHgBw6z23tjhDO+t3nbzJJKefNMSC7QzCp8k=; h=Date:From:To:List-Id:Cc:Subject:From; b=KUdisQZQ4Ri7N9ofNoSule7tMwdz4oVZtIrT/r2rHBqMhFGVEZRj7QISH2IsH50ga N7fCCv6X8g15yq+hbd+ZYOkktMS6SX9bryAmJ+tADY/iCuFu5L33rbnMh0yHBBT2qT T8qVB0e86XM40h8UYs8d4Wf0gfIs0f5Cjj5pdy27rsjCcri9/wKqo/c2jBRWmNyGqI xEni9Nnc5ZyLsDPlQGY5xQgduff+Jgt9gzMt9Y8ovDw3tEGeci90paykp74Jo+nN13 QAVy9taWLBfBFHgqd5/QF5aU9Nb4SRtANIsqwSVxqGseqjlVDcuGuQMEXZtmKqJ2rk lRMh1o4rOf6ug== Date: Thu, 6 Apr 2023 21:11:23 +0100 From: Conor Dooley To: arnd@arndb.de List-Id: Cc: conor@kernel.org, palmer@dabbelt.com, linux-riscv@lists.infradead.org, soc@kernel.org Subject: [GIT PULL] RISC-V SoC drivers for v6.4 Message-ID: <20230406-islamist-mop-81d651b8830d@spud> MIME-Version: 1.0 Content-Disposition: inline Hey Arnd, Please pull some updates for the "otherwise unloved" RISC-V SoC drivers for v6.4! The bulk of this is my fixing my own driver, and there's a fix in here to make sure that we don't hit randconfig build issues once !MMU is enabled for 32-bit kernels. Thanks, Conor. The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6: Linux 6.3-rc1 (2023-03-05 14:52:03 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/ tags/riscv-soc-for-v6.4 for you to fetch changes up to 4dd472bdafcb660bea17bc63a97d06e24fcb36ed: soc: microchip: mpfs: add a prefix to rx_callback() (2023-04-03 20:32:43 +0100) ---------------------------------------------------------------- RISC-V SoC drivers for v6.4 Microchip: Mailbox controller & client changes for the system controller on PolarFire SoC. The controller bits have been acked by Jassi. Primarily the changes work around a "hardware" bug (really the system controller's software, but it may as well be hardware as customers cannot change it) where interrupts are not generated if a service fails. The mailbox controller driver is tweaked to use polling, rather than interrupt, mode and there are some changes to timeout code required in the client driver as a result. There's some opportunistic cleanup that I performed while doing the swap too. Canaan: A single fix for some randconfig issues that crop up when !mmu is enabled for 32-bit kernels, due to my changes in a previous release that swapped out select based entablement of the driver. Signed-off-by: Conor Dooley ---------------------------------------------------------------- Conor Dooley (10): mailbox: mpfs: fix an incorrect mask width mailbox: mpfs: switch to txdone_poll mailbox: mpfs: ditch a useless busy check mailbox: mpfs: check the service status in .tx_done() soc: microchip: mpfs: fix some horrible alignment soc: microchip: mpfs: use a consistent completion timeout soc: microchip: mpfs: simplify error handling in mpfs_blocking_transaction() soc: microchip: mpfs: handle timeouts and failed services differently Merge patch series "mailbox,soc: mpfs: add support for fallible services" soc: microchip: mpfs: add a prefix to rx_callback() Jesse Taube (1): soc: canaan: Make K210_SYSCTL depend on CLK_K210 drivers/mailbox/mailbox-mpfs.c | 55 +++++++++++++++------------- drivers/soc/canaan/Kconfig | 5 +-- drivers/soc/microchip/mpfs-sys-controller.c | 56 +++++++++++++++++++---------- 3 files changed, 72 insertions(+), 44 deletions(-)