summaryrefslogtreecommitdiffstats
path: root/driver
Commit message (Collapse)AuthorAgeFilesLines
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2014-04-091-2/+2
| | | | | | | | 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>
* gator: Version 5.18DS-5.18Jon Medhurst2014-04-0940-514/+501
| | | | Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2013-12-181-2/+2
| | | | | | | | 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>
* gator-driver: Handle task struct correctlyDrew Richardson2013-12-182-24/+52
| | | | | | | | | | Use put_task_struct/get_task_struct to ensure the task_struct pointer is still valid. Change translate_buffer to ensure that both arguments are written atomically. Drop additional requests if the translate_buffer is full. Signed-off-by: Drew Richardson <drew.richardson@arm.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
* gator: Version 5.17Jon Medhurst2013-12-1830-447/+875
| | | | Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator-driver: Fix building on Linux 3.12Jon Medhurst2013-10-111-0/+2
| | | | | | | | | | | 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>
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2013-10-101-2/+2
| | | | | | | | 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>
* gator: Version 5.16Jon Medhurst2013-10-1019-428/+1252
| | | | Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator: Prevent BUG() when no device-tree cpu nodes present.Jon Medhurst2013-06-171-1/+17
| | | | | | | | | | | | | | | 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>
* gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'Jon Medhurst2013-06-111-0/+8
| | | | | | | 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>
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2013-06-111-2/+2
| | | | | | | | 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>
* gator: Version 5.15Jon Medhurst2013-06-1111-278/+277
| | | | Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator: Use device-tree when available for address of pl310 cacheJon Medhurst2013-04-261-0/+8
| | | | | | | 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>
* gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'Jon Medhurst2013-04-031-0/+8
| | | | | | | 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>
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2013-04-031-2/+2
| | | | | | | | 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>
* gator: Version 5.14Jon Medhurst2013-04-0336-504/+1212
| | | | Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'Jon Medhurst2013-01-151-0/+8
| | | | | | | 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>
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2013-01-151-2/+2
| | | | | | | | 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>
* gator: Version 5.13Jon Medhurst2013-01-1531-2201/+2335
| | | | Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'Jon Medhurst2012-10-261-0/+8
| | | | | | | 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>
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2012-10-261-2/+2
| | | | | | | | 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>
* gator-driver: Stop using VM_EXECUTABLEJon Medhurst2012-10-261-11/+6
| | | | | | | | | | | 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>
* gator: Version 5.12Jon Medhurst2012-10-2625-561/+821
| | | | Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'Jon Medhurst2012-08-101-0/+8
| | | | | | | 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>
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2012-08-101-2/+2
| | | | | | | | 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>
* gator: Version 5.11Jon Medhurst2012-08-1020-234/+1675
| | | | Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator-driver: Move work scheduling to timersWade Cherry2012-07-134-14/+51
| | | | | | | ... 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>
* gator-driver: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst2012-05-181-2/+2
| | | | | | | | 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>
* gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'Jon Medhurst2012-05-161-0/+8
| | | | | | | 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>
* gator: Version 5.10Jon Medhurst2012-05-1625-1070/+1087
| | | | | | New gator release (build 1385) for ARM DS-5 v5.10 Signed-off-by: Jon Medhurst <tixy@linaro.org>
* gator-driver: Hack makefile to search for Mali trace headersJon Medhurst2012-03-051-0/+10
| | | | | | | | | | | | 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>
* gator-driver: Fix build failure on Linux 3.3Wade Cherry2012-03-051-4/+33
| | | | | | | | 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>
* gator-driver: ARM DS-5.9 Streamline gator driver (RC2)Jon Medhurst2012-02-2028-544/+2235
|
* gator-driver: ARM DS-5.8 Streamline gator driver (RC1)Pawel Moll2011-11-179-115/+367
|
* gator: Move README to top directoryPawel Moll2011-11-171-97/+0
| | | | | | ... as it applies to both driver and daemon now. Signed-off-by: Pawel Moll <pawel.moll@arm.com>
* gator-driver: ARM DS-5.7 Streamline gator driver sourcesPawel Moll2011-10-0420-858/+1196
| | | | Signed-off-by: Pawel Moll <pawel.moll@arm.com>
* gator: Move driver sources to a separate directoryPawel Moll2011-09-3024-0/+5277
... in prepration for daemon sources. Signed-off-by: Pawel Moll <pawel.moll@arm.com>