Akira Yokosawa
7eb368cc31
docs: pdfdocs: Choose Serif font as CJK mainfont if possible
...
"Noto Serif CJK SC" and its variants suit better with the roman font
of Latin letters.
On some distros such as Fedora, it is possible to partially install
"Noto Sans CJK" fonts.
So, if the Serif fonts are not found on the system, fall back to the
Sans fonts.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com >
Link: https://lore.kernel.org/r/5e454140-5d0c-35d4-8c31-3ffb2420793a@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 09:13:32 -06:00
Akira Yokosawa
e291ff6f5a
docs: pdfdocs: Add CJK-language-specific font settings
...
zh_TW, ko_KR, and ja_JP translations have their preferred glyph sets
different from that of zh_CN.
To switch CJK font in the middle of the translations, introduce custom
LaTeX macros listed below:
\kerneldocBeginSC
\kerneldocEndSC
\kerneldocBeginTC
\kerneldocEndTC
\kerneldocBeginKR
\kerneldocEndKR
\kerneldocBeginJP
\kerneldocEndJP
, and embed a pair of macros in each language's index.rst.
NOTE 1: Update of zh_TW/index.rst is deferred to a follow-up change.
NOTE 2: Custom macros added here do not imply \kerneldocCJK(on|off).
This is intentional. For example, \kerneldocCJKoff needs to be
at the top of Italian translations' index.rst for the footer of
final zh_TW page to be properly typeset.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com >
Link: https://lore.kernel.org/r/31906baf-7490-68cd-7153-4e4d320fb9b0@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 09:13:32 -06:00
Akira Yokosawa
659653c9e5
docs: pdfdocs: Refactor config for CJK document
...
To make generated LaTeX code portable across systems with different sets
of available fonts, convert font-availability check in python code to
LaTeX code by using a conditional command provided by the "fontspec"
package.
This will help those who run Sphinx on one machine/container and run
latexmk on other machines/containers.
Remove import of check_output as it is unused any more.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com >
Link: https://lore.kernel.org/r/4baf88af-316d-8aee-240f-6ccbc20907d7@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 09:13:32 -06:00
Laurent Pinchart
bed4ed3057
scripts/kernel-doc: Override -Werror from KCFLAGS with KDOC_WERROR
...
Since commit 2c12c8103d ("scripts/kernel-doc: optionally treat
warnings as errors"), the kernel-doc script will treat warnings as
errors when one of the following conditions is true:
- The KDOC_WERROR environment variable is non-zero
- The KCFLAGS environment variable contains -Werror
- The -Werror parameter is passed to kernel-doc
Checking KCFLAGS for -Werror allows piggy-backing on the C compiler
error handling. However, unlike the C compiler, kernel-doc has no
provision for -Wno-error. This makes compiling the kernel with -Werror
(to catch regressions) and W=1 (to enable more checks) always fail,
without the same possibility as offered by the C compiler to treating
some selected warnings as warnings despite the global -Werror setting.
To fix this, evaluate KDOC_WERROR after KCFLAGS, which allows disabling
the warnings-as-errors behaviour of kernel-doc selectively by setting
KDOC_WERROR=0.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Link: https://lore.kernel.org/r/20210730225401.4401-1-laurent.pinchart+renesas@ideasonboard.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:58:13 -06:00
Yang Yang
4f3791c3fe
docs/zh_CN: Add zh_CN/accounting/psi.rst
...
Add translation zh_CN/accounting/psi.rst and zh_CN/accounting/index.rst.
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn >
Reviewed-by: Yanteng Si <siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/20210731084502.571451-1-yang.yang29@zte.com.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:56:58 -06:00
Federico Vaga
191cf329f1
doc: align Italian translation
...
Translation for the following patches
commit 0ca0d55526 ("docs/core-api: Consistent code style")
commit 9912d0bb9d ("docs: process: submitting-patches.rst: avoid using ReST :doc:`foo` markup")
commit 6349469a4f ("Documentation/submitting-patches: Document RESEND tag on patches")
commit dbbe7c962c ("docs: networking: drop special stable handling")
commit 7f3f7bfbbe ("docs: kernel-hacking: hacking.rst: avoid using ReST :doc:`foo` markup")
commit 6ab0493dfc ("deprecated.rst: Include details on "no_hash_pointers" ")
commit 77167b966b ("docs: submitting-patches: clarify the role of LKML ")
Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it >
Link: https://lore.kernel.org/r/20210731085513.11820-1-federico.vaga@vaga.pv.it
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:55:26 -06:00
Jisheng Zhang
27f373cb5c
Documentation/features/vm: riscv supports THP now
...
After commit e88b333142 ("riscv: mm: add THP support on 64-bit"),
riscv can support THP.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org >
Link: https://lore.kernel.org/r/20210805002739.23f44d2d@xhacker
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:54:33 -06:00
Yanteng Si
4d488433dc
docs/zh_CN: add infiniband user_verbs translation
...
Translate Documentation/infiniband/user_verbs.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Puyu Wang <realpuyuwang@gmail.com >
Link: https://lore.kernel.org/r/b7c1577cf9758943bff933c46200c7dff1e1c6e0.1628218477.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:52:03 -06:00
Yanteng Si
0265e6ee2c
docs/zh_CN: add infiniband user_mad translation
...
Translate Documentation/infiniband/user_mad.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Puyu Wang <realpuyuwang@gmail.com >
Link: https://lore.kernel.org/r/8859ef2b40b380d7db7548f2e6a2d6fd5397062d.1628218477.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:52:03 -06:00
Yanteng Si
cc420b883b
docs/zh_CN: add infiniband tag_matching translation
...
Translate Documentation/infiniband/tag_matching.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Puyu Wang <realpuyuwang@gmail.com >
Link: https://lore.kernel.org/r/eaed122a0e5d0e3312cf5a495022a9d0be42a831.1628218477.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:52:03 -06:00
Yanteng Si
ccbad6a521
docs/zh_CN: add infiniband sysfs translation
...
Translate Documentation/infiniband/sysfs.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Puyu Wang <realpuyuwang@gmail.com >
Link: https://lore.kernel.org/r/dbd542628b71160f7bddd33a76cb77b127a9b826.1628218477.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:52:03 -06:00
Yanteng Si
e7c640961a
docs/zh_CN: add infiniband opa_vnic translation
...
Translate Documentation/infiniband/opa_vnic.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Puyu Wang <realpuyuwang@gmail.com >
Link: https://lore.kernel.org/r/828550a6fb7fded8172c123c37d4c643d2593e53.1628218477.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:52:03 -06:00
Yanteng Si
88e37e3d44
docs/zh_CN: add infiniband ipoib translation
...
Translate Documentation/infiniband/ipoib.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Puyu Wang <realpuyuwang@gmail.com >
Link: https://lore.kernel.org/r/2d71cfe6b11568d9d9c665e829eaf680c249c94a.1628218477.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:52:03 -06:00
Yanteng Si
312356129e
docs/zh_CN: add infiniband core_locking translation
...
Translate Documentation/infiniband/core_locking.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Puyu Wang <realpuyuwang@gmail.com >
Link: https://lore.kernel.org/r/d035d79b2936be762bc001b3a53831f34f72cbb7.1628218477.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:52:02 -06:00
Yanteng Si
f4e60d9f1b
docs/zh_CN: add infiniband index translation
...
Translate Documentation/infiniband/index.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Reviewed-by: Puyu Wang <realpuyuwang@gmail.com >
Link: https://lore.kernel.org/r/e3bca9e59f410fe62489e36c5b9a3fab78bc1421.1628218477.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:52:02 -06:00
Yanteng Si
3bf5548d8e
docs/zh_CN: add virt acrn cpuid translation
...
Translate Documentation/virt/acrn/cpuid.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/35730828bc65d3912ba27382d5d70ddacee7d8a5.1628212777.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:49:38 -06:00
Yanteng Si
f63c6894f6
docs/zh_CN: add virt acrn io-request translation
...
Translate Documentation/virt/acrn/io-request.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/291079265a8b0555de4d624d7d11fc5ac37a9422.1628212777.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:49:38 -06:00
Yanteng Si
ab03e49f13
docs/zh_CN: add virt acrn introduction translation
...
Translate Documentation/virt/acrn/introduction.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/667a6eb64820d2234d12a0c5dd5b642af16c0d99.1628212777.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:49:38 -06:00
Yanteng Si
8dda2eac96
docs/zh_CN: add virt acrn index translation
...
Translate Documentation/virt/acrn/index.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/17a0dac5ecc5bdcc98160bdb028c6876ca38a6bc.1628212777.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:49:38 -06:00
Yanteng Si
e636a91584
docs/zh_CN: add virt ne_overview translation
...
Translate Documentation/virt/ne_overview.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/a6e1a2275a397d77957be30d1acdfeda9dc836f4.1628212777.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:49:37 -06:00
Yanteng Si
9c987b10fe
docs/zh_CN: add virt guest-halt-polling translation
...
Translate Documentation/virt/guest-halt-polling.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/658e255eff55bfdadc1576107bf367a2e80b881a.1628212777.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:49:37 -06:00
Yanteng Si
ccb00ddc88
docs/zh_CN: add virt paravirt_ops translation
...
Translate Documentation/virt/paravirt_ops.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/abba361233e2a58999ef5d31c20f24370d7724f2.1628212777.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:49:37 -06:00
Yanteng Si
8ce1162a39
docs/zh_CN: add virt index translation
...
Add virt to .../zh_CN/index and translate it into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/b28d3a530fe0c3635e7be2462fd14a4ae18f0220.1628212777.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-08-12 08:49:37 -06:00
Hu Haowen
0c3b533cfd
MAINTAINERS: add entry for traditional Chinese documentation
...
Add maintainer information for traditional Chinese documentation.
Signed-off-by: Hu Haowen <src.res@email.cn >
Reviewed-by: Pan Yunwang <panyunwang849@gmail.com >
Link: https://lore.kernel.org/r/20210729155627.41744-3-src.res@email.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-30 13:22:13 -06:00
Hu Haowen
390f915a12
docs/zh_TW: add translations for zh_TW/process
...
Create new translations for zh_TW/process and link them to index.
Signed-off-by: Hu Haowen <src.res@email.cn >
Reviewed-by: Pan Yunwang <panyunwang849@gmail.com >
Link: https://lore.kernel.org/r/20210729155627.41744-2-src.res@email.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-30 13:22:13 -06:00
Hu Haowen
76f1fc266b
docs: add traditional Chinese translation for kernel Documentation
...
Add traditional Chinese translation (zh_TW) for the Linux Kernel
documentation with a series of translated files.
Signed-off-by: Hu Haowen <src.res@email.cn >
Reviewed-by: Pan Yunwang <panyunwang849@gmail.com >
Link: https://lore.kernel.org/r/20210729155627.41744-1-src.res@email.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-30 13:22:13 -06:00
Hu Haowen
4a52225d61
docs/zh_CN: add a translation for index
...
The original file has added a former intro in commit b51208d41c
("docs: Tweak the top-level Sphinx page") and hence update the Chinese
version for it.
Signed-off-by: Hu Haowen <src.res@email.cn >
Link: https://lore.kernel.org/r/20210608075207.77812-1-src.res@email.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:48:30 -06:00
Hannu Hartikainen
77167b966b
docs: submitting-patches: clarify the role of LKML
...
The documentation previously stated that LKML should be used as *last
resort*. However, scripts/get_maintainer.pl always suggests it and in a
discussion about changing that[0] it turned out that LKML should in fact
receive all patches.
Update documentation to make it clear that all patches should be sent to
LKML by default, in addition to any subsystem-specific lists.
[0]: https://lore.kernel.org/lkml/19a701a8d5837088aa7d8ba594c228c0e040e747.camel@perches.com/
Signed-off-by: Hannu Hartikainen <hannu@hrtk.in >
Link: https://lore.kernel.org/r/20210707133634.286840-1-hannu@hrtk.in
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:45:43 -06:00
Yang Xu
d5caec394a
admin-guide/cputopology.rst: Remove non-existed cpu-hotplug.txt
...
Since kernel commit ff58fa7f55 ("Documentation: Update CPU hotplug and move it to core-api"),
cpu_hotplug.txt has been removed. We should update it in here.
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com >
Link: https://lore.kernel.org/r/1624412269-13155-1-git-send-email-xuyang2018.jy@fujitsu.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:42:48 -06:00
Fabio M. De Francesco
ce48ee81a1
admin-guide/hw-vuln: Rephrase a section of core-scheduling.rst
...
Rephrase the "For MDS" section in core-scheduling.rst for the purpose of
making it clearer what is meant by "kernel memory is still considered
untrusted".
Suggested-by: Vineeth Pillai <Vineeth.Pillai@microsoft.com >
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com >
Reviewed-by: Joel Fernandes (Google) <joelaf@google.com >
Link: https://lore.kernel.org/r/20210721190250.26095-1-fmdefrancesco@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:39:17 -06:00
Mauro Carvalho Chehab
b426d9d78e
docs: virt: kvm: api.rst: replace some characters
...
The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
conversion and some cut-and-pasted text contain some characters that
aren't easily reachable on standard keyboards and/or could cause
troubles when parsed by the documentation build system.
Replace the occurences of the following characters:
- U+00a0 (' '): NO-BREAK SPACE
as it can cause lines being truncated on PDF output
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/ff70cb42d63f3a1da66af1b21b8d038418ed5189.1626947264.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:35:46 -06:00
Mauro Carvalho Chehab
dc9c31c3ff
docs: firmware-guide: acpi: dsd: graph.rst: replace some characters
...
The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
conversion and some cut-and-pasted text contain some characters that
aren't easily reachable on standard keyboards and/or could cause
troubles when parsed by the documentation build system.
Replace the occurences of the following characters:
- U+00a0 (' '): NO-BREAK SPACE
as it can cause lines being truncated on PDF output
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/a65b04a5cf341cff02d4b514dd4889b4fa4f94b8.1626947264.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:35:46 -06:00
Mauro Carvalho Chehab
f3fd34fe0e
docs: sound: kernel-api: writing-an-alsa-driver.rst: replace some characters
...
The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
conversion and some cut-and-pasted text contain some characters that
aren't easily reachable on standard keyboards and/or could cause
troubles when parsed by the documentation build system.
Replace the occurences of the following characters:
- U+00a0 (' '): NO-BREAK SPACE
as it can cause lines being truncated on PDF output
Reviewed-by: Takashi Iwai <tiwai@suse.de >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/21abe5fa495a05ac1f998ed66184a77e19ac89cc.1626947264.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:35:46 -06:00
Ioana Ciornei
662fa3d609
docs: networking: dpaa2: fix chapter title format
...
Fix the DPAA2 DPIO driver chapter title by adding the necessary
overline. Without this, the index page of the DPAA2 documentation
doesn't display properly.
Fixes: d8e516bac7 ("soc: fsl: dpio: Convert DPIO documentation to .rst")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com >
Link: https://lore.kernel.org/r/20210722100356.635078-5-ciorneiioana@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:34:33 -06:00
Ioana Ciornei
a9fd134be7
docs: kvm: properly format code blocks and lists
...
Add a '::' so that a code block is interpreted properly and also add a
blank line before the start of a list.
Fixes: fdc09ddd40 ("KVM: stats: Add documentation for binary statistics interface")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com >
Reviewed-by: Jing Zhang <jingzhangos@google.com >
Link: https://lore.kernel.org/r/20210722100356.635078-4-ciorneiioana@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:34:33 -06:00
Ioana Ciornei
8b9671643d
docs: kvm: fix build warnings
...
Fix some small build warnings. The title underline was too short in some
cases and a code block was not indented.
Documentation/virt/kvm/api.rst:7216: WARNING: Title underline too short.
Fixes: 6dba940352 ("KVM: x86: Introduce KVM_GET_SREGS2 / KVM_SET_SREGS2")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com >
Link: https://lore.kernel.org/r/20210722100356.635078-3-ciorneiioana@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:34:33 -06:00
Ioana Ciornei
5b42d0bfb7
docs: printk-formats: fix build warning
...
Add an empty line after the '::' starting the code block so that the
following lines are properly interpreted.
Without this, the following build warnings are visible.
Documentation/core-api/printk-formats.rst:136: WARNING: Unexpected indentation.
Documentation/core-api/printk-formats.rst:137: WARNING: Block quote ends without a blank line; unexpected unindent.
Fixes: 9294523e37 ("module: add printk formats to add module build ID to stacktraces")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com >
Reviewed-by: Stephen Boyd <swboyd@chromium.org >
Acked-by: Petr Mladek <pmladek@suse.com >
Link: https://lore.kernel.org/r/20210722100356.635078-2-ciorneiioana@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:34:32 -06:00
Kees Cook
6ab0493dfc
deprecated.rst: Include details on "no_hash_pointers"
...
Linus decided a debug toggle for %p was tolerable, so update the
%p deprecation documentation.
Signed-off-by: Kees Cook <keescook@chromium.org >
Link: https://lore.kernel.org/r/20210723200526.3424128-1-keescook@chromium.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:30:55 -06:00
Hu Haowen
0a03801ca8
docs/zh_CN: reformat zh_CN/dev-tools/testing-overview
...
Reorganise several long lines in order to satisfy the kernel coding
style.
Signed-off-by: Hu Haowen <src.res@email.cn >
Reviewed-by: Yanteng Si <siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/20210724130611.4231-1-src.res@email.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-25 14:28:17 -06:00
Yanteng Si
4b3abe1fde
docs/zh_CN: add core api protection keys translation
...
Translate Documentation/core-api/protection-keys.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/abdcd4f157062a529cfc50754689d2df26070592.1625797729.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:45 -06:00
Yanteng Si
620127548a
docs/zh_CN: add core api memory_hotplug translation
...
Translate Documentation/core-api/memory_hotplug.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/55a74c9fe5627edff36fa01940eae943f0861f8e.1625797729.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:45 -06:00
Yanteng Si
d4229805df
docs/zh_CN: add core api cpu_hotplug translation
...
Translate Documentation/core-api/cpu_hotplug.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/5c2273563e64ccbbaf1e7ff043d2ab467879c421.1625798719.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:45 -06:00
Yanteng Si
f8c6a07c25
docs/core-api: Modify document layout
...
Modify the layout of the document and remove unnecessary symbols.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/f151bbc0d1ff6cf24611a698c76b90181f005f8d.1625798719.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:45 -06:00
Hu Jialun
341968c617
docs/zh_CN: Remove the Microsoft rhetoric
...
Update Chinese translation on par with original English coding-style.rst
Related commit b7592e5b82
Signed-off-by: Hu Jialun <hujialun@comp.nus.edu.sg >
Reviewed-by: Hu Haowen <src.res@email.cn >
Link: https://lore.kernel.org/r/20210703164834.460447-1-hujialun@comp.nus.edu.sg
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:44 -06:00
Cengiz Can
f1285c68e1
Documentation: sysrq: convert to third person
...
Two parts of the sysrq documentation have sentences written from a first
person's point of view.
Documentation is generally written from a third person's view in a
formal way.
Convert those senteces to be less personal and generic.
Signed-off-by: Cengiz Can <cengiz@kernel.wtf >
Link: https://lore.kernel.org/r/20210629141508.52229-1-cengiz@kernel.wtf
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:44 -06:00
Pali Rohár
153c43a84c
Documentation: arm: marvell: Add few missing models and documentation files
...
Signed-off-by: Pali Rohár <pali@kernel.org >
Link: https://lore.kernel.org/r/20210625215437.2156-1-pali@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:44 -06:00
Yanteng Si
c767ef4519
docs/zh_CN: add core api genericirq translation
...
translate Documentation/core-api/genericirq.rst into Chinese.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/20210709030143.548940-1-siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:44 -06:00
Hu Haowen
e6c65d354f
docs/zh_CN: create new translations for zh_CN/dev-tools/testing-overview
...
Create new translations for dev-tools/testing-overview.rst and link it
to dev-tools/index.rst with TODOList modifications.
Signed-off-by: Hu Haowen <src.res@email.cn >
Reviewed-by: Wu XiangCheng <bobwxc@email.cn >
Reviewed-by: Yanteng Si <siyanteng@loongson.cn >
Signed-off-by: Wu XiangCheng <bobwxc@email.cn >
Link: https://lore.kernel.org/r/20210620052841.GA22083@bobwxc.top
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:44 -06:00
Hu Haowen
530c4374e2
docs/zh_CN: add a missing space character
...
"LinusTorvalds" is not pretty. Replace it with "Linus Torvalds".
Signed-off-by: Hu Haowen <src.res@email.cn >
Link: https://lore.kernel.org/r/20210620010444.24813-1-src.res@email.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:44 -06:00
Ingo Molnar
d3fb38266a
Documentation/features: Add THREAD_INFO_IN_TASK feature matrix
...
Signed-off-by: Ingo Molnar <mingo@kernel.org >
Link: https://lore.kernel.org/r/YN2nhV5F0hBVNPuX@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-07-15 06:33:44 -06:00