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=-8.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 53665C432C1 for ; Wed, 25 Sep 2019 04:43:17 +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 2958C20665 for ; Wed, 25 Sep 2019 04:43:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="itr6BAUt"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="AToNlkIj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2958C20665 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org 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:In-Reply-To:MIME-Version:References: Message-ID: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=rn/4MkK7GdcYi7iEq5EIbu8AvwQyEsJVGKyFxLqJtuU=; b=itr6BAUt3J3vog FQb7knxUHxWzM+6rPcgf47PhHrrj2f87Y8xUDsJjwFG3oYTwcNkyjW+kHBgdklZTf4Ayn61YJOn5w k5702ltba91tO/JekdHter5ZvamvI9W+5pYmdReH8HP6lYo5oHzsIZh/wryVM3t42gUYzx0kNlmZa A6UlqwnjKsKxDUNekaDQ3OFP56Ugit8Ey3Y+/C3nyiCJDEsadhfMC04U/B4U0P156hfFzJaVYfuYa D8jlN8Yo0W1uSwZnbhhgH2Vd8aePj7RbuX0QjPFv6JlQ4VOZ3jB/8Ss1si9gX3hu0NgTXeghfeKCA MGiICAKO19ctq8mAeYMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCz92-0001qK-KL; Wed, 25 Sep 2019 04:43:16 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCz90-0001pb-5u for linux-riscv@lists.infradead.org; Wed, 25 Sep 2019 04:43:15 +0000 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E2FD820665; Wed, 25 Sep 2019 04:43:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569386591; bh=FPVmGPrYYDxTgtdfOX0PBlOpovVgOyA6Wv0QHZ2LQCI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AToNlkIjelKwVWSqOH35u56iky0Z6S9mEKdcJHHdVRQAjFKaO2NGd8xNXCAWhm+0u /dO/iFbMspl59BL4EAOF5DCEjnC6gNVRQapjOhRPgjsXRhxbP5v8dPqAwqFfv8v3d4 8/6t1Waa6H29cEMVtN4k1i/U6ijDqHL2SYAMK4PY= Date: Wed, 25 Sep 2019 06:43:08 +0200 From: Greg Kroah-Hartman To: Anup Patel Subject: Re: [PATCH 1/2] platform: goldfish: Allow goldfish virtual platform drivers for RISCV Message-ID: <20190925044308.GA1245729@kroah.com> References: <20190925042912.119553-1-anup.patel@wdc.com> <20190925042912.119553-2-anup.patel@wdc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190925042912.119553-2-anup.patel@wdc.com> User-Agent: Mutt/1.12.2 (2019-09-21) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190924_214314_242898_E90DA1EC X-CRM114-Status: GOOD ( 13.64 ) 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: Albert Ou , Anup Patel , Palmer Dabbelt , "linux-kernel@vger.kernel.org" , Christoph Hellwig , Atish Patra , Alistair Francis , Paul Walmsley , Roman Kiryanov , "linux-riscv@lists.infradead.org" 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 Wed, Sep 25, 2019 at 04:30:03AM +0000, Anup Patel wrote: > We will be using some of the Goldfish virtual platform devices (such > as RTC) on QEMU RISC-V virt machine so this patch enables goldfish > kconfig option for RISC-V architecture. > > Signed-off-by: Anup Patel > --- > drivers/platform/goldfish/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/platform/goldfish/Kconfig b/drivers/platform/goldfish/Kconfig > index 77b35df3a801..0ba825030ffe 100644 > --- a/drivers/platform/goldfish/Kconfig > +++ b/drivers/platform/goldfish/Kconfig > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0-only > menuconfig GOLDFISH > bool "Platform support for Goldfish virtual devices" > - depends on X86_32 || X86_64 || ARM || ARM64 || MIPS > + depends on X86_32 || X86_64 || ARM || ARM64 || MIPS || RISCV Why does this depend on any of these? Can't we just have: > depends on HAS_IOMEM And that's it? thanks, greg k-h _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv