diff options
author | Dafna Hirschfeld <dhirschfeld@habana.ai> | 2022-03-16 19:45:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-22 21:01:16 +0200 |
commit | 9248aa90d2fa0a03955f0813d17accde9e1f0751 (patch) | |
tree | 3de2a9fbc2f84177fa403a475afa3b9a9753ad58 /drivers/misc/habanalabs/goya/goya.c | |
parent | ee8a10c833c4a49720055f23eeb215352b969bda (diff) |
habanalabs: enforce alignment upon registers access through debugfs
When accessing the configuration registers through debugfs,
it is only allowed to access aligned address.
Fail if address is not aligned.
Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/habanalabs/goya/goya.c')
0 files changed, 0 insertions, 0 deletions