1. 26 Sep, 2022 8 commits
    • Steven Rostedt (Google)'s avatar
      tracing/filter: Call filter predicate functions directly via a switch statement · fde59ab1
      Steven Rostedt (Google) authored
      Due to retpolines, indirect calls are much more expensive than direct
      calls. The filters have a select set of functions it uses for the
      predicates. Instead of using function pointers to call them, create a
      filter_pred_fn_call() function that uses a switch statement to call the
      predicate functions directly. This gives almost a 10% speedup to the
      filter logic.
      
      Using the histogram benchmark:
      
      Before:
      
       # event histogram
       #
       # trigger info: hist:keys=delta:vals=hitcount:sort=delta:size=2048 if delta > 0 [active]
       #
      
      { delta:        113 } hitcount:        272
      { delta:        114 } hitcount:        840
      { delta:        118 } hitcount:        344
      { delta:        119 } hitcount:      25428
      { delta:        120 } hitcount:     350590
      { delta:        121 } hitcount:    1892484
      { delta:        122 } hitcount:    6205004
      { delta:        123 } hitcount:   11583521
      { delta:        124 } hitcount:   37590979
      { delta:        125 } hitcount:  108308504
      { delta:        126 } hitcount:  131672461
      { delta:        127 } hitcount:   88700598
      { delta:        128 } hitcount:   65939870
      { delta:        129 } hitcount:   45055004
      { delta:        130 } hitcount:   33174464
      { delta:        131 } hitcount:   31813493
      { delta:        132 } hitcount:   29011676
      { delta:        133 } hitcount:   22798782
      { delta:        134 } hitcount:   22072486
      { delta:        135 } hitcount:   17034113
      { delta:        136 } hitcount:    8982490
      { delta:        137 } hitcount:    2865908
      { delta:        138 } hitcount:     980382
      { delta:        139 } hitcount:    1651944
      { delta:        140 } hitcount:    4112073
      { delta:        141 } hitcount:    3963269
      { delta:        142 } hitcount:    1712508
      { delta:        143 } hitcount:     575941
      
      After:
      
       # event histogram
       #
       # trigger info: hist:keys=delta:vals=hitcount:sort=delta:size=2048 if delta > 0 [active]
       #
      
      { delta:        103 } hitcount:         60
      { delta:        104 } hitcount:      16966
      { delta:        105 } hitcount:     396625
      { delta:        106 } hitcount:    3223400
      { delta:        107 } hitcount:   12053754
      { delta:        108 } hitcount:   20241711
      { delta:        109 } hitcount:   14850200
      { delta:        110 } hitcount:    4946599
      { delta:        111 } hitcount:    3479315
      { delta:        112 } hitcount:   18698299
      { delta:        113 } hitcount:   62388733
      { delta:        114 } hitcount:   95803834
      { delta:        115 } hitcount:   58278130
      { delta:        116 } hitcount:   15364800
      { delta:        117 } hitcount:    5586866
      { delta:        118 } hitcount:    2346880
      { delta:        119 } hitcount:    1131091
      { delta:        120 } hitcount:     620896
      { delta:        121 } hitcount:     236652
      { delta:        122 } hitcount:     105957
      { delta:        123 } hitcount:     119107
      { delta:        124 } hitcount:      54494
      { delta:        125 } hitcount:      63856
      { delta:        126 } hitcount:      64454
      { delta:        127 } hitcount:      34818
      { delta:        128 } hitcount:      41446
      { delta:        129 } hitcount:      51242
      { delta:        130 } hitcount:      28361
      { delta:        131 } hitcount:      23926
      
      The peak before was 126ns per event, after the peak is 114ns, and the
      fastest time went from 113ns to 103ns.
      
      Link: https://lkml.kernel.org/r/20220906225529.781407172@goodmis.org
      
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Tom Zanussi <zanussi@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      fde59ab1
    • Steven Rostedt (Google)'s avatar
      tracing: Move struct filter_pred into trace_events_filter.c · 26c4e3d1
      Steven Rostedt (Google) authored
      The structure filter_pred and the typedef of the function used are only
      referenced by trace_events_filter.c. There's no reason to have it in an
      external header file. Move them into the only file they are used in.
      
      Link: https://lkml.kernel.org/r/20220906225529.598047132@goodmis.org
      
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Tom Zanussi <zanussi@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      26c4e3d1
    • Steven Rostedt (Google)'s avatar
      tracing/hist: Call hist functions directly via a switch statement · 86087383
      Steven Rostedt (Google) authored
      Due to retpolines, indirect calls are much more expensive than direct
      calls. The histograms have a select set of functions it uses for the
      histograms, instead of using function pointers to call them, create a
      hist_fn_call() function that uses a switch statement to call the histogram
      functions directly. This gives a 13% speedup to the histogram logic.
      
      Using the histogram benchmark:
      
      Before:
      
       # event histogram
       #
       # trigger info: hist:keys=delta:vals=hitcount:sort=delta:size=2048 if delta > 0 [active]
       #
      
      { delta:        129 } hitcount:       2213
      { delta:        130 } hitcount:     285965
      { delta:        131 } hitcount:    1146545
      { delta:        132 } hitcount:    51854322
      { delta:        133 } hitcount:   19896215
      { delta:        134 } hitcount:   53118616
      { delta:        135 } hitcount:   83816709
      { delta:        136 } hitcount:   68329562
      { delta:        137 } hitcount:   41859349
      { delta:        138 } hitcount:   46257797
      { delta:        139 } hitcount:   54400831
      { delta:        140 } hitcount:   72875007
      { delta:        141 } hitcount:   76193272
      { delta:        142 } hitcount:   49504263
      { delta:        143 } hitcount:   38821072
      { delta:        144 } hitcount:   47702679
      { delta:        145 } hitcount:   41357297
      { delta:        146 } hitcount:   22058238
      { delta:        147 } hitcount:    9720002
      { delta:        148 } hitcount:    3193542
      { delta:        149 } hitcount:     927030
      { delta:        150 } hitcount:     850772
      { delta:        151 } hitcount:    1477380
      { delta:        152 } hitcount:    2687977
      { delta:        153 } hitcount:    2865985
      { delta:        154 } hitcount:    1977492
      { delta:        155 } hitcount:    2475607
      { delta:        156 } hitcount:    3403612
      
      After:
      
       # event histogram
       #
       # trigger info: hist:keys=delta:vals=hitcount:sort=delta:size=2048 if delta > 0 [active]
       #
      
      { delta:        113 } hitcount:        272
      { delta:        114 } hitcount:        840
      { delta:        118 } hitcount:        344
      { delta:        119 } hitcount:      25428
      { delta:        120 } hitcount:     350590
      { delta:        121 } hitcount:    1892484
      { delta:        122 } hitcount:    6205004
      { delta:        123 } hitcount:   11583521
      { delta:        124 } hitcount:   37590979
      { delta:        125 } hitcount:  108308504
      { delta:        126 } hitcount:  131672461
      { delta:        127 } hitcount:   88700598
      { delta:        128 } hitcount:   65939870
      { delta:        129 } hitcount:   45055004
      { delta:        130 } hitcount:   33174464
      { delta:        131 } hitcount:   31813493
      { delta:        132 } hitcount:   29011676
      { delta:        133 } hitcount:   22798782
      { delta:        134 } hitcount:   22072486
      { delta:        135 } hitcount:   17034113
      { delta:        136 } hitcount:    8982490
      { delta:        137 } hitcount:    2865908
      { delta:        138 } hitcount:     980382
      { delta:        139 } hitcount:    1651944
      { delta:        140 } hitcount:    4112073
      { delta:        141 } hitcount:    3963269
      { delta:        142 } hitcount:    1712508
      { delta:        143 } hitcount:     575941
      { delta:        144 } hitcount:     351427
      { delta:        145 } hitcount:     218077
      { delta:        146 } hitcount:     167297
      { delta:        147 } hitcount:     146198
      { delta:        148 } hitcount:     116122
      { delta:        149 } hitcount:      58993
      { delta:        150 } hitcount:      40228
      
      The delta above is in nanoseconds. It brings the fastest time down from
      129ns to 113ns, and the peak from 141ns to 126ns.
      
      Link: https://lkml.kernel.org/r/20220906225529.411545333@goodmis.org
      
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Tom Zanussi <zanussi@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      86087383
    • Steven Rostedt (Google)'s avatar
      tracing: Add numeric delta time to the trace event benchmark · b7b037eb
      Steven Rostedt (Google) authored
      In order to testing filtering and histograms via the trace event
      benchmark, record the delta time of the last event as a numeric value
      (currently, it just saves it within the string) so that filters and
      histograms can use it.
      
      Link: https://lkml.kernel.org/r/20220906225529.213677569@goodmis.org
      
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Tom Zanussi <zanussi@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      b7b037eb
    • Zeng Heng's avatar
      rv/dot2K: add 'static' qualifier for local variable · 4359a011
      Zeng Heng authored
      Following Daniel's suggestion, fix similar warning
      in template files, which would prevent new monitors
      from such warning.
      
      Link: https://lkml.kernel.org/r/20220824034357.2014202-3-zengheng4@huawei.com
      
      Cc: <mingo@redhat.com>
      Fixes:	24bce201 ("tools/rv: Add dot2k")
      Suggested-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
      Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
      Acked-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      4359a011
    • Zeng Heng's avatar
      rv/monitors: add 'static' qualifier for local symbols · 01c44bf8
      Zeng Heng authored
      The sparse tool complains as follows:
      
      kernel/trace/rv/monitors/wwnr/wwnr.c:18:19:
      warning: symbol 'rv_wwnr' was not declared. Should it be static?
      
      The `rv_wwnr` symbol is not dereferenced by other extern files,
      so add static qualifier for it.
      
      So does wip module.
      
      Link: https://lkml.kernel.org/r/20220824034357.2014202-2-zengheng4@huawei.com
      
      Cc: <mingo@redhat.com>
      Fixes:	ccc319dc ("rv/monitor: Add the wwnr monitor")
      Fixes:	8812d212 ("rv/monitor: Add the wip monitor skeleton created by dot2k")
      Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
      Acked-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      01c44bf8
    • Masami Hiramatsu (Google)'s avatar
      selftests/ftrace: Add eprobe syntax error testcase · 9e14bae7
      Masami Hiramatsu (Google) authored
      Add a syntax error test case for eprobe as same as kprobes.
      
      Link: https://lkml.kernel.org/r/165932115471.2850673.8014722990775242727.stgit@devnote2
      
      Cc: Tzvetomir Stoyanov <tz.stoyanov@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Signed-off-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      9e14bae7
    • Masami Hiramatsu (Google)'s avatar
      tracing/eprobe: Add eprobe filter support · 752be5c5
      Masami Hiramatsu (Google) authored
      Add the filter option to the event probe. This is useful if user wants
      to derive a new event based on the condition of the original event.
      
      E.g.
       echo 'e:egroup/stat_runtime_4core sched/sched_stat_runtime \
              runtime=$runtime:u32 if cpu < 4' >> ../dynamic_events
      
      Then it can filter the events only on first 4 cores.
      Note that the fields used for 'if' must be the fields in the original
      events, not eprobe events.
      
      Link: https://lkml.kernel.org/r/165932114513.2850673.2592206685744598080.stgit@devnote2
      
      Cc: Tzvetomir Stoyanov <tz.stoyanov@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Signed-off-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      752be5c5
  2. 25 Sep, 2022 8 commits
  3. 24 Sep, 2022 10 commits
  4. 23 Sep, 2022 14 commits
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · a63f2e7c
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "These are all very simple and self-contained, although the CFI
        jump-table fix touches the generic linker script as that's where the
        problematic macro lives.
      
         - Fix false positive "sleeping while atomic" warning resulting from
           the kPTI rework taking a mutex too early.
      
         - Fix possible overflow in AMU frequency calculation
      
         - Fix incorrect shift in CMN PMU driver which causes problems with
           newer versions of the IP
      
         - Reduce alignment of the CFI jump table to avoid huge kernel images
           and link errors with !4KiB page size configurations"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
        perf/arm-cmn: Add more bits to child node address offset field
        arm64: topology: fix possible overflow in amu_fie_setup()
        arm64: mm: don't acquire mutex when rewriting swapper
      a63f2e7c
    • Masahiro Yamada's avatar
      certs: make system keyring depend on built-in x509 parser · 2154aca2
      Masahiro Yamada authored
      Commit e9088629 ("certs: make system keyring depend on x509 parser")
      is not the right fix because x509_load_certificate_list() can be modular.
      
      The combination of CONFIG_SYSTEM_TRUSTED_KEYRING=y and
      CONFIG_X509_CERTIFICATE_PARSER=m still results in the following error:
      
          LD      .tmp_vmlinux.kallsyms1
        ld: certs/system_keyring.o: in function `load_system_certificate_list':
        system_keyring.c:(.init.text+0x8c): undefined reference to `x509_load_certificate_list'
        make: *** [Makefile:1169: vmlinux] Error 1
      
      Fixes: e9088629 ("certs: make system keyring depend on x509 parser")
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Tested-by: default avatarAdam Borowski <kilobyte@angband.pl>
      2154aca2
    • Zeng Heng's avatar
      Kconfig: remove unused function 'menu_get_root_menu' · 03764b30
      Zeng Heng authored
      There is nowhere calling `menu_get_root_menu` function,
      so remove it.
      Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      03764b30
    • yangxingwu's avatar
      scripts/clang-tools: remove unused module · 237fe727
      yangxingwu authored
      Remove unused imported 'os' module.
      Signed-off-by: default avataryangxingwu <xingwu.yang@gmail.com>
      Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      237fe727
    • Ming Lei's avatar
      cgroup: cgroup_get_from_id() must check the looked-up kn is a directory · df02452f
      Ming Lei authored
      cgroup has to be one kernfs dir, otherwise kernel panic is caused,
      especially cgroup id is provide from userspace.
      Reported-by: default avatarMarco Patalano <mpatalan@redhat.com>
      Fixes: 6b658c48 ("scsi: cgroup: Add cgroup_get_from_id()")
      Cc: Muneendra <muneendra.kumar@broadcom.com>
      Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
      Acked-by: default avatarMukesh Ojha <quic_mojha@quicinc.com>
      Cc: stable@vger.kernel.org # v5.14+
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      df02452f
    • Linus Torvalds's avatar
      Merge tag 'driver-core-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 1707c39a
      Linus Torvalds authored
      Pull driver core fixes from Greg KH:
       "Here are two tiny driver core fixes for 6.0-rc7 that resolve some
        oft-reported problems.
      
        The first is a revert of the "fw_devlink.strict=1" default option that
        we keep trying to enable, but we keep finding platforms that this just
        breaks everything on. So again, we need it reverted and hopefully it
        can be worked on in future releases.
      
        The second is a sysfs file-size bugfix that resolves an issue that
        many people are starting to hit as the fix it is fixing also was
        backported to stable kernels. The util-linux developers are starting
        to get bugreports about sysfs files that contain no data because of
        this problem, and this fix which has been in linux-next in the
        bitfield tree for a long time, resolves it. I'm submitting it here as
        it needs to be merged for 6.0-final, not for 6.1-rc1.
      
        Both of these have been in linux-next with no reported issues, only
        reports were that these fixed problems"
      
      * tag 'driver-core-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
        Revert "driver core: Set fw_devlink.strict=1 by default"
      1707c39a
    • Linus Torvalds's avatar
      Merge tag 'usb-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 33a4e37e
      Linus Torvalds authored
      Pull USB / Thunderbolt driver fixes and ids from Greg KH:
       "Here are a few small USB and Thunderbolt driver fixes and new device
        ids for 6.0-rc7.
      
        They contain:
      
         - new usb-serial driver ids
      
         - documentation build warning fix in USB hub code
      
         - flexcop-usb long-posted bugfix (the v4l maintainer for this is MIA
           so I have finally picked this up as it is a fix for a reported
           problem.)
      
         - dwc3 64bit DMA bugfix
      
         - new thunderbolt device ids
      
         - typec build error fix
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: typec: anx7411: Fix build error without CONFIG_POWER_SUPPLY
        media: flexcop-usb: fix endpoint type check
        USB: serial: option: add Quectel RM520N
        USB: serial: option: add Quectel BG95 0x0203 composition
        thunderbolt: Add support for Intel Maple Ridge single port controller
        usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA
        USB: core: Fix RST error in hub.c
      33a4e37e
    • Linus Torvalds's avatar
      Merge tag 'landlock-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux · 9395cd7c
      Linus Torvalds authored
      Pull landlock fix from Mickaël Salaün:
       "Fix out-of-tree builds for Landlock tests"
      
      * tag 'landlock-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux:
        selftests/landlock: Fix out-of-tree builds
      9395cd7c
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · a7b7751a
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A handful of build fixes for the T-Head errata, including some
         functional issues the compilers found
      
       - A fix for a nasty sigreturn bug
      
      * tag 'riscv-for-linus-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        RISC-V: Avoid coupling the T-Head CMOs and Zicbom
        riscv: fix a nasty sigreturn bug...
        riscv: make t-head erratas depend on MMU
        riscv: fix RISCV_ISA_SVPBMT kconfig dependency warning
        RISC-V: Clean up the Zicbom block size probing
      a7b7751a
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 317fab7e
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "As everyone back came back from conferences, here are the pending
        patches for Linux 6.0.
      
        ARM:
      
         - Fix for kmemleak with pKVM
      
        s390:
      
         - Fixes for VFIO with zPCI
      
         - smatch fix
      
        x86:
      
         - Ensure XSAVE-capable hosts always allow FP and SSE state to be
           saved and restored via KVM_{GET,SET}_XSAVE
      
         - Fix broken max_mmu_rmap_size stat
      
         - Fix compile error with old glibc that doesn't have gettid()"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86: Inject #UD on emulated XSETBV if XSAVES isn't enabled
        KVM: x86: Always enable legacy FP/SSE in allowed user XFEATURES
        KVM: x86: Reinstate kvm_vcpu_arch.guest_supported_xcr0
        KVM: x86/mmu: add missing update to max_mmu_rmap_size
        selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c
        KVM: s390: pci: register pci hooks without interpretation
        KVM: s390: pci: fix GAIT physical vs virtual pointers usage
        KVM: s390: Pass initialized arg even if unused
        KVM: s390: pci: fix plain integer as NULL pointer warnings
        KVM: arm64: Use kmemleak_free_part_phys() to unregister hyp_mem_base
      317fab7e
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.0-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 526e8262
      Linus Torvalds authored
      Pull xen fix from Juergen Gross:
       "A single fix for an issue in the xenbus driver (initialization of
        multi-page rings for Xen PV devices)"
      
      * tag 'for-linus-6.0-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/xenbus: fix xenbus_setup_ring()
      526e8262
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-09-23-1' of git://anongit.freedesktop.org/drm/drm · 22565ae7
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Regular fixes for the week, i915, mediatek, hisilicon, mgag200 and
        panel have some small fixes.
      
        amdgpu has more stack size fixes for clang build, and fixes for new
        IPs, but all with low regression chances since they are for stuff new
        in v6.0.
      
        i915:
         - avoid a general protection failure when using perf/OA
         - avoid kernel warnings on driver release
      
        amdgpu:
         - SDMA 6.x fix
         - GPUVM TF fix
         - DCN 3.2.x fixes
         - DCN 3.1.x fixes
         - SMU 13.x fixes
         - Clang stack size fixes for recently enabled DML code
         - Fix drm dirty callback change on non-atomic cases
         - USB4 display fix
      
        mediatek:
         - dsi: Add atomic {destroy,duplicate}_state, reset callbacks
         - dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
         - Fix wrong dither settings
      
        hisilicon:
         - Depend on MMU
      
        mgag200:
         - Fix console on G200ER
      
        panel:
         - Fix innolux_g121i1_l01 bus format"
      
      * tag 'drm-fixes-2022-09-23-1' of git://anongit.freedesktop.org/drm/drm: (30 commits)
        MAINTAINERS: switch graphics to airlied other addresses
        drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
        drm/amd/display: Reduce number of arguments of dml314's CalculateFlipSchedule()
        drm/amd/display: Reduce number of arguments of dml314's CalculateWatermarksAndDRAMSpeedChangeSupport()
        drm/amdgpu: don't register a dirty callback for non-atomic
        drm/amd/pm: drop the pptable related workarounds for SMU 13.0.0
        drm/amd/pm: add support for 3794 pptable for SMU13.0.0
        drm/amd/display: correct num_dsc based on HW cap
        drm/amd/display: Disable OTG WA for the plane_state NULL case on DCN314
        drm/amd/display: Add shift and mask for ICH_RESET_AT_END_OF_LINE
        drm/amd/display: increase dcn315 pstate change latency
        drm/amd/display: Fix DP MST timeslot issue when fallback happened
        drm/amd/display: Display distortion after hotplug 5K tiled display
        drm/amd/display: Update dummy P-state search to use DCN32 DML
        drm/amd/display: skip audio setup when audio stream is enabled
        drm/amd/display: update gamut remap if plane has changed
        drm/amd/display: Assume an LTTPR is always present on fixed_vs links
        drm/amd/display: fix dcn315 memory channel count and width read
        drm/amd/display: Fix double cursor on non-video RGB MPO
        drm/amd/display: Only consider pixle rate div policy for DCN32+
        ...
      22565ae7
    • Paolo Bonzini's avatar
      Merge tag 'kvm-s390-master-6.0-2' of... · 69604fe7
      Paolo Bonzini authored
      Merge tag 'kvm-s390-master-6.0-2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
      
      More pci fixes
      Fix for a code analyser warning
      69604fe7
    • Will Deacon's avatar
      vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment · 13b05669
      Will Deacon authored
      Due to undocumented, hysterical raisins on x86, the CFI jump-table
      sections in .text are needlessly aligned to PMD_SIZE in the vmlinux
      linker script. When compiling a CFI-enabled arm64 kernel with a 64KiB
      page-size, a PMD maps 512MiB of virtual memory and so the .text section
      increases to a whopping 940MiB and blows the final Image up to 960MiB.
      Others report a link failure.
      
      Since the CFI jump-table requires only instruction alignment, reduce the
      alignment directives to function alignment for parity with other parts
      of the .text section. This reduces the size of the .text section for the
      aforementioned 64KiB page size arm64 kernel to 19MiB for a much more
      reasonable total Image size of 39MiB.
      
      Cc: Sami Tolvanen <samitolvanen@google.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: "Mohan Rao .vanimina" <mailtoc.mohanrao@gmail.com>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Nathan Chancellor <nathan@kernel.org>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/all/CAL_GTzigiNOMYkOPX1KDnagPhJtFNqSK=1USNbS0wUL4PW6-Uw@mail.gmail.com/
      Fixes: cf68fffb ("add support for Clang CFI")
      Reviewed-by: default avatarMark Rutland <mark.rutland@arm.com>
      Tested-by: default avatarMark Rutland <mark.rutland@arm.com>
      Reviewed-by: default avatarSami Tolvanen <samitolvanen@google.com>
      Reviewed-by: default avatarKees Cook <keescook@chromium.org>
      Link: https://lore.kernel.org/r/20220922215715.13345-1-will@kernel.orgSigned-off-by: default avatarWill Deacon <will@kernel.org>
      13b05669