[PATCH 0/6] vc04_services: Make it work on arm64

Michael Zoran mzoran at crowfest.net
Wed Oct 19 01:33:16 PDT 2016


>From 4036f4c480c6272d3057504d49e545341ce6d865 Mon Sep 17 00:00:00 2001
From: Michael Zoran <mzoran at crowfest.net>
Date: Wed, 19 Oct 2016 01:14:36 -0700
Subject: [PATCH 0/6] vc04_services: Make it work on arm64

This is a revised version of the last patch set.

#1 includes the dsb(sy) change previously in #4
#6 contains the changes to remove warnings that was accidently
included in #4.
#4 has the changes forked into #1 and #6 removed.

With the exception of change #4, most of the changes should be
safe and have very little performance impact.

#4 does have a some performance impact, so it may be best 
to commit #1-3 and #5-6 independently.  I am working on some 
improvements for #4

Here are some results of performance tests with and without #4

Test                            dmac_map_area           dma_map_page
vchiq_test -b 4 10000           51us/iter               76us/iter
vchiq_test -b 8 10000           70us/iter               82us/iter
vchiq_test -b 16 10000          94us/iter               118us/iter
vchiq_test -b 32 10000          146us/iter              173us/iter
vchiq_test -b 64 10000          263us/iter              328us/iter
vchiq_test -b 128 10000         529us/iter              631us/iter
vchiq_test -b 256 10000         2285us/iter             2275us/iter
vchiq_test -b 512 10000         4372us/iter             4616us/iter

Thanks for your consideration.

Michael Zoran (6):
  staging: vc04_services: Convert dsb() to dsb(sy)
  staging: vc04_services: Change fields of page list structure to fixed
    length
  staging: vc04_services: Convert pointers in shared state to offsets
  staging: vc04_services: Remove dmac_map_area
  staging: vc04_services: Handle conversion from VCHIQ_SERVICE_HANDLE_T
    to VCHI_SERVICE_HANDLE_T
  staging: vc04_services: Add casts to remove warnings in vchiq_core.c

 .../interface/vchiq_arm/vchiq_2835_arm.c           | 120 ++++++++++---
--------
 .../vc04_services/interface/vchiq_arm/vchiq_core.c |  67 ++++++------
 .../vc04_services/interface/vchiq_arm/vchiq_core.h |   9 +-
 .../interface/vchiq_arm/vchiq_pagelist.h           |  12 ++-
 .../vc04_services/interface/vchiq_arm/vchiq_shim.c |  22 +++-
 5 files changed, 122 insertions(+), 108 deletions(-)

-- 
2.9.3



More information about the linux-rpi-kernel mailing list