Skip to content

OpenAMP remoteproc Subgroup Meeting Notes 2022

Bill Mills edited this page Dec 27, 2022 · 23 revisions

Table of Contents

Introduction

This sub-group covers areas such as remoteproc, rp-message, virtio, big buffers, etc. The meeting cadence is every 2 weeks on Thursdays at 11 am Eastern US time.

2022-12-15

Attendees:

  • Mathieu Poirier (Linaro)
  • Bill Mills (Linaro)
  • Arnaud Pouliquen (ST)
  • Ed Mooring (Independent)
  • Ben Levinsky (AMD Xilinx)
  • Tammy Leino (Siemens)

Kernel Update

  • Signaling, new version from QC that should address Arnaud's comments
  • QC section header, Rodger has made comments
  • Mathieu has made a patch to address Ben's issue.
  • Tanmay's remote proc is queued for 6.2-rc1
  • AP: PM related patch, aka cpu relax
    • MP: kernel can cancel suspend
    • MP: sent fix to Maria and she tested
    • MP: crash recovery is canceled if it occurs during suspend
    • AP: wants to notify rp that Linux is going to sleep

Library:

  • Released 2022.10.1
  • Doxygen PR
  • Fix doc docs
  • GH action & doxygen pub
    • Bill look at this
  • What clean-up do we want on the demos?
    • Want Zephyr on Zynqmp (hello world)
    • Want Virtio on on ST
    • Want tty on ZynqMP
    • CI-Builds vs ST-OSS

2022-12-01

Attendees:

  • Bill Mills (Linaro)
  • Arnaud Pouliquen (ST)
  • Ed Mooring (Independent)
  • Tanmay Shah (AMD Xilinx)
  • Ben Levinsky (AMD Xilinx)

General Discussion

  • BM: No Mathieu today
  • TS: adding nodes for rpmsg in user space
    • BM: good to have a test for that
    • AP: can use posix to posix for testing
    • Readme file of OpenAMP describes how to do this
  • BM: Good to have a real use case for rpmsg in user space as we carry a lot of overhead to enable it
    • BM: libmetal is kind of heavy to support Linux User space
    • AP: libmetal-lite would be good for non Linux US mode
  • TS: should we move demos to openamp-system-reference?
    • BM: should we move specific platform support to openamp-system-reference?
    • BM & AP: needs to be a collective project decision
  • AP & EM: Discuss upcoming 22.10.1 release

2022-11-17

Attendees:

  • Mathieu Poirier (Linaro) (2nd half)
  • Bill Mills (Linaro)
  • Arnaud Pouliquen (ST)
  • Ed Mooring (Independent)
  • Tanmay Shah (AMD Xilinx)
- Tammy Leino (Siemens)
  • Ben Levinsky (AMD Xilinx)

Library

  • meta-openamp needs 2022.10
  • Need to do more repos in 2023.04 release
  • Double declaration under specific conditions
  AP propose 2022.10.1
  • Openamp has not been updated in Zephyr (3.2->2022.04)
  * ipc services wrapper on top of openamp
  * other providers: mailbox+shmem (Nordic)
  • AN541 (Dual m33)
  * open-amp remoteproc test
  • Zephyr on MP1 A core

Kernel Update

  • Tanmay's remoteproc looks good, just need ack from Michael and DT
  • TI has two competing patch set
  * v9 PRU 
  • Ben's RFC have not had time to look at it
  * Target next meeting for discussion
  • Ben:
  * if driver that has multiple remotes 
    platform probe instead rproc_alloc per child device r5 core nodes
       rproc-core assumes 1:1, does not work for multi instance
       rproc_get & rpeoc_put 
  * need to call get proc by handle, not activated by sysfs

2022-11-04

Attendees:

  • Mathieu Poirier (Linaro)
  • Bill Mills (Linaro)
  • Arnaud Pouliquen (ST)
  • Ed Mooring (Independent)
  • Tanmay Shah (AMD Xilinx)
  • Tammy Leino (Siemens)
  • Ben Levinsky (AMD Xilinx)

Kernel Update

  • PM relax lots of
  • AVM router was easy, did not get feedback
  • Xilinx RPU, new patch set should be the good one
Up next but probably wont have time
  • [PATCH] Introduce PRU remoteproc consumer API
flow control
  • Bjorn agrees with Arnaud review of Deepak
  • Proceed with core API but hold off on wire protocol part
  • 2 patches from iMX8, not happy with

Library:

  • AP: test fails with new Version
  • Is not actually the lib, it is the iteration associated with notifyID
  • Xilinx passes resource table 0 notify ID == 1st vring
  • ST does not use remote proc resource table
  • There is no guarantee that Linux has updated the resource table
  • libopenamp should check the vring status before doing anything
  • Add Release note not a new version of the lib

Other items

  • Ben's email:
https://lists.openampproject.org/archives/list/[email protected]/thread/GF5JQX3OPFB6RX5O3LDUAQEGRL4ABHXN/

2022-10-20

Attendees:

  • Mathieu Poirier (Linaro)
  • Bill Mills (Linaro)
  • Arnaud Pouliquen (ST)
  • Ed Mooring (Independent)
  • Tanmay Shah (AMD Xilinx)
  • Tammy Leino (Siemens)

Kernel Update

  • Spent a lot of time on imxQ and pm relax patch
    • Want 2nd opnion from Arnaud on pm relax
  • [PATCH] Add support for WASP SoC on AVM router boards
    • Probibly won't get to these in next 2 weeks
  • [PATCH] Add support for MT8195 SCP 2nd core
  • [PATCH] Add Xilinx RPU subsystem support
  • [PATCH] Introduce PRU remoteproc consumer API
  • [PATCH] rpmsg signaling/flowcontrol patches
    • Waiting for new patch series V from QC author
    • Name announce does not match dev id in Linux, maybe it should use a reserved port number

Library:

  • EM: Freeze time done, execpeted one bug PR
  • EM & AP: each test on own boards
    • AP: ST MISRA lite, Zephyr, BM, freeRTOS, IDE, C++
    • EM: Baremetal Xilinx, Linux, try to do Linux Userspace but not able to
    • TS: Will try to get internal fix for common DT to support both kernel and user space
    • BM: any negative testing? Is error path tested?
    • TS: any backcompatability testing? 2 years
      • AP: policy and review, no mix and match testing Today, if there are issue they can be PRs
  • AP: Documentation, rpmsg spec, resource table
  • TL: ok to defer libmetal PR
  • TL: have negative tests that could be integrated into something

2022-10-06

Attendees:

  • Mathieu Poirier (Linaro)
  • Bill Mills (Linaro)
  • Arnaud Pouliquen (ST)
  • Ed Mooring (Independent)
  • Tanmay Shah (AMD Xilinx)
  • Tammy Leino (Siemens)

Kernel Update

  • ready to push when 6.1-rc2 gets released
    • [PATCH] remoteproc: imx_dsp_rproc: Add mutex protection for workqueue
  • on the review list
      • MP: does this happen on ST? probibly not because of interrupt
      • AP: ST board did have this problem at least once, we will need a similar patch
      • We used virtio I2C and had a similar issue, will need a different solution
    • [PATCH] remoteproc: core: do pm relax when in RPROC_OFFLINE
    • [PATCH] remoteproc: imx_rproc: support i.MX8QM/QXP
    • [PATCH] Add support for WASP SoC on AVM router boards
    • [PATCH] Add support for MT8195 SCP 2nd core
    • [PATCH] rpmsg signaling/flowcontrol patches
  • Other
    • [PATCH] Introduce PRU remoteproc consumer API
      • Discussion still going on
  • Tanmay & MP: Module tag says GPL, SPDX says GPLv2
    • Was correct as is. checkpatch has new logic to enforce this.

Library:

  • AP: Oct 16 code freeze
  • libmetal Xilinx R5 support, find node in list
  • update catch management on Zephyr
  • new API to check address is OK for IO range
  • 3 PRs from Tammy for robust
  • Tammy: One open-amp depends on libmetal PR

Other items

  • Webinar: Dec or Nov?
    • BM: I meant to talk about this yesterday but forgot
    • Tomas has suggested moving to December to have a better chance to get System DT demo in
    • No objection to December from this group
    • AP would prefer it.
    • All vowed not to slow down :)
    • BM: send email to system-ref list
  • Discussion about getting --ff-only PR merge requests on github
    • Not really conclusive, will have to experiment
    • Update: no way to do it in GUI
    • you CAN do it on the command line locally and push to target branch
    • github will close the PR as long as the SHAs match (the PR would have been ff)
    • If the PR needs to be rebased, do that and update the PR before pushing to target branch

2022-09-22

  • Bill Mills (Linaro)
  • Mathieu Poirier (Linaro)
  • Tanmay Shah (Xilinx/AMD)
  • Ed Mooring (Independent)
  • Tammy Leino (Mentor/Siemens)
  • Arnaud Pouliquen (ST)

Kernel

  • Merged
    • AP refactoring, all please retest with rproc-next
  • Patch Queue
    • [PATCH] remoteproc: support self recovery
      • from Pang, Arnaud has looked at it
    • [PATCH] remoteproc: core: do pm relax when in RPROC_OFFLINE
      • from Maria at Mediatek
    • [PATCH] remoteproc: imx_rproc: support i.MX8QM/QXP
      • Might get to this one
    • [PATCH] remoteproc: imx: add start up delay
    • [PATCH] Add support for WASP SoC on AVM router boards
    • [PATCH] rpmsg signaling/flowcontrol patches (on hold)
      • This is from Depak and he has sent new version of this (GLINK)
      • MP has indicated Depak needs to look at what Arnaud has done for virtio also

library

  • EM: number of patches and PR
  • Return unused descriptors/buffers
  • AP: Library release at end of Oct, don't wait for your PRs

virtio work

(nothing here. See the system ref meeting.)

Linux Demo Apps

  • TS: We have Linux samples apps source code checked into meta-openamp.
    • This should be moved somewhere else
  • Where should this go:
  • TS: make or cmake
    • Group: just stay with Makefile
  • BM: Tanmay should fork both meta-openamp and openamp-system-reference
    • Get it working in your forks
    • send PRs for both
    • We will make sure to accept the sysref PR before the meta-openamp PR
  • BM: Aranud can you add yours as well?
  • AP: yes will do

2022-09-08

  • Bill Mills (Linaro)
  • Tanmay Shah (Xilinx/AMD)
  • Ben Levinsky (Xilinx/AMD)
  • Ed Mooring (Independent)
  • Arnaud Pouliquen (ST)
  • Tammy Leino (Mentor/Siemens)

Kernel

  • Mathieu could not attend today but he published his patch queue as of today
    • [PATCH] remoteproc: restructure the remoteproc VirtIO device
      • rebase to next and repost, MP will accept if no objection or review from Bjorn
    • [PATCH] remoteproc: imx_rproc: support i.MX8QM/QXP
    • [PATCH] remoteproc: imx: add start up delay
    • [PATCH] Add support for WASP SoC on AVM router boards
  • Xilinx wants to implement attach/detach, how to find the resource table?
    • TI just assumes firmware is loaded at first bank
    • ST has DT properties that point to register bank that points to res table
    • Xilinx will follow ST indirection model but with SRAM

library

  • AP: Pull request from AMD, adjust PMU (perf monitor) regions
  • AP: PR from GUIDINGLI, release buffer should kick the peer

CI

  • BM: getting close to kv260 in LAVA
  • BM: looking at adding ST -ev1 as well, mostly for Trusted Substrate POV
    • AP: I test openamp on both but Zephyr only tests on dk2
  • AP: mailbox is now broken upstream in zephyr
    • Linux -> Zephyr OK but not other way

2022-08-25

  • Bill Mills (Linaro)
  • Mathieu Poirier (Linaro)
  • Tanmay Shah (Xilinx/AMD)
  • Ben Levinsky (Xilinx/AMD)
  • Ed Mooring (Independent)
  • Tammy Leino (Mentor/Siemens)
  • Arnaud Pouliquen (ST)

Kernel

  • Mathieu is back
    • His last patch queue update was Aug 25 and is the same as July 27
    • It has not updated since that time due to vacation and other duties
  • On Deck for this fortnight
    • [PATCH] Add support for MT8195 SCP 2nd core
    • [PATCH] Add Xilinx RPU subsystem support
  • others probably wont get to until next time
    • [PATCH] remoteproc: imx: add start up delay
    • [PATCH] remoteproc: imx_rproc: support i.MX8QM/QXP
    • [PATCH] Add support for WASP SoC on AVM router boards
  • rproc-next has been update to 6.0-rc2
  • AP: status of restructure patch set?
    • MP wants to apply this cycle
    • AP will send new version tomorrow
    • AP will Bjorn review again? MP will check, accept without if not

Library

  • AP: lots of pull req from Tammy and all/most look good
  • AP: two pull requests from GUIDINGLI
    • wait for buffer if empty
      • today is a sleep, PR wants an op to do semaphore etc
    • allocate all buffers at init
      • today host allocates as needed
      • no protection today
      • also can allocate more buffers than descriptors
  • AP: PR to store buffer until later

virtio work

  • AP: don't see any new pull requests
  • define virtio dev,
    • look how ST does it for ETH HAL etc

rpmsg in U-boot

  • BM: when should polling happen? for how long?
    • U-boot does not poll in the background as far as I know
    • ex: network only responds to pings when running a network command
    • usb keyboard polls via the console's testc calls
    • usb gadget: only runs during dfu commands etc??? unsure of this one
  • would be possible to make an rpmsg command
    • simplest would be to TX to known numerical ports and expect one response
    • could add a rpmsg poll command to poll for N ms
    • would allow Name announcements and async messages to be processed
    • could then TX to Named end points

Xilinx remoteproc patches

  • TS: can you review bindings?
    • have fixed the issue pointed out by Rob & Krzysztof
  • MP: I only accept DT patches that have been signed-off-by Rob etc
    • did Rob provide a conditional Signed-of-by?
    • If so then I will have to decide if your changes are small enough and faithful enough to his review to be accepted

rpmsg char

  • AP: WRT: rpmsg char to do control
  • AP: (something about arm64 config files?)
  • MP: send them again and I will push

2022-08-11

  • Bill Mills (Linaro)
  • Tanmay Shah (Xilinx)
  • Ben Levinsky (Xilinx)
  • Ed Mooring (Independent)

Kernel

  • Mathieu can not join today
    • His last patch queue update was on July 27 and is below
    • He reported at that time that the list is unlikely to change before Aug 15
  • [PATCH] Add support for MT8195 SCP 2nd core
  • [PATCH] Add Xilinx RPU subsystem support
  • [PATCH] remoteproc: imx: add start up delay
  • [PATCH] remoteproc: imx_rproc: support i.MX8QM/QXP
  • [PATCH] Add support for WASP SoC on AVM router boards

library

  • Arnaud is out, should be back next week
  • EM: Tammy and XXX have been submitting multiple PRs
    • EM: Tammy's work is fixups for safety certifiablility coding standards
    • EM: May be related to host restart
  • BL: Xilinx needs remoteproc & rpmsg in u-boot
    • BM: other people have remoteproc support, not sure about rpmsg
  • BL: remoteproc recovery from host failure, seems like some stuff may be missing
    • BM: should be a supported use case but would not be surprised is things were missing
    • BM: We need test cases for Host orderly shutdown and
    • EM: Need arch approach
  • BL: upstream kernel rpmsg driver, how does it get activated?
    • BM: activated by name match on channel announcement, see tty_rpmsg.c line 216 or similar

2022-07-14

  • Bill Mills (Linaro)
  • Mathieu Poirier (Linaro)
  • Tanmay Shah (Xilinx)
  • Tammy Leino (Mentor/Siemens)
  • Ben Levinsky (Xilinx)
  • Arnaud Pouliquen (ST)

Kernel

  • [PATCH] Introduce PRU remoteproc consumer API
    • MP: should finish this one soon
  • [PATCH] Introduction of rpmsg_rx_done
    • MP: Request Arnaud to look at this WRT flow control etc
  • [PATCH] Add support for MT8195 SCP 2nd core
  • [PATCH] Add Xilinx RPU subsystem support
    • MP: will get to this one this period
  • [PATCH] remoteproc: restructure the remoteproc VirtIO device
    • MP: may get to this one before next call
  • [PATCH] remoteproc: imx: add start up delay
  • [PATCH] remoteproc: imx_rproc: support i.MX8QM/QXP
  • Other
    • MP: Thanks to Arnaud for jumping into upstream virtio changes that have broken rpmsg

general openamp lib

  • MP: things are slowed slowed down for summer
  • TL: when does Xilinx update openamp lib from upstream
    • BL TS: at least 1 per year, 20XX.1

2022-06-30

  • Bill Mills (Linaro)
  • Mathieu Poirier (Linaro)
  • Tanmay Shah (Xilinx)
  • Tammy Leino (Mentor/Siemens)
  • Ben Levinsky (Xilinx)
  • Arnaud Pouliquen (ST)
  • Suman Anna (TI)
  • Ed Mooring (Independent)
  • Hari Nagalla (TI)
  • Segei Korneichuk (AMD/Xilinx)
  • Loic Pallardy (ST)

Kernel

  • [PATCH] remoteproc: pru: Enable PRU cores on K3 AM62x SoCs (June 02, Kishon)
  • [PATCH] remoteproc: restructure the remoteproc VirtIO device (June 3rd, Arnaud)
  • [PATCH] Introduce PRU remoteproc consumer API (June 6th, Puranjay)
  • [PATCH] Add support for MT8195 SCP 2nd core (June 8th, Tinghan)
  • [PATCH] Introduce helpers for carveout management (June 10th, Chris Lew)
    • Looking for people to review this one.
  • [PATCH] virtio pci support VIRTIO_F_RING_RESET (June 29th, Xuan Zhuo)
https://lore.kernel.org/lkml/[email protected]/t/

Status emails: OK for everyone?

general openamp lib

  • EM: AP added mmio stuff on virtio-mmio
  • EM: AP Flow control
  • EM: AP recycle buffers
    • Pending Buffers when endpoint is destroyed
    • Host: just clean up in descriptor table
    • Device:
    • Busy status: reserved field points to descriptor idx
  • AP: virtio memory buffer

2022-06-02

x Bill Mills (Linaro) x Mathieu Poirier (Linaro) x Tanmay Shah (Xilinx) x Tammy Leino (Mentor/Siemens) x Ben Levinsky (Xilinx) x Arnaud Pouliquen (ST) x Suman Anna (TI) x Ed Mooring (Independent) x Hari Nagalla (TI) x Segei Korneichuk (AMD/Xilinx) x Loic Pallardy (ST)

Kernel

  • MP: back to patch review cycle
    • Pang's patch set, what to do after crash
    • Arnaud's virtio restructure, maybe wait until other work is done?
      • 1st step toward making it a platform device then declare in DT
      • MP: also fixes the DMA api usage to be more clean
    • TI PRU consume API
    • Xilinx remoteproc v7

general openamp lib

AP: no big work except virtio-exp and flow control TL: Petalinux 2019.2/1 remoteproc.h has different struct in trace resource TL: endpt problem was running out of memory

virtio-exp

AP: virtio-exp what is the policy BM: lets follow the coding standards from the start in the future BM: This branch should be continous history AP: Will accpet Dan's PR EM: OK for me

flow control for virtio

AP: Don't really like the last patch AP: Other features, aligned with BM: Do we need a feature bit? AP: BM: NAK what you don't like AP: control ept as name

rpmsg restart

AP: How to move forward on virtio? move meeting and 3 people

2022-05-19

Bill Mills (Linaro) Tanmay Shah (Xilinx) Tammy Leino (Mentor/Siemens) Ben Levinsky (Xilinx) Segei Korneichuk (AMD/Xilinx)

Kernel

  • Mathieu could not attend today so we will skip kernel topics

openamp lib

  • AP: Interest in virtio from multiple parties
    • Dan has responded w/ pointers to his previous work
    • Dan is expected
  • AP: VDEV status
    • Ben has ok'ed
    • BM:Does this violate the spec?
      • OK to skip checks if no new kick from host
      • I would like to hold off until we know if this follows the spec or not
  • AP: remote end point disconnect call rpmsg-dev not just EP callback
    • Custom rpmsg device

rpmsg restart

  • Crash & Recovery
    • BM: the kernmel cleans up after remote crash
      • does the library support this also?
      • A lot depends of the library user but

flow control for virtio

  • AP: will push flow-control work, RFC to kernel and PR to openamp
    • will depend on QC patches that are pending

2022-05-05

Bill Mills (Linaro) Mathieu Poirier (Linaro) Tanmay Shah (AMD/Xilinx) Tammy Leino (Mentor/Siemens) Ben Levinsky (AMD/Xilinx) Arnaud Pouliquen (ST) Ed Mooring (Independent) Segei Korneichuk (AMD/Xilinx)

rpmsg restart

  • BL: customer wants to re-establish the remoteproc
    • Linux crashes and want R5 to stay alive
    • What to do when Linux comes up again
      • Xilinx remoteproc does not re-init on queue, need to relook at
  • AP: ST rproc does this, take a look at that

Kernel

  • MP: Looking at Arnaud set destination address 20 lines
  • MP: done with most easy ones
  • MP: still leaves harder ones like:
    • Pang's support for attach then crash what to do
    • Fix DMA leak when remoteproc is going down
  • MP: Xilinx remoteproc, Suggest V5 for address Rob's comments

openamp lib

  • AP: Release is done, looking at pending PR
    • Split RX buffer & rings and TX Buffer & rings areas
    • Each side needs to know the state
    • use case is not Linux
  • AP: remove check of device status

Other topics

  • AP: no update on flowctrl
    • 20 line patch to set destination is alternative to full flow control

R5 attach/detach

  • Ben wants pointers to the ST code on both

AP

  • added Ben to PR at openamp

Tanmay

  • back compatibility at source level and wire level?
    • BM: per TSC, back compat are wire level (once upstream). Any exception needs TSC approval.
    • EM: source level is 2 years back

2022-04-21

Bill Mills (Linaro) Mathieu Poirier (Linaro) Tammy Leino (Mentor/Siemens) Ben Levinsky (Xilinx) Arnaud Pouliquen (ST) Ed Mooring (Independent) Segei Korneichuk (AMD/Xilinx)

Kernel

  • MP: cleared most of the backlog, left
    • AP: set dest address on first message rx
      • maybe wait on flow control patches coming
    • Pang: support for self recovery
    • Mediatek: AngeloGioacchino Del Regno, Fix circular locking dependency
      • Still trying to figure out / verify the issue
    • Hangyu Hua fixing double free

openamp lib

  • AP: approaching release, some pull request still pending
    • EM: objectionable terms, #defines, cmake options etc
    • TL: split child memories
      • support for suspending one side of the conversation
      • probably RTOS to RTOS only feature
  • TL: asking what to do with legacy NS feature bit negotiation
  • AP: zero copy issue
  • TL: Assert vs error propagation has similar issue

flow control for virtio

rpmsg restart

  • ran out of time

2022-04-07

Bill Mills (Linaro) Mathieu Poirier (Linaro) Tanmay Shah (Xilinx) Ben Levinsky (Xilinx) Arnaud Pouliquen (ST) Suman Anna (TI) Ed Mooring (Independent) Segei Korneichuk (AMD/Xilinx)

Kernel

  • MP: got pulled into other things
  • MP: still on todo list: control flow and mediatek
  • MP: 11 patch sets in queue, will do easy ones first
  • MP: Shengjiu Wang: correct behavior on sysfs
    • start -> sysfs/state, currently return BUSY if already running
  • MP: Puranjay Mohan, TI pruss: 5000 lines
    • SA: Is RFC of multiple subsystems
      • Remoteproc is just one
  • AP: WRT flow control
    • working on proof of concept to add the same flow control as QC for vdev
    • QC channels are point to point so flow control is better defined
    • hard part for vdev is multipoint to point

openamp lib

  • EM: code freeze on April 18
    • EM: Remove objectionable terms
    • EM: Tamey's fixes are pretty much going is as they come in.
  • BL: rpmsg ept recovery, working on proposal
    • single end point dies
    • remoteproc crash detection & recovery
    • remoteproc char driver
    • rpmsg char returns error after crash
    • EM: RTOS to RTOS does not have support for this
    • rpmsg only when Linux crashes
    • library does not have crash / recovery support
    • today's support is in platform specific code in kernel
      • mailbox crash code (relies on self report)
      • HW watchdog remoteproc -> interrupt to host
      • Exception report to host (IOMMU fault)
    • AP: Vdev status should be managed
    • MP: crash detection is all vendor specific

2022-03-24

Bill Mills (Linaro) Mathieu Poirier (Linaro) Tanmay Shah (Xilinx) Tammy Leino (Mentor/Siemens) Arnaud Pouliquen (ST) Suman Anna (TI) Ed Mooring (Independent) Hari Nagalla (TI) Segei Korneichuk (AMD/Xilinx)

Kernel

  • MP: Arnaud's refactor of rpmsg-char is now accepted in rproc-next
  • MP: TI ipc-only patches are accepted
  • MP: on todo AP's virtio refactor
  • MP: all in all 8 to 10 on list. expect to be done with all before next meeting
  • AP: comments on QC control flow patch series, we should do virtio transport also
    • Could be a solution to connect ack issue in openamp

openamp lib

  • AP: new issue from Tammy about zero copy
    • needs API to drop buffer
TL: Will have some time to make new PR
    • found about 10 issues, all publicly documented in openamp issues
    • what are the requirements for a PR?
    • AP: currently: don't break what is there, test on your platform
  • AP: code freeze in mid April

general virtio expansion

  • BM: we have had several meetings over the past 2 month on how to join the
  • openamp lib with the general virtio support done by Wind River in the Zephyr fork
  • The plan as of now is
    • move Zephyr fork to github/openamp
    • modify Zephyr code to use virtio layer from openamp lib
    • add virtio-mmio to openamp lib (using Vincent's and WR's code)
    • add SCMI server code as 1st openamp resident driver
    • get this far and re-evaluate
    • work toward moving as much code to openamp lib as makes sense but maintain
good Zephyr integration (like device model integration etc)

2022-03-10

Bill Mills (Linaro) Mathieu Poirier (Linaro) Tanmay Shah (Xilinx) Tammy Leino (Mentor/Siemens) Arnaud Pouliquen (ST) Suman Anna (TI) Ed Mooring (Independent)

Kernel

  • MP: spent most of review time on Arnaud's refactor patches
    • MP: looked at this very hard w/ focus
  • MP: started looking at Pang's series for refactor startup & crash recovery
    • stopped review due to quality issue and asked for better series
    • put at end of queue
  • MP: started looking at Suman patch
    • Suman: any chance of hitting 5.18
    • MP: probably not
  • MP: next mediatek 8186 8183
  • MP: Daniel kestrel v2 (Borjn looked at v1 assume he will do v2)
  • SA: Will Arnaud's refactor be for 5.18?
    • MP: His work is coming in 4 waves
    • MP: Arnaud please drop the RFC for next cycle
    • MP: when you move to next wave, keep wave 1 in series

library

  • EM: library is
  • EM: PR 347 new API for "wait_tx_buffer"
    • Should the issue be solved by local side or remote side?
    • if local should it be at app, bsp, or lib level
  • EM: Tammy has been looking at certification issues

Virtio Library add on

  • AP: Really want to avoid adding a new library
    • already too complex with libmetal
  • WM: motivation for extra lib was
    • keep existing lib focused
    • allow more freedom of config to make app dev's job easier
    • WM: example ST added a new lib to make app dev job easier
    • AP: ST's extra library was to simplify libmetal startup
    • EM: adding a new layer in the library to make app dev life easier is OK
  • WM: why can't we create the Zephyr glue in openamp
    • AP: cmake and west support
    • AP: could use git submodule
    • AP & BM: try west manifest not in Zephyr

2022-02-24

Bill Mills (Linaro) Mathieu Poirier (Linaro) Tanmay Shah (Xilinx) Tammy Leino (Mentor/Siemens) Arnaud Pouliquen (ST) Hari Nagalla (TI)

Kernel

  • MP/TS: Xilinx Remoteproc V3 finished review ready for V4
    • TS: Target V4 in 2 weeks
  • MP: Someone interested in AP's work on virtio restructure
    • on queue for next week
    • Pang's patch on recovery is also on review list for next week
      • AP has tested Pang's patch, looks OK
      • MP: Request review from TI/Hari
  • MP: Xuan Zhuo: support virtio ring reset
  • MP: Christoph Konstaph: refactor static memory
  • MP: Suman R5 TI K3 IPC only mode

Library

  • AP: Tanmay's suggestions for testing
  • AP: Jeramie no buffer handling, can call API or wait
    • Hookable function to wait
  • TL: what is the policy for API parameter checking?
    • BM: In some situations the library size must be very small so need to keep
        that in mind.  Could be an option?
    • AP: suggest Tammy point out the specific instances she sees and then discuss

2022-02-10

Bill Mills (Linaro) Mathieu Poirier (Linaro) Tanmay Shah (Xilinx) Hari Nagalla (TI)

Note

Short meeting today. Lots of people are out so only went over kernel aspects.

Kernel

  • MP: got Tanmay V3 remoteproc for Xilinx
    • will probibly review this next week as below item is a bit stalled
  • MP: Pang reworking crash/attach/detach
  • MP: Arnaud reworking remoteproc virtio
    • Asking Arnaud, Pang, and Hari to cross check the above
  • MP: sysfs remoteproc read-only from Puranjay at TI
    • done on a per remoteproc basis
    • coming from AM335x wakeup M3 which is not for user use, it handles suspend/resume low level work

2022-01-27

Bill Mills (Linaro) Tammy Leino (Siemens: past Nucleus, network and higher level stack) Tanmay Shah (Xilinx) Mathieu Poirier (Linaro) Arnaud Pouliquen (ST) Ed Mooring (Independent) Suman Anna (TI) Hari Nagalla (TI)

Kernel

  • MP: still in a backlog, 12 series 50/50 between coresight and rp
  • next up K3 M4F
  • Pang trying to complete attach/detach
    • MP asked HW support from attach/detach
  • Arnaud's next gen: rpmsg char driver
  • AP: will look at attach/detach patch from ST POV
    • will need to enhance it
  • AP: new version of rpmsg-char
    • Qualcomm also has fixes for rpmsg-char so need to figure out order

Library

  • EM xtensa support still going on
    • API change to add "const"
  • AP: Vincent's changes for SCMI
  • AP: multi endpoint on one channel broken
    • BM where is the broken part?
      • protocol?
      • libopenamp?
      • kernel API?
      • rpmsg_char?
    • We really need a rpmsg spec independent of kernel & openamp library

2022-01-13

Bill Mills (Linaro) Tanmay Shah (Xilinx) Mathieu Poirier (Linaro) Arnaud Pouliquen (ST) Ed Mooring (Independent) Loic Pallardy (ST) Hari Nagalla (TI)

Kernel

  • MP: in a backlog 11 patch sets between coresight and remoteproc
    • also doing rust maintenance
  • MP: still keeping an eye on Arnaud's rpmsg char driver rework
    • AP: to resend same version rebased to tip on Jan 24
    • MP will ping Bjorn at that time

Library

  • AP: new platforms to support RISC-V & extensa
  • AP: will add CI tests for these platforms
  • AP: library can define independent buffers for RX and TX
    • each rpmsg instance can be configured independently
    • new API for configurable sizes keeping existing API for legacy
  • AP: PR to remove deprecated APIs will be put off due to 2 year policy

New Topics

  • BM: Looked at Zephyr on virtio: https://github.com/danmilea/zephyr
    • Should compare with Vincent Guittot's SCMI on Zephyr work
    • Coexistence with independent virtio layers
      • need to share mailboxes? Shared Mem carve-outs?
    • WR code has virtio-mmio
    • WR has not yet shared kernel code for mailbox and memory access from user space
Clone this wiki locally