aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-11-09 15:41:01 +0100
committerChristoph Hellwig <hch@lst.de>2021-12-07 12:47:38 +0100
commita90cf30437489343b8386ae87b4827b6d6c3ed50 (patch)
tree65dd1ad2ed4fac84b87a36df276ebf385ce48232 /drivers/platform/x86/intel/pmt/class.c
parent5570449b6876f215d49ac4db9ccce6ff7aa1e20a (diff)
downloadlinux-a90cf30437489343b8386ae87b4827b6d6c3ed50.tar.gz
linux-a90cf30437489343b8386ae87b4827b6d6c3ed50.tar.bz2
linux-a90cf30437489343b8386ae87b4827b6d6c3ed50.zip
dma-direct: always leak memory that can't be re-encrypted
We must never let unencrypted memory go back into the general page pool. So if we fail to set it back to encrypted when freeing DMA memory, leak the memory instead and warn the user. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions