mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] cache: provide <asm/cache.h> for x86 and sandbox as well
@ 2025-12-15  8:50 Ahmad Fatoum
  2025-12-15  9:14 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-12-15  8:50 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

This way we have a sync_caches_for_execution definition that can be used
for the EFI loader on all architectures.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/sandbox/include/asm/cache.h | 8 ++++++++
 arch/x86/include/asm/cache.h     | 8 ++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 arch/sandbox/include/asm/cache.h
 create mode 100644 arch/x86/include/asm/cache.h

diff --git a/arch/sandbox/include/asm/cache.h b/arch/sandbox/include/asm/cache.h
new file mode 100644
index 000000000000..65031c59f5d0
--- /dev/null
+++ b/arch/sandbox/include/asm/cache.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _ASM_SANDBOX_CACHE_H
+#define _ASM_SANDBOX_CACHE_H
+
+#include <asm-generic/cache.h>
+
+#endif
diff --git a/arch/x86/include/asm/cache.h b/arch/x86/include/asm/cache.h
new file mode 100644
index 000000000000..9f0abfa3e8fb
--- /dev/null
+++ b/arch/x86/include/asm/cache.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _ASM_X86_CACHE_H
+#define _ASM_X86_CACHE_H
+
+#include <asm-generic/cache.h>
+
+#endif
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] cache: provide <asm/cache.h> for x86 and sandbox as well
  2025-12-15  8:50 [PATCH] cache: provide <asm/cache.h> for x86 and sandbox as well Ahmad Fatoum
@ 2025-12-15  9:14 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-12-15  9:14 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Mon, 15 Dec 2025 09:50:58 +0100, Ahmad Fatoum wrote:
> This way we have a sync_caches_for_execution definition that can be used
> for the EFI loader on all architectures.
> 
> 

Applied, thanks!

[1/1] cache: provide <asm/cache.h> for x86 and sandbox as well
      https://git.pengutronix.de/cgit/barebox/commit/?id=aab38957c9b1 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-15  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-15  8:50 [PATCH] cache: provide <asm/cache.h> for x86 and sandbox as well Ahmad Fatoum
2025-12-15  9:14 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox