Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1790543ybn; Thu, 26 Sep 2019 02:12:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqz41i6Rlih6imY4PicLZC6ZenYYKHR8Syd9WPM8sXia4GjvetgkMoBgqUvm5u7175R+nBLG X-Received: by 2002:aa7:cd18:: with SMTP id b24mr2352205edw.181.1569489156493; Thu, 26 Sep 2019 02:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569489156; cv=none; d=google.com; s=arc-20160816; b=R0ufo2hWVydeVZKmB4utl/vGlg0wOfjn7aOTdh/Iz1nS1tJpuj0st97lA6lc1kLzDl BUMMNU2qNSxGClUPnt0BTrj0ky9pexCi2AKtr43WRs0lB5CtW1dkqedENPAjqLxwPNpv 5ukri2UiYQQx4ukqQD3Znl+yVSoyjLJgVQeY1k18+73x3yhJn5/90wMQmsWo2h1LwTAV CxjTyO7E5Wihcy1o/Y2sZnUVxz3xpqsEGc/xTVV7QkFJ/dkLt9sEpC3pV27JZbxs8QKD LRmoD0GUSj+aR5pu5j3jytIjUkNSjQjAX/9ZpHs7DULa+t4KfElyJwrSO2rOuRjTKBT0 5zKg== 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=qCjUe0hDGDhMjnECf1F2ZQdV6LWs8J93Rkhj1cQXHGo=; b=O4xZptptv8iuji/xybtgxn3r8qcDVehhR/VIfOmsmKj21hsM28EZiTZrGV3WAZ1dHK 1QyYeg85fD/8ckJa9PLrRGJZnAtFAF1LzwTpsGNT7FhBHLlGAR6Pa6bjPgN33KuQpgWx 39Wzik1l+G/IuAUb4yEzlo6U5asbo3GcpTKAoYj/7FZM2Zr5wUS7OppcHU+UOepzlh4V CeID6IKlNiNinwQ1MhjEDAgRr+bWaoAknbODgVvIa4RFKHEGDJ38q+jvSa0LtP1ARL+R 1jIH8cs4ijXtjlBI+G2EBjbelkgy0V3Z5hN9my/kFYwHc4zYfqEIxTVhtFIkNvRA7/V+ kNDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=E8oKqEdy; 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 gq15si708160ejb.209.2019.09.26.02.12.12; Thu, 26 Sep 2019 02:12:36 -0700 (PDT) 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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=E8oKqEdy; 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 S2393196AbfIYFAQ (ORCPT + 99 others); Wed, 25 Sep 2019 01:00:16 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:35332 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392987AbfIYFAQ (ORCPT ); Wed, 25 Sep 2019 01:00:16 -0400 Received: by mail-wm1-f68.google.com with SMTP id y21so2809076wmi.0 for ; Tue, 24 Sep 2019 22:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qCjUe0hDGDhMjnECf1F2ZQdV6LWs8J93Rkhj1cQXHGo=; b=E8oKqEdyG0bLy1YbJxVkgMWG5q1T851YJJLeEfwLZBcBzm/Z/rJFURALxIbiMzCeC6 q4vrrUEPF7pfaObZleGRa4FaCj45G3Ud97aVzTOTTvst/+YIL/jQAVb+Ufw72IsVoVrO SDfYjZS5eKmEAeURuNg31P2jNvK3iguYv/xX2yw9wlsqE/Q9AAEaXDq3XkJw7typ0Sil KghJ4psNwURfLM98alBol1KgNc2xz7kwEbDt9qoJ1b+MjSh/y4Z+nGfiuKHZWX5Hw+Ru Sx/fwESJyNav3DjbOeDTzBG/ItKImxkNKo3AcmrAl6rDzni/9Yf2SaQlB7nJc3jwflHT BkMQ== 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=qCjUe0hDGDhMjnECf1F2ZQdV6LWs8J93Rkhj1cQXHGo=; b=IH4uKbLRECCBKCBv5oSb+Jc0OzGhLnmV7hUGwrd4NojOmAq+AeTy/AwntyAECEh0VC IRh93o9WHNIIhkpqo4A0P1kRg+qTyiOwoPk2YPDGMA8JcMQDa+/Y2n5DAKKpYCo05JnK l6zYLY2ZoSzGKzbcDuQkNw25otJRpgKfGeyWg1NOrSYQsVPggSWMKxcsgYBuwnImSBI/ r+JfFyAHjYyq+Karr3OB/fz4ZVfjMDU7vR4SbV/DUAS2ihNLS0FiXzARfqn36PZl81HW +lJHYKBhyPrGW/ZOPagB5HI+0niC0akW976fOGaKVyrR/k0ICfHHxLvwvfBw2SoOsdAD to4g== X-Gm-Message-State: APjAAAV6Z85WV713RZFsZKsoJccW6T/u8WQCZ2m+JjGn90hhmdwr+UCo fxbqpK8LUgtY78ITvRBMbDd8FeJDLtg7S5EAyo4q7w== X-Received: by 2002:a1c:5451:: with SMTP id p17mr4901443wmi.103.1569387612159; Tue, 24 Sep 2019 22:00:12 -0700 (PDT) MIME-Version: 1.0 References: <20190925042912.119553-1-anup.patel@wdc.com> <20190925042912.119553-2-anup.patel@wdc.com> <20190925044308.GA1245729@kroah.com> In-Reply-To: <20190925044308.GA1245729@kroah.com> From: Anup Patel Date: Wed, 25 Sep 2019 10:30:00 +0530 Message-ID: Subject: Re: [PATCH 1/2] platform: goldfish: Allow goldfish virtual platform drivers for RISCV To: Greg Kroah-Hartman Cc: Anup Patel , Palmer Dabbelt , Paul Walmsley , Albert Ou , Roman Kiryanov , Atish Patra , Alistair Francis , Christoph Hellwig , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" 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 Wed, Sep 25, 2019 at 10:13 AM Greg Kroah-Hartman wrote: > > 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: May be Goldfish drivers were compile tested/tried on these architectures only. > > > depends on HAS_IOMEM > > And that's it? I think it should be just "depends on HAS_IOMEM && HAS_DMA" just like VirtIO MMIO. Agree ?? Regards, Anup