Add CFLAGS and LDFLAGS for each feature to be checked. This allows
to pass flags and parameters to the feature checks compilation.
Use the per-feature check flags for the unwinding feature in order
to correctly compile the libunwind and libunwind-debug-frame feature
checks.
This change set simplifies the flags passing mechanism between the
Makefiles in config/Makefile and config/feature-checks; this
could be farther optimized by moving the compilation flags to the
per-feature check flags for all features to be checked.
Tested on ARMv7 and ARMv8 with 'make DEBUG=1 LIBUNWIND_DIR=/usr/local
-C tools/perf'
Jean Pihet (2):
perf: add per-feature check flags
perf: unwinding: use the per-feature check flags
tools/perf/config/Makefile | 38 +++++++++++++++++--------------
tools/perf/config/feature-checks/Makefile | 6 ++---
2 files changed, 24 insertions(+), 20 deletions(-)
--
1.7.11.7
On 25 November 2013 19:41, Viresh Kumar <viresh.kumar(a)linaro.org> wrote:
> Currently we have implemented PM notifiers to disable/enable ->target() routines
> functionality during suspend/resume.
>
> Now we have support present in cpufreq core, lets use it.
>
> Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
> ---
> drivers/cpufreq/exynos-cpufreq.c | 97 +++-------------------------------------
> 1 file changed, 6 insertions(+), 91 deletions(-)
Jonghwan Choi reported an issue with this patch. He asked me
to look at: 6e45eb
And so following diff is updated for this patch in my repo.. Will get
that fixed in V4:
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
index 4b6e6a6..3f216da 100644
--- a/drivers/cpufreq/exynos-cpufreq.c
+++ b/drivers/cpufreq/exynos-cpufreq.c
@@ -22,8 +22,8 @@
#include "exynos-cpufreq.h"
static struct exynos_dvfs_info *exynos_info;
-
static struct regulator *arm_regulator;
+static unsigned int locking_frequency;
static int exynos_cpufreq_get_index(unsigned int freq)
{
@@ -134,7 +134,7 @@ static int exynos_target(struct cpufreq_policy
*policy, unsigned int index)
static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy)
{
policy->clk = exynos_info->cpu_clk;
- policy->suspend_freq = clk_get_rate(exynos_info->cpu_clk) / 1000;
+ policy->suspend_freq = locking_frequency;
return cpufreq_generic_init(policy, exynos_info->freq_table, 100000);
}
@@ -182,6 +182,9 @@ static int __init exynos_cpufreq_init(void)
goto err_vdd_arm;
}
+ /* Done here as we want to capture boot frequency */
+ locking_frequency = clk_get_rate(exynos_info->cpu_clk) / 1000;
+
if (!cpufreq_register_driver(&exynos_driver))
return 0;
Hi,
I am trying to update latest upstream kernel on mphackbox TC2 board
according to this wiki.
https://wiki.linaro.org/Platform/LAVA/DevOps/TC2TilesOnLavaServer/hackbox
I use vexpress-v2p-ca15_a7.dts and vexpress_defconfig kernel config.
after make kernel and dtb images, I updated them as u-zimage.bin and
u-dtb.bin. but the kernel keep panic:
Did I miss sth or the just kernel broken?
===============
loading, please wait...
udevd[730]: starting version 175
Begin: Loading essential drivers ... done.
Begin: Runnimmci-pl18x 1c050000.mmci: no support for card's volts
ng /scripts/initmmc0: error -22 whilst initialising SD card
-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top
... done.
mmci-pl18x 1c050000.mmci: no support for card's volts
mmc0: error -22 whilst initialising SD card
Begin: Running /scripts/local-premount ... FATAL: Could not load
/lib/modules/3.12.0+/modules.dep: No such file or directory
done.
FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or
directory
EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mmci-pl18x 1c050000.mmci: no
support for card's volts
mmc0: error -22 whilst initialising SD card
mount: mounting /dev on /root/dev failed: No such file or directory
done.
mmci-pl18x 1c050000.mmci: no support for card's volts
mmc0: error -22 whilst initialising SD card
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
/init: line 35mmci-pl18x 1c050000.mmci: no support for card's volts
2: can't open /rmmc0: error -22 whilst initialising SD card
oot/dev/console: no such file
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
CPU: 0 PID: 1 Comm: init Tainted: G W 3.12.0+ #147
[<8001548c>] (unwind_backtrace+0x0/0xf8) from [<80011aec>]
(show_stack+0x10/0x14)
[<80011aec>] (show_stack+0x10/0x14) from [<80426a44>] (dump_stack+0x70/0x8c)
[<80426a44>] (dump_stack+0x70/0x8c) from [<80423f4c>] (panic+0x90/0x1e8)
[<80423f4c>] (panic+0x90/0x1e8) from [<80023e74>] (do_exit+0x838/0x8d8)
[<80023e74>] (do_exit+0x838/0x8d8) from [<8002401c>]
(do_group_exit+0x3c/0xc4)
[<8002401c>] (do_group_exit+0x3c/0xc4) from [<800240b4>]
(__wake_up_parent+0x0/0x18)
--
Thanks
Alex