Hello,
I'm using a Linux userspace application with Libmetal to communicate core 0
(Linux) and core 1 (FreeRTOS) in a Zynq 7000. The application is very
simple, as it only forwards messages between cores and works very well, but
I have noticed that it creates an additional thread automatically. I
suspect this is because of Libmetal, as OpenAMP's wiki states:
"The Linux userspace implementation will use a thread to call select()
function to listen to the file descriptors of the devices to see if there is
an interrupt triggered. If there is an interrupt triggered, it will call the
interrupt handler registered by the user application."
However, I was planning system priorities to configure the userspace
watchdog daemon and noticed that this thread has SCHED_FIFO scheduling
policy with a priority of 99 (the highest possible). This priority is above
all my userspace applications, including the watchdog daemon, and even above
several kernel threads, which worries me.
The code responsible for this behavior is inside
libmetal/lib/system/linux/irq.c, function metal_linux_irq_handling(void *
args):
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
/* Ignore the set scheduler error */
ret = sched_setscheduler(0, SCHED_FIFO, ¶m);
My question is: can I lower the priority of this thread? If the answer is
yes, what would be the minimum required priority for Libmetal to operate
properly?
Thank you very much and best regards,
Eduardo.
Eduardo Viruete
Software Engineer
Teltronic
Tel: +34 976 465656 Ext. 313
<http://www.teltronic.es/> www.teltronic.es
Hello,
I’m using a Linux userspace application with Libmetal to communicate
core 0 (Linux) and core 1 (FreeRTOS) in a Zynq 7000. The application
is very simple, as it only forwards messages between cores and works
very well, but I have noticed that it creates an additional thread
automatically. I suspect this is because of Libmetal, as OpenAMP’s
wiki states:
“The Linux userspace implementation will use a thread to call select()
function to listen to the file descriptors of the devices to see if
there is an interrupt triggered. If there is an interrupt triggered, it
will call the interrupt handler registered by the user application.”
However, I was planning system priorities to configure the userspace
watchdog daemon and noticed that this thread has SCHED_FIFO scheduling
policy with a priority of 99 (the highest possible). This priority is
above all my userspace applications, including the watchdog daemon, and
even above several kernel threads, which worries me.
The code responsible for this behavior is inside
libmetal/lib/system/linux/irq.c, function metal_linux_irq_handling(void
* args):
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
/* Ignore the set scheduler error */
ret = sched_setscheduler(0, SCHED_FIFO, ¶m);
My question is: can I lower the priority of this thread? If the answer
is yes, what would be the minimum required priority for Libmetal to
operate properly?
Thank you very much and best regards,
Eduardo.
Eduardo Viruete
Software Engineer
Teltronic
Tel: +34 976 465656 Ext. 313
[1]www.teltronic.es
References
1. http://www.teltronic.es/
Branch: refs/tags/new_api_rc1
Home: https://github.com/OpenAMP/open-amp
Commit: 4c27f417b2c9d9189d35dc1d2b55b37a4de09422
https://github.com/OpenAMP/open-amp/commit/4c27f417b2c9d9189d35dc1d2b55b37a…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/rpmsg/remote_device.c
M lib/virtio/virtqueue.c
Log Message:
-----------
lib: virtio: suppress virtqueue memory allocation
To be able to support static allocation, vq should no more allocated in
virtio but in rpmsg or application. We provide a helper funciton
virtqueue_allocate() to the caller to help with the allocation.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 4f4f0d0d276b66a0817bc7aca6372ec0a2d4c81e
https://github.com/OpenAMP/open-amp/commit/4f4f0d0d276b66a0817bc7aca6372ec0…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
Log Message:
-----------
virtqueue: Add function to set shmem I/O region
Add function to set shared memory I/O region per virtqueue.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 5a273572498646dd0e890f00c04d5d76fe4a799c
https://github.com/OpenAMP/open-amp/commit/5a273572498646dd0e890f00c04d5d76…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/rpmsg/remote_device.c
Log Message:
-----------
lib: rpmsg: Set shmem region for the virtqueue
After we create the virtqueue set the shmem region
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 99ffe0bc5d4a573ba7421f5c1fbedebb8608444f
https://github.com/OpenAMP/open-amp/commit/99ffe0bc5d4a573ba7421f5c1fbedebb…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/rpmsg/remote_device.c
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: remove shm_io argument from virtqueue_create()
Remove shared memory I/O region argument from virtqueue_create() API.
The virtqueue I/O region can be set in another APIs.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ecc6419cbd3ecf8380413800925f7f636d3bde1e
https://github.com/OpenAMP/open-amp/commit/ecc6419cbd3ecf8380413800925f7f63…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: remove virtqueue_add_single_buffer
virtqueue_add_single_buffer isn't used by anything and we have
virtqueue_add_buffer that accomplishes what we need, so remove the
function.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 08443a28552db14db749e9d7541e4aa7cc652f55
https://github.com/OpenAMP/open-amp/commit/08443a28552db14db749e9d7541e4aa7…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: Also use virtqueue metal_io_region for mapping
The virtqueue memory should always be covered by the shm_io region we
setup the virtqueue with. In practice, vq->shm_io and sg[x].io should
be the same.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 129ec2f4fc978db53eab11630bf82ca86cb7bd29
https://github.com/OpenAMP/open-amp/commit/129ec2f4fc978db53eab11630bf82ca8…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/rpmsg/remote_device.c
M lib/rpmsg/rpmsg_core.c
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: Introduce virtqueue_buffer to replace metal_sg
virtqueue_add_buffer takes a list of buffers, so lets decouple it from
depending on metal_sg. Instead we just create a new struct
virtqueue_buffer which keeps track of the buffer pointer and length.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 484c2ee99ba4d5a42759bf897de8e221a51f5af0
https://github.com/OpenAMP/open-amp/commit/484c2ee99ba4d5a42759bf897de8e221…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: encapsulate shared memory handling
Encapsulate the the handling of the shared memory region to make it clear
exactly what functionality is needed and ensure that others aren't touch
internal data that we aren't aware of.
We treat the sh_mem region in the virtqueue as an obaque pointer that
only should get used by v2p and p2v functions.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 39a9e05266eda2f91f924429b50fe0f2f4c31dce
https://github.com/OpenAMP/open-amp/commit/39a9e05266eda2f91f924429b50fe0f2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
A docs/img-src/coprocessor-rpmsg-ns-dynamic.gv
A docs/img-src/coprocessor-rpmsg-ns.gv
A docs/img-src/coprocessor-rpmsg-static-ep.gv
A docs/img-src/gen-graph.py
A docs/img-src/rproc-lcm-state-machine.gv
A docs/img/coprocessor-rpmsg-ns-dynamic.png
A docs/img/coprocessor-rpmsg-ns.png
A docs/img/coprocessor-rpmsg-static-ep.png
A docs/img/rproc-lcm-state-machine.png
A docs/remoteproc-design.md
A docs/rpmsg-design.md
Log Message:
-----------
docs: Add Remoteproc and RPMsg decoupling Design Doc
Add design document to describe the APIs and structure of
Remoteproc and RPMsg.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 9e0be1e99638536dd71945eed16e1afa3700e100
https://github.com/OpenAMP/open-amp/commit/9e0be1e99638536dd71945eed16e1afa…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
A docs/data-structure.md
Log Message:
-----------
Decoupling data struct design file
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: f2dd646645d8aaba298fee3c90012a623805bca2
https://github.com/OpenAMP/open-amp/commit/f2dd646645d8aaba298fee3c90012a62…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/machine/zynqmp_r5/CMakeLists.txt
M apps/system/generic/machine/zynqmp_r5/CMakeLists.txt
M lib/remoteproc/CMakeLists.txt
Log Message:
-----------
TMP: Prevent ZynqMP R5 RPMsg to be built
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 3490ed1bf9fe2bcffc2f96b85274672ab036c4a6
https://github.com/OpenAMP/open-amp/commit/3490ed1bf9fe2bcffc2f96b85274672a…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/CMakeLists.txt
Log Message:
-----------
TMP: not build rpmsg, virtio
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: c935871a134ca066582549246c933a0ff30a7d33
https://github.com/OpenAMP/open-amp/commit/c935871a134ca066582549246c933a0f…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/common/CMakeLists.txt
R lib/common/hil.c
R lib/include/openamp/hil.h
Log Message:
-----------
lib: remove hil layer
Remove hil layer to separate RPMsg from Remoteproc
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: cd4324fc0c297452e80bff4dc289c7b7ab571b78
https://github.com/OpenAMP/open-amp/commit/cd4324fc0c297452e80bff4dc289c7b7…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/common/CMakeLists.txt
R lib/common/firmware.c
R lib/include/openamp/firmware.h
Log Message:
-----------
lib: remove firmware implementation
Remove firmware implementation as it assume that the firmware
needs to be in memory. We will need to support firmware
in storage too.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 6630c1753d63e0d93747ce147b8866f54ba8b377
https://github.com/OpenAMP/open-amp/commit/6630c1753d63e0d93747ce147b8866f5…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/CMakeLists.txt
M lib/common/sh_mem.c
M lib/include/openamp/sh_mem.h
Log Message:
-----------
TODO: lib: sh_mem: Add new openamp_get_shmem_datova
Added:
openamp_get_shmem_datova
openamp_get_shmem_patova
openamp_get_shmem_vatopa
This isn't currently used by anything and it feels like the
imlementation isn't complete as there is some init of the shmem struct
that has to happen somewhere.
Commit: 5c19bc193c70357ba83384c30e4dfb86c99f48d6
https://github.com/OpenAMP/open-amp/commit/5c19bc193c70357ba83384c30e4dfb86…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/elf_loader.h
M lib/remoteproc/elf_loader.c
Log Message:
-----------
lib: elf_loader: update
Commit: f98ce88136db6820b78eebd415c2455be78a7de0
https://github.com/OpenAMP/open-amp/commit/f98ce88136db6820b78eebd415c2455b…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/CMakeLists.txt
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
lib: remoteproc: Update rsc_table_parser
* implement vdev resource parser - The vdev resourcde parser will allocate notifyid.
* add find resource funcion to locate the resource in the
resource table.
* fix resource table parsing.
Fix the management of the addresses offset if a second resource is
declared, its start address is not valid.
* add trace handler
Add handler for the trace type. in this first step only trace
statically defined by remote processor is valid.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: b1de180c357f8cb15dfe39670ea3eb499b60f2da
https://github.com/OpenAMP/open-amp/commit/b1de180c357f8cb15dfe39670ea3eb49…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/remoteproc_loader.h
R lib/remoteproc/remoteproc_loader.c
Log Message:
-----------
remoteproc_loader: updates for decoupling
Commit: aab0d41de20bc0c2daf04fe953565ea898730772
https://github.com/OpenAMP/open-amp/commit/aab0d41de20bc0c2daf04fe953565ea8…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
Log Message:
-----------
decouple rproc WIP
* Add size attribute to remoteproc memory struct.
* remoteproc: Add remoteproc memory lookup APIs
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 13b569620c71f6b9c4ffc36c679bd7ded9e6b7c8
https://github.com/OpenAMP/open-amp/commit/13b569620c71f6b9c4ffc36c679bd7de…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
A lib/include/openamp/remoteproc_virtio.h
A lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
lib: remoteproc_virtio: Introduce new remoteproc_virtio
remoteproc virtio to replace hil.c/.h to setup vdev,vrings and shm
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 431454c9e8a97323b7abb1cb1e488b60bed3be83
https://github.com/OpenAMP/open-amp/commit/431454c9e8a97323b7abb1cb1e488b60…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/CMakeLists.txt
A apps/load_fw/CMakeLists.txt
A apps/load_fw/load_fw.c
A apps/load_fw/lscript.ld
A apps/load_fw/xil_sd.c
A apps/load_fw/xil_sd.h
Log Message:
-----------
remoteproc LCM demo
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
apps: load_fw: set size of remoteproc memory
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 371f39ffa4f2760d89273babeb7859b633d8f9ec
https://github.com/OpenAMP/open-amp/commit/371f39ffa4f2760d89273babeb7859b6…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
R lib/include/openamp/rpmsg.h
R lib/include/openamp/rpmsg_core.h
R lib/include/openamp/rpmsg_retarget.h
R lib/rpmsg/CMakeLists.txt
R lib/rpmsg/remote_device.c
R lib/rpmsg/rpmsg.c
R lib/rpmsg/rpmsg_core.c
Log Message:
-----------
lib: rpmsg: Remove old rpmsg implementation
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 7b18f38a71ad06a2cbf8b60c18dd7433fe5b778d
https://github.com/OpenAMP/open-amp/commit/7b18f38a71ad06a2cbf8b60c18dd7433…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/CMakeLists.txt
M lib/include/openamp/virtio.h
M lib/virtio/virtio.c
Log Message:
-----------
lib: virtio: update virtio device
update virtio structure for new design
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 3d8120d1ff11c718b9bb80271d7a20d8b7a9295c
https://github.com/OpenAMP/open-amp/commit/3d8120d1ff11c718b9bb80271d7a20d8…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/CMakeLists.txt
M lib/include/openamp/open_amp.h
A lib/include/openamp/rpmsg.h
A lib/include/openamp/rpmsg_virtio.h
A lib/rpmsg/CMakeLists.txt
A lib/rpmsg/rpmsg.c
A lib/rpmsg/rpmsg_internal.h
A lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
lib: rpmsg: Add new rpmsg
- Add new API
- rmpsg_init implementation
- rpmsg: suppress the channel management
Rebase rpmsg on endpoint only.
Reintroduce rpmsg core to split interface part with the core.
Now rpmsg.c provide the API relying on the core.
- add remoteproc_vshm_pool to rpmsg.h for now, we need to clean this up
- rpmsg: add shm_io as input arguemnt to rpmsg_vdev_init
- Add core function to unregister the end points.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 02d801c3221dec14f3a63c4ac45c0a49f4289420
https://github.com/OpenAMP/open-amp/commit/02d801c3221dec14f3a63c4ac45c0a49…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/open_amp.h
M lib/include/openamp/remoteproc.h
M lib/include/openamp/remoteproc_virtio.h
M lib/remoteproc/CMakeLists.txt
M lib/remoteproc/remoteproc.c
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc/remoteproc_virtio: updates
remoteproc_virtio:
* Implement virtio dispatch functions and remoteproc virtio creation
and initialization functions.
* migrate vring structures
* migrate virqueue creation from remote proc to virtio
* declare rproc_remove_virtio function
* change type of vrings_num in virtio to unsigned int
* rename virtio_vring to virtio_vring_info
* rename rvring to vring_info
* Fixup for virtqueue_alloc change
* line up with VIRTIO_DEV_XXX macro change
* set the virtio dispatch func in virtio creation
* implement rproc_virtio_remove_vdev()
* send notification for virtio config changes - Notify the other side
for virtio configuration changes.
* rename rpmsg_virtio_ function to rproc_virtio_
* track the remoteproc virtio in remoteproc
* implement remoteproc virtio notificaiton
* add notification from remote implementation
* fixup test on uninitialized role
remoteproc:
* fix function name of remove virtio
* add remoteproc id allocation function to allocate notifyid for vdev
resource.
* implement remoteproc create/remove vdev function
* fix unused variable warnings
* rename set_rsc_table function to parse_rsc_table
* fix uninitialised variable
* implement remoteproc_parse_rsc_table
* fix up remoteproc notify definition
* fix missing list initialisation
* fix return in case of success
* remove vdevs in remoteproc shutdown
* calls rproc defined stop()/shutdown() if defined
* implement lookup for I/O region based on PA
* Add looking up metal I/O region with given va
* add set and parse resource table function
* correct setting rsc table in load() function
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 3915d0bc47f9db10ba534c306c908717d6e17bfc
https://github.com/OpenAMP/open-amp/commit/3915d0bc47f9db10ba534c306c908717…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
A apps/echo_test_decouple/CMakeLists.txt
A apps/echo_test_decouple/echo_test.c
A apps/echo_test_decouple/echo_test_measurement.c
A apps/echo_test_decouple/echo_testd.c
A apps/echo_test_decouple/echo_testd_remoteproc_master.c
Log Message:
-----------
apps: start to write a application to use new APIs
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 8f744ff4f78bd327a866f76f04e81e8e5e1390c8
https://github.com/OpenAMP/open-amp/commit/8f744ff4f78bd327a866f76f04e81e8e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/CMakeLists.txt
M apps/echo_test/CMakeLists.txt
M apps/echo_test/echo_testd.c
Log Message:
-----------
echo_test: initial draft for staging branch
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
apps: echo_test: use rpmsg device in echo_testd
Use rpmsg device in the main application to create endpoints
instead of rpmsg virtio device.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: dc7d0aee3578f416accabe50cd9b8d45cd5c3353
https://github.com/OpenAMP/open-amp/commit/dc7d0aee3578f416accabe50cd9b8d45…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/machine/zynqmp_r5/CMakeLists.txt
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/system/generic/machine/zynqmp_r5/CMakeLists.txt
M apps/system/generic/machine/zynqmp_r5/helper.c
Log Message:
-----------
apps: zynqmp_r5: demo how to initialize remoteproc and rpmsg
+ set the remoteproc resource table I/O in mmap
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 2c01c88502fd84028200dee10e13f9da906bd3f8
https://github.com/OpenAMP/open-amp/commit/2c01c88502fd84028200dee10e13f9da…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: add name service endpoint to rpmsg_device
Add name service endpoint to rpmsg device struct.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ce51f7166a5262e5491ec18626d011700449389b
https://github.com/OpenAMP/open-amp/commit/ce51f7166a5262e5491ec18626d01170…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: update endpoint creation to support static allocation.
suppress the malloc and free. Let application provides the
rpmsg_endpoint structure.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: a1a0657463e5ece48caa8c82a091d2af2a0ed334
https://github.com/OpenAMP/open-amp/commit/a1a0657463e5ece48caa8c82a091d2af…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: suppress endpoint creation on ns annoucement.
no more endpoint is created in rpmsg to store the remote
new service. Only a callback is called to inform the application.
Then application can create the associated endpoint or
just store the service for future usage.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: e391ae9701d88e39137ee1598ef69962f0a9e12e
https://github.com/OpenAMP/open-amp/commit/e391ae9701d88e39137ee1598ef69962…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: fix bug in rpmsg_get_endpoint.
In case that requested address is -1 and ept endpoint
address is -1 we need a match on name, so name must
not be null.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: e4935f5e3a971d4fa1fdf2a07eab3971b950e461
https://github.com/OpenAMP/open-amp/commit/e4935f5e3a971d4fa1fdf2a07eab3971…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: change vq name parameter type
Replace the char table by a pointer to a constant char.
As client provide constant char pointer to the name.
We can just register the address instead of copying the
name.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: aedb5f6c2dc80b3d4b70d1aa96a85b9a781bcd90
https://github.com/OpenAMP/open-amp/commit/aedb5f6c2dc80b3d4b70d1aa96a85b9a…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/echo_test/CMakeLists.txt
Log Message:
-----------
apps: echo_test: add compiler flags not to link unused functions
Add compiler flags in order not to link with unused functions.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 78f673dd6fc87477179b3d6845c5ff82105c3a08
https://github.com/OpenAMP/open-amp/commit/78f673dd6fc87477179b3d6845c5ff82…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/echo_test/echo_testd.c
Log Message:
-----------
echo_test: update for rpmsg ept creation API change
echo_test is updated to adapt the rpmsg API change to
support static endpoint.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 83056f7f7abc688395611eb00be99a9248239f85
https://github.com/OpenAMP/open-amp/commit/83056f7f7abc688395611eb00be99a92…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: expose get buffer size to user app
Allow user application to get vring buffer size.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: b5d0d8d34b8bcde3829addb3925ddb4b182fff32
https://github.com/OpenAMP/open-amp/commit/b5d0d8d34b8bcde3829addb3925ddb4b…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: Add checking if rpmsg endpoint ready API
Add API to allow application to check if the RPMsg endpoint is ready
to send message.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: fe3cd9d74025ea8d872ae6bbe0df59127152f619
https://github.com/OpenAMP/open-amp/commit/fe3cd9d74025ea8d872ae6bbe0df5912…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: ns callback also check registered epts with name
checking registered endpoints with destination address is not enough,
will also need to check with name as there can be local endpoints
created but not binded yet.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 48c5d80b514be81ebc4a4c1b945cef3950353eec
https://github.com/OpenAMP/open-amp/commit/48c5d80b514be81ebc4a4c1b945cef39…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: clean up the rpmsg create endpoint function
Set the status based on the function call result instead of
using the default local variable assignment.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 5eb2bc61c23f0e08b063cdd5f83bfd694efad082
https://github.com/OpenAMP/open-amp/commit/5eb2bc61c23f0e08b063cdd5f83bfd69…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: Add rpmsg device input arg to new_endpoint_cb()
Add rpmsg device input argument to new_endpoint_cb() so that it
knows which rpmsg device this request is from.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 50334e08d607f0c6dd82786f154b73de2ec94361
https://github.com/OpenAMP/open-amp/commit/50334e08d607f0c6dd82786f154b73de…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: define new endpoint callback type
Define new endpoint callback function type make it easier for
other functions to use it as input argument.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 5dedad4c4570f09390cb116d9ef69326bff0489d
https://github.com/OpenAMP/open-amp/commit/5dedad4c4570f09390cb116d9ef69326…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: only call new endpoint cb if it exists
Check if new endpoint callback exists before calling it.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 28de1264035d9f9132f3b1b29d73b4d3bf66c97d
https://github.com/OpenAMP/open-amp/commit/28de1264035d9f9132f3b1b29d73b4d3…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
fixup! rpmsg: virtio: ns callback also check registered epts with name
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 597ecda4b468dd8f32e6fcb222eabcdc59d003c8
https://github.com/OpenAMP/open-amp/commit/597ecda4b468dd8f32e6fcb222eabcdc…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: test metal_io_block_write return
If metal lib ops are not implemented an error is returned.
this error is lost. fix add check on the return.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: ed59f2111e031ac1bb4081e869b813cebb5dc807
https://github.com/OpenAMP/open-amp/commit/ed59f2111e031ac1bb4081e869b813ce…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
Log Message:
-----------
apps: zynqmp_r5: update to line up with rpmsg API changes
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 4f301c171aedf1220c0c55a2cfa6b52d32575306
https://github.com/OpenAMP/open-amp/commit/4f301c171aedf1220c0c55a2cfa6b52d…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/echo_testd.c
Log Message:
-----------
apps: echo_test virtio slave: clean up
clean up echo_test virtio slave demo application
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 75687015ff14cbc01a01e75138263effea3be8b7
https://github.com/OpenAMP/open-amp/commit/75687015ff14cbc01a01e75138263eff…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/CMakeLists.txt
M apps/echo_test/echo_test.c
Log Message:
-----------
apps: echo_test: reenable virtio master demo
Reenalbe echo test virtio master demo
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: fff6f216fa35b56b24192c5646cf5e66476736c3
https://github.com/OpenAMP/open-amp/commit/fff6f216fa35b56b24192c5646cf5e66…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: fix returned error value
Error returned when shared memory pointer or size is null,
is related to bad parameters not to a memory allocation
issue.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 10158331aaabf74fc31098768ef8b69dcb1ac071
https://github.com/OpenAMP/open-amp/commit/10158331aaabf74fc31098768ef8b69d…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: suppress unused include
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: e02d80456a1f524aed7826ff1e9eca28a6284fc4
https://github.com/OpenAMP/open-amp/commit/e02d80456a1f524aed7826ff1e9eca28…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: use libmetal bitmap helper functions
Remove rpmsg bitmap functions, use those from libmetal instead.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 7297ccde4b5891deac7fa67f083bb20d00c6034f
https://github.com/OpenAMP/open-amp/commit/7297ccde4b5891deac7fa67f083bb20d…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: include sys/types.h for uintX_t
should includes sys/types.h when uintX_t is used.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 0b44184dfc9b558ef9abbf597f1d83a8e4a84829
https://github.com/OpenAMP/open-amp/commit/0b44184dfc9b558ef9abbf597f1d83a8…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: clean up rpmsg vdev init/deinit comments
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 37375dce156e4fe74161c5f33e4ef61f6c3bbed2
https://github.com/OpenAMP/open-amp/commit/37375dce156e4fe74161c5f33e4ef61f…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: supress sh_mem use
sh_mem offer utilities to dynamically manage a memory
pool for buffers. this is not need for rpmsg implementation.
The buffer management iss directly done in rpmsg_c, without
buffer memory free.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <wendy.liang(a)xilinx.com>
Commit: 4e785f7f5ceebbe47c6000b648c3ac794ec69314
https://github.com/OpenAMP/open-amp/commit/4e785f7f5ceebbe47c6000b648c3ac79…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: update for rpmsg virtio init API changes
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 50637ff4adb3c935f63686aacfad1e39441c2131
https://github.com/OpenAMP/open-amp/commit/50637ff4adb3c935f63686aacfad1e39…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/CMakeLists.txt
R lib/common/CMakeLists.txt
R lib/common/sh_mem.c
R lib/include/openamp/sh_mem.h
Log Message:
-----------
sh_mem: suppressed as no more used
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 3322efb6a509327bcafcec334cba3b0e2848b93d
https://github.com/OpenAMP/open-amp/commit/3322efb6a509327bcafcec334cba3b0e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/load_fw/load_fw.c
Log Message:
-----------
apps: load_fw: remove unused include headers
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 646801714f1ed7ab1225d4e832d7d221235d4300
https://github.com/OpenAMP/open-amp/commit/646801714f1ed7ab1225d4e832d7d221…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: check rpmsg dev in rpmsg raw send function
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ee12083504832cc821e4a0fbb645b21effd78345
https://github.com/OpenAMP/open-amp/commit/ee12083504832cc821e4a0fbb645b21e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: cleanup virtio send raw function
clean up rpmsg virtio raw send function to remove get tx buffer
code redundancy.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 9ab50680c6e509304df37aeb807dd167bfbcb972
https://github.com/OpenAMP/open-amp/commit/9ab50680c6e509304df37aeb807dd167…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: change type of return status to int
replace the type of the return status variable from uint8_t to int.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 65eab52980e74389b2f09563ab9cf702da7642f0
https://github.com/OpenAMP/open-amp/commit/65eab52980e74389b2f09563ab9cf702…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: optimize rpmsg_virtio_get_role call.
create a local variable to avoid to call secveral time the
rpmsg_virtio_get_role function.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 51ea5555d7d21653a4fa7bba5c65ac1acc3a9bad
https://github.com/OpenAMP/open-amp/commit/51ea5555d7d21653a4fa7bba5c65ac1a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: suppress duplicate local variable.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: e3eeef21049ecfe55bcc51a66b31c78f7a94f6c6
https://github.com/OpenAMP/open-amp/commit/e3eeef21049ecfe55bcc51a66b31c78f…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/virtio.h
M lib/include/openamp/virtio_ring.h
M lib/include/openamp/virtqueue.h
M lib/virtio/virtio.c
M lib/virtio/virtqueue.c
Log Message:
-----------
virtio: fix coding rules
Fix coding rule highlighted by linux checkpatch script
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 40ef07be1cc78a8b90b2762716702d7325f82634
https://github.com/OpenAMP/open-amp/commit/40ef07be1cc78a8b90b2762716702d73…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: fix remoteproc initialization message.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: d391c0d61c6c817e71b96ca438f858b20485ae7c
https://github.com/OpenAMP/open-amp/commit/d391c0d61c6c817e71b96ca438f858b2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/CMakeLists.txt
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
R apps/echo_test/echo_testd_remoteproc_master.c
Log Message:
-----------
apps: echo_test: cleanup
Clean up echo test.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 5c39b8ccddd7600c1c27e18393e33580a05b573b
https://github.com/OpenAMP/open-amp/commit/5c39b8ccddd7600c1c27e18393e33580…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/CMakeLists.txt
M apps/matrix_multiply/CMakeLists.txt
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
R apps/matrix_multiply/matrix_multiplyd_remoteproc_master.c
Log Message:
-----------
apps: Reenable matrix_multiply
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e50c285b828af2931f23732a2cd766f9c10575a0
https://github.com/OpenAMP/open-amp/commit/e50c285b828af2931f23732a2cd766f9…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: fix coding rules
Fix coding rule highlighted by linux checkpatch script
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 6d8cd279fc40e73385e1ad3460edf4dcd0b2a213
https://github.com/OpenAMP/open-amp/commit/6d8cd279fc40e73385e1ad3460edf4dc…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: includes stdint.h in rpmsg.h
Linux system needs to have stdint.h included for uint32_t
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 29f97cc69fda3f01144742e420fbd7d4c61513c0
https://github.com/OpenAMP/open-amp/commit/29f97cc69fda3f01144742e420fbd7d4…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/virtio.h
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc: virtio: mark virtio dispatch functions const
mark the remoteproc virtio dispatch functions as const so that
they will not be modified at runtime.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: a03c40d21c7bf1467ed0c87e5c7817944ad33b65
https://github.com/OpenAMP/open-amp/commit/a03c40d21c7bf1467ed0c87e5c781794…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: release lock in create virtio successful return
Release lock before returns
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: c414cb87d365505a2da7c85f61a97be20eeaa53b
https://github.com/OpenAMP/open-amp/commit/c414cb87d365505a2da7c85f61a97be2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: Remove calling shutdown from remove()
Remove is only allowed if the remoteproc state is
OFFLINE. Otherwise, instead of calling shutdown()
it will just return as remoteproc can be used
without life cycle management.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 58e64ca73438a52af9fdc1e61c770ec9b09f9e1c
https://github.com/OpenAMP/open-amp/commit/58e64ca73438a52af9fdc1e61c770ec9…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: init rpmsg dev struct with 0 in init_vdev
Initialize the RPMsg device structure with 0 in the
rpmsg_init_vdev() function.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: f4575d0d080585b82010f223be69d468248a9619
https://github.com/OpenAMP/open-amp/commit/f4575d0d080585b82010f223be69d468…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
Log Message:
-----------
apps: echo_test: use LPERROR for effor message
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 89a4eba0bec6882479e3e8d7e88cc7e3d5bd3917
https://github.com/OpenAMP/open-amp/commit/89a4eba0bec6882479e3e8d7e88cc7e3…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
Log Message:
-----------
apps: echo_test: desctroy endpoint before app returns
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: d6908f6b6cc4535214948f1882ba1db521560330
https://github.com/OpenAMP/open-amp/commit/d6908f6b6cc4535214948f1882ba1db5…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
M apps/system/linux/machine/generic/platform_info.h
M apps/system/linux/machine/generic/rsc_table.c
Log Message:
-----------
apps: linux: enable rpmsg between two Linux processes
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: d967dd45aeb662e677fbeeab86d85d337c747df7
https://github.com/OpenAMP/open-amp/commit/d967dd45aeb662e677fbeeab86d85d33…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/CMakeLists.txt
Log Message:
-----------
apps: only build load_fw if it is requested
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 54ffc215f927953aac63de77958b1306aa8911f6
https://github.com/OpenAMP/open-amp/commit/54ffc215f927953aac63de77958b1306…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M cmake/options.cmake
Log Message:
-----------
cmake: allow not to build rpc demo in Linux
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e2224d45cd9cc01335cfbc9b9a7e729aa3fe3691
https://github.com/OpenAMP/open-amp/commit/e2224d45cd9cc01335cfbc9b9a7e729a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/compiler.h
M lib/include/openamp/elf_loader.h
M lib/include/openamp/remoteproc.h
M lib/include/openamp/remoteproc_loader.h
M lib/include/openamp/remoteproc_virtio.h
M lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/elf_loader.c
M lib/remoteproc/remoteproc.c
M lib/remoteproc/remoteproc_virtio.c
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
remorteproc: fix coding rules
Fix coding rules highlighted by linux checkpatch script
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 2345600f45ee907850610f7ceaeab1e2de781e67
https://github.com/OpenAMP/open-amp/commit/2345600f45ee907850610f7ceaeab1e2…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc: fix remoteproc_virtio bug on feature set
status parameter is set instead of dfeature.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 9551abb094a27967e8f959207968df02986e37de
https://github.com/OpenAMP/open-amp/commit/9551abb094a27967e8f959207968df02…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
M lib/rpmsg/rpmsg_virtio.c
M lib/virtio/virtio.c
Log Message:
-----------
openamp: introduce slave-only and master-only build option
This commit adds VIRTIO_SLAVE_ONLY and VIRTIO_MASTER_ONLY
configuration to allow to optimise code for firmwares that
support only the slave or master mode.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: b086bf56997a2c7baf534cd71840c6e62c111aaa
https://github.com/OpenAMP/open-amp/commit/b086bf56997a2c7baf534cd71840c6e6…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
Log Message:
-----------
apps: matrix multiply: destroy endpoint when app finishes
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 61bb7796c3769e562e5fe84b639f068e620a733d
https://github.com/OpenAMP/open-amp/commit/61bb7796c3769e562e5fe84b639f068e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: remove unused declaration in header
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: cb6c84197ec351e3fdcd464b82f25d700498a3aa
https://github.com/OpenAMP/open-amp/commit/cb6c84197ec351e3fdcd464b82f25d70…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: change rpmsg ept callback return to int
It will be useful to have int as return type instead of void
as the RPMsg library implementation can decide the next step
based on the return code.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 6247912e6e742e35e474dab6789cc83dc4c87fcd
https://github.com/OpenAMP/open-amp/commit/6247912e6e742e35e474dab6789cc83d…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
Log Message:
-----------
apps: endpoint callback to return status
The endpoint callback status may be used in future
in the rpmsg implementation. Update the endpoint callback
to return status.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: c5c1505084ac8f1099eb97813835f708c5e45ba3
https://github.com/OpenAMP/open-amp/commit/c5c1505084ac8f1099eb97813835f708…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: pass remoteproc pointer to init()
Use remoteproc pointer as input arguement to remoteproc_init()
to allow static memory allocation.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 595f583e648f04b57f1ee7f5c95fb2191eb3cab9
https://github.com/OpenAMP/open-amp/commit/595f583e648f04b57f1ee7f5c95fb219…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: define static remoteproc instance
Use static defined remoteproc instance.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: d6dc5c1a43be114f8c1ca72d6129dc6ece3b58e6
https://github.com/OpenAMP/open-amp/commit/d6dc5c1a43be114f8c1ca72d6129dc6e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps: linux: generic: statically define remoteproc
Use statically defined remoteproc instance.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 4d9f8379a3f048395be67c8a01f6c85329c4a800
https://github.com/OpenAMP/open-amp/commit/4d9f8379a3f048395be67c8a01f6c853…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
Log Message:
-----------
remoteproc: add init and add remoteproc memory APIs
Add APIs to initialize remoteproc memory and add remoteproc
memories.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 856880be085313fb2b64a6127d7179f299d87bf8
https://github.com/OpenAMP/open-amp/commit/856880be085313fb2b64a6127d7179f2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: make use of remoteproc memory APIs
Use remoteproc memory APIs to set the remoteproc memories instead
of directly set each property of the remoteproc memory struct.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e3ee20055bd20a7d68127c7056116c9297a8cc00
https://github.com/OpenAMP/open-amp/commit/e3ee20055bd20a7d68127c7056116c92…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: mmap: check if pointer is NULL before setting value
Do not assign content to a pointer if it is NULL.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 85ce40edf1ec9f9050482fda9c242fa0797eba34
https://github.com/OpenAMP/open-amp/commit/85ce40edf1ec9f9050482fda9c242fa0…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/remoteproc.c
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
remoteproc: rsc: use I/O region in rsc table handler
Use I/O region to verify resource table in resource table handler.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 491816e91d318c9f14e9b797a4409e888392927f
https://github.com/OpenAMP/open-amp/commit/491816e91d318c9f14e9b797a4409e88…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc.c
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc: virtio: return proper notification status
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 08be703ffea1394d2458bb7b11eb34e3cfec6636
https://github.com/OpenAMP/open-amp/commit/08be703ffea1394d2458bb7b11eb34e3…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: use irq_info from metal device to get IPI IRQ
only use IPI irq macro in the IPI metal device initialization.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 7069cfbad86043421f580870c37c8476fea5dbc3
https://github.com/OpenAMP/open-amp/commit/7069cfbad86043421f580870c37c8476…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps: linux: generic: copy rsc to shm before init remoteproc
Copy the resource table to the shared memory file before initializing
remoteproc instance.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: f7ab304c0f38adbb48cc5833439371fffd425a8c
https://github.com/OpenAMP/open-amp/commit/f7ab304c0f38adbb48cc5833439371ff…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
Log Message:
-----------
apps: remove including rsc_table.h in the demo app file
It is not required to include resource table in the main demo
applicaiton source code. Remove the rsc_table.h include.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 6b071b1e264fc47258aea8e6d64e085cb59a4e60
https://github.com/OpenAMP/open-amp/commit/6b071b1e264fc47258aea8e6d64e085c…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/machine/zynqmp/CMakeLists.txt
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
R apps/machine/zynqmp/rsc_table.c
R apps/machine/zynqmp/rsc_table.h
Log Message:
-----------
apps: zynqmp: enable ZynqMP Linux userspace application
Enable ZynqMP Linux userspace applicaiton to talk to remote
processor.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ebeb131433c6b911d1317835e112701b6fc629bc
https://github.com/OpenAMP/open-amp/commit/ebeb131433c6b911d1317835e112701b…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: checkpatch cleanup
Clean up checkpatch errors and warnings
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 1fd6788e4846ce6663120f335a27b0da23b28322
https://github.com/OpenAMP/open-amp/commit/1fd6788e4846ce6663120f335a27b0da…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/virtio.h
M lib/include/openamp/virtqueue.h
M lib/remoteproc/remoteproc_virtio.c
M lib/virtio/virtio.c
M lib/virtio/virtqueue.c
Log Message:
-----------
virtio: fix checkpatch warnings and errors
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 4b5a8ad4f027dadd93acf12ca901d8f1c08c72d8
https://github.com/OpenAMP/open-amp/commit/4b5a8ad4f027dadd93acf12ca901d8f1…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: suppress RPMSG_ERR_UNEXPECTED error
unexpected error does not mean anything. Manage this error by
either assert or invalid parameter depending on use case.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
# Conflicts:
# lib/rpmsg/rpmsg.c
# lib/rpmsg/rpmsg_virtio.c
Commit: e775683d7184e28c72b224b75a4003ff51ee1c9a
https://github.com/OpenAMP/open-amp/commit/e775683d7184e28c72b224b75a4003ff…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: fixup some comments
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: bb59e41a2be968300a8c54b62a9d0f9efecee624
https://github.com/OpenAMP/open-amp/commit/bb59e41a2be968300a8c54b62a9d0f9e…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: add check on end point callback return.
For future usage we add a return on callback. for time
being callback should alwaus return RPMSG_SUCCES
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: ecc858abb470e0aef83419aac7a7c71a39dd6325
https://github.com/OpenAMP/open-amp/commit/ecc858abb470e0aef83419aac7a7c71a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: cleanup is_rpmsg_ept_ready
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 8d90819111cc6aa05f27c1875c71710eae354453
https://github.com/OpenAMP/open-amp/commit/8d90819111cc6aa05f27c1875c71710e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
R apps/echo_test_decouple/CMakeLists.txt
R apps/echo_test_decouple/echo_test.c
R apps/echo_test_decouple/echo_test_measurement.c
R apps/echo_test_decouple/echo_testd.c
R apps/echo_test_decouple/echo_testd_remoteproc_master.c
Log Message:
-----------
apps: remove echo_test_decouple
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 7d7880e41505edb1d022f5e5ada60f2accf6a011
https://github.com/OpenAMP/open-amp/commit/7d7880e41505edb1d022f5e5ada60f2a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
Log Message:
-----------
rpmsg_virtio: expose rpmsg_virtio_shm_pool_get_buffer
add rpmsg_virtio_shm_pool_get_buffer weak function in
rpmsg_vitio.h and comment the shared memory pool management.
Notice that if you implement your own rpmsg_virtio_shm_pool_get_buffer
the expectation is that one would embedded struct rpmsg_virtio_shm_pool
object inside your own struct and utilize something like metal_container_of()
to reference back to your own struct in your implementation of
rpmsg_virtio_shm_pool_get_buffer
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 0a075277934697576f446727b20f8d1958d6e89b
https://github.com/OpenAMP/open-amp/commit/0a075277934697576f446727b20f8d19…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: rename endpoint create callback
This callback is called when a name service announcement is
received while no matching endpoint has been previously registered.
rename the callback to match with the usage.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 3e143996637fae8546168de033f73b82b3303998
https://github.com/OpenAMP/open-amp/commit/3e143996637fae8546168de033f73b82…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
M apps/system/linux/machine/generic/platform_info.c
M apps/system/linux/machine/generic/platform_info.h
Log Message:
-----------
apps: hide remoteproc from rpmsg test apps
As RPMsg can be used indepedent to remoteproc, hide remoteproc
from rpmsg test applications.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 9e6bf7616d39bbe8b471dc1b5611bb35460a5dbd
https://github.com/OpenAMP/open-amp/commit/9e6bf7616d39bbe8b471dc1b5611bb35…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M apps/CMakeLists.txt
R apps/echo_test/CMakeLists.txt
R apps/echo_test/echo_test.c
R apps/echo_test/echo_testd.c
A apps/examples/CMakeLists.txt
A apps/examples/load_fw/CMakeLists.txt
A apps/examples/load_fw/load_fw.c
A apps/examples/load_fw/lscript.ld
A apps/examples/load_fw/xil_sd.c
A apps/examples/load_fw/xil_sd.h
A apps/examples/matrix_multiply/CMakeLists.txt
A apps/examples/matrix_multiply/matrix_multiply.c
A apps/examples/matrix_multiply/matrix_multiplyd.c
A apps/examples/rpc_demo/CMakeLists.txt
A apps/examples/rpc_demo/rpc_demo.c
A apps/examples/rpc_demo/rpc_demod.c
R apps/func_test_suite/CMakeLists.txt
R apps/func_test_suite/func_test_suite.c
R apps/func_test_suite/func_test_suite_remoteproc_master.c
R apps/func_test_suite/test_suite.h
R apps/load_fw/CMakeLists.txt
R apps/load_fw/load_fw.c
R apps/load_fw/lscript.ld
R apps/load_fw/xil_sd.c
R apps/load_fw/xil_sd.h
R apps/matrix_multiply/CMakeLists.txt
R apps/matrix_multiply/matrix_multiply.c
R apps/matrix_multiply/matrix_multiplyd.c
R apps/rpc_demo/CMakeLists.txt
R apps/rpc_demo/rpc_demo.c
R apps/rpc_demo/rpc_demod.c
A apps/tests/CMakeLists.txt
A apps/tests/echo_test/CMakeLists.txt
A apps/tests/echo_test/echo_test.c
A apps/tests/echo_test/echo_testd.c
A apps/tests/func_test_suite/CMakeLists.txt
A apps/tests/func_test_suite/func_test_suite.c
A apps/tests/func_test_suite/func_test_suite_remoteproc_master.c
A apps/tests/func_test_suite/test_suite.h
Log Message:
-----------
apps: split apps into examples and tests
Split the apps into tests and examples.
Those in the tests are used to verify library implementation
Those in the examples are used for demonstration.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 8f5483f61a083b6a6eedea6a8468a725a6cd43ef
https://github.com/OpenAMP/open-amp/commit/8f5483f61a083b6a6eedea6a8468a725…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M apps/tests/echo_test/echo_test.c
Log Message:
-----------
apps: echo_test: correct number of packages to send
correct the number of total packageto send.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 1e5e98a3dc08d767b00afd9f528be9ce474d072d
https://github.com/OpenAMP/open-amp/commit/1e5e98a3dc08d767b00afd9f528be9ce…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/examples/CMakeLists.txt
A apps/examples/echo/CMakeLists.txt
A apps/examples/echo/rpmsg-echo.c
A apps/examples/echo/rpmsg-ping.c
Log Message:
-----------
apps: copy echo_test to examples/echo
Move the echo_test to examples will add a messaging test
to implement a more complete messaging verification.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e2214b4fb300bea52fe952314c52169a4e2b3e2a
https://github.com/OpenAMP/open-amp/commit/e2214b4fb300bea52fe952314c52169a…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/tests/CMakeLists.txt
R apps/tests/echo_test/CMakeLists.txt
R apps/tests/echo_test/echo_test.c
R apps/tests/echo_test/echo_testd.c
A apps/tests/msg/CMakeLists.txt
A apps/tests/msg/rpmsg-ping.c
A apps/tests/msg/rpmsg-update.c
Log Message:
-----------
apps: tests: move echo_test to messaging test
Move echo_test to messaging test. Will need to
update the messaging test to cover more messaging
verfication.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 657d446c2fbf33105df25dd8bb067f58706e390d
https://github.com/OpenAMP/open-amp/commit/657d446c2fbf33105df25dd8bb067f58…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/tests/CMakeLists.txt
R apps/tests/func_test_suite/CMakeLists.txt
R apps/tests/func_test_suite/func_test_suite.c
R apps/tests/func_test_suite/func_test_suite_remoteproc_master.c
R apps/tests/func_test_suite/test_suite.h
A apps/tests/rpmsg-apis/CMakeLists.txt
A apps/tests/rpmsg-apis/rpmsg-apis-vdev-master.c
A apps/tests/rpmsg-apis/rpmsg-apis-vdev-slave.c
A apps/tests/rpmsg-apis/rpmsg-apis-verification.h
Log Message:
-----------
apps:tests: rename func_test_suite to rpmsg-apis
The functions test suite should be RPMsg APIs verification suite.
It is disabled for now, it will need to be enabled to verify the
latest RPMsg changes.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ce8b395fa15e0c7d7f7532de3135a1414fb86d8e
https://github.com/OpenAMP/open-amp/commit/ce8b395fa15e0c7d7f7532de3135a141…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/examples/echo/rpmsg-ping.c
M apps/examples/matrix_multiply/matrix_multiply.c
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/system/linux/machine/generic/platform_info.c
M apps/system/linux/machine/generic/platform_info.h
M apps/tests/msg/rpmsg-ping.c
Log Message:
-----------
apps: update to line up with NS bind cb change
Line up with the library change to rename the name service
callback.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 2131902e6cdb698705ab70d6346dec077d02fdf9
https://github.com/OpenAMP/open-amp/commit/2131902e6cdb698705ab70d6346dec07…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M README.md
Log Message:
-----------
README: update Linux processes test instructions
Update the instructions on OpenAMP trial between
two Linux processes to align with the applications changes.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: cdd6ca2acb87fc81c1364694d221f7d2925669a3
https://github.com/OpenAMP/open-amp/commit/cdd6ca2acb87fc81c1364694d221f7d2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/examples/echo/rpmsg-echo.c
A apps/examples/echo/rpmsg-echo.h
M apps/examples/echo/rpmsg-ping.c
M apps/examples/matrix_multiply/matrix_multiply.c
A apps/examples/matrix_multiply/matrix_multiply.h
M apps/examples/matrix_multiply/matrix_multiplyd.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp_r5/platform_info.h
M apps/system/linux/machine/generic/platform_info.h
M apps/tests/msg/rpmsg-ping.c
A apps/tests/msg/rpmsg-ping.h
M apps/tests/msg/rpmsg-update.c
Log Message:
-----------
apps: move the RPMsg service name to demos
The RPMsg channel name should be defined by the demo application
but not platform specific.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 22898d69f8748200b5583bcd10e95de401b12442
https://github.com/OpenAMP/open-amp/commit/22898d69f8748200b5583bcd10e95de4…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/examples/CMakeLists.txt
M apps/machine/zynq7/CMakeLists.txt
M apps/system/generic/machine/zynq7/CMakeLists.txt
M apps/system/generic/machine/zynqmp_r5/CMakeLists.txt
M apps/system/linux/machine/generic/CMakeLists.txt
M apps/system/linux/machine/zynqmp/CMakeLists.txt
M apps/tests/rpmsg-apis/CMakeLists.txt
M cmake/options.cmake
Log Message:
-----------
cmake: remove unused cmake options
Remove unused cmake options such as REMOTEPROC_MASTER
as the library allows user to use different libraries sperately.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e0597ede338f50fdd41076d2f3a679b46be68221
https://github.com/OpenAMP/open-amp/commit/e0597ede338f50fdd41076d2f3a679b4…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/CMakeLists.txt
M apps/examples/CMakeLists.txt
A apps/examples/rpmsg_sample_echo/CMakeLists.txt
A apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c
A apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c
Log Message:
-----------
apps: add rpmsg_sample test
This test corresponds to the behaviour of the linux
rpmsg sample driver. master send 100 messages to the slave,
expecting echo.
At least the echo part running on slave
can be implemented to respond to the linux driver.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 47793505564464240762af14209d3273bd5091a2
https://github.com/OpenAMP/open-amp/commit/47793505564464240762af14209d3273…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
R apps/linux_firmware_remoteproc_slave/CMakeLists.txt
R apps/linux_firmware_remoteproc_slave/boot.c
R apps/linux_firmware_remoteproc_slave/boot_wrapper_zynq7.S
R apps/linux_firmware_remoteproc_slave/link_remote.ld
R apps/linux_firmware_remoteproc_slave/rsc_table.c
R apps/linux_firmware_remoteproc_slave/rsc_table.h
Log Message:
-----------
apps: remove obselete apps demo
Remove the obselete linux loading demo there will be new demo
for the updated remoteproc APIs
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Compare: https://github.com/OpenAMP/open-amp/compare/4c27f417b2c9%5E...477935055644
Branch: refs/tags/v2020.10.0
Home: https://github.com/OpenAMP/open-amp
Commit: 4d20dcdca51332995aae09e050cd2e772543e187
https://github.com/OpenAMP/open-amp/commit/4d20dcdca51332995aae09e050cd2e77…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Log Message:
-----------
apps: zynqmp: fix compilation issue from rebase
no-ipi patches seemed to have caused compilation issue. resolve here
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Branch: refs/heads/v2020.10
Home: https://github.com/OpenAMP/open-amp
Commit: 4d20dcdca51332995aae09e050cd2e772543e187
https://github.com/OpenAMP/open-amp/commit/4d20dcdca51332995aae09e050cd2e77…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Log Message:
-----------
apps: zynqmp: fix compilation issue from rebase
no-ipi patches seemed to have caused compilation issue. resolve here
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 4d20dcdca51332995aae09e050cd2e772543e187
https://github.com/OpenAMP/open-amp/commit/4d20dcdca51332995aae09e050cd2e77…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Log Message:
-----------
apps: zynqmp: fix compilation issue from rebase
no-ipi patches seemed to have caused compilation issue. resolve here
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>