Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2047324ybz; Thu, 30 Apr 2020 09:55:50 -0700 (PDT) X-Google-Smtp-Source: APiQypL0514qKJezjzjvn/iC6Nzkh4FEp1OPPbPEuP+7OJWHzqAou421DNmUJyNXe+ywEQiQJmvL X-Received: by 2002:a17:906:a857:: with SMTP id dx23mr3750560ejb.52.1588265750665; Thu, 30 Apr 2020 09:55:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588265750; cv=none; d=google.com; s=arc-20160816; b=aP4ppvND8V9bmTQUu97KjZ+QPMg1xYq9m4azPz4OGv8mKl29IZgMb1ggXVgqLBtMEE Mt5XPr/8gyc+jb0+DlINq0Gb8ZqOiEYAQzB1G6IkJ83AVeZ0UXT60n+Tdc/NK67hRXGn xi0tvtOiBkB7nuUtfBuqCXZWiptIK2lr/tmQ/OZfjavgvsmqtPSOsrWhE4g9BMkGejgo dR2mg0syEa4xAGYUN8jDfzau49PFwhEa8gQIOCbKAVo22mE7hd2eoOa8jfNBI4059v5W XUJjssuX/E6H73C0UkYo6yKOeXrbgo4S0PftMbJ/07WOEi8eEPaTXw3N3lDDjgIBOtco btaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=L1yc3aiS2aa72MaQjHCirx/9BP7xAuIw9ECEzmtVIsI=; b=IDfM/As8rJfH1QPTJxQp9FLJSB4VTFtl4ULFoAYw9zOmnOTHY/4LgMySyBHvSUQhtD 3EKPQLLqD9+9v+ISuND5Nt77yJm5Wul5YKrD9w719hD+1iJnsmiA+P6wXbC8+CUZRzuE uqfu8GSahyREYCgUrF+VGgi/cohbklvYfeKyZ+kpP2na/2k/9jYjLOZrng9uJQGazkcS hj4W96KZyPYf/FH/rVu0dXuW16oP5nXUvy1f+9W46BtwLxLDjhOMEBgwlVic9m6FMWl+ gVSdelqxElAFr6ZNqjlxdQVBLjYpUvDYserBRaaN3TgIO5dMITNJsmnMun9SVlwbuNKp dm8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ZPBurWYB; 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 y9si67076edv.534.2020.04.30.09.55.26; Thu, 30 Apr 2020 09:55:50 -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=20161025 header.b=ZPBurWYB; 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 S1726530AbgD3Qx2 (ORCPT + 99 others); Thu, 30 Apr 2020 12:53:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726333AbgD3Qx1 (ORCPT ); Thu, 30 Apr 2020 12:53:27 -0400 Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3732BC035494 for ; Thu, 30 Apr 2020 09:53:27 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id 72so91914otu.1 for ; Thu, 30 Apr 2020 09:53:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L1yc3aiS2aa72MaQjHCirx/9BP7xAuIw9ECEzmtVIsI=; b=ZPBurWYBXORgZDIV17o1am4RGcfdkLOoI+K5fC68nY+u4bbVd/WJBEYIRhMu+fRJge L+gspegsNCOmHy6vWRfPmvAibdyVV0j/A44AZCZe/Ho009FgQQPq5QH7l627AnH1WvUB hIbSzS4B33PC47tx8og1TQJrQB51fFFKW3NyR+sEtvtc7O2A7Nxg7D6ysQg/veHjw+OD v94WHYzlAjd56on25IzjMugBL5gOevb7RY9vdkH0flIX/HrO0CT09fEsCVQGcpcjV+V8 VrHKiyNbcn7At5DoOIogPUENHdkTZdb+l3v2Z7L4gtw/zNJOIOpjLWvMcCWxhQ7zgink C1vQ== 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=L1yc3aiS2aa72MaQjHCirx/9BP7xAuIw9ECEzmtVIsI=; b=S27sLnrgDU6f3Tsr5DT1PbJC2TKGnE7RJlAa7YoiHlHlIcnBK4LpCISBhfvWS0+yY1 2uvGgCRpQ1vgJm0UVmaumiS2I46uGBCA6FpNlz0bp6VDxlTv2G+JIuVHWsZSpuJYOYsX xk6AiMDRXNb9Fc9QoMNjOo/9gcSTkHchA6RDqShDg6HjXV2cZ6+WZfTvvYGljrdkcwaO D/fC86jpwSLKePT39HfpdqhPZmfoJSCiviZcqC4LGanUs/SfJrhcBelf0m6SGRxMP+yu 8bSdZyKvSEDfd/47IXBnRaU/dLQjYvKzEmrAqxhdeY9VKbvKeXYUFs1xkQF4MNlKK/2P z3aw== X-Gm-Message-State: AGi0PubSWWm1n5wPXgdX9A+z8Id3aR2lrqRxG0xlidtHKn1uqjkmrQ6S 5yUzINhsUtIRsH4AxChStmPGxVOPHyrC53gh8dA4Jg== X-Received: by 2002:a05:6830:10da:: with SMTP id z26mr85039oto.139.1588265600483; Thu, 30 Apr 2020 09:53:20 -0700 (PDT) MIME-Version: 1.0 References: <429da47b-ad51-30eb-ff36-b05780c941ba@linaro.org> <573b7d9e-fb5d-5c81-a981-6d965db933f3@linaro.org> <20200427221752.GA166576@google.com> <7c508403-3b53-8285-5724-c2bca221b77a@linaro.org> In-Reply-To: From: Saravana Kannan Date: Thu, 30 Apr 2020 09:52:44 -0700 Message-ID: Subject: Re: [PATCH 1/2] drivers/clocksource/timer-of: Remove __init markings To: Ulf Hansson Cc: Daniel Lezcano , Thomas Gleixner , Sandeep Patil , Baolin Wang , Orson Zhai , Chunyan Zhang , LKML , Android Kernel Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 30, 2020 at 5:57 AM Ulf Hansson wrote: > > On Tue, 28 Apr 2020 at 20:55, Daniel Lezcano wrote: > > > > On 28/04/2020 20:23, Saravana Kannan wrote: > > > On Tue, Apr 28, 2020 at 12:02 AM Daniel Lezcano > > > wrote: > > >> > > >> > > >> Hi Saravana, > > > > > > You were replying to Sandeep :) > > > > Oh, right :) > > > > Sorry Sandeep. Thanks for taking the time to elaborate a clear statement > > of the GKI. > > > > [ ... ] > > > > >> That was my understanding of the GKI, thanks for confirming. > > >> > > >> Putting apart the non-technical aspect of these changes, the benefit I > > >> see is the memory usage optimization regarding the single kernel image. > > >> > > >> With the ARM64 defconfig, multiple platforms and their corresponding > > >> drivers are compiled-in. It results in a big kernel image which fails to > > >> load because of overlapping on DT load address (or something else). When > > >> that is detected, it is fine to adjust the load addresses, otherwise it > > >> is painful to narrow down the root cause. > > >> > > >> In order to prevent this, we have to customize the defconfig each > > >> version release. > > > > > > Sorry, I'm not sure I understand where you are going with this. Are > > > you agreeing to pick up this change? > > > > Right. I agree with the change but I would like to have Thomas opinion > > on this before picking the patch. > > > > Thomas ? > > I am not Thomas :-) But just wanted to provide some feedback from my side. > > In general we are careful when deciding to export symbols. And at > least, I think at least we should require one user of it before > allowing it to be exported (I assume that is what is happening in > patch2/2 - I couldn't find it) I believe it is done in Patch 2/2, but I think you don't see them in the diff because they are already called from the driver, but the driver won't compile as a module due to the removal of __init markings in the driver. https://lore.kernel.org/lkml/182aae1ed5e5d2b124f1a32686e5566c9a27c980.1585021186.git.baolin.wang7@gmail.com/ -Saravana