Revision 30f92d62e5b41a94de2d0bbd677a6ea2fcfed74f authored by Akinobu Mita on 06 September 2017, 10:15:31 UTC, committed by Christoph Hellwig on 11 September 2017, 16:29:38 UTC
The initial chunk size for host memory buffer allocation is currently PAGE_SIZE << MAX_ORDER. MAX_ORDER order allocation is usually failed without CONFIG_DMA_CMA. So the HMB allocation is retried with chunk size PAGE_SIZE << (MAX_ORDER - 1) in general, but there is no problem if the retry allocation works correctly. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> [hch: rebased] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Cc: stable@vger.kernel.org
1 parent 92dc689
File | Mode | Size |
---|---|---|
st33zp24 | ||
Kconfig | -rw-r--r-- | 5.7 KB |
Makefile | -rw-r--r-- | 927 bytes |
tpm-chip.c | -rw-r--r-- | 11.1 KB |
tpm-dev-common.c | -rw-r--r-- | 3.8 KB |
tpm-dev.c | -rw-r--r-- | 1.8 KB |
tpm-dev.h | -rw-r--r-- | 739 bytes |
tpm-interface.c | -rw-r--r-- | 31.4 KB |
tpm-sysfs.c | -rw-r--r-- | 8.0 KB |
tpm.h | -rw-r--r-- | 13.7 KB |
tpm1_eventlog.c | -rw-r--r-- | 11.1 KB |
tpm2-cmd.c | -rw-r--r-- | 26.7 KB |
tpm2-space.c | -rw-r--r-- | 12.1 KB |
tpm2_eventlog.c | -rw-r--r-- | 5.2 KB |
tpm_acpi.c | -rw-r--r-- | 2.5 KB |
tpm_atmel.c | -rw-r--r-- | 5.4 KB |
tpm_atmel.h | -rw-r--r-- | 3.4 KB |
tpm_crb.c | -rw-r--r-- | 16.0 KB |
tpm_eventlog.h | -rw-r--r-- | 2.4 KB |
tpm_i2c_atmel.c | -rw-r--r-- | 6.4 KB |
tpm_i2c_infineon.c | -rw-r--r-- | 18.2 KB |
tpm_i2c_nuvoton.c | -rw-r--r-- | 18.9 KB |
tpm_ibmvtpm.c | -rw-r--r-- | 16.0 KB |
tpm_ibmvtpm.h | -rw-r--r-- | 1.9 KB |
tpm_infineon.c | -rw-r--r-- | 15.9 KB |
tpm_nsc.c | -rw-r--r-- | 10.0 KB |
tpm_of.c | -rw-r--r-- | 2.1 KB |
tpm_ppi.c | -rw-r--r-- | 9.5 KB |
tpm_tis.c | -rw-r--r-- | 11.0 KB |
tpm_tis_core.c | -rw-r--r-- | 20.8 KB |
tpm_tis_core.h | -rw-r--r-- | 4.3 KB |
tpm_tis_spi.c | -rw-r--r-- | 5.8 KB |
tpm_vtpm_proxy.c | -rw-r--r-- | 16.6 KB |
tpmrm-dev.c | -rw-r--r-- | 1.3 KB |
xen-tpmfront.c | -rw-r--r-- | 8.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...