From patchwork Thu Aug 5 07:50:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1513785 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=sparclinux-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=dthuYtFB; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4GgLPs331gz9sWc for ; Thu, 5 Aug 2021 17:50:41 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238882AbhHEHuw (ORCPT ); Thu, 5 Aug 2021 03:50:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238848AbhHEHuv (ORCPT ); Thu, 5 Aug 2021 03:50:51 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76429C061798 for ; Thu, 5 Aug 2021 00:50:37 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id k4so5301324wrc.0 for ; Thu, 05 Aug 2021 00:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1Os9VBo5ol0/OE/zsUlv+66XdPO6lV3sKgplzYRLLhU=; b=dthuYtFBHhD3kr3ForYIFvZSUVRL+g4AvqqJ5MqApy7GwqLEWJD3FrctTfuA/tYCpx sNlgxyx8sXHQzq89b9u747HAwdEzj71m31DAEjlOG4IqiLXyya660ZghaSD7+gnKMnU7 CHSvH2cOEP9AnKaBxJCKZ0NlqS7ZaSFDoptZ9EgPjxRwVWbSl/2PJ56sjS6SUkW+X0O6 Ev2dNvflaVoteEN2KzSSdFNpcJpkxuD3jT9ftBEozrIwoGOSjpGgiyC7agZv6GyQQhpF DLkjSoc0Xat8zqIdRl9NoSFJ5NLqQoX9ttPJ8DWoB97sP3VtcZzD/pkBZHXH7KMl1fKB GcCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1Os9VBo5ol0/OE/zsUlv+66XdPO6lV3sKgplzYRLLhU=; b=W3S7oKi0/EKlAfs/T6636LgSe05C0qp8hoFRd3Vl6628vqap9Pf13xRVLNrsmdD+Ru 2utPDi4UDLHahXzmWrFKJ5qSBYMWrHLISrNFuvWMgchflahYzC8xSkbUa4AbiHfy1ZEW k/gbtKpP2xG31mkJ7CdZ7Q0Xd8aTQq1bTl7uMp2o1RYqDf7/blu6+SOOwPG5U4Zol0aW Q5EhuPfqe/lKrcljy/nFEOPk/AFItdL0ee7voHxAoqyGlELay/bqtZ7jVBE+/X+IAbKc PwRBFE9QfTjWd3ssHJNlldr/fkk6Ue8mWKh8MdK65oA1n3fthD35ZOu6qATTaI8BPhUl JOVQ== X-Gm-Message-State: AOAM532/uFglxREAJA0f3KORMFFWAGndVOZTEnBfZ52j+4K4ifBsbK09 Pgjs5ZPEIVID9O1TvJNjLnt17A== X-Google-Smtp-Source: ABdhPJw8HrMNDFxDvHEKsrTuUr73DV6B7ZEHdGYK/OgbJyv26WO2sghDmY9iYMdlRWWqluqCuDH5CA== X-Received: by 2002:adf:ed4f:: with SMTP id u15mr3439300wro.423.1628149836117; Thu, 05 Aug 2021 00:50:36 -0700 (PDT) Received: from localhost.localdomain ([109.180.115.228]) by smtp.gmail.com with ESMTPSA id h16sm5154491wre.52.2021.08.05.00.50.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Aug 2021 00:50:35 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Albert Ou , Anton Ivanov , Borislav Petkov , Brian Cain , Catalin Marinas , Christian Borntraeger , Chris Zankel , "David S . Miller" , Geert Uytterhoeven , Guo Ren , Heiko Carstens , Helge Deller , Ingo Molnar , "James E . J . Bottomley" , Jeff Dike , John Crispin , Jonas Bonn , Ley Foon Tan , linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, Max Filippov , Michael Ellerman , Michal Simek , openrisc@lists.librecores.org, Palmer Dabbelt , Paul Walmsley , Richard Weinberger , Rich Felker , sparclinux@vger.kernel.org, Stafford Horne , Stefan Kristiansson , Thomas Bogendoerfer , Thomas Gleixner , uclinux-h8-devel@lists.sourceforge.jp, Vasily Gorbik , Vineet Gupta , Will Deacon , Yoshinori Sato Subject: [PATCH 0/3] power: reset: Convert Power-Off driver to tristate Date: Thu, 5 Aug 2021 08:50:29 +0100 Message-Id: <20210805075032.723037-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.32.0.605.g8dce9f2422-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org Provide support to compile the Power-Off driver as a module. Elliot Berman (2): reboot: Export reboot_mode power: reset: Enable tristate on restart power-off driver Lee Jones (1): arch: Export machine_restart() instances so they can be called from modules arch/arc/kernel/reset.c | 1 + arch/arm/kernel/reboot.c | 1 + arch/arm64/kernel/process.c | 1 + arch/csky/kernel/power.c | 1 + arch/h8300/kernel/process.c | 1 + arch/hexagon/kernel/reset.c | 1 + arch/m68k/kernel/process.c | 1 + arch/microblaze/kernel/reset.c | 1 + arch/mips/kernel/reset.c | 1 + arch/mips/lantiq/falcon/reset.c | 1 + arch/mips/sgi-ip27/ip27-reset.c | 1 + arch/nios2/kernel/process.c | 1 + arch/openrisc/kernel/process.c | 1 + arch/parisc/kernel/process.c | 1 + arch/powerpc/kernel/setup-common.c | 1 + arch/riscv/kernel/reset.c | 1 + arch/s390/kernel/setup.c | 1 + arch/sh/kernel/reboot.c | 1 + arch/sparc/kernel/process_32.c | 1 + arch/sparc/kernel/reboot.c | 1 + arch/um/kernel/reboot.c | 1 + arch/x86/kernel/reboot.c | 1 + arch/xtensa/kernel/setup.c | 1 + drivers/power/reset/Kconfig | 2 +- kernel/reboot.c | 2 ++ 25 files changed, 26 insertions(+), 1 deletion(-) Cc: Albert Ou Cc: Anton Ivanov Cc: Borislav Petkov Cc: Brian Cain Cc: Catalin Marinas Cc: Christian Borntraeger Cc: Chris Zankel Cc: David S. Miller Cc: Geert Uytterhoeven Cc: Guo Ren Cc: Heiko Carstens Cc: Helge Deller Cc: Ingo Molnar Cc: James E.J. Bottomley Cc: Jeff Dike Cc: John Crispin Cc: Jonas Bonn Cc: Ley Foon Tan Cc: linux-arm-kernel@lists.infradead.org Cc: linux-csky@vger.kernel.org Cc: linux-hexagon@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-m68k@lists.linux-m68k.org Cc: linux-mips@vger.kernel.org Cc: linux-parisc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-riscv@lists.infradead.org Cc: linux-s390@vger.kernel.org Cc: linux-sh@vger.kernel.org Cc: linux-snps-arc@lists.infradead.org Cc: linux-um@lists.infradead.org Cc: linux-xtensa@linux-xtensa.org Cc: Max Filippov Cc: Michael Ellerman Cc: Michal Simek Cc: openrisc@lists.librecores.org Cc: Palmer Dabbelt Cc: Paul Walmsley Cc: Richard Weinberger Cc: Rich Felker Cc: sparclinux@vger.kernel.org Cc: Stafford Horne Cc: Stefan Kristiansson Cc: Thomas Bogendoerfer Cc: Thomas Gleixner Cc: uclinux-h8-devel@lists.sourceforge.jp Cc: Vasily Gorbik Cc: Vineet Gupta Cc: Will Deacon Cc: Yoshinori Sato