25 Jan, 2013

27 commits

  • Signed-off-by: Sasha Levin
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1356030701-16284-8-git-send-email-sasha.levin@oracle.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Sasha Levin
     
  • We already check that sym_l and sum_r are non-NULLs, no need to do it
    twice.

    Signed-off-by: Sasha Levin
    Acked-by: Namhyung Kim
    Cc: Ingo Molnar
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1356030701-16284-12-git-send-email-sasha.levin@oracle.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Sasha Levin
     
  • Now that Jiri introduced TEST_SKIP, don't fail on the first test, just
    skip it.

    Requested-by: Ingo Molnar
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-wtgs8rd7fjwfhx72pv4la127@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Test can currently return one of 3 states: ok, fail, skip.

    The ok and fail states are self-explanatory. The skip state means that
    some of the conditions for running the test was not met, making it
    impossible to even run the test. For instance, if the hardware doesn't
    support the 'precise' level required by a test, it will be skipped.

    Signed-off-by: Jiri Olsa
    Cc: Corey Ashford
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Arnaldo Carvalho de Melo
    Link: http://lkml.kernel.org/n/tip-04vnsdndarctfb1eii5c9hcy@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • The 3786063 commit:

    perf kvm: Rename perf_kvm to perf_kvm_stat

    Moved the file_name from inside a local struct var that initialized some
    of its members, thus zero initializing the not explicitely initialized
    variables, one of which was 'file_name', to a standalone local variable,
    but forgot to initialize it explicitely to NULL, so it then got some
    undefined value, causing a segfault in strdup when it wasn't, by luck,
    zero.

    Fix it by explicitely initializing it to NULL.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Xiao Guangrong
    Link: http://lkml.kernel.org/n/tip-qo2jevp1bdcnh8khzdazs17s@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • It is always there, no sense in calling a function named
    "perf_session__find_host_machine".

    Also no sense in checking if that function return is NULL, so ditch
    needless error handling.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-a6a3zx3afbrxo8p2zqm5mxo8@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • If there's not OUTPUT variable defined the PYTHONPATH ends up with
    /python. We need to remove the extra '/'.

    Signed-off-by: Jiri Olsa
    Link: http://lkml.kernel.org/n/tip-h1hzfyfcdxjnuq9fin2cjwlr@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • That consolidates the grouping of host + guests, isolating a bit more of
    functionality now centered on 'perf_session' that can be used
    independently in tools that don't need a 'perf_session' instance, but
    needs to have all the thread/map/symbol machinery.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-c700rsiphpmzv8klogojpfut@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • It was being used just for its stats member, so ditch session->hists and
    use just what is needed, session->stats.

    This completes the move support multiple events in the hists layer, the
    last user of session->hists was 'perf diff' but Jiri Olsa has fixed that
    some time ago.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-pimk92kek8kcp4dmb1jakoro@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • As this function deals exclusively with hists->stats.

    Preparatory patch for removing the by now needless session->hists, that
    should be just session->stats.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-be0o8si9f1z40cwoa534f7me@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • We were calling perf_session__process_machines(), that would first pass
    the struct machine associated with the host to the provided callback,
    perf_event__synthesize_guest_os() that would test if it was the host and
    if so wouldn't do anything.

    Ditch this contraption, just call directly machines__process with the
    list of guests.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-x65vsxgzg4dvo3zqohtrrb9o@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Use readn instead of read and check return value of do_write.

    Signed-off-by: Namhyung Kim
    Suggested-by: Arnaldo Carvalho de Melo
    Acked-by: Jiri Olsa
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1355726345-29553-4-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Current perf test code tries to execute python version 2 in order to
    test attributes on perf_event_open syscall. However it's not default
    python version anymore a system can have python v3 only or v2 with a
    different name (e.g. python2). So if there's no such python interpreter
    with the name 'python', the test would fail like this (yes, it's
    happened on my new archlinux laptop :).

    13: struct perf_event_attr setup :sh: python: command not found
    FAILED!

    As we can pass name of the python interpreter on make, use it for
    the attr test also.

    Signed-off-by: Namhyung Kim
    Acked-by: Jiri Olsa
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1355729101-31317-1-git-send-email-namhyung@kernel.org
    [ committer note: Added the same mechanism to the python binding test ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Adding event parsing test for '*:*' tracepoints. Checking the count
    matches all the tracepoints available plus current standard tracepoint
    perf_event_attr check.

    This test exposes warnings from traceevent lib about not being able to
    parse some tracepoints' format data. Exposing these messages in the
    automated test suite will probably speed up the fix ;-)

    Signed-off-by: Jiri Olsa
    Cc: Corey Ashford
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1355749718-4355-4-git-send-email-jolsa@redhat.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • Adding support for wildcards '*?" in the tracepoint system part.

    It's now possible to open all available tracepoints like:

    # perf stat -e '*:*' ls

    You might need to increase limit for open files via ulimit.

    If ftrace events tracepoints are configured in, the record command fails
    on above event selection because of them.

    The stat command disables counters that fails to open, the record
    command fails completely. We probably want to be smarter here.

    Signed-off-by: Jiri Olsa
    Cc: Corey Ashford
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1355749718-4355-3-git-send-email-jolsa@redhat.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • We don't close 'events' directory when reading multiple tracepoint
    events. Adding missing closedir.

    Signed-off-by: Jiri Olsa
    Cc: Corey Ashford
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1355749718-4355-2-git-send-email-jolsa@redhat.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • The test_attr infrastructure hooks on the sys_perf_event_open call,
    checking if a variable is set and if so calling a function to intercept
    calls and do the checking.

    But both the variable and the function aren't on objects that are
    linked on the python binding, breaking it:

    # perf test -v 15
    15: Try 'use perf' in python, checking link problems :
    --- start ---
    Traceback (most recent call last):
    File "", line 1, in
    ImportError: /home/acme/git/build/perf//python/perf.so: undefined symbol: test_attr__enabled
    ---- end ----
    Try 'use perf' in python, checking link problems: FAILED!
    #

    Fix it by moving the variable to one of the linked object files and
    providing a stub for the function in the python.o object, that is only
    linked in the python binding.

    Now 'perf test' is happy again:

    # perf test 15
    15: Try 'use perf' in python, checking link problems : Ok
    #

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-0rsca2kn44b38rgdpr3tz6n5@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • It just will add the O= builddir to PYTHONPATH and try to 'use perf',
    which will, in verbose mode show the python backtrace with the missing
    symbols, such as in the problem fixed in the patch after this one:

    # perf test -v 15
    15: Try 'use perf' in python, checking link problems :
    --- start ---
    Traceback (most recent call last):
    File "", line 1, in
    ImportError: /home/acme/git/build/perf//python/perf.so: undefined symbol: test_attr__enabled
    ---- end ----
    Try 'use perf' in python, checking link problems: FAILED!
    #

    Loooong overdue, done.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-zmd2oq9gz6t1u145ub7qm2nv@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • That consolidates the error messages in 'record', 'stat' and 'top', that
    now get a consistent set of messages and allow other tools to use the
    new method to report problems using whatever UI toolkit.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-1cudb7wl996kz7ilz83ctvhr@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • The only fallback right now is for HW cpu-cycles -> SW cpu-clock, that
    was done in the same way in both 'top' and 'record'.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-58l1mgibh9oa9m0pd3fasxa5@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Instead of doing it in stat, top, record or any other tool that opens
    event descriptors.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-vr8hzph83d5t2mdlkf565h84@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Now we'll see the command being run and if it fails, the fields that had
    unexpected values and the expected values, example testing a problem in the
    next patch:

    # perf test -v 13
    13: struct perf_event_attr setup :
    --- start ---
    SNIP
    running 'PERF_TEST_ATTR=/tmp/tmpDNIE6M /home/acme/bin/perf record -o /tmp/tmpDNIE6M/perf.data --group -e cycles,instructions kill >/dev/null 2>&1' ret 0
    running 'PERF_TEST_ATTR=/tmp/tmpV5lKro /home/acme/bin/perf stat -o /tmp/tmpV5lKro/perf.data -dd kill >/dev/null 2>&1' ret 1
    expected config=3, got 65540
    expected exclude_guest=1, got 0
    FAILED '/home/acme/libexec/perf-core/tests/attr/test-stat-detailed-2' - match failure
    ---- end ----
    struct perf_event_attr setup: FAILED!
    #

    While in the past we would see at the '-v' level many more messages for the
    fields that matched, something we may want to see only in the '-vv' log level.

    Keeping the 'running' messages so that we can see the tools tests that
    succeeded so that we can compare it to the one that failed, helping pinpointing
    the command line switch combo that leads to the problem.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-9avmwxv5ipxyafwqxbk52ylg@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Instead of > /tmp/krava, direct it to /dev/null.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-oo4yhij2327u8ircz4d0y5p4@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • As they are used from diff and event group report, add a test case to
    verify their behaviors.

    In this test I made a fake machine and two evsel. Each evsel got 10
    samples (so hist entries) - 5 are common and the rests are not. So
    after hists__match() both of them will have 5 entries with pair set.

    And the second evsel has a collapsed entry so that the total number is 9
    - I made it in order to simulate more realistic case. Thus after
    hists__link the first entry will have 14 entries - 5 are common (w/
    pair), 5 are unmatch (w/o pair) and 4 are dummy (w/ pair). And the
    second entry will have 9 entries all have its pair.

    Signed-off-by: Namhyung Kim
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1355128197-18193-5-git-send-email-namhyung@kernel.org
    [ committer note: fixed up clashes with cset that moved methods to machine.h ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • There's no reason to run hists_compute_resort() using output tree.
    Convert it to use internal tree so that it can remove unnecessary
    _output_resort.

    Signed-off-by: Namhyung Kim
    Acked-by: Jiri Olsa
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1355128197-18193-4-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • For matching and/or linking hist entries, they need to be sorted by
    given sort keys. However current hists__match/link did this on the
    output trees, so that the entries in the output tree need to be resort
    before doing it.

    This looks not so good since we have trees for collecting or collapsing
    entries before passing them to an output tree and they're already sorted
    by the given sort keys. Since we don't need to print anything at the
    time of matching/linking, we can use these internal trees directly
    instead of bothering with double resort on the output tree.

    Its only user - at the time of this writing - perf diff can be easily
    converted to use the internal tree and can save some lines too by
    getting rid of unnecessary resorting codes.

    Signed-off-by: Namhyung Kim
    Acked-by: Jiri Olsa
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1355128197-18193-3-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • When comparing entries for collapsing put the given entry first, and
    then the iterated entry. This is not the case of hist_entry__cmp() when
    called if given sort keys don't require collapsing. So change the order
    for the sake of consistency. It will be required for matching and/or
    linking multiple hist entries.

    Signed-off-by: Namhyung Kim
    Acked-by: Jiri Olsa
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1355128197-18193-2-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

24 Jan, 2013

13 commits

  • …/acme/linux into perf/core

    Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:

    . perf build-id cache now can show DSOs present in a perf.data file that are
    not in the cache, to integrate with build-id servers being put in place by
    organizations such as Fedora.

    . perf buildid-list -i an-elf-file-instead-of-a-perf.data is back showing its
    build-id.

    . No need to do feature checks when doing a 'make tags'

    . Fix some 'perf test' errors and make them use the tracepoint evsel constructor.

    . perf top now shares more of the evsel config/creation routines with 'record',
    paving the way for further integration like 'top' snapshots, etc.

    . perf top now supports DWARF callchains.

    . perf evlist decodes sample_type and read_format, helping diagnose problems.

    . Fix mmap limitations on 32-bit, fix from David Miller.

    . perf diff fixes from Jiri Olsa.

    . Ignore ABS symbols when loading data maps, fix from Namhyung Kim

    . Hists improvements from Namhyung Kim

    . Don't check configuration on make clean, from Namhyung Kim

    . Fix dso__fprintf() print statement, from Stephane Eranian.

    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     
  • The last remaining user was oprofile and its use has been
    removed a while ago in commit bc078e4eab65f11bba
    ("oprofile: convert oprofile from timer_hook to hrtimer").

    There doesn't seem to be any upstream user of this hook
    for about two years now. And I'm not even aware of any out of
    tree user.

    Let's remove it.

    Signed-off-by: Frederic Weisbecker
    Cc: Alessio Igor Bogani
    Cc: Avi Kivity
    Cc: Chris Metcalf
    Cc: Christoph Lameter
    Cc: Geoff Levand
    Cc: Gilad Ben Yossef
    Cc: Hakan Akkan
    Cc: Paul E. McKenney
    Cc: Paul Gortmaker
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1356191991-2251-1-git-send-email-fweisbec@gmail.com
    Signed-off-by: Ingo Molnar

    Frederic Weisbecker
     
  • …it/ras/ras into perf/core

    Use perf/event tracing to report PCI Express advanced errors, by
    Tony Luck.

    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     
  • …stedt/linux-trace into perf/core

    Pull small function-tracing smatch fixlet from Steve Rostedt.

    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     
  • Dan's smatch found a compare bug with the result of the
    trace_test_and_set_recursion() and comparing to less than
    zero. If the function fails, it returns -1, but was saved in
    an unsigned int, which will never be less than zero and will
    ignore the result of the test if a recursion did happen.

    Luckily this is the last of the recursion tests, as the
    infrastructure of ftrace would catch recursions before it
    got here, except for some few exceptions.

    Reported-by: Dan Carpenter
    Signed-off-by: Steven Rostedt

    Steven Rostedt
     
  • …stedt/linux-trace into perf/core

    Pull tracing updates from Steve Rostedt.

    This commit:

    tracing: Remove the extra 4 bytes of padding in events

    changes the ABI. All involved parties seem to agree that it's safe to
    do now, but the devil is in the details ...

    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     
  • Pull more USB fixes from Greg Kroah-Hartman:
    "Here are some more USB fixes for the 3.8-rc4 tree.

    Some gadget driver fixes, and finally resolved the ehci-mxc driver
    build issues (it's just some code moving around and being deleted)."

    * tag 'usb-3.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
    USB: EHCI: fix build error in ehci-mxc
    USB: EHCI: add a name for the platform-private field
    USB: EHCI: fix incorrect configuration test
    USB: EHCI: Move definition of EHCI_STATS to ehci.h
    USB: UHCI: fix IRQ race during initialization
    usb: gadget: FunctionFS: Fix missing braces in parse_opts
    usb: dwc3: gadget: fix ep->maxburst for ep0
    ARM: i.MX clock: Change the connection-id for fsl-usb2-udc
    usb: gadget: fsl_mxc_udc: replace MX35_IO_ADDRESS to ioremap
    usb: gadget: fsl-mxc-udc: replace cpu_is_xxx() with platform_device_id
    usb: musb: cppi_dma: drop '__init' annotation

    Linus Torvalds
     
  • Pull drivers/misc fix from Greg Kroah-Hartman:
    "Here is a single revert for the ti-st misc driver, fixing problem that
    was introduced in 3.7-rc1 that has been bothering people."

    * tag 'char-misc-3.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    Revert "drivers/misc/ti-st: remove gpio handling"

    Linus Torvalds
     
  • Pull a TTY maintainer patch from Greg Kroah-Hartman:
    "Just a MAINTAINERS update, now that Alan has left for a bit, I'll
    continue to watch over the serial drivers."

    * tag 'tty-3.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
    MAINTAINERS: Someone needs to watch over the serial drivers

    Linus Torvalds
     
  • Pull media fixes from Mauro Carvalho Chehab:
    - gspca: add needed delay for I2C traffic for sonixb/sonixj cameras
    - gspca: add one missing Kinect USB ID
    - usbvideo: some regression fixes
    - omap3isp: fix some build issues
    - videobuf2: fix video output handling
    - exynos s5p/m5mols: a few regression fixes.

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
    [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures
    [media] uvcvideo: Cleanup leftovers of partial revert
    [media] uvcvideo: Return -EACCES when trying to set a read-only control
    [media] omap3isp: Don't include
    [media] s5p-mfc: Fix interrupt error handling routine
    [media] s5p-fimc: Fix return value of __fimc_md_create_flite_source_links()
    [media] m5mols: Fix typo in get_fmt callback
    [media] v4l: vb2: Set data_offset to 0 for single-plane output buffers
    [media] [FOR,v3.8] omap3isp: Don't include deleted OMAP plat/ header files
    [media] gspca_sonixj: Add a small delay after i2c_w1
    [media] gspca_sonixb: Properly wait between i2c writes
    [media] gspca_kinect: add Kinect for Windows USB id

    Linus Torvalds
     
  • Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Pull m68k fixes from Geert Uytterhoeven:
    "The asm-generic changeset has been ack'ed by Arnd."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
    m68k: Wire up finit_module
    asm-generic/dma-mapping-broken.h: Provide dma_alloc_attrs()/dma_free_attrs()
    m68k: Provide dma_alloc_attrs()/dma_free_attrs()

    Linus Torvalds
     
  • Pull arm64 fixes from Catalin Marinas:
    - ELF coredump fix (more registers dumped than what user space expects)
    - SUBARCH name generation (s/aarch64/arm64/)

    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64:
    arm64: makefile: fix uname munging when setting ARCH on native machine
    arm64: elf: fix core dumping to match what glibc expects

    Linus Torvalds