Oopenvela-robotrpmsg: Increase RPMSG_ADR_SMP_SIZE to avoid bitmap overflow
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Function header description consistency Updated function header descriptions formatting to be consistent. Signed-off-by: Tammy Leino <tammy.leino@siemens.com> | 3 个月前 | |
lib: fix minor coding style. Fix coding style reported by do_checkpatch.sh Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> | 3 个月前 | |
lib/remoteproc: seperate the vdev and vring bitmap Linux do not alloc the notifyid for the virtio device and use one idr alloc notifyid for the vring. OpenAMP use one bitmap alloc the notifyid for both the virtio device and the vring. Both the Linux and OpenAMP will assgin back the alloced notifyid to the resource table and check this notifyid is used before. This may cause the notifyid is different to the linux alloced and cause remoteproc init error in OpenAMP. For example, Linux alloc the vring notifyid: 0, 1 and assgin back to the resource table, OpenAMP must alloc the same notifyid for vring, but the notifyid 0 already be used by the virtio device, so OpenAMP will init failed at the handle_vdev_rsc() with error code: -RPROC_ERR_RSC_TAB_NP. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 | |
Doxygen updates for data structures Improved doxygen formatting and consistency for data structures. Signed-off-by: Tammy Leino <tammy.leino@siemens.com> | 3 个月前 | |
openamp/remoteproc: add function to get virtio_dispatch function Signed-off-by: wangshaoxin <wangshaoxin@xiaomi.com> | 3 个月前 | |
rpmsg: Increase RPMSG_ADR_SMP_SIZE to avoid bitmap overflow bitmap = {4294967295, 4294967295, 4294967295, 4294967295}, bitnext = 1 rpmsg-rtc 1024 1024 ... s:512:bef 1024 1158 Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com> | 3 个月前 | |
Function header description consistency Updated function header descriptions formatting to be consistent. Signed-off-by: Tammy Leino <tammy.leino@siemens.com> | 3 个月前 | |
lib: fix doxygen miscellaneous warnings Remove warning reported by Doxygen on doc generation: - rewrite enum documentation, - replace @ by \ref for references, - fix param names Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> | 3 个月前 | |
openamp/rpmsg_virtio.h: add priority in the rpmsg virtio config The rpmsg virtio device can use the new priority element to config it's rpmsg virtio thread priority. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 | |
Function header description consistency Updated function header descriptions formatting to be consistent. Signed-off-by: Tammy Leino <tammy.leino@siemens.com> | 3 个月前 | |
lib/include/virtio.h: chaneg the length type to size_t in read/write_config MISRA C-2012 Rule 10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category User pass the sizeof(xxx) to these two APIS as the length, and use size_t to represent the length is more intuitive, so direclty change the length type to size_t to fix the coverity issue. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 | |
virtio_mmio: Statically allocate metal_io_regions Make the metal_io_region for cfg_io and shm_io into full member structs instead of just pointers. This means they will be allocated along with the parent virtio_mmio_device struct and not need dynamically allocated later. Signed-off-by: Andrew Davis <afd@ti.com> | 3 个月前 | |
lib/virtio/virtqueue.c: fix the coverity issue about vring flags MISRA C-2012 Rule 10.4: vq->vq_ring.avail/used->flags is uint16_t type, so change the VRING Feature Flag type to unsigned too Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 | |
lib/include/virtqueue.h: fix coverity issue about rpmsg virtio add buffer MISRA C-2012 Rule 10.3 In rpmsg_virtio_return_buffer and rpmsg_virtio_enqueue_buffer, vqbuf.len is int and len is uint32_t, and the struct vring_desc len is also uint32_t, so directly change the vqbuf.len to uint32_t Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 |