Patch "hwrng: cn10k - Enable by default CN10K driver if Thunder SoC is enabled" 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

    hwrng: cn10k - Enable by default CN10K driver if Thunder SoC is enabled

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:
     hwrng-cn10k-enable-by-default-cn10k-driver-if-thunde.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 ff241806a423f8c3ca0e579e9ff9b015bbd18bf0
Author: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
Date:   Mon Jul 29 13:36:40 2024 +0200

    hwrng: cn10k - Enable by default CN10K driver if Thunder SoC is enabled
    
    [ Upstream commit 9d3a7ff2ce1781a77ad6f8896e1256875c17631e ]
    
    Before commit addea5858b66 ("hwrng: Kconfig - Do not enable by default
    CN10K driver") the Marvell CN10K Random Number Generator was always
    enabled when HW_RANDOM was enabled.
    
    This was changed with that commit to prevent having this driver being
    always enabled on arm64. To prevent introducing regression with some old
    defconfig enable the driver when ARCH_THUNDER is enabled.
    
    Fixes: addea5858b66 ("hwrng: Kconfig - Do not enable by default CN10K driver")
    Closes: https://lore.kernel.org/all/SN7PR18MB53144B37B82ADEEC5D35AE0CE3AC2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
    Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
    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 01e2e1ef82cf9..ae5f3a01f5542 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -555,6 +555,7 @@ config HW_RANDOM_ARM_SMCCC_TRNG
 config HW_RANDOM_CN10K
        tristate "Marvell CN10K Random Number Generator support"
        depends on HW_RANDOM && PCI && (ARM64 || (64BIT && COMPILE_TEST))
+       default HW_RANDOM if ARCH_THUNDER
        help
 	 This driver provides support for the True Random Number
 	 generator available in Marvell CN10K SoCs.




[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