Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13911844pxu; Mon, 4 Jan 2021 07:47:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTKcAl48kiUhdI152QLjDua+1TNP+vL838QEscN3LmP4pwMGNhScQi4zoC/ThkzQ80Gg8Y X-Received: by 2002:a17:906:30d3:: with SMTP id b19mr59521064ejb.538.1609775237868; Mon, 04 Jan 2021 07:47:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609775237; cv=none; d=google.com; s=arc-20160816; b=BcpvXuv3us2i5JZzwR+HlTscEwYJGI0tHr/QXMj3Ux7U9oNvyOcKBVSKFtE2enIKmK 5AqHwG+Q0BkT/Z4W3qXaORcs8RDS83x1W0xBBPMEnRofGWBKU2I1Qtpoa89yX+j7ZJtb eywcpON9JoRiw+6brS78WNaGHkDsk25hlWjE2pM/K/Ceu/pWkVJJlShSpwJrvu6TVx13 LXXn4fJYgnMoh5FSn3Of3LCVmzC0nO7lTBEOPNWXM/JXx90mpRoLGaiGfEn2Jb45QkUU cUQ2i3Rz7ckWA/bMqGFnMeL1Sa27wMJwuMBMvWArqEVnzO1bnPTgB3NcESNh2WRlTOLn 66kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=fQ6XVGO6GR1ADZbMAdVRJ8nIES2N6uZsUyaxNrdJZpw=; b=LIIRbHTdm2h/1RKf5DJN2Ju8TWOduDYOZssHQx7tXbRMZ37ISojPTqKZICHvXuoXA1 +Y6PqlLP9ntud16x/Jv/LSHiRXwDiSdn8hKMQ98sjPKPEIyXAQIKNvH08kVLupLNLqY2 C2OZfyGTGdAvyJTCPi913nx0Wr0omwBD33Rie57/arDFbQcXhL0NOWi1HWGRXqN/uKyy 0Pum4OWcnRaJlLqvyaFb5z95D2bfUiAW4UhMR/8hT5itgMXQnt76DGibdgXHIoavw2Sd qXciBI1/B+6q7vq7aHfbn8GiFE6XXRGY5cR8EUaKZZh3+RW4BalKD+7xRbVaeX6NE/OS bcfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o20si17553632edi.262.2021.01.04.07.46.54; Mon, 04 Jan 2021 07:47:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727694AbhADPnr (ORCPT + 99 others); Mon, 4 Jan 2021 10:43:47 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50167 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727407AbhADPnr (ORCPT ); Mon, 4 Jan 2021 10:43:47 -0500 X-Originating-IP: 86.202.109.140 Received: from localhost (lfbn-lyo-1-13-140.w86-202.abo.wanadoo.fr [86.202.109.140]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 2453A60005; Mon, 4 Jan 2021 15:43:04 +0000 (UTC) Date: Mon, 4 Jan 2021 16:43:03 +0100 From: Alexandre Belloni To: Geert Uytterhoeven Cc: Jiaxun Yang , "open list:BROADCOM NVRAM DRIVER" , Alessandro Zummo , Linux Kernel Mailing List , linux-rtc@vger.kernel.org Subject: Re: [PATCH 1/2] rtc: goldfish: Remove GOLDFISH dependency Message-ID: <20210104154303.GD3313@piout.net> References: <20201114130921.651882-1-jiaxun.yang@flygoat.com> <20201114130921.651882-2-jiaxun.yang@flygoat.com> <20210104144841.GC3313@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/01/2021 16:21:31+0100, Geert Uytterhoeven wrote: > Hi Alexandre, > > On Mon, Jan 4, 2021 at 3:48 PM Alexandre Belloni > wrote: > > On 04/01/2021 14:28:26+0100, Geert Uytterhoeven wrote: > > > On Sat, Nov 14, 2020 at 2:20 PM Jiaxun Yang wrote: > > > > Goldfish platform is covered with dust. > > > > However the goldfish-rtc had been used as virtualized RTC > > > > in QEMU for RISC-V virt hw and MIPS loongson3-virt hw, thus > > > > we can drop other parts of goldfish but leave goldfish-rtc here. > > > > > > > > Signed-off-by: Jiaxun Yang > > > > > > Thanks for your patch! > > > > > > > --- a/drivers/rtc/Kconfig > > > > +++ b/drivers/rtc/Kconfig > > > > @@ -1935,7 +1935,6 @@ config RTC_DRV_HID_SENSOR_TIME > > > > config RTC_DRV_GOLDFISH > > > > tristate "Goldfish Real Time Clock" > > > > depends on OF && HAS_IOMEM > > > > - depends on GOLDFISH || COMPILE_TEST > > > > help > > > > Say yes to enable RTC driver for the Goldfish based virtual platform. > > > > > > I was just looking to see if someone had already sent a patch to add > > > "depends on GOLDFISH || COMPILE_TEST", before sending one myself, when I > > > noticed your patch had removed it... > > > > > > What about > > > > > > depends on CPU_LOONGSON64 || GOLDFISH || RISCV || COMPILE_TEST > > > > > > instead? > > > > > > > But this driver also works on ARM, is it really important to restrict to > > a few architectures ? > > Is it used on ARM platforms? > qemu:hw/riscv/Kconfig selects GOLDFISH_RTC, but that's it? > My understanding is that this was used on the original ARM based goldfish android emulator but I don't think this was ever upstreamed. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com