[PATCH 0/2] CodeSamples: Add arm64 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 1908602500df34619ec496c787546d5584d01221 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Wed, 12 Jul 2017 00:01:30 +0900
Subject: [PATCH 0/2] CodeSamples: Add arm64 support

Hi Paul,

So, this patch set adds arm64 support for CodeSamples.

Patch 1 is a followup of the previous patch set. I missed the dependency
to the custom header file.
Patch 2 is the addition of arm64 support. It is based on arm support files.
I appended an "ish" operand to "dmb" in the definition of smp_mp().
Looks like the same change is necessary in arch-arm/arch-arm.h, but this
patch doesn't touch it.
Also, I rewrote the definition of get_timestamp() by using clock_gettime()
instead of gettimeofday(). For arm64 host, we can expect clock_gettime()
is supported.
In Makefile.arch, I chose the flags -mcpu=native and -mtune=native, since
this Makefile is intended for native build.
This is compile tested on an ARMv8 host. I didn't have enough time to
run all the programs. I tested a few under count/ and defer/ sub-directories.

        Thanks. Akira
--
Akira Yokosawa (2):
  advsync: Add dependency to $(CUSTOM_HEADER)
  CodeSamples: Add arm64 support

 CodeSamples/advsync/herd/Makefile    |  2 +-
 CodeSamples/arch-arm64/Makefile.arch |  2 ++
 CodeSamples/arch-arm64/arch-arm64.h  | 61 ++++++++++++++++++++++++++++++++++++
 CodeSamples/depends.mk               |  5 +++
 4 files changed, 69 insertions(+), 1 deletion(-)
 create mode 100644 CodeSamples/arch-arm64/Makefile.arch
 create mode 100644 CodeSamples/arch-arm64/arch-arm64.h

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux