Hi all.
I have question about mapping memory page in l4linux.
I think “dma_map_page” function seem malfunction in below code.
struct page *new_page;
u32 linux_phys_addr;
new_page = alloc_page(GFP_HIGHUSER | __GFP_ZERO | __GFP_NORETRY |
__GFP_NOWARN | __GFP_COLD);
linux_phys_addr = dma_map_page(NULL, new_page, 0, PAGE_SIZE,
DMA_BIDIRECTIONAL); ////// PAGE_SIZE is 4KB
_______________________________________________________________
new_page | linux_phys_addr | correct …
[View More]linux_phys_addr |
----------------|----------------------------|------------------------------
|
0xe54b20 0x325d9000 0x48b54b20
0xe54b40 0x325da000 0x48b54b40
0xe54b60 0x325db000 0x48b54b60
as H/W ram-base is 0x40000000, 0x30000000 base address can’t be mapped.
Does anybody know a way to work dma_map_page?
Best.
[View Less]
Hi Adam,
I've read your reply to last year question about the PowerPC support of
FIASCO [1].
Is there any progress to be noted on this topic?
Further, I'd like to know which actual processor board you targeted the
PowerPC
port to and with that which PowerPC ISA version do you intend to support?
Best Regards
Oliver
[1] http://os.inf.tu-dresden.de/pipermail/l4-hackers/2011/004603.html
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Everybody,
can someone explain to me what it means when my L4Linux interrupts and
jumps into JDB with the message:
- ------------------------------------------------------
CPU 0 [f001239c]: IRET returned
[ l4lx.cpu0] jdb: g
------------------------------------------------------
I sometimes get this message, and after that my system hangs and I
can't jump back to L4Linux by hitting 'g' in the Debugger.
Any help would be …
[View More]appreciated
Cheers,
Julian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPPNeTAAoJEOpGAeJlWp7qw9EH/31w3fA+nAvkbDwF2cjr9r47
qz991ninI6SksDh6OD05b/O/BxxB1fZyaSXAmrnewHVIcuP+bGfgplFnKqjfu4RA
qo6PzcpGRCEZpsXYiAhqLxnygxpLTLOXtkFKs9VYfaIkPI4q2DQmSexpZBCTHr27
RY8QO2+eeluR4H8ik3NH9C01pGWmRJJU6Z46wRcIfE+0AZ8NvQBOn4RjYfrfTFbI
sW1W7UdQiXc3TurvSzuvaL/tAkT7hpDQOlbEhwDO0SWA8KVtFIeWrKLZWMppglzB
TxWGCp5w//LMuG/8DuECDr1C/4u9WwP2Gs/PshtEeLCCX9pqRF/fQfobbtsHlaQ=
=7Ifo
-----END PGP SIGNATURE-----
[View Less]
Hello everyone,
I’m trying to apply an asynchronous batch processing of IPC into l4/fiasco
to increase the bandwidth of IPC.
I think the main problem is the performance of IPC when virtualization is
applied to mobile system.
To increase the performance of IPC, I try to use the memory sharing between
the address space of user library and that of kernel memory.
There is a way to access user memory from kernel, but I couldn’t find any
way to read kernel memory in user space.
At first, I want …
[View More]to know whether it is meaningful to use an asynchronous
batch processing of IPC, or not.
Second, when my user library tries to use the virtual address of a kernel
global variable by passing it to user address space, “unhandled exception:
pc=xxxx” occurs.
I think that region mapper makes that exception while it’s checking the
range of virtual address.
If I want to access kernel memory in user address space, what can I do?
Maybe it causes security problems and it’s not proper for virtualization.
However, in my opinion, some compromise will be needed for the future
mobile virtualization system.
[View Less]
I have an L4 process requesting access to a large chunk (512MB) of
physical RAM using l4sigma0_map_iomem(). I am not using l4sigma0_map_mem()
because Fiasco is running in a different partition of physical RAM.
I would like to then grant full read/write access to the same memory to a
second L4 process, but I'm not sure how to do that. I believe from looking
at the sigma0 code that any memory, I/O or RAM, can only be allocated to
one L4 process at a time.
It also doesn't look like clans have …
[View More]anything to do with this, other than
the possibility of creating some shared memory for an IPC. But that's not
really what I want to do, I want both L4 processes to directly access the
memory. Is there some way to accomplish this?
Thanks,
--
Wesley Miaw
wesley(a)wesman.net
[View Less]