Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp2838659rwl; Sat, 5 Nov 2022 12:34:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5LSymL+j03X2P6X7xLYOGo/WkKu3zyAMC7qyXj7SJTZLDLq0NzvXnKpL2ojt14A+KXV4Jo X-Received: by 2002:a05:6402:51c6:b0:462:6545:5d88 with SMTP id r6-20020a05640251c600b0046265455d88mr42339112edd.304.1667676889015; Sat, 05 Nov 2022 12:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667676889; cv=none; d=google.com; s=arc-20160816; b=CSxOLk08jueaB86vStFWc0cTqymtcIK6o0+TtzPCERtPI0aEXJFVy+LJNHQii2vtub AOqSo8engX7IwTgQZNXnHApOOteSm3pNPvC6y1V+o5YvOXBcm17oIMV7dzy6Ges5vJtD KcM12dcehZwdNJVoA9eV3pz6XVOrNnsGirmBg2exhUOutr5+DAcbBzzVsQLwrhK1P9cF t8qy3kURqXxaWB8zz8JbdVphdJaqJTU4PI6cO5hAl+A3U9bSwPu42kNX693mgkKZi65g m9wa9SJXN9dJy50TJbjQat7omPnWc2yeFyI84XnWBbRC6dNycLY7YaPDGwBf2mm5ppJC eYGw== 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:feedback-id:dkim-signature :dkim-signature; bh=wr3CC6d17Ycv35CedFvrNV9NcDbjCIEiEXd8GM+KReI=; b=yd3OgUi70HHHjsX0YffOdYQo5y0tm4ivMUjHeekAsbnHHynbw1CzlD8dhEvs7my8/k qLGOUCYGZljeJ9R/231A7vU0yfKsJUxCE2rrLc2FCLJThLZY+UoMgri1IlBSU3J/dPrG xOkeE5+/E6DH009cJFF6sXhp6pppmpsNofrgF8TEvW1lZcjObj/DwdRA7h+SL7mdyP0r eot0wclpG9NHBCwcDFCjKJVlU6xsE+7iX26LEWzO7vus6gzRkj+uaBzBr65dK0O/t60I jtszdX2buMtOHLBBRQLGbzLYyiCKakAPqTNtyrXiebOnok5G1fwP+TWk06KDO1qGV0oJ VgNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b="YZsoe74/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=W8FlJuE7; 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=NONE sp=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr14-20020a170907720e00b007adbf64b5f4si3130496ejc.768.2022.11.05.12.34.25; Sat, 05 Nov 2022 12:34:49 -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=@sholland.org header.s=fm1 header.b="YZsoe74/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=W8FlJuE7; 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=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229888AbiKETT7 (ORCPT + 96 others); Sat, 5 Nov 2022 15:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiKETT5 (ORCPT ); Sat, 5 Nov 2022 15:19:57 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09DDDB841 for ; Sat, 5 Nov 2022 12:19:57 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1DB51320031A; Sat, 5 Nov 2022 15:19:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 05 Nov 2022 15:19:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1667675995; x=1667762395; bh=wr3CC6d17Ycv35CedFvrNV9Nc DbjCIEiEXd8GM+KReI=; b=YZsoe74/9QaOWXgQS/VMB9CFuOEpj1fzYeP0pcuBP XcdctKSZGS0Sw8GoruENLL0nXNyB8yHDFNq4Nq3xzgPqVY3trpHGWwZmzv5mPSBy qjIcSiNPyQ4CRhCtO1ux+iMCXqP0KZbDZLRUxuYqw5lnzr3abx6zoU+S8S37ylrF N73Zbt102JVgr2mI+pCuk2GzOB9ScenZMFJimlP8bBU6gvqREGKTV/3aQTdMHI3x fpHIe/UgOWHBQpjavBPMwPta053AGw17UAdTY3WlS36XAAjXviyD7v8watSoo05G 1EUldJEqZNmcEe9tbs7GyFgUrpNXfPhwo7029eFqZBCmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1667675995; x=1667762395; bh=wr3CC6d17Ycv35CedFvrNV9NcDbjCIEiEXd 8GM+KReI=; b=W8FlJuE7vyO6SV8REZMYlpNYhqQRzuTEVIuFp4s6/j11VtQF/hU diPz8BhI6A2sv8mKBQp3H8Tww4zKrMANzdGizPzkZmEIoZfXaf9/niIm31Cj2aDD iu3sYYlmwVgXREautXShq7TCvrIDwGepeBZlMlxU0WRFTngeeglB3N3mWa9e37xd tM4056nql647OZwcLYGgpJlc861fQ+kkulj5OH8jmdZ0tE0bu8wwxCyP4GFMp2GW psuf3GPLgSUZs23DrsD1PZkKDI9hufuIgPhC1tCsh0msmTK5x4mJQF4GpPJGnBU+ WgVkUZb0IZC1RhM0mQ/aZM5w42hQMcSDHnA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdeggddtjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeekveelhfejueelleetvdejvdeffeetgeelheeujeffhefgffefkeehhffh keekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Nov 2022 15:19:54 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec Cc: Ivaylo Dimitrov , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Samuel Holland Subject: [PATCH 0/2] bus: sunxi-rsb: Fix poweroff issues Date: Sat, 5 Nov 2022 14:19:51 -0500 Message-Id: <20221105191954.14360-1-samuel@sholland.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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 This series fixes a couple of issues that occur when powering off a board using a PMIC attached to the RSB bus. These issues only affected 32-bit platforms, because 64-bit platforms use PSCI for pm_power_off(), and the PSCI firmware reinitializes the RSB controller. Samuel Holland (2): bus: sunxi-rsb: Remove shutdown callback bus: sunxi-rsb: Support atomic transfers drivers/bus/sunxi-rsb.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) -- 2.37.3