From: Dave Airlie Date: Fri, 9 Jun 2023 01:30:37 +0000 (+1000) Subject: Merge tag 'drm-habanalabs-next-2023-06-08' of https://git.kernel.org/pub/scm/linux... X-Git-Tag: v6.5-rc1~28^2~16 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7f4f4adb9ba1d9b292e4b3ade0235be2e5ad5da7;p=linux-2.6-block.git Merge tag 'drm-habanalabs-next-2023-06-08' of https://git./linux/kernel/git/ogabbay/linux into drm-next This tag contains additional habanalabs driver changes for v6.5: - uAPI changes: - Return 0 when user queries if there was a h/w or f/w error and no such error happened. Previously we returned an error in such case. - New features and improvements: - Add pci health check when we lose connection with the firmware. This can be used to distinguish between pci link down and firmware getting stuck. - Add more info to the error print when TPC interrupt occur. - Reduce amount of code under mutex in the command submission of signal event. - Firmware related fixes: - Fixes to the handshake protocol during f/w initialization. - Display information that the f/w sends us when encountering a DMA error. - Do soft-reset using a message sent to firmware instead of writing to MMIO. - Prepare generic code to extract f/w version numbers. - Bug fixes and code cleanups. Notable fixes are: - Unsecure certain TPC registers that the user should access. - Fix handling of QMAN errors - Fix memory leak when recording errors (to later pass them to the user) - Multiple fixes to razwi interrupt handling code Signed-off-by: Dave Airlie From: Oded Gabbay Link: https://patchwork.freedesktop.org/patch/msgid/20230608103043.GA2699019@ogabbay-vm-u20.habana-labs.com --- 7f4f4adb9ba1d9b292e4b3ade0235be2e5ad5da7