1. 15 Jan, 2021 1 commit
    • Alexander Lobakin's avatar
      MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section · 8ac7c87a
      Alexander Lobakin authored
      MIPS uses its own declaration of rwdata, and thus it should be kept
      in sync with the asm-generic one. Currently PAGE_ALIGNED_DATA() is
      missing from the linker script, which emits the following ld
      warnings:
      
      mips-alpine-linux-musl-ld: warning: orphan section
      `.data..page_aligned' from `arch/mips/kernel/vdso.o' being placed
      in section `.data..page_aligned'
      mips-alpine-linux-musl-ld: warning: orphan section
      `.data..page_aligned' from `arch/mips/vdso/vdso-image.o' being placed
      in section `.data..page_aligned'
      
      Add the necessary declaration, so the mentioned structures will be
      placed in vmlinux as intended:
      
      ffffffff80630580 D __end_once
      ffffffff80630580 D __start___dyndbg
      ffffffff80630580 D __start_once
      ffffffff80630580 D __stop___dyndbg
      ffffffff80634000 d mips_vdso_data
      ffffffff80638000 d vdso_data
      ffffffff80638580 D _gp
      ffffffff8063c000 T __init_begin
      ffffffff8063c000 D _edata
      ffffffff8063c000 T _sinittext
      
      ->
      
      ffffffff805a4000 D __end_init_task
      ffffffff805a4000 D __nosave_begin
      ffffffff805a4000 D __nosave_end
      ffffffff805a4000 d mips_vdso_data
      ffffffff805a8000 d vdso_data
      ffffffff805ac000 D mmlist_lock
      ffffffff805ac080 D tasklist_lock
      
      Fixes: ebb5e78c ("MIPS: Initial implementation of a VDSO")
      Signed-off-by: default avatarAlexander Lobakin <alobakin@pm.me>
      Reviewed-by: default avatarKees Cook <keescook@chromium.org>
      Reviewed-by: default avatarNathan Chancellor <natechancellor@gmail.com>
      Cc: stable@vger.kernel.org # 4.4+
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      8ac7c87a
  2. 13 Jan, 2021 5 commits
  3. 09 Jan, 2021 1 commit
  4. 07 Jan, 2021 7 commits
  5. 04 Jan, 2021 7 commits
  6. 28 Dec, 2020 3 commits
  7. 27 Dec, 2020 8 commits
  8. 26 Dec, 2020 5 commits
  9. 25 Dec, 2020 3 commits
    • Linus Torvalds's avatar
      drm/amd/display: avoid uninitialized variable warning · 61d79136
      Linus Torvalds authored
      clang (quite rightly) complains fairly loudly about the newly added
      mpc1_get_mpc_out_mux() function returning an uninitialized value if the
      'opp_id' checks don't pass.
      
      This may not happen in practice, but the code really shouldn't return
      garbage if the sanity checks don't pass.
      
      So just initialize 'val' to zero to avoid the issue.
      
      Fixes: 110b055b ("drm/amd/display: add getter routine to retrieve mpcc mux")
      Cc: Josip Pavic <Josip.Pavic@amd.com>
      Cc: Bindu Ramamurthy <bindu.r@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      61d79136
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-2020-12-24' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux · 5814bc2d
      Linus Torvalds authored
      Pull more perf tools updates from Arnaldo Carvalho de Melo:
      
       - Refactor 'perf stat' per CPU/socket/die/thread aggregation fixing use
         cases in ARM machines.
      
       - Fix memory leak when synthesizing SDT probes in 'perf probe'.
      
       - Update kernel header copies related to KVM, epol_pwait. msr-index and
         powerpc and s390 syscall tables.
      
      * tag 'perf-tools-2020-12-24' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (24 commits)
        perf probe: Fix memory leak when synthesizing SDT probes
        perf stat aggregation: Add separate thread member
        perf stat aggregation: Add separate core member
        perf stat aggregation: Add separate die member
        perf stat aggregation: Add separate socket member
        perf stat aggregation: Add separate node member
        perf stat aggregation: Start using cpu_aggr_id in map
        perf cpumap: Drop in cpu_aggr_map struct
        perf cpumap: Add new map type for aggregation
        perf stat: Replace aggregation ID with a struct
        perf cpumap: Add new struct for cpu aggregation
        perf cpumap: Use existing allocator to avoid using malloc
        perf tests: Improve topology test to check all aggregation types
        perf tools: Update s390's syscall.tbl copy from the kernel sources
        perf tools: Update powerpc's syscall.tbl copy from the kernel sources
        perf s390: Move syscall.tbl check into check-headers.sh
        perf powerpc: Move syscall.tbl check to check-headers.sh
        tools headers UAPI: Synch KVM's svm.h header with the kernel
        tools kvm headers: Update KVM headers from the kernel sources
        tools headers UAPI: Sync KVM's vmx.h header with the kernel sources
        ...
      5814bc2d
    • Linus Torvalds's avatar
      Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux · 42dc45e8
      Linus Torvalds authored
      Pull coccinelle updates from Julia Lawall.
      
      * 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
        scripts: coccicheck: Correct usage of make coccicheck
        coccinelle: update expiring email addresses
        coccinnelle: Remove ptr_ret script
        kbuild: do not use scripts/ld-version.sh for checking spatch version
        remove boolinit.cocci
      42dc45e8