Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13873460pxu; Mon, 4 Jan 2021 06:51:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRdNayaeUOCBZi2HWNji9MTm91u3ntKwmD32uxBAO0V9ucuJo7dzZx+1r1XHMJXI/tapHQ X-Received: by 2002:a50:ec18:: with SMTP id g24mr70171386edr.6.1609771897010; Mon, 04 Jan 2021 06:51:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609771897; cv=none; d=google.com; s=arc-20160816; b=svy+XIIZDM7j7h4zDWiXCaDZ3iXTp+XUxXGKSRaNx1+Jh5n+ZJycQ9y+AamGhLD24I mt90TUCJZhfM0wv8GKDCqIAvoUeJnMTejrveXcv+mU/XXaQJSl2zmOm+yuThVRlInUpK 02Tpxc9fRkkalShAd52uBPmCH1h0FwyrlAFLNjKSS7OyzJ58Z+Cod0WQgoDVjY/eVQkH W7ldgulGh/gXFoLgrc1fXsbyuGHEN+nTrHY0cQ7aVzEPGp/Dx9eMQju0iT7+wuCfITi6 XsQ2KB94nStintUdKn5i50FzX3WzoYU0v65LQHrf/AMfaYngw3s2i0t2N9cO1rgLUQuO boqw== 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=Ka9ck2l8q006YIocB58fuLr9y/wtXVgxZSqilj/mKVY=; b=LSkIGpigxf0eaZUPexE6e4Wv58+CXrDlmZ0DoKvK3q2vxE6FKvfjeivkyqpCgU9DI0 j7Pii5b4SE3qi/KBodFA41E+LfRJOgknFGIgUburdOb9zK5S4e2jN3lwBr0/yqmVu+MF CJ0OtO3236AtnRt9rkEOrOH4nZE8pVyz7Ym7nF1rfKyxJ0uHb3lwSaFB/2ilC+/J2bH6 oF4Z5zZSyfr/1aky3JwTprVDTCU8Ee56nA4qT8zwkfyo8o/gPazLRdMkwx8jw/fSlflx WyLZaLXojzqpca7UZ8YJuHxK2A2fM4O5YqNyWT/cOwIuR4stfE6U9omWDEDDKKqxZ2wS I2KQ== 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 gn9si28900851ejc.574.2021.01.04.06.51.13; Mon, 04 Jan 2021 06:51:36 -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 S1727313AbhADOtZ (ORCPT + 99 others); Mon, 4 Jan 2021 09:49:25 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:59125 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726396AbhADOtY (ORCPT ); Mon, 4 Jan 2021 09:49:24 -0500 Received: from localhost (lfbn-lyo-1-13-140.w86-202.abo.wanadoo.fr [86.202.109.140]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 64729100013; Mon, 4 Jan 2021 14:48:42 +0000 (UTC) Date: Mon, 4 Jan 2021 15:48:41 +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: <20210104144841.GC3313@piout.net> References: <20201114130921.651882-1-jiaxun.yang@flygoat.com> <20201114130921.651882-2-jiaxun.yang@flygoat.com> 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 Hi Geert, On 04/01/2021 14:28:26+0100, Geert Uytterhoeven wrote: > Hi Jiaxun, > > 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 ? -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com