Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp952919pxb; Thu, 30 Sep 2021 23:17:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOFCXz64wTR39bbkDXo2Ax8RQhO89rz4G89upT2+EPdYpwQokjPNhMZGnGHzyHWeolVo8t X-Received: by 2002:a17:90a:5d0f:: with SMTP id s15mr11318858pji.10.1633069058416; Thu, 30 Sep 2021 23:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633069058; cv=none; d=google.com; s=arc-20160816; b=kM2DCr5zO2MZd1b58a1rHlJeBphkCTRNqB1I/WgFrrdNFPvAUmGX6AM1l1LMbKC5Sn M9LP5sUxKw60JLoU4ZErfMtEXl3F4fiwHzvXegJapfEXBUiyMhOxIZOZwQ13O9cNFljy 401LYO+IzcbHNHy4ntXNaPDTbzwLEdXarbjg18j8YkZCvhW8SiJrHhILr5NY5w7zIOQ5 vbpewW2NyVUdWPC8byCDlqDoj8BpULEm9bdsMaC2d6nZ5gneZig1Y0O0t+N7Pk2uDQED 6pZ35VqtufTx2kJBbnLAhhRcHV4Eniz8YhvmaOTRC14fZhNjgtGY/XmTdFdGDwwoKXm+ S+KQ== 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:dkim-signature; bh=Wrerzu0eOzULblqI6hcqBoW5s1gAeWyg1d4PDm0YiP0=; b=wefdXTKm6YTJwOBRQXyODIN/Cmx2YxbApVHhfqGiUpeimwPVTMOK8GSEkcduDumVu4 QSH+92X1XjPHDYixxt9hDu/d8fu14x7wESfYHTsyv6lUl4dXTXj2F5cr9Hn3yhjPK6cq rIy7QB7NeGv+cLxYGIeLVGEHmqdz+eawJOFVObaaYlnBwmqOJP3Wi+08NCrnYRAdpH+/ /LIv5Tx6NfR57BSDkTSBAdMdgUAFS8IKzhtfbRFoLKsD/ZyU6s5mgnDsmyUg44ydSFIC 6TrC3ZkzHsrU+HQVoalunZAUo/9gJ6Y+rhsS3OQrwo6znWqFwqAuGHG09ndb4QKRB7Th F5tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=A7NluRHI; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j15si7691359plx.269.2021.09.30.23.17.23; Thu, 30 Sep 2021 23:17:38 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20210112 header.b=A7NluRHI; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230494AbhJAGBN (ORCPT + 99 others); Fri, 1 Oct 2021 02:01:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351885AbhJAGBF (ORCPT ); Fri, 1 Oct 2021 02:01:05 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE7D9C061772 for ; Thu, 30 Sep 2021 22:59:21 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id g7so29917805edv.1 for ; Thu, 30 Sep 2021 22:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Wrerzu0eOzULblqI6hcqBoW5s1gAeWyg1d4PDm0YiP0=; b=A7NluRHIT9P6ll142j0SyO7hXaBZ3Wm3gFiEtcJj/ODZ7DbVvi6FQp8DHFl4uUWrKE A2nXBJk6lYPW1woby8AUcNHisprHtXQlLNTLOA/WOTcfcZK80hQdpbmCqDBame/6jXEJ FF0oHRuUpBlvguQGYS73PQGq/v+OreH/y9w1Sx3xPmE0p3yFLP+pKhHODbIEYJoFu/L8 K+2Cbayc3YOH1cR4X9ZtfjUfLYAhsAZ1XcyvoQrs3xBX1XSQdqPejrN1dslA6egxkQZQ Odib8NKeADHaGhHlQME8ssMuM0DjYqVmF6n3BxbLDog3ZeG9JgblBdp8bidhHQKxuVq0 HadA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Wrerzu0eOzULblqI6hcqBoW5s1gAeWyg1d4PDm0YiP0=; b=tNr2Mvl38LOSaTnLnWnSjzjW3//0YoZdF7z3UUCV4kaKiHLob2ELSvmnLQqt6TP/kC iZa0FxC2jculo5nklr53Zmf9QjtvDiEoA72yt430cmEeAlU2nlHM2u7+bMyN8VjUAQfF fqe7+Rpi6SXuE9boRW2wYsdIhRMvBmzyEokSosHL7fbx4NIyjo2SiI/vLJpzvoc8DtcT Eu0mXU1o1OePBoAFxDD4AlV5ymWW2XwSZ+kUZ3/wsONMDUPWhTV3bgOL7smtiagvKD3R aiaSkcLz68u9xXSpR4Tt+0fUN7Sj+tjkhjeKAAfwb3Jxytap4SGC85GWj4K91TCUEdLh +ZTQ== X-Gm-Message-State: AOAM531cI2WD2vlogYM33dd/sWuaiBlMhb+sXCU4DllDbnRn5LJajcnw 7MWqQA01o3Xdvnn7/lLe7lBr55M0YSO3tyoW7Gl17A== X-Received: by 2002:a50:8405:: with SMTP id 5mr12215046edp.228.1633067959935; Thu, 30 Sep 2021 22:59:19 -0700 (PDT) MIME-Version: 1.0 References: <20210928235635.1348330-1-willmcvicker@google.com> <7766faf8-2dd1-6525-3b9a-8ba790c29cff@canonical.com> In-Reply-To: From: Will McVicker Date: Thu, 30 Sep 2021 22:59:04 -0700 Message-ID: Subject: Re: [PATCH v2 00/12] arm64: Kconfig: Update ARCH_EXYNOS select configs To: Olof Johansson Cc: Saravana Kannan , Krzysztof Kozlowski , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Linus Walleij , Alessandro Zummo , Alexandre Belloni , John Stultz , Thomas Gleixner , Lee Jones , Geert Uytterhoeven , "Cc: Android Kernel" , Linux ARM , Linux Kernel Mailing List , linux-samsung-soc , linux-clk , linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, Arnd Bergmann Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 30, 2021 at 10:36 PM Olof Johansson wrote: > > On Thu, Sep 30, 2021 at 10:24 PM Saravana Kannan wrote: > > > > On Thu, Sep 30, 2021 at 9:52 PM Olof Johansson wrote: > > > > > > On Wed, Sep 29, 2021 at 12:48 PM Will McVicker wrote: > > > > > > > > On Wed, Sep 29, 2021 at 6:02 AM Krzysztof Kozlowski > > > > wrote: > > > > > > > > > > On 29/09/2021 01:56, Will McVicker wrote: > > > > > > This is v2 of the series of patches that modularizes a number of core > > > > > > ARCH_EXYNOS drivers. Based off of the feedback from the v1 series, I have > > > > > > modularized all of the drivers that are removed from the ARCH_EXYNOS > > > > > > series of "select XXX". This includes setting the following configs as > > > > > > tristate: > > > > > > > > > > > > * COMMON_CLK_SAMSUNG > > > > > > * EXYNOS_ARM64_COMMON_CLK > > > > > > * PINCTRL_SAMSUNG > > > > > > * PINCTRL_EXYNOS > > > > > > * EXYNOS_PMU_ARM64 > > > > > > * EXYNOS_PM_DOMAINS > > > > > > > > > > > > Additionally, it introduces the config EXYNOS_PMU_ARM64 and EXYNOS_PMU_ARM > > > > > > which was previously EXYNOS_PMU and EXYNOS_PMU_ARM_DRIVERS respectively. > > > > > > The reason for these new configs is because we are not able to easily > > > > > > modularize the ARMv7 PMU driver due to built-in arch dependencies on > > > > > > pmu_base_addr under arch/arm/mach-exynos/*. So the new configs split up > > > > > > the ARM and ARM64 portions into two separate configs. > > > > > > > > > > > > Overall, these drivers didn't require much refactoring and converted to > > > > > > modules relatively easily. However, due to my lack of exynos hardware, I > > > > > > was not able to boot test these changes. I'm mostly concerned about the > > > > > > CLK_OF_DECLARE() changes having dependencies on early timers. So I'm > > > > > > requesting help for testing these changes on the respective hardware. > > > > > > > > > > > > > > > > These are all not tested at all? In such case, since these are not > > > > > trivial changes, please mark the series as RFT. > > > > > > > > > > I will not be able to test these for some days, so it must wait. > > > > > > > > > > > > > > > Best regards, > > > > > Krzysztof > > > > > > > > +Cc Arnd and Olof, > > > > > > > > Hi Krzysztof, > > > > > > > > To avoid the scrambled conversation from the first patchset, I'm going > > > > to address all your general questions here in the cover letter thread > > > > so that it's easier for everyone to follow and reference in the > > > > future. > > > > > > This patchset shouldn't go in. > > > > > > GKI is a fantastic effort, since it finally seems like Google has the > > > backbone to put pressure on the vendors to upstream all their stuff. > > > > > > This patcheset dilutes and undermines all of that by opening up a > > > truck-size loophole, reducing the impact of GKI, and overall removes > > > leverage to get vendors to do the right thing. > > > > > > It's against our interest as a community to have this happen, since > > > there's no other reasonably justifiable reason to do this. Are you saying that modularizing drivers is opening up a loophole? How is this different from Krysztof pushing changes to modularize the Exynos ChipId driver just last week [1]. I understand the push back on "these aren't tested yet" and I agree that we should not merge them until they are (I've re-iterated that multiple times and have requested for testing help multiple times since I can't get my hands on any Exynos arm64 hardware), but are you saying that if I gather the test data to prove that these drivers can actually be made into modules that you will still deny them out of the interest of the community? [1] https://lore.kernel.org/linux-samsung-soc/4aee1b0d-91a1-75ac-d2b7-6dab3d7a301f@kernel.org/T/#t --Will > > > > > Oolf, Geert, Krzysztof, Arnd, > > So close. > > > I skimmed through the emails and you all make a lot of good points. > > I skimmed through this email and I think it adds a lot of new > complexity and fragility to solve a problem that doesn't really exist > for upstream, adding yet more config parameter combinations to build > and test for. > > A much more valuable approach would be to work towards being able to > free up memory by un-probed drivers at the end of boot. That would > possibly benefit all platforms on all architectures. > > > -Olof