Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13897325pxu; Mon, 4 Jan 2021 07:25:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6HJPuUswcSswfTJgk5PZdgglM6VUCCuoyO59qOxp4NiKzAa9fkJ9cx13so5BhPg7pU5t7 X-Received: by 2002:a17:906:9388:: with SMTP id l8mr66734268ejx.22.1609773901437; Mon, 04 Jan 2021 07:25:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609773901; cv=none; d=google.com; s=arc-20160816; b=Pg3GS0Qt88Jn0ZNkYbA0wREhi2qMy+g5AyR7tmWnarOCtKbLoKipCVD5yDQ7oQBzfS SBmTkeFNubIRRe4r0ubTNfNLzVb3ps8Ryt2Du2OKDn3/YhIyB41mS/WfmobeqqUWOhHa rBNWTx7VP00p956TBEqdbiyva/WKknzhQyqF2zrbQx1MsmSPH91SiHBcH39jI3Tmtzpb hoindo8TzSy157cRVFAeCwBBzfJz6rYDsxXHHwQhk8vYeH/WlX2BUns/WLP5PcLxM/t5 2a1d0jTz2U3nIevdzSMiwB0D043gxn9oblNe2nFaH18XsNRLrwDnCPCo77lX30Fi0SJE MMuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=g71kf7yD8PJahnkXWCoxNGftOUP20SKdOj2+oVmJTIo=; b=xqeTYBrTxs7N0H+qX8L1QG3fRZ1buST22JQfaGiA0E+MJa6+nhdTGwMmiVjgxrDf8A 34zXFkbbIN984bmIYd7zgF8mWsDtKcBCFjhzH3jXeieruCPjs9nHWgoX32FGZWNgt4GN tIYenI97/upavC3OE/7Asij7emDV+ofg4pu64kViXmNC7iSEpMPzyevKpdkk68MJ8FTL 50o+47yOhJueUit3InA7FNVzdBkHPCnShtBjEvvbvVDQz5hyl1/5dF+lHjTBBp0RP0lK uCMS8keG9d9/5qw5kxG2Kh1VIBo1raqzdF542dYGS7vk9RxwoiIQsQnIJUzhjZdbgTVL r5vw== 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 x22si29013907ejj.576.2021.01.04.07.24.38; Mon, 04 Jan 2021 07:25:01 -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 S1727531AbhADPWY (ORCPT + 99 others); Mon, 4 Jan 2021 10:22:24 -0500 Received: from mail-ot1-f41.google.com ([209.85.210.41]:43702 "EHLO mail-ot1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbhADPWX (ORCPT ); Mon, 4 Jan 2021 10:22:23 -0500 Received: by mail-ot1-f41.google.com with SMTP id q25so26279568otn.10; Mon, 04 Jan 2021 07:22:07 -0800 (PST) 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=g71kf7yD8PJahnkXWCoxNGftOUP20SKdOj2+oVmJTIo=; b=G2YsDpt0ZLPmdFLjjSgULl/RDYsnDSynBYA2EF3a2X31E5IBufTB2LoVCPFbKX++a0 uiUCgyCQK5x8xLADy36sw/IdsS/ioaBOgOcTvlbmJTs3Mj8/5xPmfeTCPmEipV6B53GK K/xoG6jvAj6Ow3TnEEWorvImb+kO6TNaoHZ9yYG845jw8NtYjZr5B9JUBiY7pfOx69vs iKx1BzuS6u1mIp/dLNmf+4i/blsoAanMK4234G2WYOtuMeGQIQnmqr5I7790LuG4mRFf KIqAtatAStuMoztuGl60dFfq/ClCm5y1holqAB/IQvOkyFOd5T24SMXaFGrWc7mTa5Cb mlaA== X-Gm-Message-State: AOAM533JPVly/+HNW2NSgs5zVaCEUfim6h4dKh8Z3OfyVC7VPhiDEDfL hLn42iTrlijY5oMS+SrT16I0hmur0XcBOLN+Nicn0uDPJO4= X-Received: by 2002:a9d:c01:: with SMTP id 1mr37964112otr.107.1609773702385; Mon, 04 Jan 2021 07:21:42 -0800 (PST) MIME-Version: 1.0 References: <20201114130921.651882-1-jiaxun.yang@flygoat.com> <20201114130921.651882-2-jiaxun.yang@flygoat.com> <20210104144841.GC3313@piout.net> In-Reply-To: <20210104144841.GC3313@piout.net> From: Geert Uytterhoeven Date: Mon, 4 Jan 2021 16:21:31 +0100 Message-ID: Subject: Re: [PATCH 1/2] rtc: goldfish: Remove GOLDFISH dependency To: Alexandre Belloni Cc: Jiaxun Yang , "open list:BROADCOM NVRAM DRIVER" , Alessandro Zummo , Linux Kernel Mailing List , linux-rtc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds