From patchwork Mon Aug 26 14:52:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 13778003 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3B495C5321E for ; Mon, 26 Aug 2024 14:53:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=CtO4xAEL9yBaeNKsb39/pdhQBPvOyQ1bwO75F9w13kI=; b=hb6FhU+I793Mj7hTjmkIDQL4+l E9phyy+0tA6TW1t4uGszp0VhbYZePTiono9iONSzyiTAvQI+MAAiLm13qgC2dPGRwM6cETf/yQGa3 khlJHbq5q+Nj+cwtpM2XPXI+JqFmL3QUnKP/zM/VI3MfMct3qlV+6R8BMwNT/lNiGb+4SxWk/ID8O oxAWIN8yZ01XY3+IUqNN92gYeNlP+CcCekrmZUvJHPDqcsKUYdJlGw0bQi9OP9uzwtK+LrsjxINS/ +N+6ZEzlwPF2HUWo3cf2780AN3Bpjb2DUoM7AeDoQVfaGeGnML6kyF0SO2l8p4i5a9UZyajWRB0T6 UMExvbdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sib5c-00000007j9w-1Dr2; Mon, 26 Aug 2024 14:53:04 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sib4p-00000007j2Z-1cfR for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 14:52:17 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id C7E89CE0E76; Mon, 26 Aug 2024 14:52:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5A92C52FD6; Mon, 26 Aug 2024 14:52:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724683931; bh=3qDAuzVhQbt9+Jfd9ZZ7QkhWRIPzbTN/j1RwVsmTv5A=; h=From:List-Id:To:Cc:Subject:Date:From; b=Bw2y0gQHTbM/OazPSRnoBxAjZCvKThAmieYxrSoEKKU47Vu0VVaLIQL7I7GKCrARY 7aeI44kMd5btWMF0CbYAC4CHAM2H8NBJQC2ozDGXAkYD9FiJTn215dAcNCdFDiLK8v KSIOp3s3htHWJWSkOufXCYw6r7ZSdduCZ/lslrN8+W3T6ewiXCgcVyTr65uCU3AxDD altJF0OfQyHxfNFFX0vE9hcJu6bPqlTlkEspn40aIikhK++q6o6Jb9IqO13BvYfHzA xEtExyY0acYGQM5jxAOcwEB/AodAJTxALW4B7MzGdj7OkZq+AQzXBjYZfOWFrutGbl saYKHCQeIYHEg== From: Bjorn Andersson To: arm@kernel.org, soc@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Olof Johansson , Kevin Hilman , Bjorn Andersson , Bartosz Golaszewski , Konrad Dybcio , Andrew Halaney , Murali Nalajala , Richard Acayan , Volodymyr Babchuk Subject: [GIT PULL] Qualcomm driver fixes for v6.11 Date: Mon, 26 Aug 2024 09:52:08 -0500 Message-ID: <20240826145209.1646159-1-andersson@kernel.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_075215_792532_850F940F X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-fixes-for-6.11 for you to fetch changes up to c158ceb826068a8bbe3c9e78df420f47ba53c8a8: soc: qcom: pd-mapper: Fix singleton refcount (2024-08-21 09:50:48 -0500) ---------------------------------------------------------------- Qualcomm driver fixes for v6.11 This corrects the tzmem virt-to-phys conversion, which caused issues for the uefisecapp implementation of EFI variable access. SDM670 is excluded from tzmem usage due to reported issues. The SCM get wait queue context call is corrected to be marked ATOMIC and some dead code in qseecom, following the tzmem conversion, is removed. The memory backing command DB is remapped writecombined, to avoid XPU violations when Linux runs without the Qualcomm hypervisor. Two compile fixes are added for pd-mapper, and the broken reference count is corrected, to make pd-mapper deal with remoteprocs going away. In pmic_glink a race condition where the client callbacks might be called before we returned the client handle is corrected. The broken conditions for when to signal that the firmware is going down is also corrected. In the pmic_glink UCSI driver, the ucsi_unregister() is moved out of the pdr callback, as this is being invoked in atomic context. Konrad's email address is updated in MAINTAINERS, and related mailmap entries are added. ---------------------------------------------------------------- Andrew Halaney (1): soc: qcom: pd-mapper: Depend on ARCH_QCOM || COMPILE_TEST Arnd Bergmann (1): soc: qcom: pd-mapper: mark qcom_pdm_domains as __maybe_unused Bartosz Golaszewski (2): firmware: qcom: tzmem: fix virtual-to-physical address conversion firmware: qcom: qseecom: remove unused functions Bjorn Andersson (4): soc: qcom: pmic_glink: Fix race during initialization usb: typec: ucsi: Move unregister out of atomic section soc: qcom: pmic_glink: Actually communicate when remote goes down soc: qcom: pd-mapper: Fix singleton refcount Konrad Dybcio (2): mailmap: Add an entry for Konrad Dybcio MAINTAINERS: Update Konrad Dybcio's email address Murali Nalajala (1): firmware: qcom: scm: Mark get_wq_ctx() as atomic call Richard Acayan (1): firmware: qcom: tzmem: disable sdm670 platform Volodymyr Babchuk (1): soc: qcom: cmd-db: Map shared memory as WC, not WB .mailmap | 2 ++ MAINTAINERS | 6 ++-- drivers/firmware/qcom/qcom_scm-smc.c | 2 +- drivers/firmware/qcom/qcom_tzmem.c | 33 ++++++++++++++-------- drivers/power/supply/qcom_battmgr.c | 16 +++++++---- drivers/soc/qcom/Kconfig | 2 +- drivers/soc/qcom/cmd-db.c | 2 +- drivers/soc/qcom/pmic_glink.c | 40 ++++++++++++++++++-------- drivers/soc/qcom/pmic_glink_altmode.c | 17 +++++++---- drivers/soc/qcom/qcom_pd_mapper.c | 4 ++- drivers/usb/typec/ucsi/ucsi_glink.c | 43 ++++++++++++++++++++-------- include/linux/firmware/qcom/qcom_qseecom.h | 45 ------------------------------ include/linux/soc/qcom/pmic_glink.h | 11 ++++---- 13 files changed, 120 insertions(+), 103 deletions(-)