Patch "hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER" has been added to the 5.10-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

    hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER

to the 5.10-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:
     hwrng-cavium-hw_random_cavium-should-depend-on-arch_.patch
and it can be found in the queue-5.10 subdirectory.

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



commit 184d63820695cbfe2137727af9c2da72c3ddc61d
Author: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Date:   Wed Jan 12 15:05:03 2022 +0100

    hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    
    [ Upstream commit ab7d88549e2f7ae116afd303f32e1950cb790a1d ]
    
    The Cavium ThunderX Random Number Generator is only present on Cavium
    ThunderX SoCs, and not available as an independent PCIe endpoint.  Hence
    add a dependency on ARCH_THUNDER, to prevent asking the user about this
    driver when configuring a kernel without Cavium Thunder SoC  support.
    
    Fixes: cc2f1908c6b8f625 ("hwrng: cavium - Add Cavium HWRNG driver for ThunderX SoC.")
    Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
    Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 31d367949fad..a7d9e4600d40 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -427,7 +427,7 @@ config HW_RANDOM_MESON
 
 config HW_RANDOM_CAVIUM
 	tristate "Cavium ThunderX Random Number Generator support"
-	depends on HW_RANDOM && PCI && ARM64
+	depends on HW_RANDOM && PCI && ARCH_THUNDER
 	default HW_RANDOM
 	help
 	  This driver provides kernel-side support for the Random Number



[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