forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/arch/powerpc/include/asm/xive-regs.h
....@@ -1,10 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2016,2017 IBM Corporation.
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License
6
- * as published by the Free Software Foundation; either version
7
- * 2 of the License, or (at your option) any later version.
84 */
95 #ifndef _ASM_POWERPC_XIVE_REGS_H
106 #define _ASM_POWERPC_XIVE_REGS_H
....@@ -41,8 +37,17 @@
4137 #define XIVE_ESB_SET_PQ_10 0xe00 /* Load */
4238 #define XIVE_ESB_SET_PQ_11 0xf00 /* Load */
4339
40
+/*
41
+ * Load-after-store ordering
42
+ *
43
+ * Adding this offset to the load address will enforce
44
+ * load-after-store ordering. This is required to use StoreEOI.
45
+ */
46
+#define XIVE_ESB_LD_ST_MO 0x40 /* Load-after-store ordering */
47
+
4448 #define XIVE_ESB_VAL_P 0x2
4549 #define XIVE_ESB_VAL_Q 0x1
50
+#define XIVE_ESB_INVALID 0xFF
4651
4752 /*
4853 * Thread Management (aka "TM") registers