android_kernel_motorola_sm6375/drivers/char
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jarkko Sakkinen 1a2e558c8b tpm: Unify the mismatching TPM space buffer sizes
commit 6c4e79d99e6f42b79040f1a33cd4018f5425030b upstream.

The size of the buffers for storing context's and sessions can vary from
arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the
maximum for PPC64). Define a fixed buffer size set to 16 kB. This should be
enough for most use with three handles (that is how many we allow at the
moment). Parametrize the buffer size while doing this, so that it is easier
to revisit this later on if required.

Cc: [email protected]
Reported-by: Stefan Berger <[email protected]>
Fixes: 745b361e98 ("tpm: infrastructure for TPM spaces")
Reviewed-by: Jerry Snitselaar <[email protected]>
Tested-by: Stefan Berger <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-08-19 08:16:27 +02:00
..
agp agp/intel: Fix a memory leak on module initialisation failure 2020-08-19 08:16:05 +02:00
hw_random hwrng: ks-sa - Fix runtime PM imbalance on error 2020-06-30 15:37:03 -04:00
ipmi ipmi: use vzalloc instead of kmalloc for user creation 2020-06-24 17:50:28 +02:00
mwave
pcmcia
tpm tpm: Unify the mismatching TPM space buffer sizes 2020-08-19 08:16:27 +02:00
xilinx_hwicap
xillybus PCI: Move ASPM declarations to linux/pci.h 2019-08-28 08:28:39 -05:00
adi.c
apm-emulation.c
applicom.c
applicom.h
bsr.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c
hangcheck-timer.c
hpet.c char: hpet: Fix out-of-bounds read bug 2020-02-24 08:36:59 +01:00
Kconfig ia64 for v5.4 - big change here is removal of support for SGI Altix 2019-09-16 15:32:01 -07:00
lp.c lp: fix sparc64 LPSETTIMEOUT ioctl 2019-12-13 08:42:17 +01:00
Makefile
mem.c /dev/mem: Add missing memory barriers for devmem_inode 2020-07-29 10:18:43 +02:00
misc.c
mspec.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
powernv-op-panel.c
ppdev.c ppdev: fix PPGETTIME/PPSETTIME ioctls 2019-12-17 19:56:41 +01:00
ps3flash.c
random.c random32: update the net random state on interrupt and activity 2020-08-07 09:34:01 +02:00
raw.c
rtc.c
scx200_gpio.c
sonypi.c
tb0219.c
tlclk.c
toshiba.c toshiba: Add correct printk log level while emitting error log 2019-09-04 13:42:43 +02:00
ttyprintk.c ttyprintk: fix a potential deadlock in interrupt context issue 2020-02-05 21:22:41 +00:00
uv_mmtimer.c
virtio_console.c virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc serial 2020-07-22 09:33:11 +02:00