Patch "Revert "venus: firmware: Correct non-pix start and end addresses"" has been added to the 6.2-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

    Revert "venus: firmware: Correct non-pix start and end addresses"

to the 6.2-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:
     revert-venus-firmware-correct-non-pix-start-and-end-.patch
and it can be found in the queue-6.2 subdirectory.

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



commit 4acca2b2f38867edd19d7b6b490c346422bf4ffe
Author: Javier Martinez Canillas <javierm@xxxxxxxxxx>
Date:   Tue Feb 7 11:22:54 2023 +0100

    Revert "venus: firmware: Correct non-pix start and end addresses"
    
    [ Upstream commit f95b8ea79c47c0ad3d18f45ad538f9970e414d1f ]
    
    This reverts commit a837e5161cff, which broke probing of the venus
    driver, at least on the SC7180 SoC HP X2 Chromebook:
    
      qcom-venus aa00000.video-codec: Adding to iommu group 11
      qcom-venus aa00000.video-codec: non legacy binding
      qcom-venus aa00000.video-codec: failed to reset venus core
      qcom-venus: probe of aa00000.video-codec failed with error -110
    
    Matthias Kaehlcke also reported that the same change caused a regression
    in SC7180 and sc7280, that prevents AOSS from entering sleep mode during
    system suspend.  So let's revert this commit for now to fix both issues.
    
    Fixes: a837e5161cff ("venus: firmware: Correct non-pix start and end addresses")
    Reported-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
    Signed-off-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/media/platform/qcom/venus/firmware.c b/drivers/media/platform/qcom/venus/firmware.c
index 142d4c74017c0..d59ecf776715c 100644
--- a/drivers/media/platform/qcom/venus/firmware.c
+++ b/drivers/media/platform/qcom/venus/firmware.c
@@ -38,8 +38,8 @@ static void venus_reset_cpu(struct venus_core *core)
 	writel(fw_size, wrapper_base + WRAPPER_FW_END_ADDR);
 	writel(0, wrapper_base + WRAPPER_CPA_START_ADDR);
 	writel(fw_size, wrapper_base + WRAPPER_CPA_END_ADDR);
-	writel(0, wrapper_base + WRAPPER_NONPIX_START_ADDR);
-	writel(0, wrapper_base + WRAPPER_NONPIX_END_ADDR);
+	writel(fw_size, wrapper_base + WRAPPER_NONPIX_START_ADDR);
+	writel(fw_size, wrapper_base + WRAPPER_NONPIX_END_ADDR);
 
 	if (IS_V6(core)) {
 		/* Bring XTSS out of reset */



[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