Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13916651pxu; Mon, 4 Jan 2021 07:55:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwqP3OruRt5fFPNoheob32JwsYtbl8tUFcPO4XAUkc/sHDoqnX6XKkN/QHA/dTwfidlPnP X-Received: by 2002:a17:906:e15:: with SMTP id l21mr67664439eji.509.1609775734489; Mon, 04 Jan 2021 07:55:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609775734; cv=none; d=google.com; s=arc-20160816; b=l2cPqtL57K9febXxEZySXCU01gdT+X8Kc4pbrq7gsJ00u5OmK1BwMUD43UaxGLDK8m 0SGfDYWLZYyV9xpmHR9pB7nOub5PtIOmk/Fs2Jb2WneByJ3vxR215jYWygfCoZ/G4qFs QsVr7X1Ma4QtbnROA+54n5cJ1CKZuCnd//FBqdUBKe+6KCmzvHXwPK/zcTYx8EG+9Zpg +SyNq2M1gBmI0ZJneGGEL6TEMGnLOGv6CWFix7zUcmTdKgyqpJtuvW6/D1tjeyhUQ+aY etQqVCe9rPQAUAkN56T51Q71JyM70L8YLPxHzRKCJbzs9kqN8Buo+R/fFp/XHdF12f+i +4Yw== 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=vVjwPJDCUg81BDqonylcIszMaRPhAj/6H6ziGF+Xa0Y=; b=xsuUTnBJjgVOSIETP1NCFR9W8QDjRiESM5lfnnRHB+3l5oj75eNsP8QziVOf0+ypyJ 18IZy6uQ69cBzL61XE4QOwGt1TXLIVPIyUewjVnRXsbJRO956c9rCwMRVqnspmlRYdFh yYkfcHUy7STGxlUndlJJi7qdbUJbHkcOIEQwFAPOekFTyO9EFBwJrAHR99Yx3U+9FUNp lnCF1VjjIQDIbhtGBF5dZTow3XXYzMCyDMrSKamaJaSuKSSBQo6bz/BRXp9cF8p8H0MF WY8zlkl6t82YbYDE5AVECLGx3nYiNdab1Tl9k5oG0IAwDqY8up7kvxt2lfm1rxElxoP6 AJFA== 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 t14si32107485edy.67.2021.01.04.07.55.10; Mon, 04 Jan 2021 07:55:34 -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 S1727654AbhADPwe (ORCPT + 99 others); Mon, 4 Jan 2021 10:52:34 -0500 Received: from mail-oi1-f175.google.com ([209.85.167.175]:37768 "EHLO mail-oi1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726707AbhADPwc (ORCPT ); Mon, 4 Jan 2021 10:52:32 -0500 Received: by mail-oi1-f175.google.com with SMTP id l207so32575682oib.4; Mon, 04 Jan 2021 07:52:16 -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=vVjwPJDCUg81BDqonylcIszMaRPhAj/6H6ziGF+Xa0Y=; b=EhsAVnLS0wKopYiNuEvHdpF7ZR35QkFhm8N8shu/q+c60yjOYzYFJTIRdVXOpTF8EP 6NnA02xE9EJiHOmJJqo56Ar8qW5YHIvSHzp5ndm14skQMuU1Ov5PT5ANG79OpMaJesuJ +STgYzIdJ3PSzkKc+IZ3JKhWG55vLtGXBn4dvQtgj6gK7KoG+4OtlV6oVLkXkGJ4jIAl mlxpDRP/BQ9GH8K+CCzmhLInXQkAEcCOsZYc7T6jM6fyW1TrQvk00P0BeGU5ZWJm5zD6 6cNv+cKGrKY5tSSjwWp1tLtrDzL10eWdSr3m9RigIbOKxv1hjNUf9obgEGPzeCcf4ezg 5Mfg== X-Gm-Message-State: AOAM531E+2veAPY3V0zpXx94edQ+OeMjjS7Wr6Y1QyIJRTxTGS7prhpl 9aQVXrvWOoAT3rMwVK7YBUtowTWludAc4tKdTa8= X-Received: by 2002:aca:3cc5:: with SMTP id j188mr18408130oia.54.1609775511464; Mon, 04 Jan 2021 07:51:51 -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> <20210104154303.GD3313@piout.net> In-Reply-To: <20210104154303.GD3313@piout.net> From: Geert Uytterhoeven Date: Mon, 4 Jan 2021 16:51:40 +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 4:43 PM Alexandre Belloni wrote: > On 04/01/2021 16:21:31+0100, Geert Uytterhoeven wrote: > > 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. Upstream indeed only has GOLDFISH support in arch/x86/Kconfig. Still, that would be handled by the dependency on GOLDFISH. Or do you mean upstream QEMU Goldfish support? 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