All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] CodeSamples: Add arm64 support
@ 2017-07-11 15:30 Akira Yokosawa
  2017-07-11 15:31 ` [PATCH 1/2] advsync: Add dependency to $(CUSTOM_HEADER) Akira Yokosawa
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Akira Yokosawa @ 2017-07-11 15:30 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

From 1908602500df34619ec496c787546d5584d01221 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-11 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-11 15:30 [PATCH 0/2] CodeSamples: Add arm64 support Akira Yokosawa
2017-07-11 15:31 ` [PATCH 1/2] advsync: Add dependency to $(CUSTOM_HEADER) Akira Yokosawa
2017-07-11 15:32 ` [PATCH 2/2] CodeSamples: Add arm64 support Akira Yokosawa
2017-07-11 18:52 ` [PATCH 0/2] " Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.