Skip to content

Commit

Permalink
Add XHCI DbC console fixes
Browse files Browse the repository at this point in the history
Add patches fixing XHCI DbC console when sys-usb is running.
Technically not a backport yet, but this version is very close to beeing
committed upstream so should qualify as a backport soon.
  • Loading branch information
marmarek committed Jul 19, 2024
1 parent 8cc1f5a commit 1d786af
Show file tree
Hide file tree
Showing 4 changed files with 634 additions and 0 deletions.
35 changes: 35 additions & 0 deletions 0317-xen-list-add-LIST_HEAD_RO_AFTER_INIT.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From efc9b6dbe429c64ea2b6c06964cf3d7be1bc68de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?=
<[email protected]>
Date: Sat, 22 Jun 2024 18:08:09 +0200
Subject: [PATCH] xen/list: add LIST_HEAD_RO_AFTER_INIT
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Similar to LIST_HEAD_READ_MOSTLY.

Signed-off-by: Marek Marczykowski-Górecki <[email protected]>
---
New in v5
---
xen/include/xen/list.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/xen/include/xen/list.h b/xen/include/xen/list.h
index dc5a8c461b9c..6915a987cd1a 100644
--- a/xen/include/xen/list.h
+++ b/xen/include/xen/list.h
@@ -42,6 +42,9 @@ struct list_head {
#define LIST_HEAD_READ_MOSTLY(name) \
struct list_head __read_mostly name = LIST_HEAD_INIT(name)

+#define LIST_HEAD_RO_AFTER_INIT(name) \
+ struct list_head __ro_after_init name = LIST_HEAD_INIT(name)
+
static inline void INIT_LIST_HEAD(struct list_head *list)
{
list->next = list;
--
2.45.2

Loading

0 comments on commit 1d786af

Please sign in to comment.