From patchwork Thu Mar 26 22:44:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 184934 Delivered-To: patches@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp616615ilr; Thu, 26 Mar 2020 15:45:04 -0700 (PDT) X-Received: by 2002:a17:90b:3547:: with SMTP id lt7mr2310178pjb.96.1585262704632; Thu, 26 Mar 2020 15:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585262704; cv=none; d=google.com; s=arc-20160816; b=dReoVlXTScVKBNN1Lm9vNmHKZoLnfF3Qpy0XuSJRUaKyrZHLPgFLeOd1FvU9bucpbd wm+T/fGatuSOMnKsvftY9dV417QIyuLGu4baEjVrn5unqOOeI2l1OOs9M81hvjvbDj9P FN61liUU9e9vJLNPAgrd8Q7oUBZSq4njZH3Z7zLGoDEcLuP1ghpyehlbwygCn2AAKvG2 cGeCaP20ahBFLF0ugVQTywAL+YE+W4ScoMKOhrTDTjAlhy42o6DwLRoDfKh6GbUh4Unh COg5CzNlj+OEZK4uRDrhUxYuc+I/YrpulJH3aEs2IYExbkVzxRkUKvGfWso/h7EpWMLu 1KRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=QCWn7QB+wZCv5c30k8RVCk7/lqCrOfd18UirhMPYmK4=; b=rf3DDT7mawl2dydET2gbB55LpR2c6YC5VFxkF48esixnjRhouzY82alwmU7qeVHDRA Y2xiCE0392yDzoIM6WFMqPBmGD+zD6xIXO3LpbHRy2C7qvNplSgG16bAbMjKu2LQQGLn pNlShniqOQXK6RlwC/Jss+Wl990D5QoADOEW+CI+UVLwbpfSV3f+aS4gxoDnk15IOaF0 mrxO5hEXd8yIaGSAuEcPA3s7DtW8FGcafUjWP/UQLicr4XYtPMgVacDe7bHgsQi9yDJj St04gXVAf+jDgUGBJYtWwSS0bIv9lOCU2uKJVKSIcvHA6p/tul/ptI+l4mMYsv6IhWk7 L0/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N33IqX9p; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d184sor4758328pfd.87.2020.03.26.15.45.03 for (Google Transport Security); Thu, 26 Mar 2020 15:45:04 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N33IqX9p; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=QCWn7QB+wZCv5c30k8RVCk7/lqCrOfd18UirhMPYmK4=; b=N33IqX9pR8IFxSujO89nN5pUaaCA4nBX1A1ln3UpDVDEWRFfxJaRnsPX0avq5hvOOb 2ofJ0IBBH8t/FwzZU06c9vEIQcKf77XddzomwMPb+6JZrk9YELbqADfpE9DgebGdsfXX TEUkabHNL/Xf9KeDlhDNIsYiWxHpnUwyc6MZWIrseiXmmZkLH8Djn5RLV8veQBEa+Njn byOEf1yy3BkvYdzEBO6w0ebhXyxDA1qjB/rqCrdy2Y4gssPJTBegM+ZrCV04m0yL+sxC huhkDJBxyIr+XyucI/372wcf3Lyltczi9mNO4Ot7erYGL5w3pdhCbuRLh9B8JXVL4Gh8 L8GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QCWn7QB+wZCv5c30k8RVCk7/lqCrOfd18UirhMPYmK4=; b=iJLMNvs6+tpKbj46FJK7TYfpDZr6t/aHWbkKWIDbofJft9AyCoYkgtvhumdEnzJBL1 SMsFEBc03ICKNAM3TmqQhb9lQMS1ir2uRZZkdiccS7FySdwP6gNjK6NIFPsbXQPS4AcS UQ4nM+Ltw4OtwhciAKAl5Ebt5iPryI+KHmxIk1COB2aN1fJzAUhaV7j/jKgqGOHOPTwS fPYD4qe6XtIq3YIjqS1e0824/oAaiXn7r0fkLOMrA+9ithQ3dnnw8yuAiPYYUL6WiTqN 4EDk0DUTZWMwRBAwvsA4rqIW06FdrItOrUzGK2goYsabVBJ3cqfoan/nSSq/djMKfSF9 o4tw== X-Gm-Message-State: ANhLgQ1habnkGsI3sEICFtwujodF1QnKsEgtiIfhiJW9xknE1Pp8F1Ub swKwBPZwVEVsmogrXY6/sQTe+fQR X-Google-Smtp-Source: ADFU+vsRcEOs5dU6hbt47BGmrCU7JkCeeC2o1Umpy1nTagcIknKtZ13Kjd+KJ8ISVJMUMbzoNajxTQ== X-Received: by 2002:aa7:9a8e:: with SMTP id w14mr11328537pfi.113.1585262702882; Thu, 26 Mar 2020 15:45:02 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id g10sm2592788pfk.90.2020.03.26.15.45.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 15:45:02 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Todd Kjos , Saravana Kannan , Andy Gross , Bjorn Andersson , Rajendra Nayak , linux-arm-msm@vger.kernel.org Subject: [PATCH v3 0/3] Allow for rpmpd/rpmh/rpmhpd drivers to be loaded as permenent modules Date: Thu, 26 Mar 2020 22:44:56 +0000 Message-Id: <20200326224459.105170-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 This series simply allows the qcom rpmpd, rpmh and rpmhpd drivers to be configured and loaded as permement modules. This means the modules can be loaded, but not unloaded. While maybe not ideal, this is an improvement over requiring the drivers to be built in. Feedback on this series would be welcome! thanks -john New in v3: * Added similar change to rpmh and rpmhpd drivers. Cc: Todd Kjos Cc: Saravana Kannan Cc: Andy Gross Cc: Bjorn Andersson Cc: Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org John Stultz (3): soc: qcom: rpmpd: Allow RPMPD driver to be loaded as a module soc: qcom: rpmh: Allow RPMH driver to be loaded as a module soc: qcom: rpmhpd: Allow RPMHPD driver to be loaded as a module drivers/soc/qcom/Kconfig | 8 ++++---- drivers/soc/qcom/rpmh-rsc.c | 6 ++++++ drivers/soc/qcom/rpmhpd.c | 5 +++++ drivers/soc/qcom/rpmpd.c | 6 ++++++ 4 files changed, 21 insertions(+), 4 deletions(-) -- 2.17.1