Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp190269ybc; Fri, 22 Nov 2019 19:05:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwfNVLM4yicFJe+QVowBQm8M0oum0sxRMEYLoaAC3ixGVBs9CdLLvmgHluO5T5S6Px7SNCW X-Received: by 2002:a17:906:3418:: with SMTP id c24mr25647962ejb.121.1574478334448; Fri, 22 Nov 2019 19:05:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574478334; cv=none; d=google.com; s=arc-20160816; b=yf9pKN6ldiG1Tl9lVMSlJRMJhrOiTe2kVzR5AAvs0fryr/bWtcUWnEStvaCR3JO3Jd +4LawE0URf0tMPyp+y810cRrX+9huMUrbJIwvBliJPtqMF+DsJVy48D21jdxXNXRaS9q UiPq3AP3TViVOasCp3HL5CMQ4QYd1Z1HariHzxfB/E1jhZVCgC3N+1cNslJONW8ksIIo sGgdwBM0zZ0Y30LrGSwWaDEQ1UAK6SKRxIy8k9jxGcbk6n5yJ1e1BKppA39curi+45pa JHCpD+AAkPyfpVlaLPgtcaA6wfxU9Qd9LPVUwIVT2hgn0pSL5Mz954ExJT1ISp5PYOwj IbIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=2llGKEwGqv02JA/iBX+8mG7RLi4bNxYF08xd4XLsLD8=; b=f45rIsHV0mVCtUO6JF2gMlc8wfMR3NMCIEZfgclzERMnbmNqbKUO57UAKPgI7SIYrH d6Ml9HBasvUcWCBNztV710vmLKO32drNu3xFWdta+3tUFeM4PoG+p6gi+TN8s1LSkm58 4nUTyb9Z+Lb9rReaaMBy6vmLzm+72c4bC78caca6wcwV91xEtQ5rJmZF6Uo7B/CB4ebz +9UQnOg6PIZiw8M/Pa2ST1ATU/+7cyfBrFoWZJT8IWUHKkFA0w7aPGnKtYH2wxOCuVLY 8MTfyGDRkhqslb9KSXstmEHc0zutWb64HDxz+c2gvG2qfWgZtY6KnwBmNAnwZiD1LMhr U/oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=ep6UGdtn; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oz10si5466588ejb.163.2019.11.22.19.05.09; Fri, 22 Nov 2019 19:05:34 -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=@sifive.com header.s=google header.b=ep6UGdtn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726463AbfKWDDY (ORCPT + 99 others); Fri, 22 Nov 2019 22:03:24 -0500 Received: from mail-il1-f194.google.com ([209.85.166.194]:39401 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbfKWDDX (ORCPT ); Fri, 22 Nov 2019 22:03:23 -0500 Received: by mail-il1-f194.google.com with SMTP id a7so9076799ild.6 for ; Fri, 22 Nov 2019 19:03:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=2llGKEwGqv02JA/iBX+8mG7RLi4bNxYF08xd4XLsLD8=; b=ep6UGdtnlU/KZdTqxXNqm0FzL29oHDdirYk4Fc3SybTk4zz23nIC0y2M+TzIOtoB+1 EBgutDulXFno8wkRsiSMqOf4JrVuVsjjO+br0kUtBtbPda7hCpJ5B/gM9c5YAR6fW3pN Ru/3l7SwaiXpg+AFO1AxFQ2njVZJ4vy/bIs5kLhLVGra/NYBrtU/aCHGKUZMQV3214nu wVje/GBG1bTJLnUgdOM7pqNhn8X+tSy6tD/DPTEYbayyVCJ9UMOQr9Kaxz2sX+Q585+B Q0GsIL6LTzNQ1Hqi96qVQqhtExbH3lUyFsatcmJ6EhXcx6CDJHLhcUt7ISHlDcz+kAws s3iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=2llGKEwGqv02JA/iBX+8mG7RLi4bNxYF08xd4XLsLD8=; b=BhmpZjiH1NAX/vjKmlZOS51zI4JwBxiws83O48B5f34xh0BfdTht9DGL5aKjAA1lbw JfYRVb7ekY0iik3TKPruZ7b87x+1qiguvmDJ2JIseGF0NKkExcMz9mqQICeU/8fgjreh f8u39LIyGdZlIqHwNb9XCzy1IKsgbh//ntqGh9GZq2w3JxkOFAtxOwXDXLjeMPg7Wov7 fZL2VY5XM3NKeAbOYjTTvLZRcwOFEkf90DeGpcoBDR8iCe775iQcCyng49VGJrr6OIKN 9uZ8XEsaNO2KxZ8WX4WtbA/lvnb5P5QvVgaU79n18wMYIjza4XLQYRVyOOckBkKGPwUf bW5A== X-Gm-Message-State: APjAAAXIL0PXvaB6hVBi5e8goeFHmOMTERDPDE3rig/sK9mMcN9XJ7Ze 0g++wnNXkE9BxWxVu5zK/73TYA== X-Received: by 2002:a02:c4cd:: with SMTP id h13mr17996512jaj.33.1574478203111; Fri, 22 Nov 2019 19:03:23 -0800 (PST) Received: from localhost ([64.62.168.194]) by smtp.gmail.com with ESMTPSA id r17sm3612636ill.19.2019.11.22.19.03.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 19:03:22 -0800 (PST) Date: Fri, 22 Nov 2019 19:03:20 -0800 (PST) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Anup Patel cc: Palmer Dabbelt , 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 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.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 Sounds like Christoph isn't planning to follow up on his reset driver. So this patch looks OK to me, as far as QEMU is concerned. Still it seems best to avoid SYSCON for real hardware as much as possible, so, will plan to apply this after CONFIG_SOC_VIRT support lands. thanks, - Paul