xref: /kernel/linux/linux-6.6/tools/testing/cxl/watermark.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/cxl/
162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci/* Copyright(c) 2022 Intel Corporation. All rights reserved. */
362306a36Sopenharmony_ci#ifndef _TEST_CXL_WATERMARK_H_
462306a36Sopenharmony_ci#define _TEST_CXL_WATERMARK_H_
562306a36Sopenharmony_ci#include <linux/module.h>
662306a36Sopenharmony_ci#include <linux/printk.h>
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciint cxl_acpi_test(void);
962306a36Sopenharmony_ciint cxl_core_test(void);
1062306a36Sopenharmony_ciint cxl_mem_test(void);
1162306a36Sopenharmony_ciint cxl_pmem_test(void);
1262306a36Sopenharmony_ciint cxl_port_test(void);
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci/*
1562306a36Sopenharmony_ci * dummy routine for cxl_test to validate it is linking to the properly
1662306a36Sopenharmony_ci * mocked module and not the standard one from the base tree.
1762306a36Sopenharmony_ci */
1862306a36Sopenharmony_ci#define cxl_test_watermark(x)				\
1962306a36Sopenharmony_ciint x##_test(void)					\
2062306a36Sopenharmony_ci{							\
2162306a36Sopenharmony_ci	pr_debug("%s for cxl_test\n", KBUILD_MODNAME);	\
2262306a36Sopenharmony_ci	return 0;					\
2362306a36Sopenharmony_ci}							\
2462306a36Sopenharmony_ciEXPORT_SYMBOL(x##_test)
2562306a36Sopenharmony_ci#endif /* _TEST_CXL_WATERMARK_H_ */
26

Indexes created Thu Nov 07 10:32:03 CST 2024