1. Apr 30, 2022
    • Yang Jihong's avatar
      perf tools: Add missing headers needed by util/data.h · 4d27cf1d
      Yang Jihong authored
      'struct perf_data' in util/data.h uses the "u64" data type, which is
      defined in "linux/types.h".
      
      If we only include util/data.h, the following compilation error occurs:
      
        util/data.h:38:3: error: unknown type name ‘u64’
           u64    version;
           ^~~
      
      Solution: include "linux/types.h." to add the needed type definitions.
      
      Fixes: 258031c0
      
       ("perf header: Add DIR_FORMAT feature to describe directory data")
      Signed-off-by: default avatarYang Jihong <yangjihong1@huawei.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Link: https://lore.kernel.org/r/20220429090539.212448-1-yangjihong1@huawei.com
      
      
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      4d27cf1d
    • Arnaldo Carvalho de Melo's avatar
      Merge remote-tracking branch 'torvalds/master' into perf/core · 3297e554
      Arnaldo Carvalho de Melo authored
      
      
      To pick up fixes from perf/urgent.
      
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      3297e554
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-5.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 8013d1d3
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
      
       - A fix for a regression caused by the previous set of bugfixes
         changing tegra and at91 pinctrl properties.
      
         More work is needed to figure out what this should actually be, but a
         revert makes it work for the moment.
      
       - Defconfig regression fixes for tegra after renamed symbols
      
       - Build-time warning and static checker fixes for imx, op-tee, sunxi,
         meson, at91, and omap
      
       - More at91 DT fixes for audio, regulator and spi nodes
      
       - A regression fix for Renesas Hyperflash memory probe
      
       - A stability fix for amlogic boards, modifying the allowed cpufreq
         states
      
       - Multiple fixes for system suspend on omap2+
      
       - DT fixes for various i.MX bugs
      
       - A probe error fix for imx6ull-colibri MMC
      
       - A MAINTAINERS file entry for samsung bug reports
      
      * tag 'soc-fixes-5.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (42 commits)
        Revert "arm: dts: at91: Fix boolean properties with values"
        bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
        Revert "arm64: dts: tegra: Fix boolean properties with values"
        arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock
        ARM: dts: imx6ull-colibri: fix vqmmc regulator
        MAINTAINERS: add Bug entry for Samsung and memory controller drivers
        memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode
        ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35
        ARM: dts: am3517-evm: Fix misc pinmuxing
        ARM: dts: am33xx-l4: Add missing touchscreen clock properties
        ARM: dts: Fix mmc order for omap3-gta04
        ARM: dts: at91: fix pinctrl phandles
        ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name
        ARM: dts: at91: Describe regulators on at91sam9g20ek
        ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek
        ARM: dts: at91: Fix boolean properties with values
        ARM: dts: at91: use generic node name for dataflash
        ARM: dts: at91: align SPI NOR node name with dtschema
        ARM: dts: at91: sama7g5ek: Align the impedance of the QSPI0's HSIO and PCB lines
        ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines
        ...
      8013d1d3
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · c0e6265e
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "A semi-large pile of clk driver fixes this time around.
      
        Nothing is touching the core so these fixes are fairly well contained
        to specific devices that use these clk drivers.
      
         - Some Allwinner SoC fixes to gracefully handle errors and mark an
           RTC clk as critical so that the RTC keeps ticking.
      
         - Fix AXI bus clks and RTC clk design for Microchip PolarFire SoC
           driver introduced this cycle. This has some devicetree bits acked
           by riscv maintainers. We're fixing it now so that the prior
           bindings aren't released in a major kernel version.
      
         - Remove a reset on Microchip PolarFire SoCs that broke when enabling
           CONFIG_PM.
      
         - Set a min/max for the Qualcomm graphics clk. This got broken by the
           clk rate range patches introduced this cycle"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
        clk: sunxi-ng: sun6i-rtc: Mark rtc-32k as critical
        riscv: dts: microchip: reparent mpfs clocks
        clk: microchip: mpfs: add RTCREF clock control
        clk: microchip: mpfs: re-parent the configurable clocks
        dt-bindings: rtc: add refclk to mpfs-rtc
        dt-bindings: clk: mpfs: add defines for two new clocks
        dt-bindings: clk: mpfs document msspll dri registers
        riscv: dts: microchip: fix usage of fic clocks on mpfs
        clk: microchip: mpfs: mark CLK_ATHENA as critical
        clk: microchip: mpfs: fix parents for FIC clocks
        clk: qcom: clk-rcg2: fix gfx3d frequency calculation
        clk: microchip: mpfs: don't reset disabled peripherals
        clk: sunxi-ng: fix not NULL terminated coccicheck error
      c0e6265e
    • Linus Torvalds's avatar
      Merge tag 'block-5.18-2022-04-29' of git://git.kernel.dk/linux-block · bd3d3ade
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Revert of a patch that caused timestamp issues (Tejun)
      
       - iocost warning fix (Tejun)
      
       - bfq warning fix (Jan)
      
      * tag 'block-5.18-2022-04-29' of git://git.kernel.dk/linux-block:
        bfq: Fix warning in bfqq_request_over_limit()
        Revert "block: inherit request start time from bio for BLK_CGROUP"
        iocost: don't reset the inuse weight of under-weighted debtors
      bd3d3ade
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.18-2022-04-29' of git://git.kernel.dk/linux-block · 63b7b3ea
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Pretty boring:
      
         - three patches just adding reserved field checks (me, Eugene)
      
         - Fixing a potential regression with IOPOLL caused by a block change
           (Joseph)"
      
      Boring is good.
      
      * tag 'io_uring-5.18-2022-04-29' of git://git.kernel.dk/linux-block:
        io_uring: check that data field is 0 in ringfd unregister
        io_uring: fix uninitialized field in rw io_kiocb
        io_uring: check reserved fields for recv/recvmsg
        io_uring: check reserved fields for send/sendmsg
      63b7b3ea
    • Linus Torvalds's avatar
      Merge tag 'random-5.18-rc5-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random · bdda8303
      Linus Torvalds authored
      Pull random number generator fixes from Jason Donenfeld:
      
       - Eric noticed that the memmove() in crng_fast_key_erasure() was bogus,
         so this has been changed to a memcpy() and the confusing situation
         clarified with a detailed comment.
      
       - [Half]SipHash documentation updates from Bagas and Eric, after Eric
         pointed out that the use of HalfSipHash in random.c made a bit of the
         text potentially misleading.
      
      * tag 'random-5.18-rc5-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random:
        Documentation: siphash: disambiguate HalfSipHash algorithm from hsiphash functions
        Documentation: siphash: enclose HalfSipHash usage example in the literal block
        Documentation: siphash: convert danger note to warning for HalfSipHash
        random: document crng_fast_key_erasure() destination possibility
      bdda8303
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.18-rc5' of https://github.com/ceph/ceph-client · bd383b8e
      Linus Torvalds authored
      Pull ceph client fixes from Ilya Dryomov:
       "A fix for a NULL dereference that turns out to be easily triggerable
        by fsync (marked for stable) and a false positive WARN and snap_rwsem
        locking fixups"
      
      * tag 'ceph-for-5.18-rc5' of https://github.com/ceph/ceph-client:
        ceph: fix possible NULL pointer dereference for req->r_session
        ceph: remove incorrect session state check
        ceph: get snap_rwsem read lock in handle_cap_export for ceph_add_cap
        libceph: disambiguate cluster/pool full log message
      bd383b8e
    • Arnd Bergmann's avatar
      Revert "arm: dts: at91: Fix boolean properties with values" · adee8aa2
      Arnd Bergmann authored
      This reverts commit 0dc23d1a
      
      , which caused another regression
      as the pinctrl code actually expects an integer value of 0 or 1
      rather than a simple boolean property.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      adee8aa2
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-fixes-for-v5.18-2022-04-29' of... · 3e71713c
      Linus Torvalds authored
      Merge tag 'perf-tools-fixes-for-v5.18-2022-04-29' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull perf tools fixes from Arnaldo Carvalho de Melo:
      
       - Fix Intel PT (Processor Trace) timeless decoding with perf.data
         directory.
      
       - ARM SPE (Statistical Profiling Extensions) address fixes, for
         synthesized events and for SPE events with physical addresses. Add a
         simple 'perf test' entry to make sure this doesn't regress.
      
       - Remove arch specific processing of kallsyms data to fixup symbol end
         address, fixing excessive memory consumption in the annotation code.
      
      * tag 'perf-tools-fixes-for-v5.18-2022-04-29' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf symbol: Remove arch__symbols__fixup_end()
        perf symbol: Update symbols__fixup_end()
        perf symbol: Pass is_kallsyms to symbols__fixup_end()
        perf test: Add perf_event_attr test for Arm SPE
        perf arm-spe: Fix SPE events with phys addresses
        perf arm-spe: Fix addresses of synthesized SPE events
        perf intel-pt: Fix timeless decoding with perf.data directory
      3e71713c
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 2d0de93c
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A fix to properly ensure a single CPU is running during patch_text().
      
       - A defconfig update to include RPMSG_CTRL when RPMSG_CHAR was set,
         necessary after a recent refactoring.
      
      * tag 'riscv-for-linus-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        RISC-V: configs: Configs that had RPMSG_CHAR now get RPMSG_CTRL
        riscv: patch_text: Fixup last cpu should be master
      2d0de93c
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 66c2112b
      Linus Torvalds authored
      Pull arm64 fix from Will Deacon:
       "Rename and reallocate the PT_ARM_MEMTAG_MTE ELF segment type.
      
        This is a fix to the MTE ELF ABI for a bug that was added during the
        most recent merge window as part of the coredump support.
      
        The issue is that the value assigned to the new PT_ARM_MEMTAG_MTE
        segment type has already been allocated to PT_AARCH64_UNWIND by the
        ELF ABI, so we've bumped the value and changed the name of the
        identifier to be better aligned with the existing one"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        elf: Fix the arm64 MTE ELF segment name and value
      66c2112b
  2. Apr 29, 2022
  3. Apr 28, 2022
    • Rafael J. Wysocki's avatar
      Merge branch 'thermal-int340x' · a12475f9
      Rafael J. Wysocki authored
      Merge a fix for the attr.show callback prototype in the int340x thermal
      driver (Kees Cook).
      
      * thermal-int340x:
        thermal: int340x: Fix attr.show callback prototype
      a12475f9
    • Florian Westphal's avatar
      netfilter: nft_socket: only do sk lookups when indev is available · 743b83f1
      Florian Westphal authored
      Check if the incoming interface is available and NFT_BREAK
      in case neither skb->sk nor input device are set.
      
      Because nf_sk_lookup_slow*() assume packet headers are in the
      'in' direction, use in postrouting is not going to yield a meaningful
      result.  Same is true for the forward chain, so restrict the use
      to prerouting, input and output.
      
      Use in output work if a socket is already attached to the skb.
      
      Fixes: 554ced0a
      
       ("netfilter: nf_tables: add support for native socket matching")
      Reported-and-tested-by: default avatarTopi Miettinen <toiwoton@gmail.com>
      Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      743b83f1
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpuidle' · edbd9772
      Rafael J. Wysocki authored
      Merge cpuidle fixes for 5.18-rc5:
      
       - Make intel_idle enable C1E promotion on all CPUs when C1E is
         preferred to C1 (Artem Bityutskiy).
      
       - Make C6 optimization on Sapphire Rapids added recently work as
         expected if both C1E and C1 are "preferred" (Artem Bityutskiy).
      
      * pm-cpuidle:
        intel_idle: Fix SPR C6 optimization
        intel_idle: Fix the 'preferred_cstates' module parameter
      edbd9772
    • Namhyung Kim's avatar
      perf symbol: Remove arch__symbols__fixup_end() · a5d20d42
      Namhyung Kim authored
      Now the generic code can handle kallsyms fixup properly so no need to
      keep the arch-functions anymore.
      
      Fixes: 3cf6a32f
      
       ("perf symbols: Fix symbol size calculation condition")
      Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
      Acked-by: default avatarIan Rogers <irogers@google.com>
      Cc: Heiko Carstens <hca@linux.ibm.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.garry@huawei.com>
      Cc: Leo Yan <leo.yan@linaro.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Michael Petlan <mpetlan@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Song Liu <songliubraving@fb.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: linux-s390@vger.kernel.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Link: https://lore.kernel.org/r/20220416004048.1514900-4-namhyung@kernel.org
      
      
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      a5d20d42