From: Mark Brown <broonie(a)linaro.org>
We don't have any devices that usefully use ION but this at least
ensures that we have build coverage.
Signed-off-by: Mark Brown <broonie(a)linaro.org>
---
linaro/configs/android.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/linaro/configs/android.conf b/linaro/configs/android.conf
index bb90ecd9e162..538adefff80f 100644
--- a/linaro/configs/android.conf
+++ b/linaro/configs/android.conf
@@ -29,3 +29,4 @@ CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_FUSE_FS=y
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
+CONFIG_ION=y
--
1.8.5.1
On Sun, Dec 08, 2013 at 04:38:58PM +0000, Peter Maydell wrote:
> Sorry, but there is already shipping software (kvmtool
> and QEMU) which isn't emitting clock-frequency properties
> for cpu nodes, based on what you documented in the kernel
> doc file, which says:
I didn't document anything here except this patch, I was just trying to
reconcile the implementation with the documentation.
> "The ARM architecture, in accordance with the ePAPR, requires
> the cpus and cpu nodes to be present and contain the properties
> described below."
> not "must contain the properties described below and also
> any others that the ePAPR spec says are mandatory".
I think that's a fairly tortured way of reading the language there to be
honest (and doesn't reflect the actual deployed code reading the binding
which does use this property without documentation outside ePAPR and does
warn if it's absent). If that really is how we want to read things then
we probably ought to delete the reference to ePAPR both here and in the
other binding documentation we have and fork the specs.
> So I'm afraid you're stuck with this being an optional property.
Like I say I think a reasonable and robust implementation shouldn't
reject a device tree with it missing but that doesn't stop the device
tree being out of spec. This is also the existing kernel behaviour for
this property so we're stuck with it anyway and my goal here was to
minimise our deviation from the spec so I introduced the minimum
practical change in the process of copying it in for discoverability.
This sort of situation is going to become more and more common as people
actually look at device trees in production; the kernel will have to be
robust against device trees that it previously accepted even if they are
out of spec (and should just generally be robust in parsing). We've got
to understand that the kernel will fill the role Windows does for PCs -
things that run well enough with existing kernels are going to end up
being released regardless of spec conformance. Kernels should be
liberal in what they accept, DTs should be conservative in what they
contain and both need to understand that the other is going to get it
wrong some of the time.
> (It's also not at all clear what a virtual machine's devicetree
> should set the clock-frequency properties to anyway...)
Yes, it's a poorly considered property all round. Most currently
available silicon has variable clocks for the cores which is an issue
with a fixed DT like FDT provides and like you say for simulators and so
on it's meaningless.
Ideally someone with the time/enthuisiasm will get this dealt with more
sensibly in a future revision of ePAPR.
my panda board ES failed to boot up when I use omap2plus_defconfig + CPU_IDLE.
Is it a known issue or I missed sth in kernel?
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED=y
kernel hang after the following output.
2.276641] omap_hsmmc 4809c000.mmc: pins are not configured from the driver
[ 2.325531] pinctrl-single 4a31e040.pinmux: mux offset out of range: 0x38 (0x38)
[ 2.333648] pinctrl-single 4a31e040.pinmux: could not add functions for pinmux_wl12xx_pins 56x
[ 2.343231] omap-dma-engine 4a056000.dma-controller: allocating channel for 60
[ 2.351043] omap-dma-engine 4a056000.dma-controller: allocating channel for 59
[ 2.358917] 480d5000.mmc supply vmmc_aux not found, using dummy regulator
[ 2.383331] hw-breakpoint: Failed to enable monitor mode on CPU 0.
[ 2.390411] hw-breakpoint: CPU 0 failed to disable vector catch
--
Thanks
Alex
From: Arnaldo Carvalho de Melo <acme(a)ghostprotocols.net>
Hi Ingo,
I ended up deciding sending the whole series, repeating the first
dozen, with the "perf evsel: Skip ignored symbols while printing callchain"
one fixed up wrt Adrian's report.
Please consider applying,
Best Regards,
- Arnaldo
The following changes since commit 65661f96d3b32f4b28fef26d21be81d7e173b965:
perf/x86: Add RAPL hrtimer support (2013-11-27 15:31:23 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo
for you to fetch changes up to aa880acd0853437933cefcb7d745b03fde3e6a3d:
perf tools unwinding: Use the per-feature check flags (2013-11-27 16:50:28 -0300)
----------------------------------------------------------------
perf/core improvements and fixes:
. Make per-cpu mmaps the default in 'perf record', from Adrian Hunter.
. Default -t/--thread 'perf record' option to no inheritance,
from Adrian Hunter.
. Make 'perf top -g' refer to callchains, for consistency with other tools,
from David Ahern.
. Skip ignored symbols while printing callchain, from David Ahern.
. Print callchains and symbols if they exist in 'perf script',
from David Ahern.
. Remove thread summary coloring in 'perf trace', from Pekka Enberg.
. zsh completion support, from Ramkumar Ramachandra.
. 'perf timechart' improvements, including backtrace support,
from Stanislav Fomichev.
. Fix using kcore files stored in the buildid cache when doing report/annotate
in non-live sessions, from Adrian Hunter
. Minor 'timechart' cleanups.
. Fix libunwind build suport on ARM, from Jean Pihet.
. Fix tags/TAGS targets rebuilding, from Jiri Olsa.
. Add options to show comm, fork, exit and mmap PERF_RECORD_ events in
'perf script', from Namhyung Kim.
Signed-off-by: Arnaldo Carvalho de Melo <acme(a)redhat.com>
----------------------------------------------------------------
Adrian Hunter (5):
perf record: Make per-cpu mmaps the default.
perf tools: Allow '--inherit' as the negation of '--no-inherit'
perf tools: Add option macro OPT_BOOLEAN_SET
perf record: Default -t option to no inheritance
perf symbols: Fix not finding kcore in buildid cache
Arnaldo Carvalho de Melo (2):
perf timechart: Remove some needless struct forward declarations
perf timechart: Remove misplaced __maybe_unused
David Ahern (6):
perf top: Make -g refer to callchains
perf evsel: Skip ignored symbols while printing callchain
perf symbols: Move idle syms check from top to generic function
perf thread: Move comm_list check into function
perf tools: Export setup_list
perf script: Print callchains and symbols if they exist
Jean Pihet (2):
perf tools: Add per-feature check flags
perf tools unwinding: Use the per-feature check flags
Jiri Olsa (1):
perf tools: Fix tags/TAGS targets rebuilding
Namhyung Kim (3):
perf script: Move evname print code to process_event()
perf script: Print comm, fork and exit events also
perf script: Print mmap[2] events also
Pekka Enberg (1):
perf trace: Remove thread summary coloring
Ramkumar Ramachandra (5):
perf completion: Introduce a layer of indirection
perf completion: Factor out compgen stuff
perf completion: Factor out call to __ltrim_colon_completions
perf completion: Introduce zsh support
perf completion: Rename file to reflect zsh support
Stanislav Fomichev (8):
perf timechart: Always try to print at least 15 tasks
perf timechart: Add option to limit number of tasks
perf timechart: Use proc_num to implement --power-only
perf timechart: Add support for displaying only tasks related data
perf timechart: Group figures and add title with details
perf timechart: Add support for -P and -T in timechart recording
perf timechart: Add backtrace support
perf timechart: dynamically determine event fields offset
Steven Rostedt (1):
tools lib traceevent: Use helper trace-seq in print functions like kernel does
tools/lib/traceevent/event-parse.c | 7 +-
tools/perf/Documentation/perf-record.txt | 12 +-
tools/perf/Documentation/perf-script.txt | 6 +
tools/perf/Documentation/perf-timechart.txt | 26 +-
tools/perf/Documentation/perf-top.txt | 5 +-
tools/perf/Makefile | 7 +-
tools/perf/Makefile.perf | 4 +-
tools/perf/builtin-record.c | 13 +-
tools/perf/builtin-script.c | 209 ++++++++++-
tools/perf/builtin-timechart.c | 418 ++++++++++++++-------
tools/perf/builtin-top.c | 29 +-
tools/perf/builtin-trace.c | 13 +-
tools/perf/config/Makefile | 38 +-
tools/perf/config/feature-checks/Makefile | 6 +-
tools/perf/{bash_completion => perf-completion.sh} | 100 ++++-
tools/perf/perf.h | 1 +
tools/perf/tests/attr/test-record-no-inherit | 2 +-
tools/perf/util/event.c | 3 +-
tools/perf/util/evlist.c | 6 +-
tools/perf/util/evsel.c | 5 +-
tools/perf/util/parse-options.c | 21 ++
tools/perf/util/parse-options.h | 8 +
tools/perf/util/session.c | 10 +-
tools/perf/util/svghelper.c | 77 +++-
tools/perf/util/svghelper.h | 11 +-
tools/perf/util/symbol.c | 41 +-
tools/perf/util/symbol.h | 4 +
tools/perf/util/target.c | 11 +-
tools/perf/util/target.h | 4 +-
tools/perf/util/thread.h | 12 +
30 files changed, 855 insertions(+), 254 deletions(-)
rename tools/perf/{bash_completion => perf-completion.sh} (65%)