From patchwork Sat Nov 5 19:19:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 1222 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1137072wru; Sat, 5 Nov 2022 12:22:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5t2v6sB46bLpw+G0zlH/UKuSg+XCYMQe0stIYOHLGS9+CSmU9CTfun/IF2PA2pSZgUD6v4 X-Received: by 2002:aa7:d506:0:b0:461:565e:8673 with SMTP id y6-20020aa7d506000000b00461565e8673mr41977781edq.416.1667676152598; Sat, 05 Nov 2022 12:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667676152; cv=none; d=google.com; s=arc-20160816; b=rZGjIlSIu9aoh6F3FwioLjjZb/ZcHWrBk0AdOn6ecIYpOc2ZScuhOqRLN24H6Bzzs+ Ub+e5NIZrTU4B3R6lec58xTdb8DexPxVbfOIxW0JqpWuTg1q+rZez7qP/M8zzO/gEkE1 FZXnYHoJZ7nb5MWMQQnLJCzH+Qks3loFdP+N4a+bnkozjCj8BrlOunC5oLfC45RCJ9M5 llDnLC8IWOyt42MpJX7rNW94u7HibE/tWU3wujV1ug3brUI+dlVCkwF0n/9vM4lHx+L0 LpEmASKW4k5jsY6gHZpxhHjbGIFLjzzhTl23rB0/fbL/G3U7qOGb3TK7soroY8s6VoU8 4lDQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa19-20020a1709076d1300b007a6ec03b13bsi3708899ejc.799.2022.11.05.12.22.07; Sat, 05 Nov 2022 12:22:32 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748685189500663542?= X-GMAIL-MSGID: =?utf-8?q?1748685189500663542?= 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(-)