From 5cf496bf46566c5b6d7fe616ca3be23807a60691 Mon Sep 17 00:00:00 2001
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed, 4 Dec 2024 00:17:09 +0100
Subject: warn about incompatibility between linux disk driver and PAE

---
 linux/dev/glue/block.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c
index a8307813..1bd8b0e0 100644
--- a/linux/dev/glue/block.c
+++ b/linux/dev/glue/block.c
@@ -1408,6 +1408,8 @@ device_write (void *d, ipc_port_t reply_port,
 		    copy->cpy_page_list[i]->phys_addr,
 		    VM_PROT_READ|VM_PROT_WRITE, TRUE);
 
+#warning FIXME: if physical adress is beyond VM_PAGE_DMA32 with PAE, we need a bounce buffer
+
       /* Do the write.  */
       amt = (*bd->ds->fops->write) (&td.inode, &td.file,
 				    (char *) addr + (uaddr & PAGE_MASK), len);
-- 
cgit v1.2.3