Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: a5d7f13538b44c01373f62c1c99e6ccf01fbccd3
https://github.com/OpenAMP/open-amp/commit/a5d7f13538b44c01373f62c1c99e6ccf…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Do not make assumptions on struct member order
In rpmsg_virtio_ns_callback() we directly case from rpmsg_device* to
rpmsg_virtio_device*. This only works if rdev is the first member.
Use metal_container_of() to remove this assumption on struct order.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: e76e4cbdfff3259abf3b1090ee1c553165a89668
https://github.com/OpenAMP/open-amp/commit/e76e4cbdfff3259abf3b1090ee1c5531…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: Allow private endpoint data to be set in rpmsg_register_endpoint
There is a private data member in the endpoint struct that is passed into
the callback, but there is no way to populate it. Add this to the
endpoint register function.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: c245b3b534e5bc49e4c2e391a960026fcc607808
https://github.com/OpenAMP/open-amp/commit/c245b3b534e5bc49e4c2e391a960026f…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Use priv data in name service callback
The callback allows us to add private data. Use that to store our
rpmsg_device instance instead of extracting it from the endpoint
struct. The contents of that struct are internal to the RPMsg layer.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/89a8a3002fc0...c245b3b534e5
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: f81114b21d32c21d39375e90efa368922673d051
https://github.com/OpenAMP/open-amp/commit/f81114b21d32c21d39375e90efa36892…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: Add API for retrieving message buffer sizes
Add an RPMsg API to get the buffer sizes supported by the backing
transport layer. Add hooks so that transport layers can register
functions to provide this data.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 52c27fbd91f748f93f46330aff0f12c7dd594f2d
https://github.com/OpenAMP/open-amp/commit/52c27fbd91f748f93f46330aff0f12c7…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Connect rpmsg get buffer for the virtio transport layer
RPMsg provides functions to get a transport's backing buffer sizes.
Connect this up for the virtio transport here.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 89a8a3002fc0e8171b91f0d220608facbaa08342
https://github.com/OpenAMP/open-amp/commit/89a8a3002fc0e8171b91f0d220608fac…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths:
M apps/examples/echo/rpmsg-echo.c
M apps/examples/echo/rpmsg-ping.c
M apps/examples/nocopy_echo/rpmsg-nocopy-ping.c
M apps/tests/msg/rpmsg-flood-ping.c
M apps/tests/msg/rpmsg-nocopy-ping.c
M apps/tests/msg/rpmsg-ping.c
Log Message:
-----------
apps: Convert examples to rpmsg_get_{tx,rx}_buffer_size()
The contents of app() in these examples is given a rpmsg_device. We should
not have to know about the backing transport layer. We assume it is virtio
and call into the virtio layer to get the buffer size. This information is
now available from the rpmsg layer. Use those functions to make the app()
agnostic to the backing layer.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/9ddd85c9aae4...89a8a3002fc0
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 3758939d83c4d0c945e55e64bba66e6bf01c98e7
https://github.com/OpenAMP/open-amp/commit/3758939d83c4d0c945e55e64bba66e6b…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps: linux: generic: Use accessor functions for struct remoteproc_mem
The remoteproc_mem struct contents are internal to remoteproc. The struct
should be accessed using the provided accessors, not directly. This is
done in preparation of making this struct opaque to code outside of
the remoteproc drivers.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: f757dad6f349a5abe734b35425d2c1598c75dee6
https://github.com/OpenAMP/open-amp/commit/f757dad6f349a5abe734b35425d2c159…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M apps/examples/load_fw/zynqmp_apu_lcm_rproc_example.c
M apps/examples/load_fw/zynqmp_r5_lcm_rproc_example.c
M apps/examples/load_fw/zynqmp_rpu_lcm_rproc_example.c
Log Message:
-----------
apps: examples: load_fw: Use accessors for remoteproc_mem and rproc
The remoteproc_mem and rproc structs contents are internal to remoteproc.
These should be accessed using the provided accessors, not directly. This
is done in preparation of making these struct opaque to code outside of
the remoteproc drivers.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 9ddd85c9aae42614dc812bf9560ec280d26f63d7
https://github.com/OpenAMP/open-amp/commit/9ddd85c9aae42614dc812bf9560ec280…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M apps/examples/load_fw/zynqmp_apu_lcm_rproc_example.c
M apps/examples/load_fw/zynqmp_r5_lcm_rproc_example.c
M apps/examples/load_fw/zynqmp_rpu_lcm_rproc_example.c
Log Message:
-----------
apps: examples: load_fw: Do not re-init rproc mems list
The memory list is already initialized before this callback is called.
Remove this redundant initialization.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/6623fee76133...9ddd85c9aae4
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 6623fee761332f3d9af7597dfb1964754f4e81c6
https://github.com/OpenAMP/open-amp/commit/6623fee761332f3d9af7597dfb196475…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps: system: linux: Use metal_io_finish() for closing io
Do not directly call into io->close(), use the accessor function.
While here, do not free the io structure as we did not allocate
it and have no way to know how it was allocated.
Signed-off-by: Andrew Davis <afd(a)ti.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 04effe4fc735a4f470723e9c4e1609a5039696e6
https://github.com/OpenAMP/open-amp/commit/04effe4fc735a4f470723e9c4e1609a5…
Author: Zongcheng Han <hanzongcheng(a)huawei.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: drop unnecessary error return value
The rsc_table is checked against NULL in remoteproc_load().
But remoteproc_get_rsc_table() returns ERR_PTR after an error.
The error return value is unnecessary, just return NULL for failure.
Signed-off-by: Zongcheng Han <hanzongcheng(a)huawei.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 962b6ef07116e5265216319b107f7f581fbeaa8c
https://github.com/OpenAMP/open-amp/commit/962b6ef07116e5265216319b107f7f58…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
Log Message:
-----------
rpmsg_virtio: Deprecate rpmsg_virtio_{create,delete}_virtqueues helpers
These are only used internally by rpmsg_virtio. They also already exist
as part of the virtio API. Do not create an extra wrapper API out of
these functions. Deprecate these functions.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 435a74175af32949e46f9cf4d3aa7044ada9e0a9
https://github.com/OpenAMP/open-amp/commit/435a74175af32949e46f9cf4d3aa7044…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Do not use rpmsg_virtio_{create,delete}_virtqueues helpers
These are only used internally by rpmsg_virtio. They also already exist
as part of the virtio API. Do not create an extra wrapper API out of
these functions. Use the virtio functions directly in rpmsg_virtio.c.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: d233fdc1104a84ba31c00c31e8d87af03c96f0c2
https://github.com/OpenAMP/open-amp/commit/d233fdc1104a84ba31c00c31e8d87af0…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
Log Message:
-----------
rpmsg_virtio: Deprecate functions that duplicate virtio functions
Do not expose new functions that reach into structs not belonging to
rpmsg_virtio, that breaks layering. Functions to access these members of
struct virtio are already provided by virtio, use those instead. Deprecate
the unneeded and layer breaking rpmsg_virtio functions for the same.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 2427641697e5b5536da1b52e3adf849337df5aa4
https://github.com/OpenAMP/open-amp/commit/2427641697e5b5536da1b52e3adf8493…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Do not use rpmsg_virtio_{get,set} helpers
These functions are deprecated, use their replacements.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: d13dd90c5627be94dac5957d0096f854dd6c84f9
https://github.com/OpenAMP/open-amp/commit/d13dd90c5627be94dac5957d0096f854…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: Return error code if waiting for remote fails
If we cannot finish waiting for the remote to be ready to start RPMsg
communication then return and propagate an error.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/d50bb033a9aa...d13dd90c5627
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: d6b3604022b1305c488380562b49e2e4664900c5
https://github.com/OpenAMP/open-amp/commit/d6b3604022b1305c488380562b49e2e4…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
rsc_table_parser: Do not expose internal-only functions
These functions are only used within rsc_table_parser. These should be
only available there and made static. This prevents them from becoming
part of the API.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: a0b2b7c10f1d99fe6431de6455e4ae1adc85293b
https://github.com/OpenAMP/open-amp/commit/a0b2b7c10f1d99fe6431de6455e4ae1a…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
R lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/remoteproc.c
M lib/remoteproc/rsc_table_parser.c
A lib/remoteproc/rsc_table_parser.h
Log Message:
-----------
rsc_table_parser: Move header to make internal functions internal only
The files in include/openamp are deployed on install and can be used
by applications using the OpenAMP API. The functions in rsc_table_parser
are all internal use only. Move this header out of that location.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: d50bb033a9aa0d469b27f0314dbd0c02aff10a81
https://github.com/OpenAMP/open-amp/commit/d50bb033a9aa0d469b27f0314dbd0c02…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
rsc_table_parser: Do not forward declare when not needed
Forward declaration of functions here is not needed, simply move
the function definition to top of the file. No functional change.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/open-amp/compare/15b4a8b6210e...d50bb033a9aa
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/virtio-exp-v2023.10
Home: https://github.com/OpenAMP/open-amp
Commit: 963e8c5b1da01a3b038b5106d9b097f1bee1a95c
https://github.com/OpenAMP/open-amp/commit/963e8c5b1da01a3b038b5106d9b097f1…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
A lib/include/openamp/virtio_rng_drv.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_rng_drv.c
Log Message:
-----------
virtio-mmio: entropy device
Added virtio entropy device support.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Commit: e021b8373ad4da995c87a34b41c664afd30a3194
https://github.com/OpenAMP/open-amp/commit/e021b8373ad4da995c87a34b41c664af…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
A lib/include/openamp/virtio_net_drv.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_net_drv.c
Log Message:
-----------
virtio-mmio: network device
Added virtio network device support.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Commit: 23058fc10872af763a11940555dd8f44faffe734
https://github.com/OpenAMP/open-amp/commit/23058fc10872af763a11940555dd8f44…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
A lib/include/openamp/virtio_serial_drv.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_serial_drv.c
Log Message:
-----------
virtio-mmio: console device
Added virtio console device support.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Commit: ead7ad8bb0a0db925e3a7e2a42ca6def8b8c399b
https://github.com/OpenAMP/open-amp/commit/ead7ad8bb0a0db925e3a7e2a42ca6def…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M cmake/options.cmake
M lib/include/openamp/virtio.h
A lib/include/openamp/virtio_mmio_dev.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_mmio_dev.c
Log Message:
-----------
virtio-mmio: add initial support for Virtio MMIO device side
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
virtio_mmio_dev: initial support for device side
virtio mmio transport, it is based on work done originally
by Nicolas Granger from ST: <nicolas.granger01(a)st.com>
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Commit: a76b28b2486089cd0c861233f4d7bebf8acf63fc
https://github.com/OpenAMP/open-amp/commit/a76b28b2486089cd0c861233f4d7bebf…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M lib/include/openamp/virtio_mmio.h
R lib/include/openamp/virtio_mmio_dev.h
M lib/virtio_mmio/virtio_mmio_dev.c
Log Message:
-----------
virtio_mmio: unify device and driver interfaces into a
single header file.
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Compare: https://github.com/OpenAMP/open-amp/compare/963e8c5b1da0%5E...a76b28b24860
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications