Skip to content

Introduce Xilinx ZynqMP CAN controller

Vikram Garhwal qemu-arm qemu-devel 14 versions – Applied

Status from this message: Applied to target-arm.next for 6.0, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest4 patches 1 replyApplied
  2. v11 posting 3/34 patches 2 repliesSuperseded
  3. v11 posting 2/34 patches 0 repliesSuperseded
Earlier versions · 11
VersionPostedPatchesRepliesStatus
v11 posting 1/34 patches0 repliesSuperseded
v104 patches4 repliesSuperseded
v94 patches8 repliesApplied
v84 patches5 repliesSuperseded
v74 patches6 repliesSuperseded
v64 patches1 replySuperseded
v54 patches1 replySuperseded
v44 patches4 repliesSuperseded
v34 patches8 repliesSuperseded
v24 patches0 repliesSuperseded
v11 patch10 repliesSuperseded

Changes in v12 from the cover letter

Change/add new trace events with relevant debug info. Rename val64 to val wherever appropriate. Added new error logs.
Corrected xlnx_zynqmp_can_receive function checks.

Patches in v12 Applied

#Subject and filesSizeRepliesApplied
1/4hw/net/can: Introduce Xilinx ZynqMP CAN controllerhw/Kconfig hw/net/can/meson.build hw/net/can/trace-events +4 more+1252 -00 replies
2/4xlnx-zynqmp: Connect Xilinx ZynqMP CAN controllershw/arm/xlnx-zcu102.c hw/arm/xlnx-zynqmp.c include/hw/arm/xlnx-zynqmp.h+62 -00 replies
3/4tests/qtest: Introduce tests for Xilinx ZynqMP CAN controllertests/qtest/meson.build tests/qtest/xlnx-can-test.c+361 -00 replies
4/4MAINTAINERS: Add maintainer entry for Xilinx ZynqMP CAN controllerMAINTAINERS+8 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchFrancisco IglesiasEdgar E. IglesiasPhilippe Mathieu-Daudé
1/4
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v12 thread

Cover letter [PATCH v12 0/4] Introduce Xilinx ZynqMP CAN controller

Changelog:

v11 -> v12:
Change/add new trace events with relevant debug info. Rename val64 to val wherever appropriate. Added new error logs.
Corrected xlnx_zynqmp_can_receive function checks.

v10 -> v11:
Resending the series with correct cc.
Replace DB_PRINTS with trace-events.
Removed unnecessary local variables.
Added const with tx/rx buffers in qtest.
Added reviewed-by tags for qtest.

v9 -> v10:
Rebase the series with the new meson build system.

v8 -> v9:
Use g_autofree to do automatic cleanup the object_get_canonical_path() used.

v7 -> v8:
Change CAN controller to keep one canbus per controller. Add canbus connections at machine level. Remove ctrl_idx from CAN controller.

v6 -> v7:
Remove '-m 4G' option from xlnx-can-test. This option causes the fail of docker-quick@centos7 build test.

v5 -> v6:
Add ptimer based counter for time stamping on RX messages. Fix reset issues.
Rebase the patches with master latest changes. Added reference clock property for CAN ptimer.

v4 -> v5:
Add XlnxZynqMPCAN controller id to debug messages. Drop parameter errp of object_property_add(). Add formatting related suggestions.

v3 -> v4:
Correct formatting issues.

v2 -> v3:
Rectify the build issue.
Rearrange the patch order.

v1 -> v2:
Rename the CAN device state and address code style issues. Connect the CAN device to Xlnx-ZCU102 board.
Add maintainer entry.
Add QTEST for the CAN device.

Vikram Garhwal (4):
hw/net/can: Introduce Xilinx ZynqMP CAN controller
xlnx-zynqmp: Connect Xilinx ZynqMP CAN controllers tests/qtest: Introduce tests for Xilinx ZynqMP CAN controller
MAINTAINERS: Add maintainer entry for Xilinx ZynqMP CAN controller

 meson.build                      |    1 +
 hw/net/can/trace.h               |    1 +
 include/hw/arm/xlnx-zynqmp.h     |    8 +
 include/hw/net/xlnx-zynqmp-can.h |   78 +++
 hw/arm/xlnx-zcu102.c             |   20 +
 hw/arm/xlnx-zynqmp.c             |   34 ++
 hw/net/can/xlnx-zynqmp-can.c     | 1161 ++++++++++++++++++++++++++++++++++++++
 tests/qtest/xlnx-can-test.c      |  360 ++++++++++++
 MAINTAINERS                      |    8 +
 hw/Kconfig                       |    1 +
 hw/net/can/meson.build           |    1 +
 hw/net/can/trace-events          |    9 +
 tests/qtest/meson.build          |    1 +
 13 files changed, 1683 insertions(+)
 create mode 100644 hw/net/can/trace.h
 create mode 100644 include/hw/net/xlnx-zynqmp-can.h
 create mode 100644 hw/net/can/xlnx-zynqmp-can.c
 create mode 100644 tests/qtest/xlnx-can-test.c
 create mode 100644 hw/net/can/trace-events

--
2.7.4