Patch "firmware: qcom: scm: suppress download mode error" has been added to the 6.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    firmware: qcom: scm: suppress download mode error

to the 6.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     firmware-qcom-scm-suppress-download-mode-error.patch
and it can be found in the queue-6.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1b392af736b5605c2454f8ef0cb08c7509f31fdc
Author: Johan Hovold <johan+linaro@xxxxxxxxxx>
Date:   Wed Oct 2 12:01:21 2024 +0200

    firmware: qcom: scm: suppress download mode error
    
    [ Upstream commit d67907154808745b0fae5874edc7b0f78d33991c ]
    
    Stop spamming the logs with errors about missing mechanism for setting
    the so called download (or dump) mode for users that have not requested
    that feature to be enabled in the first place.
    
    This avoids the follow error being logged on boot as well as on
    shutdown when the feature it not available and download mode has not
    been enabled on the kernel command line:
    
            qcom_scm firmware:scm: No available mechanism for setting download mode
    
    Fixes: 79cb2cb8d89b ("firmware: qcom: scm: Disable SDI and write no dump to dump mode")
    Fixes: 781d32d1c970 ("firmware: qcom_scm: Clear download bit during reboot")
    Cc: Mukesh Ojha <quic_mojha@xxxxxxxxxxx>
    Cc: stable@xxxxxxxxxxxxxxx      # 6.4
    Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
    Reviewed-by: Mukesh Ojha <quic_mojha@xxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20241002100122.18809-2-johan+linaro@xxxxxxxxxx
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c
index 26b0eb7d147db..e10500cd4658f 100644
--- a/drivers/firmware/qcom/qcom_scm.c
+++ b/drivers/firmware/qcom/qcom_scm.c
@@ -542,7 +542,7 @@ static void qcom_scm_set_download_mode(u32 dload_mode)
 	} else if (__qcom_scm_is_call_available(__scm->dev, QCOM_SCM_SVC_BOOT,
 						QCOM_SCM_BOOT_SET_DLOAD_MODE)) {
 		ret = __qcom_scm_set_dload_mode(__scm->dev, !!dload_mode);
-	} else {
+	} else if (dload_mode) {
 		dev_err(__scm->dev,
 			"No available mechanism for setting download mode\n");
 	}




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux