Skip to content
  1. Jul 28, 2022
    • Saravana Kannan's avatar
      ARM: 9220/1: amba: Remove deferred device addition · f2d3b9a4
      Saravana Kannan authored
      
      
      The uevents generated for an amba device need PID and CID information
      that's available only when the amba device is powered on, clocked and
      out of reset. So, if those resources aren't available, the information
      can't be read to generate the uevents. To workaround this requirement,
      if the resources weren't available, the device addition was deferred and
      retried periodically.
      
      However, this deferred addition retry isn't based on resources becoming
      available. Instead, it's retried every 5 seconds and causes arbitrary
      probe delays for amba devices and their consumers.
      
      Also, maintaining a separate deferred-probe like mechanism is
      maintenance headache.
      
      With this commit, instead of deferring the device addition, we simply
      defer the generation of uevents for the device and probing of the device
      (because drivers needs PID and CID to match) until the PID and CID
      information can be read. This allows us to delete all the amba specific
      deferring code and also avoid the arbitrary probing delays.
      
      Cc: Rob Herring <robh@kernel.org>
      Cc: Ulf Hansson <ulf.hansson@linaro.org>
      Cc: Saravana Kannan <saravanak@google.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Sudeep Holla <sudeep.holla@arm.com>
      Cc: Nicolas Saenz Julienne <nsaenz@kernel.org>
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Cc: Marek Szyprowski <m.szyprowski@samsung.com>
      Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: patches@armlinux.org.uk
      Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
      Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Tested-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
      Tested-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      f2d3b9a4
    • Ben Dooks's avatar
      ARM: 9219/1: fix undeclared soft_restart · fe520635
      Ben Dooks authored
      
      
      The soft_restart() is declared in <asm/system_misc.h> so
      include that to fix the following sparse warning:
      
      arch/arm/kernel/reboot.c:78:6: warning: symbol 'soft_restart' was not declared. Should it be static?
      
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      fe520635
    • Ben Dooks's avatar
      ARM: 9218/1: dma-mapping: fix pointer/integer warning · 34370214
      Ben Dooks authored
      
      
      Fix the use of a pointer assignment from integer where false
      is being used instead of NULL. Fix the following warning by
      usign NULL:
      
      arch/arm/mm/dma-mapping.c:712:52: warning: Using plain integer as NULL pointer
      
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      34370214
    • Ben Dooks's avatar
      ARM: 9217/1: add definition of arch_irq_work_raise() · b97abb4d
      Ben Dooks authored
      
      
      The arm <asm/irq_work.h> does not define arch_irq_work_raise()
      so is triggering the following sparse warning. Add a definiton
      to fix this:
      
      kernel/irq_work.c:70:13: warning: symbol 'arch_irq_work_raise' was not declared. Should it be static?
      arch/arm/kernel/smp.c:582:6: warning: symbol 'arch_irq_work_raise' was not declared. Should it be static?
      
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      b97abb4d
    • Lecopzer Chen's avatar
      ARM: 9203/1: kconfig: fix MODULE_PLTS for KASAN with KASAN_VMALLOC · 8fa7ea40
      Lecopzer Chen authored
      
      
      When we run out of module space address with ko insertion,
      and with MODULE_PLTS, module would turn to try to find memory
      from VMALLOC address space.
      
      Unfortunately, with KASAN enabled, VMALLOC doesn't work without
      KASAN_VMALLOC, thus select KASAN_VMALLOC by default.
      
      8<--- cut here ---
       Unable to handle kernel paging request at virtual address bd300860
       [bd300860] *pgd=41cf1811, *pte=41cf26df, *ppte=41cf265f
       Internal error: Oops: 80f [#1] PREEMPT SMP ARM
       Modules linked in: hello(O+)
       CPU: 0 PID: 89 Comm: insmod Tainted: G           O      5.16.0-rc6+ #19
       Hardware name: Generic DT based system
       PC is at mmioset+0x30/0xa8
       LR is at 0x0
       pc : [<c077ed30>]    lr : [<00000000>]    psr: 20000013
       sp : c451fc18  ip : bd300860  fp : c451fc2c
       r10: f18042cc  r9 : f18042d0  r8 : 00000000
       r7 : 00000001  r6 : 00000003  r5 : 01312d00  r4 : f1804300
       r3 : 00000000  r2 : 00262560  r1 : 00000000  r0 : bd300860
       Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
       Control: 10c5387d  Table: 43e9406a  DAC: 00000051
       Register r0 information: non-paged memory
       Register r1 information: NULL pointer
       Register r2 information: non-paged memory
       Register r3 information: NULL pointer
       Register r4 information: 4887-page vmalloc region starting at 0xf1802000 allocated at load_module+0x14f4/0x32a8
       Register r5 information: non-paged memory
       Register r6 information: non-paged memory
       Register r7 information: non-paged memory
       Register r8 information: NULL pointer
       Register r9 information: 4887-page vmalloc region starting at 0xf1802000 allocated at load_module+0x14f4/0x32a8
       Register r10 information: 4887-page vmalloc region starting at 0xf1802000 allocated at load_module+0x14f4/0x32a8
       Register r11 information: non-slab/vmalloc memory
       Register r12 information: non-paged memory
       Process insmod (pid: 89, stack limit = 0xc451c000)
       Stack: (0xc451fc18 to 0xc4520000)
       fc00:                                                       f18041f0 c04803a4
       fc20: c451fc44 c451fc30 c048053c c0480358 f1804030 01312cff c451fc64 c451fc48
       fc40: c047f330 c0480500 f18040c0 c1b52ccc 00000001 c5be7700 c451fc74 c451fc68
       fc60: f1802098 c047f300 c451fcb4 c451fc78 c026106c f180208c c4880004 00000000
       fc80: c451fcb4 bf001000 c044ff48 c451fec0 f18040c0 00000000 c1b54cc4 00000000
       fca0: c451fdf0 f1804268 c451fe64 c451fcb8 c0264e88 c0260d48 ffff8000 00007fff
       fcc0: f18040c0 c025cd00 c451fd14 00000003 0157f008 f1804258 f180425c f1804174
       fce0: f1804154 f180424c f18041f0 f180414c f1804178 f18041c0 bf0025d4 188a3fa8
       fd00: 0000009e f1804170 f2b18000 c451ff10 c0d92e40 f180416c c451feec 00000001
       fd20: 00000000 c451fec8 c451fe20 c451fed0 f18040cc 00000000 f17ea000 c451fdc0
       fd40: 41b58ab3 c1387729 c0261c28 c047fb5c c451fe2c c451fd60 c0525308 c048033c
       fd60: 188a3fb4 c3ccb090 c451fe00 c3ccb080 00000000 00000000 00016920 00000000
       fd80: c02d0388 c047f55c c02d0388 00000000 c451fddc c451fda0 c02d0388 00000000
       fda0: 41b58ab3 c13a72d0 c0524ff0 c1705f48 c451fdfc c451fdc0 c02d0388 c047f55c
       fdc0: 00016920 00000000 00000003 c1bb2384 c451fdfc c3ccb080 c1bb2384 00000000
       fde0: 00000000 00000000 00000000 00000000 c451fe1c c451fe00 c04e9d70 c1705f48
       fe00: c1b54cc4 c1bbc71c c3ccb080 00000000 c3ccb080 00000000 00000003 c451fec0
       fe20: c451fe64 c451fe30 c0525918 c0524ffc c451feb0 c1705f48 00000000 c1b54cc4
       fe40: b78a3fd0 c451ff60 00000000 0157f008 00000003 c451fec0 c451ffa4 c451fe68
       fe60: c0265480 c0261c34 c451feb0 7fffffff 00000000 00000002 00000000 c4880000
       fe80: 41b58ab3 c138777b c02652cc c04803ec 000a0000 c451ff00 ffffff9c b6ac9f60
       fea0: c451fed4 c1705f48 c04a4a90 b78a3fdc f17ea000 ffffff9c b6ac9f60 c0100244
       fec0: f17ea21a f17ea300 f17ea000 00016920 f1800240 f18000ac f17fb7dc 01316000
       fee0: 013161b0 00002590 01316250 00000000 00000000 00000000 00002580 00000029
       ff00: 0000002a 00000013 00000000 0000000c 00000000 00000000 0157f004 c451ffb0
       ff20: c1719be0 aed6f410 c451ff74 c451ff38 c0c4103c c0c407d0 c451ff84 c451ff48
       ff40: 00000805 c02c8658 c1604230 c1719c30 00000805 0157f004 00000005 c451ffb0
       ff60: c1719be0 aed6f410 c451ffac c451ff78 c0122130 c1705f48 c451ffac 0157f008
       ff80: 00000006 0000005f 0000017b c0100244 c4880000 0000017b 00000000 c451ffa8
       ffa0: c0100060 c02652d8 0157f008 00000006 00000003 0157f008 00000000 b6ac9f60
       ffc0: 0157f008 00000006 0000005f 0000017b 00000000 00000000 aed85f74 00000000
       ffe0: b6ac9cd8 b6ac9cc8 00030200 aecf2d60 a0000010 00000003 00000000 00000000
       Backtrace:
       [<c048034c>] (kasan_poison) from [<c048053c>] (kasan_unpoison+0x48/0x5c)
       [<c04804f4>] (kasan_unpoison) from [<c047f330>] (__asan_register_globals+0x3c/0x64)
        r5:01312cff r4:f1804030
       [<c047f2f4>] (__asan_register_globals) from [<f1802098>] (_sub_I_65535_1+0x18/0xf80 [hello])
        r7:c5be7700 r6:00000001 r5:c1b52ccc r4:f18040c0
       [<f1802080>] (_sub_I_65535_1 [hello]) from [<c026106c>] (do_init_module+0x330/0x72c)
       [<c0260d3c>] (do_init_module) from [<c0264e88>] (load_module+0x3260/0x32a8)
        r10:f1804268 r9:c451fdf0 r8:00000000 r7:c1b54cc4 r6:00000000 r5:f18040c0
        r4:c451fec0
       [<c0261c28>] (load_module) from [<c0265480>] (sys_finit_module+0x1b4/0x1e8)
        r10:c451fec0 r9:00000003 r8:0157f008 r7:00000000 r6:c451ff60 r5:b78a3fd0
        r4:c1b54cc4
       [<c02652cc>] (sys_finit_module) from [<c0100060>] (ret_fast_syscall+0x0/0x1c)
       Exception stack(0xc451ffa8 to 0xc451fff0)
       ffa0:                   0157f008 00000006 00000003 0157f008 00000000 b6ac9f60
       ffc0: 0157f008 00000006 0000005f 0000017b 00000000 00000000 aed85f74 00000000
       ffe0: b6ac9cd8 b6ac9cc8 00030200 aecf2d60
        r10:0000017b r9:c4880000 r8:c0100244 r7:0000017b r6:0000005f r5:00000006
        r4:0157f008
       Code: e92d4100 e1a08001 e1a0e003 e2522040 (a8ac410a)
       ---[ end trace df6e12843197b6f5 ]---
      
      Signed-off-by: default avatarLecopzer Chen <lecopzer.chen@mediatek.com>
      Tested-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      8fa7ea40
    • Lecopzer Chen's avatar
      ARM: 9202/1: kasan: support CONFIG_KASAN_VMALLOC · 565cbaad
      Lecopzer Chen authored
      
      
      Simply make shadow of vmalloc area mapped on demand.
      
      Since the virtual address of vmalloc for Arm is also between
      MODULE_VADDR and 0x100000000 (ZONE_HIGHMEM), which means the shadow
      address has already included between KASAN_SHADOW_START and
      KASAN_SHADOW_END.
      Thus we need to change nothing for memory map of Arm.
      
      This can fix ARM_MODULE_PLTS with KASan, support KASan for higmem
      and support CONFIG_VMAP_STACK with KASan.
      
      Signed-off-by: default avatarLecopzer Chen <lecopzer.chen@mediatek.com>
      Tested-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      565cbaad
  2. Jul 18, 2022
    • Linus Torvalds's avatar
      Linux 5.19-rc7 · ff699273
      Linus Torvalds authored
      v5.19-rc7
      ff699273
    • Linus Torvalds's avatar
      Merge tag 'drm-intel-fixes-2022-07-17' of git://anongit.freedesktop.org/drm/drm-intel · 55ea9bd6
      Linus Torvalds authored
      Pull intel drm build fix from Rodrigo Vivi:
       "Our 'dim' flow has a problem with fixes of fixes getting missed. We
        need to take a look on that later.
      
        Meanwhile, please allow me to quickly propagate this fix for the
        32-bit build issue here upstream"
      
      * tag 'drm-intel-fixes-2022-07-17' of git://anongit.freedesktop.org/drm/drm-intel:
        drm/i915/ttm: fix 32b build
      55ea9bd6
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-fixes-for-v5.19-2022-07-17' of... · f7f4da30
      Linus Torvalds authored
      Merge tag 'perf-tools-fixes-for-v5.19-2022-07-17' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull perf tools fixes from Arnaldo Carvalho de Melo:
      
       - Fix SIGSEGV when processing syscall args in perf.data files in 'perf
         trace'
      
       - Sync kvm, msr-index and cpufeatures headers with the kernel sources
      
       - Fix 'convert perf time to TSC' 'perf test':
           - No need to open events twice
           - Fix finding correct event on hybrid systems
      
      * tag 'perf-tools-fixes-for-v5.19-2022-07-17' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf trace: Fix SIGSEGV when processing syscall args
        perf tests: Fix Convert perf time to TSC test for hybrid
        perf tests: Stop Convert perf time to TSC test opening events twice
        tools arch x86: Sync the msr-index.h copy with the kernel sources
        tools headers cpufeatures: Sync with the kernel sources
        tools headers UAPI: Sync linux/kvm.h with the kernel sources
      f7f4da30
    • Matthew Auld's avatar
      drm/i915/ttm: fix 32b build · ced7866d
      Matthew Auld authored
      
      
      Since segment_pages is no longer a compile time constant, it looks the
      DIV_ROUND_UP(node->size, segment_pages) breaks the 32b build. Simplest
      is just to use the ULL variant, but really we should need not need more
      than u32 for the page alignment (also we are limited by that due to the
      sg->length type), so also make it all u32.
      
      Reported-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Fixes: aff1e0b0
      
       ("drm/i915/ttm: fix sg_table construction")
      Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
      Cc: Nirmoy Das <nirmoy.das@linux.intel.com>
      Reviewed-by: default avatarNirmoy Das <nirmoy.das@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220712174050.592550-1-matthew.auld@intel.com
      (cherry picked from commit 9306b2b2
      
      )
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      ced7866d
  3. Jul 17, 2022
    • Linus Torvalds's avatar
      Merge tag 'perf_urgent_for_v5.19_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2b18593e
      Linus Torvalds authored
      Pull perf fix from Borislav Petkov:
      
       - A single data race fix on the perf event cleanup path to avoid
         endless loops due to insufficient locking
      
      * tag 'perf_urgent_for_v5.19_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/core: Fix data race between perf_event_set_output() and perf_mmap_close()
      2b18593e
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v5.19_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 59c80f05
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - Improve the check whether the kernel supports WP mappings so that it
         can accomodate a XenPV guest due to how the latter is setting up the
         PAT machinery
      
        - Now that the retbleed nightmare is public, here's the first round of
          fallout fixes:
      
            * Fix a build failure on 32-bit due to missing include
      
            * Remove an untraining point in espfix64 return path
      
            * other small cleanups
      
      * tag 'x86_urgent_for_v5.19_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/bugs: Remove apostrophe typo
        um: Add missing apply_returns()
        x86/entry: Remove UNTRAIN_RET from native_irq_return_ldt
        x86/bugs: Mark retbleed_strings static
        x86/pat: Fix x86_has_pat_wp()
        x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit
      59c80f05
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 2eccaca7
      Linus Torvalds authored
      Pull gpio fix from Bartosz Golaszewski:
      
       - fix a configfs attribute of the gpio-sim module
      
      * tag 'gpio-fixes-for-v5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: sim: fix the chip_name configfs item
      2eccaca7
    • Linus Torvalds's avatar
      Merge tag 'input-for-v5.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 8ad4b6fa
      Linus Torvalds authored
      Pull input fixes from Dmitry Torokhov:
      
       - fix Goodix driver to properly behave on the Aya Neo Next
      
       - some more sanity checks in usbtouchscreen driver
      
       - a tweak in wm97xx driver in preparation for remove() to return void
      
       - a clarification in input core regarding units of measurement for
         resolution on touch events.
      
      * tag 'input-for-v5.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: document the units for resolution of size axes
        Input: goodix - call acpi_device_fix_up_power() in some cases
        Input: wm97xx - make .remove() obviously always return 0
        Input: usbtouchscreen - add driver_info sanity check
      8ad4b6fa
    • Linus Torvalds's avatar
      Merge tag 'for-v5.19-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 396df700
      Linus Torvalds authored
      Pull power supply fixes from Sebastian Reichel:
      
       - power-supply core temperature interpolation regression fix for
         incorrect boundaries
      
       - ab8500 needs to destroy its work queues in error paths
      
       - Fix old DT refcount leak in arm-versatile
      
      * tag 'for-v5.19-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
        power: supply: core: Fix boundary conditions in interpolation
        power/reset: arm-versatile: Fix refcount leak in versatile_reboot_probe
        power: supply: ab8500_fg: add missing destroy_workqueue in ab8500_fg_probe
      396df700
    • Naveen N Rao's avatar
      perf trace: Fix SIGSEGV when processing syscall args · 4b335e1e
      Naveen N Rao authored
      
      
      On powerpc, 'perf trace' is crashing with a SIGSEGV when trying to
      process a perf.data file created with 'perf trace record -p':
      
        #0  0x00000001225b8988 in syscall_arg__scnprintf_augmented_string <snip> at builtin-trace.c:1492
        #1  syscall_arg__scnprintf_filename <snip> at builtin-trace.c:1492
        #2  syscall_arg__scnprintf_filename <snip> at builtin-trace.c:1486
        #3  0x00000001225bdd9c in syscall_arg_fmt__scnprintf_val <snip> at builtin-trace.c:1973
        #4  syscall__scnprintf_args <snip> at builtin-trace.c:2041
        #5  0x00000001225bff04 in trace__sys_enter <snip> at builtin-trace.c:2319
      
      That points to the below code in tools/perf/builtin-trace.c:
      	/*
      	 * If this is raw_syscalls.sys_enter, then it always comes with the 6 possible
      	 * arguments, even if the syscall being handled, say "openat", uses only 4 arguments
      	 * this breaks syscall__augmented_args() check for augmented args, as we calculate
      	 * syscall->args_size using each syscalls:sys_enter_NAME tracefs format file,
      	 * so when handling, say the openat syscall, we end up getting 6 args for the
      	 * raw_syscalls:sys_enter event, when we expected just 4, we end up mistakenly
      	 * thinking that the extra 2 u64 args are the augmented filename, so just check
      	 * here and avoid using augmented syscalls when the evsel is the raw_syscalls one.
      	 */
      	if (evsel != trace->syscalls.events.sys_enter)
      		augmented_args = syscall__augmented_args(sc, sample, &augmented_args_size, trace->raw_augmented_syscalls_args_size);
      
      As the comment points out, we should not be trying to augment the args
      for raw_syscalls. However, when processing a perf.data file, we are not
      initializing those properly. Fix the same.
      
      Reported-by: default avatarClaudio Carvalho <cclaudio@linux.ibm.com>
      Signed-off-by: default avatarNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Link: http://lore.kernel.org/lkml/20220707090900.572584-1-naveen.n.rao@linux.vnet.ibm.com
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      4b335e1e
    • Adrian Hunter's avatar
      perf tests: Fix Convert perf time to TSC test for hybrid · deb44a62
      Adrian Hunter authored
      The test does not always correctly determine the number of events for
      hybrids, nor allow for more than 1 evsel when parsing.
      
      Fix by iterating the events actually created and getting the correct
      evsel for the events processed.
      
      Fixes: d9da6f70
      
       ("perf tests: Support 'Convert perf time to TSC' test for hybrid")
      Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Jin Yao <yao.jin@linux.intel.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Thomas Richter <tmricht@linux.ibm.com>
      Link: https://lore.kernel.org/r/20220713123459.24145-3-adrian.hunter@intel.com
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      deb44a62
    • Adrian Hunter's avatar
      perf tests: Stop Convert perf time to TSC test opening events twice · 498c7a54
      Adrian Hunter authored
      Do not call evlist__open() twice.
      
      Fixes: 5bb017d4
      
       ("perf test: Fix error message for test case 71 on s390, where it is not supported")
      Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Thomas Richter <tmricht@linux.ibm.com>
      Link: https://lore.kernel.org/r/20220713123459.24145-2-adrian.hunter@intel.com
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      498c7a54
    • Arnaldo Carvalho de Melo's avatar
      tools arch x86: Sync the msr-index.h copy with the kernel sources · 91d248c3
      Arnaldo Carvalho de Melo authored
      To pick up the changes from these csets:
      
        4ad3278d ("x86/speculation: Disable RRSBA behavior")
        d7caac99
      
       ("x86/cpu/amd: Add Spectral Chicken")
      
      That cause no changes to tooling:
      
        $ tools/perf/trace/beauty/tracepoints/x86_msr.sh > before
        $ cp arch/x86/include/asm/msr-index.h tools/arch/x86/include/asm/msr-index.h
        $ tools/perf/trace/beauty/tracepoints/x86_msr.sh > after
        $ diff -u before after
        $
      
      Just silences this perf build warning:
      
        Warning: Kernel ABI header at 'tools/arch/x86/include/asm/msr-index.h' differs from latest version at 'arch/x86/include/asm/msr-index.h'
        diff -u tools/arch/x86/include/asm/msr-index.h arch/x86/include/asm/msr-index.h
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Link: https://lore.kernel.org/lkml/YtQTm9wsB3hxQWvy@kernel.org
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      91d248c3
    • Arnaldo Carvalho de Melo's avatar
      tools headers cpufeatures: Sync with the kernel sources · f098addb
      Arnaldo Carvalho de Melo authored
      To pick the changes from:
      
        f43b9876 ("x86/retbleed: Add fine grained Kconfig knobs")
        a149180f ("x86: Add magic AMD return-thunk")
        15e67227 ("x86: Undo return-thunk damage")
        369ae6ff ("x86/retpoline: Cleanup some #ifdefery")
        4ad3278d x86/speculation: Disable RRSBA behavior
        26aae8cc x86/cpu/amd: Enumerate BTC_NO
        9756bba2 x86/speculation: Fill RSB on vmexit for IBRS
        3ebc1700 x86/bugs: Add retbleed=ibpb
        2dbb887e x86/entry: Add kernel IBRS implementation
        6b80b59b x86/bugs: Report AMD retbleed vulnerability
        a149180f x86: Add magic AMD return-thunk
        15e67227 x86: Undo return-thunk damage
        a883d624 x86/cpufeatures: Move RETPOLINE flags to word 11
        51802186
      
       x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug
      
      This only causes these perf files to be rebuilt:
      
        CC       /tmp/build/perf/bench/mem-memcpy-x86-64-asm.o
        CC       /tmp/build/perf/bench/mem-memset-x86-64-asm.o
      
      And addresses this perf build warning:
      
        Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
        diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h
        Warning: Kernel ABI header at 'tools/arch/x86/include/asm/disabled-features.h' differs from latest version at 'arch/x86/include/asm/disabled-features.h'
        diff -u tools/arch/x86/include/asm/disabled-features.h arch/x86/include/asm/disabled-features.h
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org
      Link: https://lore.kernel.org/lkml/YtQM40VmiLTkPND2@kernel.org
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      f098addb
    • Arnaldo Carvalho de Melo's avatar
      tools headers UAPI: Sync linux/kvm.h with the kernel sources · eee51fe3
      Arnaldo Carvalho de Melo authored
      To pick the changes in:
      
        1b870fa5
      
       ("kvm: stats: tell userspace which values are boolean")
      
      That just rebuilds perf, as these patches don't add any new KVM ioctl to
      be harvested for the the 'perf trace' ioctl syscall argument
      beautifiers.
      
      This is also by now used by tools/testing/selftests/kvm/, a simple test
      build succeeded.
      
      This silences this perf build warning:
      
        Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
        diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Link: http://lore.kernel.org/lkml/YtQLDvQrBhJNl3n5@kernel.org
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      eee51fe3
    • Linus Torvalds's avatar
      Merge tag 'for-5.19-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 972a278f
      Linus Torvalds authored
      Pull btrfs reverts from David Sterba:
       "Due to a recent report [1] we need to revert the radix tree to xarray
        conversion patches.
      
        There's a problem with sleeping under spinlock, when xa_insert could
        allocate memory under pressure. We use GFP_NOFS so this is a real
        problem that we unfortunately did not discover during review.
      
        I'm sorry to do such change at rc6 time but the revert is IMO the
        safer option, there are patches to use mutex instead of the spin locks
        but that would need more testing. The revert branch has been tested on
        a few setups, all seem ok.
      
        The conversion to xarray will be revisited in the future"
      
      Link: https://lore.kernel.org/linux-btrfs/cover.1657097693.git.fdmanana@suse.com/ [1]
      
      * tag 'for-5.19-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        Revert "btrfs: turn delayed_nodes_tree into an XArray"
        Revert "btrfs: turn name_cache radix tree into XArray in send_ctx"
        Revert "btrfs: turn fs_info member buffer_radix into XArray"
        Revert "btrfs: turn fs_roots_radix in btrfs_fs_info into an XArray"
      972a278f
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · c5fe7a97
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Six small and reasonably obvious fixes, all in drivers"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: pm80xx: Set stopped phy's linkrate to Disabled
        scsi: pm80xx: Fix 'Unknown' max/min linkrate
        scsi: ufs: core: Fix missing clk change notification on host reset
        scsi: ufs: core: Drop loglevel of WriteBoost message
        scsi: megaraid: Clear READ queue map's nr_queues
        scsi: target: Fix WRITE_SAME No Data Buffer crash
      c5fe7a97
    • Linus Torvalds's avatar
      Merge tag 'block-5.19-2022-07-15' of git://git.kernel.dk/linux-block · 6bca047e
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Two NVMe fixes, and a regression fix for the core block layer from
        this merge window"
      
      * tag 'block-5.19-2022-07-15' of git://git.kernel.dk/linux-block:
        block: fix missing blkcg_bio_issue_init
        nvme: fix block device naming collision
        nvme-pci: fix freeze accounting for error handling
      6bca047e
    • Linus Torvalds's avatar
      Merge tag 'usb-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 9ed714db
      Linus Torvalds authored
      Pull USB driver fixes from Greg KH:
       "Here are some small USB driver fixes and new device ids for 5.19-rc7.
        They include:
      
         - new usb-serial driver ids
      
         - typec uevent fix
      
         - uvc gadget driver fix
      
         - dwc3 driver fixes
      
         - ehci-fsl driver fix
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: serial: ftdi_sio: add Belimo device ids
        drivers/usb/host/ehci-fsl: Fix interrupt setup in host mode.
        usb: gadget: uvc: fix changing interface name via configfs
        usb: typec: add missing uevent when partner support PD
        usb: dwc3-am62: remove unnecesary clk_put()
        usb: dwc3: gadget: Fix event pending check
      9ed714db
    • Linus Torvalds's avatar
      Merge tag 'tty-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 8c91723a
      Linus Torvalds authored
      Pull tty and serial driver fixes from Greg KH:
       "Here are some TTY and Serial driver fixes for 5.19-rc7. They resolve a
        number of reported problems including:
      
         - longtime bug in pty_write() that has been reported in the past.
      
         - 8250 driver fixes
      
         - new serial device ids
      
         - vt overlapping data copy bugfix
      
         - other tiny serial driver bugfixes
      
        All of these have been in linux-next for a while with no reported
        problems"
      
      * tag 'tty-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()
        tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()
        serial: 8250: dw: Fix the macro RZN1_UART_xDMACR_8_WORD_BURST
        vt: fix memory overlapping when deleting chars in the buffer
        serial: mvebu-uart: correctly report configured baudrate value
        serial: 8250: Fix PM usage_count for console handover
        serial: 8250: fix return error code in serial8250_request_std_resource()
        serial: stm32: Clear prev values before setting RTS delays
        tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver
        serial: 8250: Fix __stop_tx() & DMA Tx restart races
        serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle
        tty: serial: samsung_tty: set dma burst_size to 1
        serial: 8250: dw: enable using pdata with ACPI
      8c91723a
    • Linus Torvalds's avatar
      Merge tag 's390-5.19-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · c658cabb
      Linus Torvalds authored
      Pull s390 fixes from Alexander Gordeev:
      
       - Fix building of out-of-tree kernel modules without a pre-built kernel
         in case CONFIG_EXPOLINE_EXTERN=y.
      
       - Fix a reference counting error that could prevent unloading of zcrypt
         modules.
      
      * tag 's390-5.19-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/ap: fix error handling in __verify_queue_reservations()
        s390/nospec: remove unneeded header includes
        s390/nospec: build expoline.o for modules_prepare target
      c658cabb
    • Linus Torvalds's avatar
      Merge tag 'pm-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ab6efe68
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki
       "Fix recent regression in the cpufreq mediatek driver related to
        incorrect handling of regulator_get_optional() return value
        (AngeloGioacchino Del Regno)"
      
      * tag 'pm-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: mediatek: Handle sram regulator probe deferral
      ab6efe68
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 16c957f0
      Linus Torvalds authored
      Pull ACPI fix from Rafael Wysocki:
       "Fix more fallout from recent changes of the ACPI CPPC handling on AMD
        platforms (Mario Limonciello)"
      
      * tag 'acpi-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: CPPC: Fix enabling CPPC on AMD systems with shared memory
      16c957f0
    • Linus Torvalds's avatar
      Merge tag 'printk-for-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux · be9b7b6a
      Linus Torvalds authored
      Pull printk fix from Petr Mladek:
      
       - Make pr_flush() fast when consoles are suspended.
      
      * tag 'printk-for-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
        printk: do not wait for consoles when suspended
      be9b7b6a
    • Jason A. Donenfeld's avatar
      random: cap jitter samples per bit to factor of HZ · 829d680e
      Jason A. Donenfeld authored
      
      
      Currently the jitter mechanism will require two timer ticks per
      iteration, and it requires N iterations per bit. This N is determined
      with a small measurement, and if it's too big, it won't waste time with
      jitter entropy because it'd take too long or not have sufficient entropy
      anyway.
      
      With the current max N of 32, there are large timeouts on systems with a
      small CONFIG_HZ. Rather than set that maximum to 32, instead choose a
      factor of CONFIG_HZ. In this case, 1/30 seems to yield sane values for
      different configurations of CONFIG_HZ.
      
      Reported-by: default avatarVladimir Murzin <vladimir.murzin@arm.com>
      Fixes: 78c768e6
      
       ("random: vary jitter iterations based on cycle counter speed")
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      Tested-by: default avatarVladimir Murzin <vladimir.murzin@arm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      829d680e
    • Thadeu Lima de Souza Cascardo's avatar
      efi/x86: use naked RET on mixed mode call wrapper · 51a6fa07
      Thadeu Lima de Souza Cascardo authored
      When running with return thunks enabled under 32-bit EFI, the system
      crashes with:
      
        kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
        BUG: unable to handle page fault for address: 000000005bc02900
        #PF: supervisor instruction fetch in kernel mode
        #PF: error_code(0x0011) - permissions violation
        PGD 18f7063 P4D 18f7063 PUD 18ff063 PMD 190e063 PTE 800000005bc02063
        Oops: 0011 [#1] PREEMPT SMP PTI
        CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.19.0-rc6+ #166
        Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
        RIP: 0010:0x5bc02900
        Code: Unable to access opcode bytes at RIP 0x5bc028d6.
        RSP: 0018:ffffffffb3203e10 EFLAGS: 00010046
        RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000048
        RDX: 000000000190dfac RSI: 0000000000001710 RDI: 000000007eae823b
        RBP: ffffffffb3203e70 R08: 0000000001970000 R09: ffffffffb3203e28
        R10: 747563657865206c R11: 6c6977203a696665 R12: 0000000000001710
        R13: 0000000000000030 R14: 0000000001970000 R15: 0000000000000001
        FS:  0000000000000000(0000) GS:ffff8e013ca00000(0000) knlGS:0000000000000000
        CS:  0010 DS: 0018 ES: 0018 CR0: 0000000080050033
        CR2: 000000005bc02900 CR3: 0000000001930000 CR4: 00000000000006f0
        Call Trace:
         ? efi_set_virtual_address_map+0x9c/0x175
         efi_enter_virtual_mode+0x4a6/0x53e
         start_kernel+0x67c/0x71e
         x86_64_start_reservations+0x24/0x2a
         x86_64_start_kernel+0xe9/0xf4
         secondary_startup_64_no_verify+0xe5/0xeb
      
      That's because it cannot jump to the return thunk from the 32-bit code.
      
      Using a naked RET and marking it as safe allows the system to proceed
      booting.
      
      Fixes: aa3d4803
      
       ("x86: Use return-thunk in asm code")
      Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: Josh Poimboeuf <jpoimboe@kernel.org>
      Cc: <stable@vger.kernel.org>
      Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      51a6fa07
  4. Jul 16, 2022
    • Kim Phillips's avatar
      x86/bugs: Remove apostrophe typo · bcf16315
      Kim Phillips authored
      Remove a superfluous ' in the mitigation string.
      
      Fixes: e8ec1b6e
      
       ("x86/bugs: Enable STIBP for JMP2RET")
      Signed-off-by: default avatarKim Phillips <kim.phillips@amd.com>
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      bcf16315
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 9b59ec8d
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A fix to avoid printing a warning when modules do not exercise any
         errata-dependent behavior and the SiFive errata are enabled.
      
       - A fix to the Microchip PFSOC to attach the L2 cache to the CPU nodes.
      
      * tag 'riscv-for-linus-5.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: don't warn for sifive erratas in modules
        riscv: dts: microchip: hook up the mpfs' l2cache
      9b59ec8d
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · a8ebfcd3
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "RISC-V:
         - Fix missing PAGE_PFN_MASK
      
         - Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests()
      
        x86:
         - Fix for nested virtualization when TSC scaling is active
      
         - Estimate the size of fastcc subroutines conservatively, avoiding
           disastrous underestimation when return thunks are enabled
      
         - Avoid possible use of uninitialized fields of 'struct
           kvm_lapic_irq'
      
        Generic:
         - Mark as such the boolean values available from the statistics file
           descriptors
      
         - Clarify statistics documentation"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: emulate: do not adjust size of fastop and setcc subroutines
        KVM: x86: Fully initialize 'struct kvm_lapic_irq' in kvm_pv_kick_cpu_op()
        Documentation: kvm: clarify histogram units
        kvm: stats: tell userspace which values are boolean
        x86/kvm: fix FASTOP_SIZE when return thunks are enabled
        KVM: nVMX: Always enable TSC scaling for L2 when it was enabled for L1
        RISC-V: KVM: Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests()
        riscv: Fix missing PAGE_PFN_MASK
      a8ebfcd3
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.19-rc7' of https://github.com/ceph/ceph-client · 1ce9d792
      Linus Torvalds authored
      Pull ceph fix from Ilya Dryomov:
       "A folio locking fixup that Xiubo and David cooperated on, marked for
        stable. Most of it is in netfs but I picked it up into ceph tree on
        agreement with David"
      
      * tag 'ceph-for-5.19-rc7' of https://github.com/ceph/ceph-client:
        netfs: do not unlock and put the folio twice
      1ce9d792
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 8006112d
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A few driver specific fixes, none especially remarkable, plus a
        MAINTAINERS file update due to the previous maintainer for the NXP
        FSPI driver having left the company"
      
      * tag 'spi-fix-v5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: cadence-quadspi: Remove spi_master_put() in probe failure path
        MAINTAINERS: change the NXP FSPI driver maintainer.
        spi: amd: Limit max transfer and message size
        spi: aspeed: Fix division by zero
        spi: aspeed: Add dev_dbg() to dump the spi-mem direct mapping descriptor
      8006112d
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-5.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 1c49f281
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "Most of the contents are bugfixes for the devicetree files:
      
         - A Qualcomm MSM8974 pin controller regression, caused by a cleanup
           patch that gets partially reverted here.
      
         - Missing properties for Broadcom BCM49xx to fix timer detection and
           SMP boot.
      
         - Fix touchscreen pinctrl for imx6ull-colibri board
      
         - Multiple fixes for Rockchip rk3399 based machines including the vdu
           clock-rate fix, otg port fix on Quartz64-A and ethernet on
           Quartz64-B
      
         - Fixes for misspelled DT contents causing minor problems on
           imx6qdl-ts7970m, orangepi-zero, sama5d2, kontron-kswitch-d10, and
           ls1028a
      
        And a couple of changes elsewhere:
      
         - Fix binding for Allwinner D1 display pipeline
      
         - Trivial code fixes to the TEE and reset controller driver
           subsystems and the rockchip platform code.
      
         - Multiple updates to the MAINTAINERS files, marking the Palm Treo
           support as orphaned, and fixing some entries for added or changed
           file names"
      
      * tag 'soc-fixes-5.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (21 commits)
        arm64: dts: broadcom: bcm4908: Fix cpu node for smp boot
        arm64: dts: broadcom: bcm4908: Fix timer node for BCM4906 SoC
        ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero
        ARM: dts: at91: sama5d2: Fix typo in i2s1 node
        tee: tee_get_drvdata(): fix description of return value
        optee: Remove duplicate 'of' in two places.
        ARM: dts: kswitch-d10: use open drain mode for coma-mode pins
        ARM: dts: colibri-imx6ull: fix snvs pinmux group
        optee: smc_abi.c: fix wrong pointer passed to IS_ERR/PTR_ERR()
        MAINTAINERS: add polarfire rng, pci and clock drivers
        MAINTAINERS: mark ARM/PALM TREO SUPPORT orphan
        ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
        arm64: dts: ls1028a: Update SFP node to include clock
        dt-bindings: display: sun4i: Fix D1 pipeline count
        ARM: dts: qcom: msm8974: re-add missing pinctrl
        reset: Fix devm bulk optional exclusive control getter
        MAINTAINERS: rectify entry for SYNOPSYS AXS10x RESET CONTROLLER DRIVER
        ARM: rockchip: Add missing of_node_put() in rockchip_suspend_init()
        arm64: dts: rockchip: Assign RK3399 VDU clock rate
        arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior
        ...
      1c49f281
    • David Sterba's avatar
      Revert "btrfs: turn delayed_nodes_tree into an XArray" · 088aea3b
      David Sterba authored
      This reverts commit 253bf575
      
      .
      
      Revert the xarray conversion, there's a problem with potential
      sleep-inside-spinlock [1] when calling xa_insert that triggers GFP_NOFS
      allocation. The radix tree used the preloading mechanism to avoid
      sleeping but this is not available in xarray.
      
      Conversion from spin lock to mutex is possible but at time of rc6 is
      riskier than a clean revert.
      
      [1] https://lore.kernel.org/linux-btrfs/cover.1657097693.git.fdmanana@suse.com/
      
      Reported-by: default avatarFilipe Manana <fdmanana@suse.com>
      Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
      088aea3b
    • David Sterba's avatar
      Revert "btrfs: turn name_cache radix tree into XArray in send_ctx" · 5b8418b8
      David Sterba authored
      This reverts commit 40769420
      
      .
      
      Revert the xarray conversion, there's a problem with potential
      sleep-inside-spinlock [1] when calling xa_insert that triggers GFP_NOFS
      allocation. The radix tree used the preloading mechanism to avoid
      sleeping but this is not available in xarray.
      
      Conversion from spin lock to mutex is possible but at time of rc6 is
      riskier than a clean revert.
      
      [1] https://lore.kernel.org/linux-btrfs/cover.1657097693.git.fdmanana@suse.com/
      
      Reported-by: default avatarFilipe Manana <fdmanana@suse.com>
      Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
      5b8418b8