diff options
author | Jason Gunthorpe | 2017-11-17 14:24:03 +0100 |
---|---|---|
committer | Jarkko Sakkinen | 2018-01-08 11:58:36 +0100 |
commit | 6e592a065d51d26f9d62b8b7501a5114076af8b4 (patch) | |
tree | 7297d133dcf53bf910d7e3f16e8586b1426382cf /drivers/char/hw_random/Makefile | |
parent | tpm: use struct tpm_chip for tpm_chip_find_get() (diff) | |
download | kernel-qcow2-linux-6e592a065d51d26f9d62b8b7501a5114076af8b4.tar.gz kernel-qcow2-linux-6e592a065d51d26f9d62b8b7501a5114076af8b4.tar.xz kernel-qcow2-linux-6e592a065d51d26f9d62b8b7501a5114076af8b4.zip |
tpm: Move Linux RNG connection to hwrng
The tpm-rng.c approach is completely inconsistent with how the kernel
handles hotplug. Instead manage a hwrng device for each TPM. This will
cause the kernel to read entropy from the TPM when it is plugged in, and
allow access to the TPM rng via /dev/hwrng.
Signed-off-by: Jason Gunthorpe <jgg@ziepe.ca>
Tested-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/hw_random/Makefile')
-rw-r--r-- | drivers/char/hw_random/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/Makefile b/drivers/char/hw_random/Makefile index f3728d008fff..0ef05c61d9c8 100644 --- a/drivers/char/hw_random/Makefile +++ b/drivers/char/hw_random/Makefile @@ -27,7 +27,6 @@ obj-$(CONFIG_HW_RANDOM_NOMADIK) += nomadik-rng.o obj-$(CONFIG_HW_RANDOM_PSERIES) += pseries-rng.o obj-$(CONFIG_HW_RANDOM_POWERNV) += powernv-rng.o obj-$(CONFIG_HW_RANDOM_HISI) += hisi-rng.o -obj-$(CONFIG_HW_RANDOM_TPM) += tpm-rng.o obj-$(CONFIG_HW_RANDOM_BCM2835) += bcm2835-rng.o obj-$(CONFIG_HW_RANDOM_IPROC_RNG200) += iproc-rng200.o obj-$(CONFIG_HW_RANDOM_MSM) += msm-rng.o |