android-sdk/arm-ds5-gator.git
7 years agogator-driver: Fix building on Linux 3.12
Jon Medhurst [Thu, 10 Oct 2013 18:31:31 +0000 (19:31 +0100)]
gator-driver: Fix building on Linux 3.12

In Linux 3.12 the local timer API was removed by commit 060fd304
(ARM: smp: Remove local timer API) so disable the check for this as it
stops compilation.

We need the check for kernels before 3.12 because otherwise we would
get incorrect timing information on A5/A9.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
7 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
7 years agogator: Version 5.16
Jon Medhurst [Thu, 10 Oct 2013 15:36:16 +0000 (16:36 +0100)]
gator: Version 5.16

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Prevent BUG() when no device-tree cpu nodes present.
Jon Medhurst [Mon, 17 Jun 2013 09:15:08 +0000 (10:15 +0100)]
gator: Prevent BUG() when no device-tree cpu nodes present.

When IKS support is enabled in gator but we are running on boards
without a device-tree or where there are no cpu nodes in the
device-tree, then calc_first_cluster_size will call BUG_ON() because
mpidr_cpuids_count == 0.

To work around this, we will instead set a flag to indicate we haven't
managed to create an mpidr table and fallback to the behaviour we would
have if IKS wasn't enabled. This means that IKS support will only
function as expected if there are device-tree nodes for CPUs but we
expect that to always be the case anyway.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +0100)]
gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'

At the moment, we only have users with the old style interface, so
make our life easier by making it the default.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.15
Jon Medhurst [Tue, 11 Jun 2013 08:49:00 +0000 (09:49 +0100)]
gator: Version 5.15

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Use device-tree when available for address of pl310 cache
Jon Medhurst [Mon, 22 Apr 2013 14:46:09 +0000 (15:46 +0100)]
gator: Use device-tree when available for address of pl310 cache

This helps us avoid probing hard coded addresses which can cause
data aborts and crash the system, as happens on the A9 RTSM.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +0100)]
gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'

At the moment, we only have users with the old style interface, so
make our life easier by making it the default.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.14
Jon Medhurst [Wed, 3 Apr 2013 10:59:40 +0000 (11:59 +0100)]
gator: Version 5.14

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +0100)]
gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'

At the moment, we only have users with the old style interface, so
make our life easier by making it the default.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.13
Jon Medhurst [Mon, 14 Jan 2013 08:34:37 +0000 (08:34 +0000)]
gator: Version 5.13

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +0100)]
gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'

At the moment, we only have users with the old style interface, so
make our life easier by making it the default.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Stop using VM_EXECUTABLE
Jon Medhurst [Thu, 25 Oct 2012 09:42:03 +0000 (10:42 +0100)]
gator-driver: Stop using VM_EXECUTABLE

In Linux 3.7, commit e9714acf (mm: kill vma flag VM_EXECUTABLE and
mm->num_exe_file_vmas) breaks Gator's get_exec_cookie() as it uses the
removed flag.

Fix this in a similar as commit 2dd8ad81 (mm: use mm->exe_file instead
of first VM_EXECUTABLE vma->vm_file)

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.12
Jon Medhurst [Fri, 26 Oct 2012 16:05:14 +0000 (17:05 +0100)]
gator: Version 5.12

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +0100)]
gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'

At the moment, we only have users with the old style interface, so
make our life easier by making it the default.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.11
Jon Medhurst [Fri, 10 Aug 2012 08:31:24 +0000 (09:31 +0100)]
gator: Version 5.11

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Move work scheduling to timers
Wade Cherry [Thu, 12 Jul 2012 15:29:16 +0000 (16:29 +0100)]
gator-driver: Move work scheduling to timers

... in order to work around deadlocks in kernel >= 3.5...

Signed-off-by: Wade Cherry <wade.cherry@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-daemon: Fix sequence-point compile error
Jon Medhurst [Mon, 14 May 2012 10:23:23 +0000 (11:23 +0100)]
gator-daemon: Fix sequence-point compile error

In mxml/mxml-file.c in the expression:
  (getc(fp) << 8) | getc(fp)
the C standard allows right-hand getc() to be called before left hand
one, which would cause a bug.

The compiler gives an warning about this and we are treating warnings as
errors this breaks the build with:
  error: operation on 'fp->_r' may be undefined [-Werror=sequence-point]

We can fix this by rewriting the expressions in two parts, however the
code in question has licensing clauses for modified versions which have
not yet been resolved.

Therefore, for now, we will disable the problematic error in the
makefiles.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:21:48 +0000 (15:21 +0100)]
gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'

At the moment, we only have users with the old style interface, so
make our life easier by making it the default.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator: Version 5.10
Jon Medhurst [Thu, 10 May 2012 13:15:56 +0000 (14:15 +0100)]
gator: Version 5.10

New gator release (build 1385) for ARM DS-5 v5.10

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-daemon: Fix building on armhf
Jon Medhurst [Fri, 27 Apr 2012 10:28:28 +0000 (11:28 +0100)]
gator-daemon: Fix building on armhf

Remove compiler options for arm arch and interworking as they
break the build and are superfluous now we build for armhf.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-driver: Hack makefile to search for Mali trace headers
Jon Medhurst [Fri, 2 Mar 2012 15:32:46 +0000 (15:32 +0000)]
gator-driver: Hack makefile to search for Mali trace headers

Gator needs Mali headers and device type in order to build with Mali
profiling support. Unfortunately, the presence and location of this
information is difficult to configure considering kernels are
separate packages and managed by various teams.

To work around this, just use the find command to look for the header
and if present, assume we want Mali support, and that it is a Mali-400.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-driver: Fix build failure on Linux 3.3
Wade Cherry [Mon, 5 Mar 2012 09:22:16 +0000 (09:22 +0000)]
gator-driver: Fix build failure on Linux 3.3

Some meminfo tracepoint APIs were renamed in b413d48a (mm-tracepoint:
rename page-free events)

Signed-off-by: Wade Cherry <wade.cherry@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agodaemon: Fix counters initialisation
Wade Cherry [Thu, 23 Feb 2012 09:56:29 +0000 (09:56 +0000)]
daemon: Fix counters initialisation

In certain circumstances counter were not enabled correctly. Fixed.

Signed-off-by: Wade Cherry <wade.cherry@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-daemon: ARM DS-5.9 Streamline gator daemon (RC2)
Jon Medhurst [Mon, 20 Feb 2012 12:58:11 +0000 (12:58 +0000)]
gator-daemon: ARM DS-5.9 Streamline gator daemon (RC2)

9 years agogator-driver: ARM DS-5.9 Streamline gator driver (RC2)
Jon Medhurst [Mon, 20 Feb 2012 12:57:24 +0000 (12:57 +0000)]
gator-driver: ARM DS-5.9 Streamline gator driver (RC2)

9 years agogator-driver: ARM DS-5.8 Streamline gator driver (RC1)
Pawel Moll [Thu, 17 Nov 2011 18:14:03 +0000 (18:14 +0000)]
gator-driver: ARM DS-5.8 Streamline gator driver (RC1)

9 years agogator-daemon: ARM DS-5.8 Streamline gator daemon (RC1)
Pawel Moll [Thu, 17 Nov 2011 18:13:23 +0000 (18:13 +0000)]
gator-daemon: ARM DS-5.8 Streamline gator daemon (RC1)

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator: Move README to top directory
Pawel Moll [Mon, 14 Nov 2011 10:46:16 +0000 (10:46 +0000)]
gator: Move README to top directory

... as it applies to both driver and daemon now.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator-daemon: ARM DS-5.7 Streamline gator daemon sources
Pawel Moll [Fri, 30 Sep 2011 10:57:10 +0000 (11:57 +0100)]
gator-daemon: ARM DS-5.7 Streamline gator daemon sources

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator-driver: ARM DS-5.7 Streamline gator driver sources
Pawel Moll [Fri, 30 Sep 2011 10:53:40 +0000 (11:53 +0100)]
gator-driver: ARM DS-5.7 Streamline gator driver sources

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator: Move driver sources to a separate directory
Pawel Moll [Fri, 30 Sep 2011 10:47:12 +0000 (11:47 +0100)]
gator: Move driver sources to a separate directory

... in prepration for daemon sources.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator: ARM DS-5.6 Streamline gator driver
Pawel Moll [Wed, 3 Aug 2011 10:30:26 +0000 (11:30 +0100)]
gator: ARM DS-5.6 Streamline gator driver

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
10 years agogator: ARM DS-5.5 Streamline gator driver
Pawel Moll [Fri, 27 May 2011 15:30:10 +0000 (16:30 +0100)]
gator: ARM DS-5.5 Streamline gator driver

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
10 years agogator: ARM DS-5.4 Streamline gator driver
Pawel Moll [Mon, 14 Mar 2011 15:22:44 +0000 (15:22 +0000)]
gator: ARM DS-5.4 Streamline gator driver

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
10 years agogator: ARM DS-5.3 Streamline gator driver
Pawel Moll [Mon, 14 Mar 2011 15:21:50 +0000 (15:21 +0000)]
gator: ARM DS-5.3 Streamline gator driver

Signed-off-by: Pawel Moll <pawel.moll@arm.com>