Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp427438ybg; Tue, 22 Oct 2019 23:50:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHz9jvcsgGfqjKbzPyD4C0Z4Hzg0Jt4Y3s9UFcZ1iu9O3JsCpEW1e2+0kWBSwMuho9wBEF X-Received: by 2002:a50:b536:: with SMTP id y51mr17732813edd.271.1571813437379; Tue, 22 Oct 2019 23:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571813437; cv=none; d=google.com; s=arc-20160816; b=b0LdAlybKEUUAXkcjq7H7FyfHreO8jow/LzMas23EX+9je802rh17Ez2zTOYzlf7wN Hp7rEyY09AIsu1X7Y+jhSdftLpYDV6CXImBsbEziINyUixtSnTXGmK+lAQHMwO+YtQ8R QqyzNtfB6pYoVwPOL5rdZ/CwPUdGLf8MUmWgAJU8J219W5qAXIoTouod3xIp0vtOxUKL Ay57a1Fo87tK7D4AsZJlkd26MyNDicFpaB4zFbciv/HuDxs7/bbUP6kQLVx6lczarmy9 B35GSyRnNkhoh7s+zQSrVOFAvCZVPg/9GOwA3jYpbsck0B6WJFrR3yzBPWGG1sIaJlyF SAFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=uTV1lJCzWFvRXETtO2mm+8BlPiNvkSuuO+tB+dJpstk=; b=m0yjHAG6cr3lveXDxz3wAbaVkVKHl0t4EvtgCIeyRU/MC40YceM3FXbqEzTfAiuNmv h30IQDUH8/GzVBS5rmOEAfkdNIqph7wUDMwY28fv+RQOzgSKAs6A1DevgqxvphmO5raR z4WM1Q8QCcpO6Ihk/ci6NfVz6d1MGCl9NIqZBxxWq1PhYodmvFv9soRMkJAG5ALYCbJs 7GDNsFZhBZL1T7q1CqI5vqL3XK+GvS3T07aclcBUqw6eUiGUKCpQ7dwe0htk9uNeo5yO rJN5dbm65KiDLx6y+rhSEWKGb82afAXtTHyHv1EicmZC4VPayFj3V2d9gJx2n7ckK+Nb nikw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=HEKT0OaD; 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 b50si14549340ede.28.2019.10.22.23.50.13; Tue, 22 Oct 2019 23:50:37 -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=@sifive.com header.s=google header.b=HEKT0OaD; 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 S2387829AbfJWGtY (ORCPT + 99 others); Wed, 23 Oct 2019 02:49:24 -0400 Received: from mail-il1-f195.google.com ([209.85.166.195]:34940 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbfJWGtY (ORCPT ); Wed, 23 Oct 2019 02:49:24 -0400 Received: by mail-il1-f195.google.com with SMTP id p8so8168243ilp.2 for ; Tue, 22 Oct 2019 23:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=uTV1lJCzWFvRXETtO2mm+8BlPiNvkSuuO+tB+dJpstk=; b=HEKT0OaDe7wVp2IwPmhzg9oS8ASUNGE+l9sM6GGHumKXoFvztLhKcnEVebUveLk0lE ddKc0iy+VAZL/gJ/+f7zIa2P1Z+WXZxHxxuB9fDWExD3LUKHVFM50NgVxxiou+AI0T5A 8Ond0kBE1Gbyptmyau6lVQk4kvxX0TooS1qkOnwxOvRKgnBxK/RVX+AGJe3u+7lWC3Xn 63ox0czq78T1jQompfU6mCBzNTOvR+bR77CkQGS5x1k+W6EzFnbZPkXBybyd74hvg5jn 8mkq8ZzYphYqQSDtI2zTISRY9cYM6OZ+GszrN9jUGUy3dLW/UuY0NJkpQudBJOk35Axo gHgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=uTV1lJCzWFvRXETtO2mm+8BlPiNvkSuuO+tB+dJpstk=; b=Vvow2/xDWAL4BeBZf8XCGbRcHGfyDF5ssS1y9wJ8xFhajezFkPl1X62otBzad+rxyN oujadN0kttz32vBNFXZlHBdHv9mMuLdER03R+3ardMfhR2I9ICsSZVtunW4cONxARrLb GIxXqmgfGvbVXHcwaPOzPtJT/18OUSVLTWcOQYR4x6KJ3pGTKKGcNlAJrun47A8GxRDo gQguHCiGhJvSwG7REGBTUrRVXFYaasEukAYXDKFKVRie5NSrMrDWek70TSYVxiyDUnOj RaTrtzH+sas1hMit0RZzsWkgw8ULUZmLTqLYUBa69qM/MiaABo9apN5hsWOiGUmSXUXK ZOMw== X-Gm-Message-State: APjAAAXQDZIEgkktkx1mShaNXckcZkwH9sFDuNCIGt776/Wcix6vc7eo LOpE61Fes8Erz19uAM5ktbxPaw== X-Received: by 2002:a92:3b52:: with SMTP id i79mr18330339ila.19.1571813363853; Tue, 22 Oct 2019 23:49:23 -0700 (PDT) Received: from localhost ([64.62.168.194]) by smtp.gmail.com with ESMTPSA id o25sm1577662ili.51.2019.10.22.23.49.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 23:49:23 -0700 (PDT) Date: Tue, 22 Oct 2019 23:49:17 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Anup Patel cc: Alistair Francis , Anup Patel , "linux-riscv@lists.infradead.org" , Atish Patra , "gregkh@linuxfoundation.org" , "rkir@google.com" , "hch@infradead.org" , "aou@eecs.berkeley.edu" , "palmer@sifive.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 2/2] RISC-V: defconfig: Enable Goldfish RTC driver In-Reply-To: Message-ID: References: <20190925063706.56175-3-anup.patel@wdc.com> <17db4a6244d09abf867daf2a6c10de6a5cd58c89.camel@wdc.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Oct 2019, Anup Patel wrote: > On Wed, Oct 23, 2019 at 11:30 AM Paul Walmsley wrote: > > > Is drivers/platform/goldfish/goldfish_pipe.c required for the Goldfish RTC > > driver or not? > > No, it's not required. > > > If not, then the first patch that was sent isn't the right fix. It would > > be better to remove the Kbuild dependency between the code in > > drivers/platform/goldfish and the Goldfish RTC. > > The common GOLDFISH kconfig option is there to specify the > common expectations of all GOLDFISH drivers from Linux ARCH > support. OK, then in that case the Goldfish RTC sounds reasonable to me. - Paul