mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 10:32:25 -04:00
The frontend exposes an API to the driver to send invalidations, handles sequence number assignment, synchronization (fences), and provides a timeout mechanism. The backend issues the actual invalidation to the hardware (or firmware). The new layering easily allows issuing TLB invalidations to different hardware or firmware interfaces. Normalize some naming while here too. Signed-off-by: Stuart Summers <stuart.summers@intel.com> Reviewed-by: Stuart Summers <stuart.summers@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Link: https://lore.kernel.org/r/20250826182911.392550-10-stuart.summers@intel.com
20 lines
378 B
C
20 lines
378 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2025 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_GUC_TLB_INVAL_H_
|
|
#define _XE_GUC_TLB_INVAL_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct xe_guc;
|
|
struct xe_tlb_inval;
|
|
|
|
void xe_guc_tlb_inval_init_early(struct xe_guc *guc,
|
|
struct xe_tlb_inval *tlb_inval);
|
|
|
|
int xe_guc_tlb_inval_done_handler(struct xe_guc *guc, u32 *msg, u32 len);
|
|
|
|
#endif
|