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=-0.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_SBL,URIBL_SBL_A autolearn=no 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 3FEF4C43331 for ; Mon, 11 Nov 2019 16:55:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1902B20679 for ; Mon, 11 Nov 2019 16:55:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727074AbfKKQzj (ORCPT ); Mon, 11 Nov 2019 11:55:39 -0500 Received: from mx2.suse.de ([195.135.220.15]:41252 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726927AbfKKQzi (ORCPT ); Mon, 11 Nov 2019 11:55:38 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1AB2AABEA; Mon, 11 Nov 2019 16:55:37 +0000 (UTC) From: Andreas Schwab To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Atish Patra , Alistair Francis , Christoph Hellwig , Anup Patel , "linux-riscv\@lists.infradead.org" , "linux-kernel\@vger.kernel.org" Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers References: <20191111133421.14390-1-anup.patel@wdc.com> X-Yow: Being a BALD HERO is almost as FESTIVE as a TATTOOED KNOCKWURST. Date: Mon, 11 Nov 2019 17:55:36 +0100 In-Reply-To: (Anup Patel's message of "Mon, 11 Nov 2019 16:51:30 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Nov 11 2019, Anup Patel wrote: >> -----Original Message----- >> From: Andreas Schwab >> Sent: Monday, November 11, 2019 8:02 PM >> To: Anup Patel >> Cc: Palmer Dabbelt ; Paul Walmsley >> ; Atish Patra ; Alistair >> Francis ; Christoph Hellwig ; Anup >> Patel ; linux-riscv@lists.infradead.org; linux- >> kernel@vger.kernel.org >> Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers >> >> On Nov 11 2019, Anup Patel wrote: >> >> >> -----Original Message----- >> >> From: Andreas Schwab >> >> Sent: Monday, November 11, 2019 7:38 PM >> >> To: Anup Patel >> >> Cc: Palmer Dabbelt ; Paul Walmsley >> >> ; Atish Patra ; >> >> Alistair Francis ; Christoph Hellwig >> >> ; Anup Patel ; >> >> linux-riscv@lists.infradead.org; linux- kernel@vger.kernel.org >> >> Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff >> >> drivers >> >> >> >> On Nov 11 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. >> >> >> >> I don't see any syscon-reboot compatible in the device tree. >> > >> > I have sent patch to QEMU as well for generating SYSCON DT nodes. >> >> What about the kernel DT? > > For QEMU virt machine, the DT is generated by QEMU at runtime > so we don't need an explicit DT file in Linux sources. What about the HiFiveU? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." 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=-0.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_SBL,URIBL_SBL_A autolearn=no 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 937FCC43331 for ; Mon, 11 Nov 2019 16:55:42 +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 68C8421925 for ; Mon, 11 Nov 2019 16:55:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QUM8V+uJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 68C8421925 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de 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:Message-ID:In-Reply-To: Date:References:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2W5aTZT0PjcYELyTpgi4VoEVIhS3ZBGI/tc7Nt3g7jI=; b=QUM8V+uJqJr8vV J+Kvui6C5Ymr1VB/vlqy2hVCXA6F0pR0JB+JUP1DTPaiK/cgAuptE/l+F8byTTlIuqFeKhWHaoq81 Jz+PtUMutizQ0xglgq2Oz6Kaj80f6aFYo3zO1rKfMqVSpzxJQj7LyH9B9DwwPHNZaZPZJSabRsmZD KcfeNe577yCvN+puf4IQ/9pWtL+eCbHrRe50C1ARkl2tld2gCCaIBCpoP9Zx9Pt+u1G2a3E/yi627 L3liYSgyEnUHGE5oREnLw2Wn9nhnB8twth1j6bcs/fbN3oWgR5hAOxymlsX4f1O2cJ8xqGW3qWpdg aNekUjH+a2r7g5wMIMnw==; 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 1iUCyb-00054s-DM; Mon, 11 Nov 2019 16:55:41 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iUCyY-00054Q-Hp for linux-riscv@lists.infradead.org; Mon, 11 Nov 2019 16:55:40 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1AB2AABEA; Mon, 11 Nov 2019 16:55:37 +0000 (UTC) From: Andreas Schwab To: Anup Patel Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers References: <20191111133421.14390-1-anup.patel@wdc.com> X-Yow: Being a BALD HERO is almost as FESTIVE as a TATTOOED KNOCKWURST. Date: Mon, 11 Nov 2019 17:55:36 +0100 In-Reply-To: (Anup Patel's message of "Mon, 11 Nov 2019 16:51:30 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191111_085538_734526_98DCE226 X-CRM114-Status: GOOD ( 10.80 ) 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 , "linux-kernel@vger.kernel.org" , Atish Patra , Alistair Francis , Paul Walmsley , Palmer Dabbelt , "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 Nov 11 2019, Anup Patel wrote: >> -----Original Message----- >> From: Andreas Schwab >> Sent: Monday, November 11, 2019 8:02 PM >> To: Anup Patel >> Cc: Palmer Dabbelt ; Paul Walmsley >> ; Atish Patra ; Alistair >> Francis ; Christoph Hellwig ; Anup >> Patel ; linux-riscv@lists.infradead.org; linux- >> kernel@vger.kernel.org >> Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers >> >> On Nov 11 2019, Anup Patel wrote: >> >> >> -----Original Message----- >> >> From: Andreas Schwab >> >> Sent: Monday, November 11, 2019 7:38 PM >> >> To: Anup Patel >> >> Cc: Palmer Dabbelt ; Paul Walmsley >> >> ; Atish Patra ; >> >> Alistair Francis ; Christoph Hellwig >> >> ; Anup Patel ; >> >> linux-riscv@lists.infradead.org; linux- kernel@vger.kernel.org >> >> Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff >> >> drivers >> >> >> >> On Nov 11 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. >> >> >> >> I don't see any syscon-reboot compatible in the device tree. >> > >> > I have sent patch to QEMU as well for generating SYSCON DT nodes. >> >> What about the kernel DT? > > For QEMU virt machine, the DT is generated by QEMU at runtime > so we don't need an explicit DT file in Linux sources. What about the HiFiveU? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv