1. 23 Oct, 2023 7 commits
    • Vegard Nossum's avatar
      docs: usb: fix reference to nonexistent file in UVC Gadget · 16794ed3
      Vegard Nossum authored
      Fix a typo in the path of this reference.
      
      Fixes: 094f3910 ("docs: usb: Add documentation for the UVC Gadget")
      Cc: Daniel Scally <dan.scally@ideasonboard.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Message-ID: <20231022185311.919325-1-vegard.nossum@oracle.com>
      16794ed3
    • Vegard Nossum's avatar
      docs: doc-guide: mention 'make refcheckdocs' · 40d35bf9
      Vegard Nossum authored
      Add this to the section on fixing warnings.
      
      Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Message-ID: <20231022184910.919201-1-vegard.nossum@oracle.com>
      40d35bf9
    • Jade Lovelace's avatar
      Documentation: fix typo in dynamic-debug howto · a10874e8
      Jade Lovelace authored
      Signed-off-by: default avatarJade Lovelace <lists@jade.fyi>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Message-ID: <20231019231655.3162225-1-lists@jade.fyi>
      a10874e8
    • Yujie Liu's avatar
      scripts/kernel-doc: match -Werror flag strictly · 91f950e8
      Yujie Liu authored
      In our CI testing, we use some commands as below to only turn a specific
      type of warnings into errors, but we notice that kernel-doc warnings
      are also turned into errors unexpectedly.
      
      $ make KCFLAGS="-Werror=return-type" W=1 kernel/fork.o
      
      kernel/fork.c:1406: warning: Function parameter or member 'mm' not described in 'set_mm_exe_file'
      kernel/fork.c:1406: warning: Function parameter or member 'new_exe_file' not described in 'set_mm_exe_file'
      kernel/fork.c:1441: warning: Function parameter or member 'mm' not described in 'replace_mm_exe_file'
      kernel/fork.c:1441: warning: Function parameter or member 'new_exe_file' not described in 'replace_mm_exe_file'
      kernel/fork.c:1491: warning: Function parameter or member 'mm' not described in 'get_mm_exe_file'
      kernel/fork.c:1510: warning: Function parameter or member 'task' not described in 'get_task_exe_file'
      kernel/fork.c:1534: warning: Function parameter or member 'task' not described in 'get_task_mm'
      kernel/fork.c:2109: warning: bad line:
      kernel/fork.c:2130: warning: Function parameter or member 'ret' not described in '__pidfd_prepare'
      kernel/fork.c:2130: warning: Excess function parameter 'pidfd' description in '__pidfd_prepare'
      kernel/fork.c:2179: warning: Function parameter or member 'ret' not described in 'pidfd_prepare'
      kernel/fork.c:2179: warning: Excess function parameter 'pidfd' description in 'pidfd_prepare'
      kernel/fork.c:3195: warning: expecting prototype for clone3(). Prototype was for sys_clone3() instead
      13 warnings as Errors
      make[3]: *** [scripts/Makefile.build:243: kernel/fork.o] Error 13
      make[3]: *** Deleting file 'kernel/fork.o'
      make[2]: *** [scripts/Makefile.build:480: kernel] Error 2
      make[1]: *** [/root/linux/Makefile:1913: .] Error 2
      make: *** [Makefile:234: __sub-make] Error 2
      
      >From the git history, commit 2c12c810 ("scripts/kernel-doc:
      optionally treat warnings as errors") introduces a new command-line
      option to make kernel-doc warnings into errors. It can also read the
      KCFLAGS environment variable to decide whether to turn this option on,
      but the regex used for matching may not be accurate enough. It can match
      both "-Werror" and "-Werror=<diagnostic-type>", so the option is turned
      on by mistake in the latter case.
      
      Fix this by strictly matching the flag "-Werror": there must be a space
      or start of string in the front, and a space or end of string at the
      end. This can handle all the following cases correctly:
      
      KCFLAGS="-Werror" make W=1 [MATCH]
      KCFLAGS="-Werror=return-type" make W=1 [NO MATCH]
      KCFLAGS="-Wcomment -Werror -Wundef" make W=1 [MATCH]
      KCFLAGS="-Wcomment -Werror=return-type -Wundef" make W=1 [NO MATCH]
      
      Fixes: 2c12c810 ("scripts/kernel-doc: optionally treat warnings as errors")
      Signed-off-by: default avatarYujie Liu <yujie.liu@intel.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Message-ID: <20231019095637.2471840-1-yujie.liu@intel.com>
      91f950e8
    • Charles Han's avatar
      Documentation/sphinx: Remove the repeated word "the" in comments. · 60374870
      Charles Han authored
      Remove the repeated word "the" in comments.
      Signed-off-by: default avatarCharles Han <hanchunchao@inspur.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Message-ID: <20231018023046.30022-1-hanchunchao@inspur.com>
      60374870
    • Min-Hua Chen's avatar
      docs: sparse: add SPDX-License-Identifier · eda5a18e
      Min-Hua Chen authored
      Add SPDX-License-Identifier to fix the checkpatch warning:
      
      WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
      \#26: FILE: Documentation/translations/zh_TW/dev-tools/index.rst:1:
      +.. include:: ../disclaimer-zh_TW.rst
      Signed-off-by: default avatarMin-Hua Chen <minhuadotchen@gmail.com>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202310110859.tumJoXFl-lkp@intel.com/Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Message-ID: <20231011233757.181652-1-minhuadotchen@gmail.com>
      eda5a18e
    • Tang Yizhou's avatar
      docs/zh_CN: Add subsystem-apis Chinese translation · 4c38b676
      Tang Yizhou authored
      Translate subsystem-apis.rst into Chinese.
      
      The existence of this document is crucial. Without it, other Chinese
      documents included in (such as sched-design-CFS.rst) will not be
      displayed correctly in the left side of the web page.
      Signed-off-by: default avatarTang Yizhou <yizhou.tang@shopee.com>
      Reviewed-by: default avatarYanteng Si <siyanteng@loongson.cn>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      Message-ID: <20231011152520.31079-1-tangyeechou@gmail.com>
      4c38b676
  2. 11 Oct, 2023 1 commit
  3. 10 Oct, 2023 18 commits
  4. 03 Oct, 2023 1 commit
  5. 23 Sep, 2023 3 commits
  6. 22 Sep, 2023 5 commits
  7. 12 Sep, 2023 1 commit
  8. 10 Sep, 2023 4 commits
    • Linus Torvalds's avatar
      Linux 6.6-rc1 · 0bb80ecc
      Linus Torvalds authored
      0bb80ecc
    • Linus Torvalds's avatar
      Merge tag 'topic/drm-ci-2023-08-31-1' of git://anongit.freedesktop.org/drm/drm · 1548b060
      Linus Torvalds authored
      Pull drm ci scripts from Dave Airlie:
       "This is a bunch of ci integration for the freedesktop gitlab instance
        where we currently do upstream userspace testing on diverse sets of
        GPU hardware. From my perspective I think it's an experiment worth
        going with and seeing how the benefits/noise playout keeping these
        files useful.
      
        Ideally I'd like to get this so we can do pre-merge testing on PRs
        eventually.
      
        Below is some info from danvet on why we've ended up making the
        decision and how we can roll it back if we decide it was a bad plan.
      
        Why in upstream?
      
         - like documentation, testcases, tools CI integration is one of these
           things where you can waste endless amounts of time if you
           accidentally have a version that doesn't match your source code
      
         - but also like the above, there's a balance, this is the initial cut
           of what we think makes sense to keep in sync vs out-of-tree,
           probably needs adjustment
      
         - gitlab supports out-of-repo gitlab integration and that's what's
           been used for the kernel in drm, but it results in per-driver
           fragmentation and lots of duplicated effort. the simple act of
           smashing an arbitrary winner into a topic branch already started
           surfacing patches on dri-devel and sparking good cross driver team
           discussions
      
        Why gitlab?
      
         - it's not any more shit than any of the other CI
      
         - drm userspace uses it extensively for everything in userspace, we
           have a lot of people and experience with this, including
           integration of hw testing labs
      
         - media userspace like gstreamer is also on gitlab.fd.o, and there's
           discussion to extend this to the media subsystem in some fashion
      
        Can this be shared?
      
         - there's definitely a pile of code that could move to scripts/ if
           other subsystem adopt ci integration in upstream kernel git. other
           bits are more drm/gpu specific like the igt-gpu-tests/tools
           integration
      
         - docker images can be run locally or in other CI runners
      
        Will we regret this?
      
         - it's all in one directory, intentionally, for easy deletion
      
         - probably 1-2 years in upstream to see whether this is worth it or a
           Big Mistake. that's roughly what it took to _really_ roll out solid
           CI in the bigger userspace projects we have on gitlab.fd.o like
           mesa3d"
      
      * tag 'topic/drm-ci-2023-08-31-1' of git://anongit.freedesktop.org/drm/drm:
        drm: ci: docs: fix build warning - add missing escape
        drm: Add initial ci/ subdirectory
      1548b060
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2023-09-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e56b2b60
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
       "Fix preemption delays in the SGX code, remove unnecessarily
        UAPI-exported code, fix a ld.lld linker (in)compatibility quirk and
        make the x86 SMP init code a bit more conservative to fix kexec()
        lockups"
      
      * tag 'x86-urgent-2023-09-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/sgx: Break up long non-preemptible delays in sgx_vepc_release()
        x86: Remove the arch_calc_vm_prot_bits() macro from the UAPI
        x86/build: Fix linker fill bytes quirk/incompatibility for ld.lld
        x86/smp: Don't send INIT to non-present and non-booted CPUs
      e56b2b60
    • Linus Torvalds's avatar
      Merge tag 'perf-urgent-2023-09-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e79dbf03
      Linus Torvalds authored
      Pull x86 perf event fix from Ingo Molnar:
       "Work around a firmware bug in the uncore PMU driver, affecting certain
        Intel systems"
      
      * tag 'perf-urgent-2023-09-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/x86/uncore: Correct the number of CHAs on EMR
      e79dbf03