summaryrefslogtreecommitdiff
path: root/drivers/misc/mei/pci-txe.c
diff options
context:
space:
mode:
authorfarah kassabri <fkassabri@habana.ai>2020-05-06 11:17:38 +0300
committerOded Gabbay <ogabbay@kernel.org>2020-11-30 10:47:31 +0200
commit03df136bc5dd5be111c6c4b8dc265615e190fe75 (patch)
tree7ace9164d6ce8d6dbffdc6aefdcc836a6ac69d7c /drivers/misc/mei/pci-txe.c
parentc692dec70379526b0bb09f94467bbd456859dcad (diff)
habanalabs/gaudi: scrub all memory upon closing FD
In cases of multi-tenants, administrators may want to prevent data leakage between users running on the same device one after another. To do that the driver can scrub the internal memory (both SRAM and DRAM) after a user finish to use the memory. Because in GAUDI the driver allows only one application to use the device at a time, it can scrub the memory when user app close FD. In future devices where we have MMU on the DRAM, we can scrub the DRAM memory with a finer granularity (page granularity) when the user allocates the memory. This feature is not supported in Goya. To allow users that want to debug their applications, we add a kernel module parameter to load the driver with this feature disabled. Signed-off-by: farah kassabri <fkassabri@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/mei/pci-txe.c')
0 files changed, 0 insertions, 0 deletions