Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
xenomai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
xenomai
xenomai
Commits
1f34e061
Commit
1f34e061
authored
Mar 20, 2015
by
Philippe Gerum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cobalt/arm: upgrade I-pipe support
parent
e3643bc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
kernel/cobalt/arch/arm/patches/ipipe-core-3.14.44-arm-12.patch
...l/cobalt/arch/arm/patches/ipipe-core-3.14.44-arm-12.patch
+4
-4
kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch
...el/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch
+6
-6
No files found.
kernel/cobalt/arch/arm/patches/ipipe-core-3.14.44-arm-1
1
.patch
→
kernel/cobalt/arch/arm/patches/ipipe-core-3.14.44-arm-1
2
.patch
View file @
1f34e061
...
...
@@ -1590,7 +1590,7 @@ index bb28af7..780ca50 100644
static inline void sp804_clockevents_init(void __iomem *base, unsigned int irq, const char *name)
diff --git a/arch/arm/include/asm/ipipe.h b/arch/arm/include/asm/ipipe.h
new file mode 100644
index 0000000..5
ec5eff
index 0000000..5
0e20e3
--- /dev/null
+++ b/arch/arm/include/asm/ipipe.h
@@ -0,0 +1,272 @@
...
...
@@ -1638,7 +1638,7 @@ index 0000000..5ec5eff
+#include <linux/jump_label.h>
+#include <linux/ipipe_trace.h>
+
+#define IPIPE_CORE_RELEASE 1
1
+#define IPIPE_CORE_RELEASE 1
2
+
+struct ipipe_domain;
+
...
...
@@ -2863,7 +2863,7 @@ index 0000000..6579eec
+
+#endif
diff --git a/arch/arm/include/asm/setup.h b/arch/arm/include/asm/setup.h
index 8d6a089..
d78ed9a
100644
index 8d6a089..
60c89d6
100644
--- a/arch/arm/include/asm/setup.h
+++ b/arch/arm/include/asm/setup.h
@@ -53,4 +53,10 @@ extern int arm_add_memory(u64 start, u64 size);
...
...
@@ -2871,7 +2871,7 @@ index 8d6a089..d78ed9a 100644
extern void dump_machine_table(void);
+#ifdef CONFIG_IPIPE
+void
__init
smp_build_cpu_revmap(void);
+void smp_build_cpu_revmap(void);
+#else
+static inline void smp_build_cpu_revmap(void) { }
+#endif
...
...
kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-
3
.patch
→
kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-
4
.patch
View file @
1f34e061
...
...
@@ -1651,7 +1651,7 @@ index bb28af7..780ca50 100644
static inline void sp804_clockevents_init(void __iomem *base, unsigned int irq, const char *name)
diff --git a/arch/arm/include/asm/ipipe.h b/arch/arm/include/asm/ipipe.h
new file mode 100644
index 0000000..
4701f8d
index 0000000..
3c73753
--- /dev/null
+++ b/arch/arm/include/asm/ipipe.h
@@ -0,0 +1,272 @@
...
...
@@ -1699,7 +1699,7 @@ index 0000000..4701f8d
+#include <linux/jump_label.h>
+#include <linux/ipipe_trace.h>
+
+#define IPIPE_CORE_RELEASE
3
+#define IPIPE_CORE_RELEASE
4
+
+struct ipipe_domain;
+
...
...
@@ -2923,7 +2923,7 @@ index 0000000..6579eec
+
+#endif
diff --git a/arch/arm/include/asm/setup.h b/arch/arm/include/asm/setup.h
index e0adb9f..
f024d86
100644
index e0adb9f..
5876f4b
100644
--- a/arch/arm/include/asm/setup.h
+++ b/arch/arm/include/asm/setup.h
@@ -25,4 +25,10 @@ extern int arm_add_memory(u64 start, u64 size);
...
...
@@ -2931,7 +2931,7 @@ index e0adb9f..f024d86 100644
extern void dump_machine_table(void);
+#ifdef CONFIG_IPIPE
+void
__init
smp_build_cpu_revmap(void);
+void smp_build_cpu_revmap(void);
+#else
+static inline void smp_build_cpu_revmap(void) { }
+#endif
...
...
@@ -17772,7 +17772,7 @@ index 0000000..797a849
+}
diff --git a/kernel/ipipe/core.c b/kernel/ipipe/core.c
new file mode 100644
index 0000000..
b8eb85c
index 0000000..
fba38fa
--- /dev/null
+++ b/kernel/ipipe/core.c
@@ -0,0 +1,1890 @@
...
...
@@ -19030,7 +19030,7 @@ index 0000000..b8eb85c
+ * handling interrupts:
+ *
+ * a) the root domain is alone, no registered head domain
+ * => all interrupts
are delivered via the fast dispatcher.
+ * => all interrupts
go through the interrupt log
+ * b) a head domain is registered
+ * => head domain IRQs go through the fast dispatcher
+ * => root domain IRQs go through the interrupt log
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment