[PW_SID:1086176] Auto-generate maintainer profile entries#1824
[PW_SID:1086176] Auto-generate maintainer profile entries#1824linux-riscv-bot wants to merge 12 commits into
Conversation
…_TYPED_FUNC_START After commit 67bdd7b ("riscv: Split out measure_cycles() for reuse") and commit c03ad15 ("riscv: Reuse measure_cycles() in check_vector_unaligned_access()"), there are CFI failure when booting kernels with CONFIG_CFI=y: CFI failure at measure_cycles+0x38/0xe0 (target: __riscv_copy_words_unaligned+0x0/0x50; expected type: ...) CFI failure at measure_cycles+0x38/0xe0 (target: __riscv_copy_vec_words_unaligned+0x0/0x24; expected type: ...) The __riscv_copy_*_unaligned() functions are now called indirectly but they are not defined with SYM_TYPED_FUNC_START, which is required for assembly functions called indirectly from C to pass CFI checking. Switch to SYM_TYPED_FUNC_START to clear up the CFI failures. Fixes: 67bdd7b ("riscv: Split out measure_cycles() for reuse") Fixes: c03ad15 ("riscv: Reuse measure_cycles() in check_vector_unaligned_access()") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Sami Tolvanen <samitolvanen@google.com> Reviewed-by: Nam Cao <namcao@linutronix.de> Link: https://patch.msgid.link/20260406-measure_cycles-cfi-failure-v1-1-03e0234ae02f@kernel.org Signed-off-by: Paul Walmsley <pjw@kernel.org>
While this file is really trivial, add a SPDX license line on it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add a feature to allow auto-generating media entry profiles from the corresponding field inside MAINTAINERS file(s). Suggested-by: Dan Williams <djbw@kernel.org> Closes: https://lore.kernel.org/linux-doc/69dd6299440be_147c801005b@djbw-dev.notmuch/ Acked-by: Dan Williams <djbw@kernel.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Message-ID: <4e9512a3d05942c98361d06d60a118d7c78762b6.1776176108.git.mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Instead of manually creating a TOC tree for them, use the new tag to auto-generate its TOC. Co-developed-by: Dan Williams <djbw@kernel.org> Signed-off-by: Dan Williams <djbw@kernel.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Message-ID: <9228f77b0339b8e5dea4a201ab6d4feb30cef5c2.1776176108.git.mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
As we're picking the name of the subsystem from MAINTAINERS, also use its subsystem name for the titles. Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Some subsystem profiles are maintained elsewhere. Add them to the output. Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
When a maintainer's profile is stored outside process, they're already included on some other book and the name of the filesystem may not be there. That's why the logic picks the name from the subsystem's name. However, files directly placed together with maintainers-handbooks.rst (e.g. under Documentation/process/) is a different history: those aren't placed anywhere, so we can keep using their own names, letting Sphinx do his thing. Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Instead of showing as a "Contents:" with 2 identation levels, drop its title and show profiles as a list of entries. Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
There are three "types" of profiles: 1. Profiles already included inside subsystem-specific documentation. This is the most common case; 2. Profiles that are hosted externally; 3. Profiles that are at the same location as maintainer-handbooks.rst. For (3), we need to create a TOC, as they don't exist elsewhere. Change the logic to create TOC just for (3), prepending the content of maintainer-handbooks with a sorted entry of all types, before the TOC. With such change, we can have an unique sorted list of profiles, having the subsystem names used there listed. Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
os.path.relpath() will do the wrong thing with O=dir, as the build system uses "cd <dir>" internally. Solve it by using app.srcdir, which, on normal cases, point to Documentation/, or, when SPHINXDIRS=process, it will be set with Documentation/process. While here, remove a dead code while writing maintainer profiles, as now all entries should have both profile and entry. Reported-by: Randy Dunlap <rdunlap@infradead.org> Closes: https://lore.kernel.org/linux-doc/88335220-3527-4b1f-9500-417f7ebb7a02@infradead.org/T/#m6854cbd8d30e2c5d3e8c4173bae1c3d6922ff970 Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Change the logic to parse MAINTAINERS file content just once, while still allowing using it multiple times. Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 1: "[v4,01/10] docs: maintainers: add SPDX license to the file" |
|
Patch 2: "[v4,02/10] docs: maintainers_include: auto-generate maintainer profile TOC" |
|
Patch 2: "[v4,02/10] docs: maintainers_include: auto-generate maintainer profile TOC" |
|
Patch 2: "[v4,02/10] docs: maintainers_include: auto-generate maintainer profile TOC" |
|
Patch 2: "[v4,02/10] docs: maintainers_include: auto-generate maintainer profile TOC" |
|
Patch 2: "[v4,02/10] docs: maintainers_include: auto-generate maintainer profile TOC" |
|
Patch 2: "[v4,02/10] docs: maintainers_include: auto-generate maintainer profile TOC" |
|
Patch 8: "[v4,08/10] docs: maintainers_include: improve its output" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 9: "[v4,09/10] docs: maintainers_include: fix support for O=dir" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
|
Patch 10: "[v4,10/10] docs: maintainers_include: parse MAINTAINERS just once" |
f190ec6 to
2c3b264
Compare
PR for series 1086176 applied to workflow__riscv__fixes
Name: Auto-generate maintainer profile entries
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1086176
Version: 4