accel/habanalabs: add support for Gaudi2C device[ Upstream commit 42422993cf28d456778ee9168d73758ec037cd51 ]Gaudi2 with PCI revision ID with the value of '3' represents Gaudi2Cdevice and should
accel/habanalabs: add support for Gaudi2C device[ Upstream commit 42422993cf28d456778ee9168d73758ec037cd51 ]Gaudi2 with PCI revision ID with the value of '3' represents Gaudi2Cdevice and should be detected and initialized as Gaudi2.Signed-off-by: Oded Gabbay <ogabbay@kernel.org>Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
accel/habanalabs: remove support for mmu disableAs mmu disable mode is only used for bring-up stages, let's remove thisoption and all code related to it.Signed-off-by: Ofir Bitton <obitton@haban
accel/habanalabs: remove support for mmu disableAs mmu disable mode is only used for bring-up stages, let's remove thisoption and all code related to it.Signed-off-by: Ofir Bitton <obitton@habana.ai>Reviewed-by: Oded Gabbay <ogabbay@kernel.org>Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
accel/habanalabs: unmap mapped memory when TLB inv failsOnce a memory mapping is added to the page tables, it's followed bya TLB invalidation request which could potentially fail (HW failure).Rem
accel/habanalabs: unmap mapped memory when TLB inv failsOnce a memory mapping is added to the page tables, it's followed bya TLB invalidation request which could potentially fail (HW failure).Removing the mapping is simply a part of this failure handling routine.TLB invalidation failure prints were updated to be more accurate.Signed-off-by: Koby Elbaz <kelbaz@habana.ai>Reviewed-by: Oded Gabbay <ogabbay@kernel.org>Signed-off-by: Oded Gabbay <ogabbay@kernel.org>Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
accel/habanalabs: fix few misspelled words in the codeRun spell checker on the code and fix accordingly.Signed-off-by: farah kassabri <fkassabri@habana.ai>Reviewed-by: Oded Gabbay <ogabbay@kerne
accel/habanalabs: fix few misspelled words in the codeRun spell checker on the code and fix accordingly.Signed-off-by: farah kassabri <fkassabri@habana.ai>Reviewed-by: Oded Gabbay <ogabbay@kernel.org>Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
habanalabs: remove unnecessary (void*) conversionsdata is a void * type and does not require a cast.Signed-off-by: XU pengfei <xupengfei@nfschina.com>Reviewed-by: Oded Gabbay <ogabbay@kernel.org
habanalabs: remove unnecessary (void*) conversionsdata is a void * type and does not require a cast.Signed-off-by: XU pengfei <xupengfei@nfschina.com>Reviewed-by: Oded Gabbay <ogabbay@kernel.org>Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
habanalabs: move driver to accel subsystemNow that we have a subsystem for compute accelerators, move thehabanalabs driver to it.This patch only moves the files and fixes the Makefiles. Futurep
habanalabs: move driver to accel subsystemNow that we have a subsystem for compute accelerators, move thehabanalabs driver to it.This patch only moves the files and fixes the Makefiles. Futurepatches will change the existing code to register to the accelsubsystem and expose the accel device char files instead of thehabanalabs device char files.Update the MAINTAINERS file to reflect this change.Signed-off-by: Oded Gabbay <ogabbay@kernel.org>