All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Andersson <andersson@kernel.org>
To: arm@kernel.org, soc@kernel.org
Cc: linux-arm-msm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>,
	Kevin Hilman <khilman@baylibre.com>,
	Mukesh Ojha <quic_mojha@quicinc.com>,
	Abel Vesa <abel.vesa@linaro.org>,
	Maulik Shah <quic_mkshah@quicinc.com>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Gabor Juhos <j4g8y7@gmail.com>,
	Bjorn Andersson <quic_bjorande@quicinc.com>,
	Justin Stitt <justinstitt@google.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Luca Weiss <luca.weiss@fairphone.com>,
	wangkaiyuan <wangkaiyuan@inspur.com>
Subject: [GIT PULL] Qualcomm driver updates for v6.10
Date: Sat, 27 Apr 2024 11:09:16 -0500	[thread overview]
Message-ID: <20240427160917.1431354-1-andersson@kernel.org> (raw)


The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-for-6.10

for you to fetch changes up to 166db01007ea802ff9933ac73ec8f140ca0cf5d5:

  soc: qcom: cmd-db: replace deprecated strncpy with strtomem (2024-04-21 12:26:47 -0500)

----------------------------------------------------------------
Qualcomm driver updates for v6.10

The Qualcomm SCM driver initialization order is improved, to avoid any
potential for a client to find a half-initialized SCM instance.
The handling of download mode bits is updated to not attempt
QCOM_SCM_BOOT_SET_DLOAD_MODE if a io-address for the update is
specified, and that path is changed to perform a read-modify-write to
avoid updating unrelated bits.  Error handling is corrected in the
peripheral authentication service (PAS) functions, to release
interconnect bandwidth votes in the case of an error. An unwanted error
print on allocation error is also removed from this code path.

The QSEECOM allow list is marked __maybe_unused to avoid build warnings
when built with !OF. The error handling related to the interconnect API
is cleaned up to avoid handling the impossible IS_ERR() condition.

initcall level is bumped to "core" for cmd-db and rpmh-rsc, as dependent
drivers like regulators, interconnects and clocks are registered at this
level.

Another attempt is made to remove the strncpy() usage in cmd-db, this
time with strtomem_pad() which has the correct characteristics.

The bwmon regmap cache is changed to maple tree.

After an attempt to add missing MODULE_DEVICE_TABLEs to debug drivers,
the intention of not having them automatically load is documented.

Operations on the pmic_glink client list is put under mutual exclusion,
to avoid races when clients are being registered. pmic_glink client
registered after the firmware notification arrived was not informed that
the firmware was up, this is resolved.

More DSPs and the apss subsystem is added to the Qualcomm sleep stats driver.

Checks for in-flight regulator requests in the RPMh RSC driver is
improved to deal with the fact that these occupy multiple registers, so
it's insufficient to just to direct address comparison.

The socinfo drivers learns about X1 Elite and SMB2360 PMIC.

The maintainers entry is split between the linux-arm-msm list and
subset that is maintained in the qcom-soc tree, to avoid some confusion
about maintainership.

----------------------------------------------------------------
Abel Vesa (3):
      dt-bindings: arm: qcom,ids: Add SoC ID for X1E80100
      soc: qcom: socinfo: Add X1E80100 SoC ID table entry
      soc: qcom: socinfo: Add SMB2360 PMIC

Bjorn Andersson (2):
      Merge branch 'drivers-for-6.10' onto 'v6.9-rc1'
      MAINTAINERS: Split Qualcomm SoC and linux-arm-msm entries

Dmitry Baryshkov (2):
      soc: qcom: pmic_glink: don't traverse clients list without a lock
      soc: qcom: pmic_glink: notify clients about the current state

Gabor Juhos (2):
      firmware: qcom_scm: disable clocks if qcom_scm_bw_enable() fails
      firmware: qcom_scm: remove IS_ERR() checks from qcom_scm_bw_{en,dis}able()

Justin Stitt (1):
      soc: qcom: cmd-db: replace deprecated strncpy with strtomem

Krzysztof Kozlowski (2):
      firmware: qcom: qcm: fix unused qcom_scm_qseecom_allowlist
      soc: qcom: mention intentionally broken module autoloading

Luca Weiss (1):
      dt-bindings: soc: qcom: qcom,pmic-glink: document QCM6490 compatible

Maulik Shah (3):
      soc: qcom: Update init level to core_initcall() for cmd-db and rpmh-rsc
      soc: qcom: qcom_stats: Add DSPs and apss subsystem stats
      soc: qcom: rpmh-rsc: Enhance check for VRM in-flight request

Mukesh Ojha (5):
      firmware: qcom: scm: Remove log reporting memory allocation failure
      firmware: qcom: scm: Remove redundant scm argument from qcom_scm_waitq_wakeup()
      firmware: qcom: scm: Rework dload mode availability check
      firmware: qcom: scm: Fix __scm and waitq completion variable initialization
      firmware: qcom: scm: Modify only the download bits in TCSR register

wangkaiyuan (1):
      soc: qcom: icc-bwmon: Convert to use maple tree register cache

 MAINTAINERS                            | 33 +++++++++++---
 drivers/firmware/qcom/qcom_scm.c       | 79 +++++++++++++++++++++-------------
 drivers/soc/qcom/cmd-db.c              | 41 ++++++++++++++----
 drivers/soc/qcom/icc-bwmon.c           |  8 ++--
 drivers/soc/qcom/pmic_glink.c          |  9 ++++
 drivers/soc/qcom/pmic_pdcharger_ulog.c |  4 ++
 drivers/soc/qcom/qcom_stats.c          |  4 ++
 drivers/soc/qcom/rpm_master_stats.c    |  4 ++
 drivers/soc/qcom/rpmh-rsc.c            |  5 ++-
 drivers/soc/qcom/socinfo.c             |  2 +
 include/dt-bindings/arm/qcom,ids.h     |  1 +
 include/soc/qcom/cmd-db.h              | 10 ++++-
 12 files changed, 151 insertions(+), 49 deletions(-)

WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Andersson <andersson@kernel.org>
To: arm@kernel.org, soc@kernel.org
Cc: linux-arm-msm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>,
	Kevin Hilman <khilman@baylibre.com>,
	Mukesh Ojha <quic_mojha@quicinc.com>,
	Abel Vesa <abel.vesa@linaro.org>,
	Maulik Shah <quic_mkshah@quicinc.com>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Gabor Juhos <j4g8y7@gmail.com>,
	Bjorn Andersson <quic_bjorande@quicinc.com>,
	Justin Stitt <justinstitt@google.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Luca Weiss <luca.weiss@fairphone.com>,
	wangkaiyuan <wangkaiyuan@inspur.com>
Subject: [GIT PULL] Qualcomm driver updates for v6.10
Date: Sat, 27 Apr 2024 11:09:16 -0500	[thread overview]
Message-ID: <20240427160917.1431354-1-andersson@kernel.org> (raw)


The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-for-6.10

for you to fetch changes up to 166db01007ea802ff9933ac73ec8f140ca0cf5d5:

  soc: qcom: cmd-db: replace deprecated strncpy with strtomem (2024-04-21 12:26:47 -0500)

----------------------------------------------------------------
Qualcomm driver updates for v6.10

The Qualcomm SCM driver initialization order is improved, to avoid any
potential for a client to find a half-initialized SCM instance.
The handling of download mode bits is updated to not attempt
QCOM_SCM_BOOT_SET_DLOAD_MODE if a io-address for the update is
specified, and that path is changed to perform a read-modify-write to
avoid updating unrelated bits.  Error handling is corrected in the
peripheral authentication service (PAS) functions, to release
interconnect bandwidth votes in the case of an error. An unwanted error
print on allocation error is also removed from this code path.

The QSEECOM allow list is marked __maybe_unused to avoid build warnings
when built with !OF. The error handling related to the interconnect API
is cleaned up to avoid handling the impossible IS_ERR() condition.

initcall level is bumped to "core" for cmd-db and rpmh-rsc, as dependent
drivers like regulators, interconnects and clocks are registered at this
level.

Another attempt is made to remove the strncpy() usage in cmd-db, this
time with strtomem_pad() which has the correct characteristics.

The bwmon regmap cache is changed to maple tree.

After an attempt to add missing MODULE_DEVICE_TABLEs to debug drivers,
the intention of not having them automatically load is documented.

Operations on the pmic_glink client list is put under mutual exclusion,
to avoid races when clients are being registered. pmic_glink client
registered after the firmware notification arrived was not informed that
the firmware was up, this is resolved.

More DSPs and the apss subsystem is added to the Qualcomm sleep stats driver.

Checks for in-flight regulator requests in the RPMh RSC driver is
improved to deal with the fact that these occupy multiple registers, so
it's insufficient to just to direct address comparison.

The socinfo drivers learns about X1 Elite and SMB2360 PMIC.

The maintainers entry is split between the linux-arm-msm list and
subset that is maintained in the qcom-soc tree, to avoid some confusion
about maintainership.

----------------------------------------------------------------
Abel Vesa (3):
      dt-bindings: arm: qcom,ids: Add SoC ID for X1E80100
      soc: qcom: socinfo: Add X1E80100 SoC ID table entry
      soc: qcom: socinfo: Add SMB2360 PMIC

Bjorn Andersson (2):
      Merge branch 'drivers-for-6.10' onto 'v6.9-rc1'
      MAINTAINERS: Split Qualcomm SoC and linux-arm-msm entries

Dmitry Baryshkov (2):
      soc: qcom: pmic_glink: don't traverse clients list without a lock
      soc: qcom: pmic_glink: notify clients about the current state

Gabor Juhos (2):
      firmware: qcom_scm: disable clocks if qcom_scm_bw_enable() fails
      firmware: qcom_scm: remove IS_ERR() checks from qcom_scm_bw_{en,dis}able()

Justin Stitt (1):
      soc: qcom: cmd-db: replace deprecated strncpy with strtomem

Krzysztof Kozlowski (2):
      firmware: qcom: qcm: fix unused qcom_scm_qseecom_allowlist
      soc: qcom: mention intentionally broken module autoloading

Luca Weiss (1):
      dt-bindings: soc: qcom: qcom,pmic-glink: document QCM6490 compatible

Maulik Shah (3):
      soc: qcom: Update init level to core_initcall() for cmd-db and rpmh-rsc
      soc: qcom: qcom_stats: Add DSPs and apss subsystem stats
      soc: qcom: rpmh-rsc: Enhance check for VRM in-flight request

Mukesh Ojha (5):
      firmware: qcom: scm: Remove log reporting memory allocation failure
      firmware: qcom: scm: Remove redundant scm argument from qcom_scm_waitq_wakeup()
      firmware: qcom: scm: Rework dload mode availability check
      firmware: qcom: scm: Fix __scm and waitq completion variable initialization
      firmware: qcom: scm: Modify only the download bits in TCSR register

wangkaiyuan (1):
      soc: qcom: icc-bwmon: Convert to use maple tree register cache

 MAINTAINERS                            | 33 +++++++++++---
 drivers/firmware/qcom/qcom_scm.c       | 79 +++++++++++++++++++++-------------
 drivers/soc/qcom/cmd-db.c              | 41 ++++++++++++++----
 drivers/soc/qcom/icc-bwmon.c           |  8 ++--
 drivers/soc/qcom/pmic_glink.c          |  9 ++++
 drivers/soc/qcom/pmic_pdcharger_ulog.c |  4 ++
 drivers/soc/qcom/qcom_stats.c          |  4 ++
 drivers/soc/qcom/rpm_master_stats.c    |  4 ++
 drivers/soc/qcom/rpmh-rsc.c            |  5 ++-
 drivers/soc/qcom/socinfo.c             |  2 +
 include/dt-bindings/arm/qcom,ids.h     |  1 +
 include/soc/qcom/cmd-db.h              | 10 ++++-
 12 files changed, 151 insertions(+), 49 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2024-04-27 16:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-27 16:09 Bjorn Andersson [this message]
2024-04-27 16:09 ` [GIT PULL] Qualcomm driver updates for v6.10 Bjorn Andersson
2024-04-29 21:00 ` patchwork-bot+linux-soc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240427160917.1431354-1-andersson@kernel.org \
    --to=andersson@kernel.org \
    --cc=abel.vesa@linaro.org \
    --cc=arm@kernel.org \
    --cc=arnd@arndb.de \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=j4g8y7@gmail.com \
    --cc=justinstitt@google.com \
    --cc=khilman@baylibre.com \
    --cc=krzk@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=luca.weiss@fairphone.com \
    --cc=olof@lixom.net \
    --cc=quic_bjorande@quicinc.com \
    --cc=quic_mkshah@quicinc.com \
    --cc=quic_mojha@quicinc.com \
    --cc=soc@kernel.org \
    --cc=wangkaiyuan@inspur.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.