mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 14:32:23 +00:00
accel/habanalabs: move cpucp interface to linux/habanalabs
The CPUCP interface is moved to a shared folder outside of accel as a pre-requisite to upstream the NIC drivers that will also include this file. Signed-off-by: David Meriin <dmeriin@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
d261b0ab13
commit
2b76129c5a
@ -9071,6 +9071,7 @@ T: git https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git
|
||||
F: Documentation/ABI/testing/debugfs-driver-habanalabs
|
||||
F: Documentation/ABI/testing/sysfs-driver-habanalabs
|
||||
F: drivers/accel/habanalabs/
|
||||
F: include/linux/habanalabs/
|
||||
F: include/trace/events/habanalabs.h
|
||||
F: include/uapi/drm/habanalabs_accel.h
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "habanalabs.h"
|
||||
#include "../include/common/hl_boot_if.h"
|
||||
#include <linux/habanalabs/hl_boot_if.h>
|
||||
|
||||
#include <linux/firmware.h>
|
||||
#include <linux/crc32.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef HABANALABSP_H_
|
||||
#define HABANALABSP_H_
|
||||
|
||||
#include "../include/common/cpucp_if.h"
|
||||
#include <linux/habanalabs/cpucp_if.h>
|
||||
#include "../include/common/qman_if.h"
|
||||
#include "../include/hw_ip/mmu/mmu_general.h"
|
||||
#include <uapi/drm/habanalabs_accel.h>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include <uapi/drm/habanalabs_accel.h>
|
||||
#include "../common/habanalabs.h"
|
||||
#include "../include/common/hl_boot_if.h"
|
||||
#include <linux/habanalabs/hl_boot_if.h>
|
||||
#include "../include/gaudi/gaudi_packets.h"
|
||||
#include "../include/gaudi/gaudi.h"
|
||||
#include "../include/gaudi/gaudi_async_events.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include <uapi/drm/habanalabs_accel.h>
|
||||
#include "../common/habanalabs.h"
|
||||
#include "../include/common/hl_boot_if.h"
|
||||
#include <linux/habanalabs/hl_boot_if.h>
|
||||
#include "../include/gaudi2/gaudi2.h"
|
||||
#include "../include/gaudi2/gaudi2_packets.h"
|
||||
#include "../include/gaudi2/gaudi2_fw_if.h"
|
||||
|
@ -9,8 +9,8 @@
|
||||
#define GOYAP_H_
|
||||
|
||||
#include <uapi/drm/habanalabs_accel.h>
|
||||
#include <linux/habanalabs/hl_boot_if.h>
|
||||
#include "../common/habanalabs.h"
|
||||
#include "../include/common/hl_boot_if.h"
|
||||
#include "../include/goya/goya_packets.h"
|
||||
#include "../include/goya/goya.h"
|
||||
#include "../include/goya/goya_async_events.h"
|
||||
|
@ -668,7 +668,11 @@ enum pq_init_status {
|
||||
* Packet to register interrupts indicating LKD is ready to receive events from FW.
|
||||
*
|
||||
* CPUCP_PACKET_SOFT_RESET -
|
||||
* Packet to perform soft-reset.
|
||||
* Packet to perform soft-reset.
|
||||
*
|
||||
* CPUCP_PACKET_INTS_REGISTER -
|
||||
* Packet to inform FW that queues have been established and LKD is ready to receive
|
||||
* EQ events.
|
||||
*/
|
||||
|
||||
enum cpucp_packet_id {
|
||||
@ -734,9 +738,10 @@ enum cpucp_packet_id {
|
||||
CPUCP_PACKET_RESERVED10, /* not used */
|
||||
CPUCP_PACKET_RESERVED11, /* not used */
|
||||
CPUCP_PACKET_RESERVED12, /* internal */
|
||||
CPUCP_PACKET_REGISTER_INTERRUPTS, /* internal */
|
||||
CPUCP_PACKET_SOFT_RESET, /* internal */
|
||||
CPUCP_PACKET_ID_MAX /* must be last */
|
||||
CPUCP_PACKET_RESERVED13, /* internal */
|
||||
CPUCP_PACKET_SOFT_RESET, /* internal */
|
||||
CPUCP_PACKET_INTS_REGISTER, /* internal */
|
||||
CPUCP_PACKET_ID_MAX /* must be last */
|
||||
};
|
||||
|
||||
#define CPUCP_PACKET_FENCE_VAL 0xFE8CE7A5
|
Loading…
Reference in New Issue
Block a user