Skip to content
Permalink
Adam-Ford/medi…
Switch branches/tags

Commits on Jan 24, 2022

  1. arm64: dts: imx8mm: Enable Hantro G1 and G2 video decoders

    There are two decoders on the i.MX8M Mini controlled by the
    vpu-blk-ctrl.  The G1 supports H264 and VP8 while the
    G2 support HEVC and VP9.
    
    Signed-off-by: Adam Ford <aford173@gmail.com>
    aford173 authored and intel-lab-lkp committed Jan 24, 2022
  2. media: hantro: Add support for i.MX8MM Hantro-G1

    The i.MX8MM has a Hantro G1 video decoder similar to the
    imx8mq but lacks the post-processor present in the imx8mq.
    Add support in the driver for it with the post-processing
    removed.
    
    Signed-off-by: Adam Ford <aford173@gmail.com>
    aford173 authored and intel-lab-lkp committed Jan 24, 2022
  3. dt-bindings: media: nxp, imx8mq-vpu: Add support for G1 on imx8mm

    The i.MX8M mini appears to have a similar G1 decoder but the
    post-processing isn't present, so different compatible flag is required.
    Since all the other parameters are the same with imx8mq, just add
    the new compatible flag to nxp,imx8mq-vpu.yaml.
    
    Signed-off-by: Adam Ford <aford173@gmail.com>
    aford173 authored and intel-lab-lkp committed Jan 24, 2022
  4. arm64: dts: imx8mm: Fix VPU Hanging

    The vpumix power domain has a reset assigned to it, however
    when used, it causes a system hang.  Testing has shown that
    it does not appear to be needed anywhere.
    
    Fixes: d39d4bb ("arm64: dts: imx8mm: add GPC node")
    Signed-off-by: Adam Ford <aford173@gmail.com>
    aford173 authored and intel-lab-lkp committed Jan 24, 2022
  5. arm64: dts: imx8mq: Enable both G1 and G2 VPU's with vpu-blk-ctrl

    With the Hantro G1 and G2 now setup to run independently, update
    the device tree to allow both to operate.  This requires the
    vpu-blk-ctrl node to be configured.  Since vpu-blk-ctrl needs
    certain clock enabled to handle the gating of the G1 and G2
    fuses, the clock-parents and clock-rates for the various VPU's
    to be moved into the pgc_vpu because they cannot get re-parented
    once enabled, and the pgc_vpu is the highest in the chain.
    
    Signed-off-by: Adam Ford <aford173@gmail.com>
    aford173 authored and intel-lab-lkp committed Jan 24, 2022
  6. media: hantro: Allow i.MX8MQ G1 and G2 to run independently

    The VPU in the i.MX8MQ is really the combination of Hantro G1 and
    Hantro G2. With the updated vpu-blk-ctrl, the power domains system
    can enable and disable them separately as well as pull them out of
    reset. This simplifies the code and lets them run independently
    while still retaining backwards compatibility with older device
    trees for those using G1.
    
    Signed-off-by: Adam Ford <aford173@gmail.com>
    aford173 authored and intel-lab-lkp committed Jan 24, 2022
  7. dt-bindings: media: nxp, imx8mq-vpu: Split G1 and G2 nodes

    The G1 and G2 are independent and separate decoder blocks
    that are enabled by the vpu-blk-ctrl power-domain controller,
    which now has a proper driver.
    
    Because these blocks only share the power-domain, and can be
    independently fused out, update the bindings to support separate
    nodes for the G1 and G2 decoders with vpu-blk-ctrl power-domain
    support.
    
    The new DT + old kernel isn't a supported configuration.
    
    Signed-off-by: Adam Ford <aford173@gmail.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    aford173 authored and intel-lab-lkp committed Jan 24, 2022
  8. soc: imx: imx8m-blk-ctrl: add i.MX8MQ VPU blk-ctrl

    This adds the necessary bits to drive the VPU blk-ctrl on the i.MX8MQ, to
    avoid putting more of this functionality into the decoder driver.
    
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Signed-off-by: Adam Ford <aford173@gmail.com>
    lynxeye-dev authored and intel-lab-lkp committed Jan 24, 2022
  9. dt-bindings: soc: add binding for i.MX8MQ VPU blk-ctrl

    This adds the DT binding for the i.MX8MQ VPU blk-ctrl.
    
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Signed-off-by: Adam Ford <aford173@gmail.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    lynxeye-dev authored and intel-lab-lkp committed Jan 24, 2022
  10. dt-bindings: power: imx8mq: add defines for VPU blk-ctrl domains

    This adds the defines for the power domains provided by the VPU
    blk-ctrl on the i.MX8MQ.
    
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Acked-by: Rob Herring <robh@kernel.org>
    lynxeye-dev authored and intel-lab-lkp committed Jan 24, 2022

Commits on Jan 23, 2022

  1. Linux 5.17-rc1

    torvalds committed Jan 23, 2022
  2. Merge tag 'perf-tools-for-v5.17-2022-01-22' of git://git.kernel.org/p…

    …ub/scm/linux/kernel/git/acme/linux
    
    Pull more perf tools updates from Arnaldo Carvalho de Melo:
    
     - Fix printing 'phys_addr' in 'perf script'.
    
     - Fix failure to add events with 'perf probe' in ppc64 due to not
       removing leading dot (ppc64 ABIv1).
    
     - Fix cpu_map__item() python binding building.
    
     - Support event alias in form foo-bar-baz, add pmu-events and
       parse-event tests for it.
    
     - No need to setup affinities when starting a workload or attaching to
       a pid.
    
     - Use path__join() to compose a path instead of ad-hoc snprintf()
       equivalent.
    
     - Override attr->sample_period for non-libpfm4 events.
    
     - Use libperf cpumap APIs instead of accessing the internal state
       directly.
    
     - Sync x86 arch prctl headers and files changed by the new
       set_mempolicy_home_node syscall with the kernel sources.
    
     - Remove duplicate include in cpumap.h.
    
     - Remove redundant err variable.
    
    * tag 'perf-tools-for-v5.17-2022-01-22' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
      perf tools: Remove redundant err variable
      perf test: Add parse-events test for aliases with hyphens
      perf test: Add pmu-events test for aliases with hyphens
      perf parse-events: Support event alias in form foo-bar-baz
      perf evsel: Override attr->sample_period for non-libpfm4 events
      perf cpumap: Remove duplicate include in cpumap.h
      perf cpumap: Migrate to libperf cpumap api
      perf python: Fix cpu_map__item() building
      perf script: Fix printing 'phys_addr' failure issue
      tools headers UAPI: Sync files changed by new set_mempolicy_home_node syscall
      tools headers UAPI: Sync x86 arch prctl headers with the kernel sources
      perf machine: Use path__join() to compose a path instead of snprintf(dir, '/', filename)
      perf evlist: No need to setup affinities when disabling events for pid targets
      perf evlist: No need to setup affinities when enabling events for pid targets
      perf stat: No need to setup affinities when starting a workload
      perf affinity: Allow passing a NULL arg to affinity__cleanup()
      perf probe: Fix ppc64 'perf probe add events failed' case
    torvalds committed Jan 23, 2022
  3. Merge tag 'trace-v5.17-3' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/rostedt/linux-trace
    
    Pull ftrace fix from Steven Rostedt:
     "Fix s390 breakage from sorting mcount tables.
    
      The latest merge of the tracing tree sorts the mcount table at build
      time. But s390 appears to do things differently (like always) and
      replaces the sorted table back to the original unsorted one. As the
      ftrace algorithm depends on it being sorted, bad things happen when it
      is not, and s390 experienced those bad things.
    
      Add a new config to tell the boot if the mcount table is sorted or
      not, and allow s390 to opt out of it"
    
    * tag 'trace-v5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
      ftrace: Fix assuming build time sort works for s390
    torvalds committed Jan 23, 2022
  4. ftrace: Fix assuming build time sort works for s390

    To speed up the boot process, as mcount_loc needs to be sorted for ftrace
    to work properly, sorting it at build time is more efficient than boot up
    and can save milliseconds of time. Unfortunately, this change broke s390
    as it will modify the mcount_loc location after the sorting takes place
    and will put back the unsorted locations. Since the sorting is skipped at
    boot up if it is believed that it was sorted at run time, ftrace can crash
    as its algorithms are dependent on the list being sorted.
    
    Add a new config BUILDTIME_MCOUNT_SORT that is set when
    BUILDTIME_TABLE_SORT but not if S390 is set. Use this config to determine
    if sorting should take place at boot up.
    
    Link: https://lore.kernel.org/all/yt9dee51ctfn.fsf@linux.ibm.com/
    
    Fixes: 72b3942 ("scripts: ftrace - move the sort-processing in ftrace_init")
    Reported-by: Sven Schnelle <svens@linux.ibm.com>
    Tested-by: Heiko Carstens <hca@linux.ibm.com>
    Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
    rostedt committed Jan 23, 2022
  5. Merge tag 'kbuild-fixes-v5.17' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/masahiroy/linux-kbuild
    
    Pull Kbuild fixes from Masahiro Yamada:
    
     - Bring include/uapi/linux/nfc.h into the UAPI compile-test coverage
    
     - Revert the workaround of CONFIG_CC_IMPLICIT_FALLTHROUGH
    
     - Fix build errors in certs/Makefile
    
    * tag 'kbuild-fixes-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
      certs: Fix build error when CONFIG_MODULE_SIG_KEY is empty
      certs: Fix build error when CONFIG_MODULE_SIG_KEY is PKCS#11 URI
      Revert "Makefile: Do not quote value for CONFIG_CC_IMPLICIT_FALLTHROUGH"
      usr/include/Makefile: add linux/nfc.h to the compile-test coverage
    torvalds committed Jan 23, 2022
  6. Merge tag 'bitmap-5.17-rc1' of git://github.com/norov/linux

    Pull bitmap updates from Yury Norov:
    
     - introduce for_each_set_bitrange()
    
     - use find_first_*_bit() instead of find_next_*_bit() where possible
    
     - unify for_each_bit() macros
    
    * tag 'bitmap-5.17-rc1' of git://github.com/norov/linux:
      vsprintf: rework bitmap_list_string
      lib: bitmap: add performance test for bitmap_print_to_pagebuf
      bitmap: unify find_bit operations
      mm/percpu: micro-optimize pcpu_is_populated()
      Replace for_each_*_bit_from() with for_each_*_bit() where appropriate
      find: micro-optimize for_each_{set,clear}_bit()
      include/linux: move for_each_bit() macros from bitops.h to find.h
      cpumask: replace cpumask_next_* with cpumask_first_* where appropriate
      tools: sync tools/bitmap with mother linux
      all: replace find_next{,_zero}_bit with find_first{,_zero}_bit where appropriate
      cpumask: use find_first_and_bit()
      lib: add find_first_and_bit()
      arch: remove GENERIC_FIND_FIRST_BIT entirely
      include: move find.h from asm_generic to linux
      bitops: move find_bit_*_le functions from le.h to find.h
      bitops: protect find_first_{,zero}_bit properly
    torvalds committed Jan 23, 2022

Commits on Jan 22, 2022

  1. perf tools: Remove redundant err variable

    Return value from perf_event__process_tracing_data() directly instead
    of taking this in another redundant variable.
    
    Reported-by: Zeal Robot <zealci@zte.com.cn>
    Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: http://lore.kernel.org/lkml/20220112080109.666800-1-chi.minghao@zte.com.cn
    Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Minghao Chi authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  2. perf test: Add parse-events test for aliases with hyphens

    Add a test which allows us to test parsing an event alias with hyphens.
    
    Since these events typically do not exist on most host systems, add the
    alias to the fake pmu.
    
    Function perf_pmu__test_parse_init() has terms added to match known test
    aliases.
    
    Signed-off-by: John Garry <john.garry@huawei.com>
    Acked-by: Ian Rogers <irogers@google.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Kajol Jain <kjain@linux.ibm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Qi Liu <liuqi115@huawei.com>
    Cc: Shaokun Zhang <zhangshaokun@hisilicon.com>
    Cc: linuxarm@huawei.com
    Link: https://lore.kernel.org/r/1642432215-234089-4-git-send-email-john.garry@huawei.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    johnpgarry authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  3. perf test: Add pmu-events test for aliases with hyphens

    Add a test for aliases with hyphens in the name to ensure that the
    pmu-events tables are as expects. There should be no reason why these sort
    of aliases would be treated differently, but no harm in checking.
    
    Signed-off-by: John Garry <john.garry@huawei.com>
    Acked-by: Ian Rogers <irogers@google.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Kajol Jain <kjain@linux.ibm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Qi Liu <liuqi115@huawei.com>
    Cc: Shaokun Zhang <zhangshaokun@hisilicon.com>
    Cc: linuxarm@huawei.com
    Link: https://lore.kernel.org/r/1642432215-234089-3-git-send-email-john.garry@huawei.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    johnpgarry authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  4. perf parse-events: Support event alias in form foo-bar-baz

    Event aliasing for events whose name in the form foo-bar-baz is not
    supported, while foo-bar, foo_bar_baz, and other combinations are, i.e.
    two hyphens are not supported.
    
    The HiSilicon D06 platform has events in such form:
    
      $ ./perf list sdir-home-migrate
    
      List of pre-defined events (to be used in -e):
    
      uncore hha:
        sdir-home-migrate
       [Unit: hisi_sccl,hha]
    
      $ sudo ./perf stat -e sdir-home-migrate
      event syntax error: 'sdir-home-migrate'
                              \___ parser error
      Run 'perf list' for a list of valid events
    
       Usage: perf stat [<options>] [<command>]
    
       -e, --event <event>event selector. use 'perf list' to list available events
    
    To support, add an extra PMU event symbol type for "baz", and add a new
    rule in the bison file.
    
    Signed-off-by: John Garry <john.garry@huawei.com>
    Acked-by: Ian Rogers <irogers@google.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Kajol Jain <kjain@linux.ibm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Qi Liu <liuqi115@huawei.com>
    Cc: Shaokun Zhang <zhangshaokun@hisilicon.com>
    Cc: linuxarm@huawei.com
    Link: https://lore.kernel.org/r/1642432215-234089-2-git-send-email-john.garry@huawei.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    johnpgarry authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  5. perf evsel: Override attr->sample_period for non-libpfm4 events

    A previous patch preventing "attr->sample_period" values from being
    overridden in pfm events changed a related behaviour in arm-spe.
    
    Before said patch:
    
      perf record -c 10000 -e arm_spe_0// -- sleep 1
    
    Would yield an SPE event with period=10000. After the patch, the period
    in "-c 10000" was being ignored because the arm-spe code initializes
    sample_period to a non-zero value.
    
    This patch restores the previous behaviour for non-libpfm4 events.
    
    Fixes: ae5dcc8 (“perf record: Prevent override of attr->sample_period for libpfm4 events”)
    Reported-by: Chase Conklin <chase.conklin@arm.com>
    Signed-off-by: German Gomez <german.gomez@arm.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: John Fastabend <john.fastabend@gmail.com>
    Cc: KP Singh <kpsingh@kernel.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Martin KaFai Lau <kafai@fb.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Song Liu <songliubraving@fb.com>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Yonghong Song <yhs@fb.com>
    Cc: bpf@vger.kernel.org
    Cc: netdev@vger.kernel.org
    Link: http://lore.kernel.org/lkml/20220118144054.2541-1-german.gomez@arm.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    germangb authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  6. perf cpumap: Remove duplicate include in cpumap.h

    Remove all but the first include of stdbool.h from cpumap.h.
    
    Reported-by: Zeal Robot <zealci@zte.com.cn>
    Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
    Acked-by: Ian Rogers <irogers@google.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: James Clark <james.clark@arm.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: https://lore.kernel.org/r/20220117083730.863200-1-lv.ruyi@zte.com.cn
    Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Lv Ruyi authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  7. perf cpumap: Migrate to libperf cpumap api

    Switch from directly accessing the perf_cpu_map to using the appropriate
    libperf API when possible. Using the API simplifies the job of
    refactoring use of perf_cpu_map.
    
    Signed-off-by: Ian Rogers <irogers@google.com>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: André Almeida <andrealmeid@collabora.com>
    Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Cc: Darren Hart <dvhart@infradead.org>
    Cc: Davidlohr Bueso <dave@stgolabs.net>
    Cc: Dmitriy Vyukov <dvyukov@google.com>
    Cc: Eric Dumazet <edumazet@google.com>
    Cc: German Gomez <german.gomez@arm.com>
    Cc: James Clark <james.clark@arm.com>
    Cc: Jin Yao <yao.jin@linux.intel.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: John Garry <john.garry@huawei.com>
    Cc: Kajol Jain <kjain@linux.ibm.com>
    Cc: Kan Liang <kan.liang@linux.intel.com>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Cc: Miaoqian Lin <linmq006@gmail.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Riccardo Mancini <rickyman7@gmail.com>
    Cc: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
    Cc: Song Liu <song@kernel.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Stephen Brennan <stephen.s.brennan@oracle.com>
    Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Thomas Richter <tmricht@linux.ibm.com>
    Cc: Yury Norov <yury.norov@gmail.com>
    Link: http://lore.kernel.org/lkml/20220122045811.3402706-3-irogers@google.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    captain5050 authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  8. perf python: Fix cpu_map__item() building

    Value should be built as an integer.
    
    Switch some uses of perf_cpu_map to use the library API.
    
    Fixes: 6d18804 ("perf cpumap: Give CPUs their own type")
    Signed-off-by: Ian Rogers <irogers@google.com>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: André Almeida <andrealmeid@collabora.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Cc: Darren Hart <dvhart@infradead.org>
    Cc: Davidlohr Bueso <dave@stgolabs.net>
    Cc: Dmitriy Vyukov <dvyukov@google.com>
    Cc: Eric Dumazet <edumazet@google.com>
    Cc: German Gomez <german.gomez@arm.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: James Clark <james.clark@arm.com>
    Cc: Jin Yao <yao.jin@linux.intel.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: John Garry <john.garry@huawei.com>
    Cc: Kajol Jain <kjain@linux.ibm.com>
    Cc: Kan Liang <kan.liang@linux.intel.com>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Cc: Miaoqian Lin <linmq006@gmail.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Riccardo Mancini <rickyman7@gmail.com>
    Cc: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
    Cc: Song Liu <song@kernel.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Stephen Brennan <stephen.s.brennan@oracle.com>
    Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Thomas Richter <tmricht@linux.ibm.com>
    Cc: Yury Norov <yury.norov@gmail.com>
    Link: http://lore.kernel.org/lkml/20220122045811.3402706-2-irogers@google.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    captain5050 authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  9. perf script: Fix printing 'phys_addr' failure issue

    Perf script was failed to print the phys_addr for SPE profiling.
    One 'dummy' event is added by SPE profiling but it doesn't have PHYS_ADDR
    attribute set, perf script then exits with error.
    
    Now referring to 'addr', use evsel__do_check_stype() to check the type.
    
    Before:
    
      # perf record -e arm_spe_0/branch_filter=0,ts_enable=1,pa_enable=1,load_filter=1,jitter=0,\
    		store_filter=0,min_latency=0,event_filter=2/ -p 4064384 -- sleep 3
      # perf script -F pid,tid,addr,phys_addr
      Samples for 'dummy:u' event do not have PHYS_ADDR attribute set. Cannot print 'phys_addr' field.
    
    After:
    
      # perf record -e arm_spe_0/branch_filter=0,ts_enable=1,pa_enable=1,load_filter=1,jitter=0,\
    		store_filter=0,min_latency=0,event_filter=2/ -p 4064384 -- sleep 3
      # perf script -F pid,tid,addr,phys_addr
      4064384/4064384 ffff802f921be0d0      2f921be0d0
      4064384/4064384 ffff802f921be0d0      2f921be0d0
    
    Reviewed-by: German Gomez <german.gomez@arm.com>
    Signed-off-by: Yao Jin <jinyao5@huawei.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Hanjun Guo <guohanjun@huawei.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Link: http://lore.kernel.org/lkml/20220121065954.2121900-1-liwei391@huawei.com
    Signed-off-by: Wei Li <liwei391@huawei.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Yao Jin authored and Arnaldo Carvalho de Melo committed Jan 22, 2022
  10. certs: Fix build error when CONFIG_MODULE_SIG_KEY is empty

    Since b8c96a6 ("certs: simplify $(srctree)/ handling and remove
    config_filename macro"), when CONFIG_MODULE_SIG_KEY is empty,
    signing_key.x509 fails to build:
    
        CERT    certs/signing_key.x509
      Usage: extract-cert <source> <dest>
      make[1]: *** [certs/Makefile:78: certs/signing_key.x509] Error 2
      make: *** [Makefile:1831: certs] Error 2
    
    Pass "" to the first argument of extract-cert to fix the build error.
    
    Link: https://lore.kernel.org/linux-kbuild/20220120094606.2skuyb26yjlnu66q@lion.mk-sys.cz/T/#u
    Fixes: b8c96a6 ("certs: simplify $(srctree)/ handling and remove config_filename macro")
    Reported-by: Michal Kubecek <mkubecek@suse.cz>
    Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
    Tested-by: Michal Kubecek <mkubecek@suse.cz>
    masahir0y committed Jan 22, 2022
  11. certs: Fix build error when CONFIG_MODULE_SIG_KEY is PKCS#11 URI

    When CONFIG_MODULE_SIG_KEY is PKCS#11 URL (pkcs11:*), signing_key.x509
    fails to build:
    
      certs/Makefile:77: *** target pattern contains no '%'.  Stop.
    
    Due to the typo, $(X509_DEP) contains a colon.
    
    Fix it.
    
    Fixes: b8c96a6 ("certs: simplify $(srctree)/ handling and remove config_filename macro")
    Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
    masahir0y committed Jan 22, 2022
  12. Revert "Makefile: Do not quote value for CONFIG_CC_IMPLICIT_FALLTHROUGH"

    This reverts commit cd8c917.
    
    Commit 129ab0d ("kbuild: do not quote string values in
    include/config/auto.conf") provided the final solution.
    
    Now reverting the temporary workaround.
    
    Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
    masahir0y committed Jan 22, 2022
  13. usr/include/Makefile: add linux/nfc.h to the compile-test coverage

    As linux/nfc.h userspace compilation was finally fixed by commits
    79b69a8 ("nfc: uapi: use kernel size_t to fix user-space builds")
    and 7175f02 ("uapi: fix linux/nfc.h userspace compilation errors"),
    there is no need to keep the compile-test exception for it in
    usr/include/Makefile.
    
    Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
    Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
    ldv-alt authored and masahir0y committed Jan 22, 2022
  14. Merge branch 'akpm' (patches from Andrew)

    Merge yet more updates from Andrew Morton:
     "This is the post-linux-next queue. Material which was based on or
      dependent upon material which was in -next.
    
      69 patches.
    
      Subsystems affected by this patch series: mm (migration and zsmalloc),
      sysctl, proc, and lib"
    
    * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (69 commits)
      mm: hide the FRONTSWAP Kconfig symbol
      frontswap: remove support for multiple ops
      mm: mark swap_lock and swap_active_head static
      frontswap: simplify frontswap_register_ops
      frontswap: remove frontswap_test
      mm: simplify try_to_unuse
      frontswap: remove the frontswap exports
      frontswap: simplify frontswap_init
      frontswap: remove frontswap_curr_pages
      frontswap: remove frontswap_shrink
      frontswap: remove frontswap_tmem_exclusive_gets
      frontswap: remove frontswap_writethrough
      mm: remove cleancache
      lib/stackdepot: always do filter_irq_stacks() in stack_depot_save()
      lib/stackdepot: allow optional init and stack_table allocation by kvmalloc()
      proc: remove PDE_DATA() completely
      fs: proc: store PDE()->data into inode->i_private
      zsmalloc: replace get_cpu_var with local_lock
      zsmalloc: replace per zpage lock with pool->migrate_lock
      locking/rwlocks: introduce write_lock_nested
      ...
    torvalds committed Jan 22, 2022
  15. Merge tag '5.17-rc-part2-smb3-fixes' of git://git.samba.org/sfrench/c…

    …ifs-2.6
    
    Pull cifs fixes from Steve French:
    
     - multichannel fixes, addressing additional reconnect and DFS scenarios
    
     - reenabling fscache support (indexing rewrite, metadata caching e.g.)
    
     - send additional version information during NTLMSSP negotiate to
       improve debugging
    
     - fix for a mount race
    
     - DFS fixes
    
     - fix for a memory leak for stable
    
    * tag '5.17-rc-part2-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
      cifs: update internal module number
      smb3: send NTLMSSP version information
      cifs: Support fscache indexing rewrite
      cifs: cifs_ses_mark_for_reconnect should also update reconnect bits
      cifs: update tcpStatus during negotiate and sess setup
      cifs: make status checks in version independent callers
      cifs: remove repeated state change in dfs tree connect
      cifs: fix the cifs_reconnect path for DFS
      cifs: remove unused variable ses_selected
      cifs: protect all accesses to chan_* with chan_lock
      cifs: fix the connection state transitions with multichannel
      cifs: check reconnects for channels of active tcons too
      smb3: add new defines from protocol specification
      cifs: serialize all mount attempts
      cifs: quirk for STATUS_OBJECT_NAME_INVALID returned for non-ASCII dfs refs
      cifs: alloc_path_with_tree_prefix: do not append sep. if the path is empty
      cifs: clean up an inconsistent indenting
      cifs: free ntlmsspblob allocated in negotiate
    torvalds committed Jan 22, 2022
  16. Merge tag 'xfs-5.17-merge-7' of git://git.kernel.org/pub/scm/fs/xfs/x…

    …fs-linux
    
    Pull xfs fixes from Darrick Wong:
     "One of the patches removes some dead code from xfs_ioctl32.h and the
      other fixes broken workqueue flushing in the inode garbage collector.
    
       - Minor cleanup of ioctl32 cruft
    
       - Clean up open coded inodegc workqueue function calls"
    
    * tag 'xfs-5.17-merge-7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
      xfs: flush inodegc workqueue tasks before cancel
      xfs: remove unused xfs_ioctl32.h declarations
    torvalds committed Jan 22, 2022
  17. Merge tag 'fscache-fixes-20220121' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/dhowells/linux-fs
    
    Pull more fscache updates from David Howells:
     "A set of fixes and minor updates for the fscache rewrite:
    
       - Fix mishandling of volume collisions (the wait condition is
         inverted and so it was only waiting if the volume collision was
         already resolved).
    
       - Fix miscalculation of whether there's space available in
         cachefiles.
    
       - Make sure a default cache name is set on a cache if the user hasn't
         set one by the time they bind the cache.
    
       - Adjust the way the backing inode is presented in tracepoints, add a
         tracepoint for mkdir and trace directory lookup.
    
       - Add a tracepoint for failure to set the active file mark.
    
       - Add an explanation of the checks made on the backing filesystem.
    
       - Check that the backing filesystem supports tmpfile.
    
       - Document how the page-release cancellation of the read-skip
         optimisation works.
    
      And I've included a change for netfslib:
    
       - Make ops->init_rreq() optional"
    
    * tag 'fscache-fixes-20220121' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
      netfs: Make ops->init_rreq() optional
      fscache: Add a comment explaining how page-release optimisation works
      cachefiles: Check that the backing filesystem supports tmpfiles
      cachefiles: Explain checks in a comment
      cachefiles: Trace active-mark failure
      cachefiles: Make some tracepoint adjustments
      cachefiles: set default tag name if it's unspecified
      cachefiles: Calculate the blockshift in terms of bytes, not pages
      fscache: Fix the volume collision wait condition
    torvalds committed Jan 22, 2022
  18. Merge tag 'folio-5.17a' of git://git.infradead.org/users/willy/pagecache

    Pull more folio updates from Matthew Wilcox:
     "Three small folio patches.
    
      One bug fix, one patch pulled forward from the patches destined for
      5.18 and then a patch to make use of that functionality"
    
    * tag 'folio-5.17a' of git://git.infradead.org/users/willy/pagecache:
      filemap: Use folio_put_refs() in filemap_free_folio()
      mm: Add folio_put_refs()
      pagevec: Initialise folio_batch->percpu_pvec_drained
    torvalds committed Jan 22, 2022
  19. Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/jejb/scsi
    
    Pull more SCSI updates from James Bottomley:
     "This series is all the stragglers that didn't quite make the first
      merge window pull. It's mostly minor updates and bug fixes of merge
      window code"
    
    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      scsi: nsp_cs: Check of ioremap return value
      scsi: ufs: ufs-mediatek: Fix error checking in ufs_mtk_init_va09_pwr_ctrl()
      scsi: ufs: Modify Tactive time setting conditions
      scsi: efct: Remove useless DMA-32 fallback configuration
      scsi: message: fusion: mptctl: Use dma_alloc_coherent()
      scsi: message: fusion: mptsas: Use dma_alloc_coherent()
      scsi: message: fusion: Use dma_alloc_coherent() in mptsas_exp_repmanufacture_info()
      scsi: message: fusion: mptbase: Use dma_alloc_coherent()
      scsi: message: fusion: Use dma_alloc_coherent() in mpt_alloc_fw_memory()
      scsi: message: fusion: Remove usage of the deprecated "pci-dma-compat.h" API
      scsi: megaraid: Avoid mismatched storage type sizes
      scsi: hisi_sas: Remove unused variable and check in hisi_sas_send_ata_reset_each_phy()
      scsi: aic79xx: Remove redundant error variable
      scsi: pm80xx: Port reset timeout error handling correction
      scsi: mpi3mr: Fix formatting problems in some kernel-doc comments
      scsi: mpi3mr: Fix some spelling mistakes
      scsi: mpt3sas: Update persistent trigger pages from sysfs interface
      scsi: core: Fix scsi_mode_select() interface
      scsi: aacraid: Fix spelling of "its"
      scsi: qedf: Fix potential dereference of NULL pointer
    torvalds committed Jan 22, 2022
Older