Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6432160ybx; Mon, 11 Nov 2019 09:03:11 -0800 (PST) X-Google-Smtp-Source: APXvYqzsRDnJzmq8FvYGIIKPNAJI7++6RdrV1MB93uMZNRrJIAMrfZ8dC/daJwhtiSGzYvAjqDwd X-Received: by 2002:adf:e78c:: with SMTP id n12mr20071218wrm.94.1573491791240; Mon, 11 Nov 2019 09:03:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573491791; cv=none; d=google.com; s=arc-20160816; b=lJHRlsbIJzIZQniXZ0XaabAh4sQesInYgRxuT5WWL6sPhqMDV5RPvmsO66osedXX61 aSBKwEjo3C9aPr5rPzqjkcet1+zKxcZY3uyQbhoenJLVvChT1OBEEwKzcMcnWZygOhyB TwOG+jnqzco47Mdh705eUHHqXSZ9bZ5qI7SGj+qpTgQxVMDEbHvfupeeWf8/a3dByqZt iMj6Ad1GhiC1vGEK2vMN+aWVHHqdSrSgKPBGvg64rUSCt+Iu4sKflyzsce46YB0OV51L DgoNAjTvSaZjKfJnwMmJNyYqCKCCUzuzTQchEJ9pFo8rl0KGI5WEl5ISOzwUyu8eM0vV dnDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8jKXzjFxiNI4cA5WpDfyfduHU/2/pOXFBSoPzmL4nYU=; b=CR9QRCwF1vIleGbtt+kHLHWLhjxOw+y4/nfra5bi+g7gXMg+KwRotsoM0EJ63Rbzpv gN8a+4qLMPFzdvr/BBPkHrtjvRsxL5sRbVV+O63JNzUPduymLyS0vdBA4xuuDlFiVRaU hVIq5WXWOaIg798Xuajxg/k8npRnajmxib0tbBlWMfuqCiNrybswKkIabF3Md6U8+0vK EYmnUS/xxBnPQr3dhVUsNWL5uk71dsQZ/5Vavmgcc05PnZKvR2lJF6tmO77lu9JHnv/S 8Qqt8Mb2C8ox0t6Z/lDXRI3qJxpgc23bvQBNJ/PPfM0PG3EKUhh10hVw+u4xR9kj9LrF lmgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YTEnU3Pz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10si10265289eje.222.2019.11.11.09.02.46; Mon, 11 Nov 2019 09:03:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YTEnU3Pz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726912AbfKKRCC (ORCPT + 99 others); Mon, 11 Nov 2019 12:02:02 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39901 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726857AbfKKRCC (ORCPT ); Mon, 11 Nov 2019 12:02:02 -0500 Received: by mail-wm1-f68.google.com with SMTP id t26so31132wmi.4 for ; Mon, 11 Nov 2019 09:02:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8jKXzjFxiNI4cA5WpDfyfduHU/2/pOXFBSoPzmL4nYU=; b=YTEnU3Pz3xr/+kfF4zzZI3ZAM1zmHORin9tMZwTsM9l+ct/JqaEji+fKDcHvnxhsEh X7DwuYQ4vlZeb2FFOaOaVolBLb0xPLRy5+t+o6fMePdCgRWBSpVhjokjSFIPLsW+Qn3a QknLnZ9DA0lvgzoDFAFjy2wH5vh6maDO1ABDUCLCh5nZhTKYp2qMPMJqSRBMFh3OjgQa fgf6wuedNAnWqdec0YTMYZqlZB7NQXC2IZ5sulXl/R6m0VobzFTb1i/uSn3E2+bUA3Y1 lwRTpxCg2Iq7hYLWDEcJ7axpqODMovCXflRyLmLnopWVngkBIaJ1aIoh6x+5FFPcPt+d suOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8jKXzjFxiNI4cA5WpDfyfduHU/2/pOXFBSoPzmL4nYU=; b=R8aqaNnKu7gb/LsfSoLc/ZxS44Z3eStelQoOmUO8ALgGw4FIW+z2XAp8JbGGh9oc8k Gtrv9NwA+CrJ3Nq55NuiWsPyaepOooPeKrfwCmt3ufHjFIzrV6Qdz8+r3xx+L3e5XXHb eqnmwGUGlCzNMAa7VFYkLMCktN7FxkVs2tIdJJ2m/IiGPtr35nGs8yMvgXSjwP0jq90Q yKkO2+3EURQSENblLYUtX/swX/renteiSPJfsBKNwqs25rh2lD3tNltUv85DZh4gSP36 BrzrYsvsLftylRn2yWF3YIrjWQm5Yh5QtgW+tWo0lXHq1I88+bbMz1hH0D/xFj9XYMeB otqw== X-Gm-Message-State: APjAAAUSxerL9RiQoyGXzrODbMFbCq/F6On972I/ZdJgNxBC8v+RU8+R uRFEUUz/pGKxw4a8Vaxh00e8sbL2iTaDmUOjIGY= X-Received: by 2002:a1c:9601:: with SMTP id y1mr20441359wmd.157.1573491720253; Mon, 11 Nov 2019 09:02:00 -0800 (PST) MIME-Version: 1.0 References: <20191111133421.14390-1-anup.patel@wdc.com> In-Reply-To: From: David Abdurachmanov Date: Mon, 11 Nov 2019 19:01:23 +0200 Message-ID: Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers To: Andreas Schwab Cc: Anup Patel , 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="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 11, 2019 at 6:55 PM Andreas Schwab wrote: > > 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? Unleashed uses gpio-restart which depends on gpio driver (not upstreamed and not posted for review on mailing list). I have that working on my build. david > > 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