From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EA1CC43331 for ; Mon, 11 Nov 2019 17:06:31 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3E78B20679 for ; Mon, 11 Nov 2019 17:06:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZU1SmgSj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E78B20679 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pwsan.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:Message-ID: In-Reply-To:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MpOAegZwMYiVWnnMrPmwgw6Mu308WebLwmdInnzVolY=; b=ZU1SmgSjvvkDBy Et2FKmChND8Q4h8KoPlETYKiRShP68rQoPI08ISOQsduOhoeCSY127U1b13GGNo6pPhfl4nHLp0Q4 1dyuVBLuEtPOx6fJtG4Q554ag+2ApC6z3b6vIJU0OPjrr10UwaVp21vpC1WlzDBArERRAmg1CK5A+ Ia71rKW8fIgwlcG5eM+QWLn1E9HJQoRQarBlJG9o4E8cPQF6uTvLerz1v6EvajMO0xdBgLZkxX10G SHJQMXAyQ2hC7uaGGhKMlJcxgxbqvjo1aJJgXIxqf60VJmwv46Kq19zcWA+IwqJSfvzIvgtcgL9y3 MCpU948LKPGFgJokFz1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iUD94-0000Az-Ep; Mon, 11 Nov 2019 17:06:30 +0000 Received: from utopia.booyaka.com ([74.50.51.50]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iUD92-0000AZ-29 for linux-riscv@lists.infradead.org; Mon, 11 Nov 2019 17:06:29 +0000 Received: (qmail 31259 invoked by uid 1019); 11 Nov 2019 17:06:26 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 11 Nov 2019 17:06:26 -0000 Date: Mon, 11 Nov 2019 17:06:26 +0000 (UTC) From: Paul Walmsley To: Anup Patel Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers In-Reply-To: <20191111133421.14390-1-anup.patel@wdc.com> Message-ID: References: <20191111133421.14390-1-anup.patel@wdc.com> User-Agent: Alpine 2.21.999 (DEB 260 2018-02-26) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191111_090628_179528_18F412D5 X-CRM114-Status: UNSURE ( 7.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Palmer Dabbelt , "linux-kernel@vger.kernel.org" , Atish Patra , Alistair Francis , Paul Walmsley , "linux-riscv@lists.infradead.org" , Christoph Hellwig Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Mon, 11 Nov 2019, Anup Patel wrote: > We can use SYSCON reboot and poweroff drivers for the > SiFive test device found on QEMU virt machine and SiFive > SOCs. > > This patch enables SYSCON reboot and poweroff drivers > in RV64 and RV32 defconfigs. > > Signed-off-by: Anup Patel I'd much prefer Christoph's driver, once it's fixed up per my earlier comments. This business with writing random registers based on what's in the DT data has always been a bad idea. - Paul _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv