Skip to content
Permalink
Sai-Teja-Aluva…
Switch branches/tags

Commits on Feb 8, 2022

  1. arm64: dts: qcom: sc7280: setting the vddio supply for Bluetooth node…

    … on CRD
    
    setting the vddio supply for Bluetooth SoC WCN6750 node
    on SC7280 crd board
    
    Signed-off-by: Sai Teja Aluvala <quic_saluvala@quicinc.com>
    Sai Teja Aluvala authored and intel-lab-lkp committed Feb 8, 2022

Commits on Feb 4, 2022

  1. MAINTAINERS: dt-bindings: Add Krzysztof Kozlowski

    Add Krzysztof Kozlowski as a second maintainer for the Devicetree
    bindings, to share the Rob's workload and help in review.
    
    Cc: devicetree@vger.kernel.org
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220204161851.138874-1-krzysztof.kozlowski@canonical.com
    krzk authored and robherring committed Feb 4, 2022
  2. scripts/dtc: Call pkg-config POSIXly correct

    Running with POSIXLY_CORRECT=1 in the environment the scripts/dtc build
    fails, because pkg-config doesn't output anything when the flags come
    after the arguments.
    
    Fixes: 067c650 ("dtc: Use pkg-config to locate libyaml")
    Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220131112028.7907-1-t@laumann.xyz
    laumann authored and robherring committed Feb 4, 2022
  3. ASoC: dt-bindings: Centralize the 'sound-dai' definition

    'sound-dai' is a common property, but has duplicate type definitions.
    Create a new common definition to define the type and then update all
    the other occurrences to just define how many entries there are just
    like other phandle+arg properties.
    
    The constraints on the number of entries is based on the examples and
    could be wrong.
    
    Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Jerome Brunet <jbrunet@baylibre.com>
    Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Acked-by: Mark Brown <broonie@kernel.org>
    Link: https://lore.kernel.org/r/20220126231427.1638089-1-robh@kernel.org
    robherring committed Feb 4, 2022
  4. dt-bindings: arm,cci-400: Add interrupt controller to example

    In order to parse the 'interrupts' an interrupt provider node is needed.
    That is because the example is a full example (starting with root node)
    and on those we don't guess and generate a fake provider.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220126231146.1632819-1-robh@kernel.org
    robherring committed Feb 4, 2022
  5. dt-bindings: remoteproc: ti: Add mailbox provider nodes to example

    In order to make the 'mboxes' property in the TI remoteproc examples
    parseable, mailbox provider nodes are needed. Normally, the examples
    have a __fixup__ node which can be used for determining each
    phandle+arg entry. However, for this binding the arg cells contain a
    phandle, and the __fixups__ information can't be used.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220119181053.3846613-1-robh@kernel.org
    robherring committed Feb 4, 2022
  6. dt-bindings: watchdog: fsl-imx7ulp-wdt: Fix assigned-clock-parents

    The schema has a typo with 'assigned-clocks-parents'. As it is not
    required to list assigned clocks in bindings, just drop the assigned-clocks
    property definitions to fix this.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Guenter Roeck <linux@roeck-us.net>
    Link: https://lore.kernel.org/r/20220120172333.1628990-1-robh@kernel.org
    robherring committed Feb 4, 2022
  7. dt-bindings: net: ti,k3-am654-cpts: Fix assigned-clock-parents

    The schema has a typo with 'assigned-clocks-parents'. As it is not
    required to list assigned clocks in bindings, just drop the assigned-clocks
    property definitions to fix this
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220120172319.1628500-1-robh@kernel.org
    robherring committed Feb 4, 2022
  8. dt-bindings: i2c: stm32-i2c: Move st,syscfg-fmp definition to top level

    It is preferred to define all properties in the main schema and leave
    if/then/else schemas to just be further constraints on properties.
    
    Rework the schema to use be more specific for each cell. Previously,
    multiple entries of 3 cells each was allowed.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220119174407.3810088-1-robh@kernel.org
    robherring committed Feb 4, 2022
  9. dt-bindings: ingenic,i2c: Rework interrupts in example

    In order to determine the number of interrupt cells in examples, the
    examples will require all 'interrupts' properties to use the same number
    of cells or have explicit interrupt provider node(s). As the former is
    simpler, update the Ingenic example to use 2 interrupt cells everywhere.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220119174349.3809513-1-robh@kernel.org
    robherring committed Feb 4, 2022
  10. dt-bindings: nvmem: qcom,spmi-sdam: Drop child node schema

    Drop the child node schema. The schema for child nodes is already
    defined by nvmem.yaml and doesn't need to be duplicated in the
    qcom,spmi-sdam schema.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220119151135.3598392-1-robh@kernel.org
    robherring committed Feb 4, 2022
  11. dt-bindings: i2c: imx: Make each example a separate entry

    Each independent example should be a separate entry. This allows for
    'interrupts' to have different cell sizes.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
    Link: https://lore.kernel.org/r/20220119015253.2437352-1-robh@kernel.org
    robherring committed Feb 4, 2022
  12. dt-bindings: i2c: mpc: Make each example a separate entry

    Each independent example should be a separate entry. This allows for
    'interrupts' to have different cell sizes.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220119015234.2436754-1-robh@kernel.org
    robherring committed Feb 4, 2022
  13. dt-bindings: Improve phandle-array schemas

    The 'phandle-array' type is a bit ambiguous. It can be either just an
    array of phandles or an array of phandles plus args. Many schemas for
    phandle-array properties aren't clear in the schema which case applies
    though the description usually describes it.
    
    The array of phandles case boils down to needing:
    
    items:
      maxItems: 1
    
    The phandle plus args cases should typically take this form:
    
    items:
      - items:
          - description: A phandle
          - description: 1st arg cell
          - description: 2nd arg cell
    
    With this change, some examples need updating so that the bracketing of
    property values matches the schema.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
    Acked-by: Vinod Koul <vkoul@kernel.org>
    Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
    Acked-by: Georgi Djakov <djakov@kernel.org>
    Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Acked-by: Mark Brown <broonie@kernel.org>
    Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    Acked-by: Stephen Boyd <sboyd@kernel.org>
    Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Link: https://lore.kernel.org/r/20220119015038.2433585-1-robh@kernel.org
    robherring committed Feb 4, 2022

Commits on Jan 23, 2022

  1. dt-bindings: dmaengine: zynqmp_dma: convert to yaml

    Convert the Xilinx ZynqMP DMA engine bindings to Yaml.
    
    Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220112151541.1328732-2-m.tretter@pengutronix.de
    tretter authored and robherring committed Jan 23, 2022
  2. dt-bindings: msm/mdp4: convert to yaml format

    Convert mdp4 binding into yaml format.
    
    Signed-off-by: David Heidelberg <david@ixit.cz>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220109171814.16103-1-david@ixit.cz
    okias authored and robherring committed Jan 23, 2022
  3. dt-bindings: serial: Convert rda,8810pl-uart to YAML

    Convert RDA Micro UART bindings to DT schema format.
    
    Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20220109170321.GA12989@standask-GA-A55M-S2HP
    Stanislav Jakubek authored and robherring committed Jan 23, 2022
  4. Linux 5.17-rc1

    torvalds committed Jan 23, 2022
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
Older