Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp20865pxa; Wed, 26 Aug 2020 15:38:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxv+nTdVry/pXHpgxyxHOBfA7k1CqPDHiognYVqyGIOMhactCDi+REkmtVbsdyM33+1U6zC X-Received: by 2002:a50:e004:: with SMTP id e4mr16898823edl.114.1598481538972; Wed, 26 Aug 2020 15:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598481538; cv=none; d=google.com; s=arc-20160816; b=dbbcsUYekI0rmChZdGIzLPHYNI6/QUeDAB2zUivRXJ3G6XVpShPm2AJYw17aZSXKhp dj0OyF16hZLGXGut0zXdnzx1gM6+PHGDo/uPiReyJzNQ+PPsYjO1i/9usUxGmllf+a5U fBtn3mGYRrr1xIWQ/7JZdHgjXyMMBj2sVyW0u/OOUzaOX8rQ7Cbv6rtoy8UlqdTNlevj 6QyV4KSKMgi7Wo9uiurQ/sV22GNCJmE2dbQPSxb3FXeEZmIjKPijxDUU2xQm8l8PNUTn icQ5CS+JNfCQR2LvJMoespQI6apFw/sysH7lxvniIDnlAgE3gbmw/o2phvwRswdjKnBw la9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=gB8oYD4Pt7SucchxU+DTOwvZHtGiH0OIq9M1B9Glelo=; b=VNwnY8tiCQGytHULyA+sZvZ2Waa9035UVHJXO+50LFqFH3F2ufQPwFoN33fyNNJVN0 vmU471qEDy9UIGJU9uF2zaF4nNlg18fRThfylPDmbg8SUiZsuw6dEn7lZf6TpWnBmmg/ +wbOW9lXGDguVH4iGG8U72EMXXvLBbdOMYsR8TvnY0PPl6EZADkXN81ef4LVkqe6EQM8 l6PeQJGQZSME1J5D8gyekSWKmryj/nm2RKaGzjFMQKYeBrgRKrz4hrM3mXdTvHk2mdNb 6FldBAu83VUZWfEFLdWJb70a+dF4grjbsLKwW2iQzse7NeYhYeqjD8sPeA7ATQdAoC+c /mfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BAjSdUDh; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ba25si260472edb.164.2020.08.26.15.38.36; Wed, 26 Aug 2020 15:38:58 -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=@chromium.org header.s=google header.b=BAjSdUDh; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726894AbgHZWgq (ORCPT + 99 others); Wed, 26 Aug 2020 18:36:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbgHZWgp (ORCPT ); Wed, 26 Aug 2020 18:36:45 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4D56C061756 for ; Wed, 26 Aug 2020 15:36:45 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id u128so1896494pfb.6 for ; Wed, 26 Aug 2020 15:36:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=gB8oYD4Pt7SucchxU+DTOwvZHtGiH0OIq9M1B9Glelo=; b=BAjSdUDhLhzv3a5zudU06ZPo6k5P9FUQEHaW1HDzkIUz/bJUmhH2l2l7kBO6nsu9uA vGyLlE9+D5QMs6YgHoengrtlsj8wnSzDhW9cvhsb2FVPFl5J0ojeNC2SPsWnWm6rzP11 3c2eLNCSfNOO6mxK8YQditkEwvvwCpcS+b0cE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=gB8oYD4Pt7SucchxU+DTOwvZHtGiH0OIq9M1B9Glelo=; b=ulujKcD2JMlEmFM2TWmruLyCBXiXlhAaJkQFMSgIHQ8/UAjv0j3/9Y9YoC7HrgGJyV v2AqiNBDMN6GebtR83CM2L/SIIequseuCrFdbShfi6pvAi783sSdqTAWhf7qpjyiFHGS Bh3S+lW6n1FbpJielUq3W2WmCD5tVI2VVpr+IXrsvjvdMI4YTW7jzCLbdBf0MWjlr6CE RNrba5qrqA/TOaagMul1RHCn2P+RepEk6DPShGojIQtun9N+oGcXwxorr2eK7OL/zy3j MFKHgCsmiFhQZEVQmkfiswgxLgk3tgIT06xFY660CUXhgaKvOgQmsDjaXoslhOx3spr2 dJnA== X-Gm-Message-State: AOAM531nEPoME0x1raM/Fxr7jdcudMV+jtbF5NTKGuNLflOuDaaIzJO9 xSszqX6HOOsODHl06c4+xFR3Q8gt2wEoTw== X-Received: by 2002:a17:902:7481:: with SMTP id h1mr13480687pll.139.1598481405002; Wed, 26 Aug 2020 15:36:45 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id t33sm52987pga.72.2020.08.26.15.36.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 15:36:44 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1598354482-15491-3-git-send-email-mkshah@codeaurora.org> References: <1598354482-15491-1-git-send-email-mkshah@codeaurora.org> <1598354482-15491-3-git-send-email-mkshah@codeaurora.org> Subject: Re: [PATCH v2 2/2] soc: qcom: rpmh: Allow RPMH driver to be loaded as a module From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ulf.hansson@linaro.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, John Stultz , Todd Kjos , Saravana Kannan , Andy Gross , Maulik Shah To: Maulik Shah , andy.gross@linaro.org, bjorn.andersson@linaro.org Date: Wed, 26 Aug 2020 15:36:42 -0700 Message-ID: <159848140288.334488.4195649089371689022@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Maulik Shah (2020-08-25 04:21:22) > From: John Stultz >=20 > This patch allow the rpmh driver to be loaded as a permenent > module. Meaning it can be loaded from a module, but then cannot > be unloaded. >=20 > Ideally, it would include a remove hook and related logic, but > the rpmh driver is fairly core to the system, so once its loaded > with almost anything else to get the system to go, the dependencies > are not likely to ever also be removed. >=20 > So making it a permanent module at least improves things slightly > over requiring it to be a built in driver. >=20 > Cc: Todd Kjos > Cc: Saravana Kannan > Cc: Andy Gross > Cc: Bjorn Andersson > Cc: Rajendra Nayak > Cc: linux-arm-msm@vger.kernel.org > Signed-off-by: John Stultz > Signed-off-by: Bjorn Andersson > [mkshah: Fix typos in commit message, send after removing _rcuidle trace] > Signed-off-by: Maulik Shah > --- Reviewed-by: Stephen Boyd