Fix some issues at documentation
Subsystems (20)
v3 cover Fix some issues at documentation
Hi Jon,
This series is against today's next (next-20211019) and addresses missing links to Documentation/*.
The best would be to have the patches applied directly to the trees that contain the patches that moved/renamed files, and then apply the remaining ones either later during the merge window or just afterwards, whatever works best for you.
Regards,
Mauro
Mauro Carvalho Chehab (23):
visorbus: fix a copyright symbol that was bad encoded
libbpf: update index.rst reference
docs: accounting: update delay-accounting.rst reference
MAINTAINERS: update arm,vic.yaml reference
MAINTAINERS: update aspeed,i2c.yaml reference
MAINTAINERS: update faraday,ftrtc010.yaml reference
MAINTAINERS: update ti,sci.yaml reference
MAINTAINERS: update intel,ixp46x-rng.yaml reference
MAINTAINERS: update nxp,imx8-jpeg.yaml reference
MAINTAINERS: update gemini.yaml reference
MAINTAINERS: update brcm,unimac-mdio.yaml reference
MAINTAINERS: update mtd-physmap.yaml reference
Documentation: update vcpu-requests.rst reference
bpftool: update bpftool-cgroup.rst reference
docs: translations: zn_CN: irq-affinity.rst: add a missing extension
docs: translations: zh_CN: memory-hotplug.rst: fix a typo
docs: fs: locks.rst: update comment about mandatory file locking
fs: remove a comment pointing to the removed mandatory-locking file Documentation/process: fix a cross reference
dt-bindings: mfd: update x-powers,axp152.yaml reference
regulator: dt-bindings: update samsung,s2mpa01.yaml reference
regulator: dt-bindings: update samsung,s5m8767.yaml reference
dt-bindings: reserved-memory: ramoops: update ramoops.yaml references
Documentation/admin-guide/ramoops.rst | 2 +- Documentation/admin-guide/sysctl/kernel.rst | 2 +- Documentation/bpf/index.rst | 2 +- .../devicetree/bindings/gpio/gpio-axp209.txt | 2 +- .../bindings/regulator/samsung,s2mpa01.yaml | 2 +- .../bindings/regulator/samsung,s5m8767.yaml | 2 +- Documentation/filesystems/locks.rst | 17 +++++----------- Documentation/process/submitting-patches.rst | 4 ++-- .../zh_CN/core-api/irq/irq-affinity.rst | 2 +- .../zh_CN/core-api/memory-hotplug.rst | 2 +- MAINTAINERS | 20 +++++++++---------- arch/riscv/kvm/vcpu.c | 2 +- drivers/visorbus/visorbus_main.c | 2 +- fs/locks.c | 1 - .../selftests/bpf/test_bpftool_synctypes.py | 2 +- 15 files changed, 28 insertions(+), 36 deletions(-)
Signature · 1 line
2.31.1
PATCH v3 1/23 visorbus: fix a copyright symbol that was bad encoded
The copyright symbol was badly encoded using the REPLACEMENT CHARACTER U+fffd ('�'), probably due to some bad charset conversion.
Fix it.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
drivers/visorbus/visorbus_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/visorbus/visorbus_main.c +1 -1
@@ -1,6 +1,6 @@// SPDX-License-Identifier: GPL-2.0 /* -* Copyright � 2010 - 2015 UNISYS CORPORATION +* Copyright © 2010 - 2015 UNISYS CORPORATION * All rights reserved. */
Signature · 1 line
2.31.1
PATCH v3 2/23 libbpf: update index.rst reference
In reply to Mauro Carvalho ChehabChangeset d20b41115ad5 ("libbpf: Rename libbpf documentation index file")
renamed: Documentation/bpf/libbpf/libbpf.rst
to: Documentation/bpf/libbpf/index.rst.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/bpf/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/bpf/index.rst +1 -1
@@ -15,7 +15,7 @@ that goes into great technical depth about the BPF Architecture. libbpf ====== -Documentation/bpf/libbpf/libbpf.rst is a userspace library for loading and interacting with bpf programs. +Documentation/bpf/libbpf/index.rst is a userspace library for loading and interacting with bpf programs. BPF Type Format (BTF) =====================
Signature · 1 line
2.31.1
PATCH v3 3/23 docs: accounting: update delay-accounting.rst reference
In reply to Mauro Carvalho ChehabThe file name: accounting/delay-accounting.rst
should be, instead: Documentation/accounting/delay-accounting.rst.
Also, there's no need to use doc:foo, as automarkup.py will automatically handle plain text mentions to Documentation/ files.
So, update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/admin-guide/sysctl/kernel.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/sysctl/kernel.rst +1 -1
@@ -1099,7 +1099,7 @@ task_delayacct =============== Enables/disables task delay accounting (see -:doc:`accounting/delay-accounting.rst`). Enabling this feature incurs +Documentation/accounting/delay-accounting.rst. Enabling this feature incurs a small amount of overhead in the scheduler but is useful for debugging and performance tuning. It is required by some tools such as iotop.
Signature · 1 line
2.31.1
PATCH v3 4/23 MAINTAINERS: update arm,vic.yaml reference
In reply to Mauro Carvalho ChehabChangeset b7705ba6d0c4 ("dt-bindings: interrupt-controller: Convert ARM VIC to json-schema")
renamed: Documentation/devicetree/bindings/interrupt-controller/arm,vic.txt
to: Documentation/devicetree/bindings/interrupt-controller/arm,vic.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -1560,7 +1560,7 @@ ARM PRIMECELL VIC PL190/PL192 DRIVER M: Linus Walleij <[email protected]> L: [email protected] (moderated for non-subscribers) S: Maintained -F: Documentation/devicetree/bindings/interrupt-controller/arm,vic.txt +F: Documentation/devicetree/bindings/interrupt-controller/arm,vic.yaml F: drivers/irqchip/irq-vic.c ARM SMC WATCHDOG DRIVER
Signature · 1 line
2.31.1
Re: [PATCH v3 04/23] MAINTAINERS: update arm,vic.yaml reference
Quoted 10 lines · Mauro Carvalho Chehab
Changeset
b7705ba6d0c4("dt-bindings: interrupt-controller: Convert ARM VIC to json-schema")
renamed:Documentation/devicetree/bindings/interrupt-controller/arm,vic.txt
to:Documentation/devicetree/bindings/interrupt-controller/arm,vic.yaml.Update its cross-reference accordingly.
Fixes b7705ba6d0c4 ("dt-bindings: interrupt-controller: Convert ARM VIC to json-schema")Reviewed-by Linus Walleij <[email protected]>Acked-by Sudeep Holla <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>
I suppose Marc Z could merge this into the irqchips tree?
Yours,
Linus Walleij
Rob Herring
maintainerRe: [PATCH v3 04/23] MAINTAINERS: update arm,vic.yaml reference
Quoted 8 lines · Linus Walleij
Quoted 4 lines · Mauro Carvalho Chehab
Changeset
b7705ba6d0c4("dt-bindings: interrupt-controller: Convert ARM VIC to json-schema")
renamed:Documentation/devicetree/bindings/interrupt-controller/arm,vic.txt
to:Documentation/devicetree/bindings/interrupt-controller/arm,vic.yaml.
Quoted 8 lines
Quoted 6 lines
Update its cross-reference accordingly.
Fixes b7705ba6d0c4 ("dt-bindings: interrupt-controller: Convert ARM VIC to json-schema")Reviewed-by Linus Walleij <[email protected]>Acked-by Sudeep Holla <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>I suppose Marc Z could merge this into the irqchips tree?
I already applied all these MAINTAINERS fixes.
Rob
PATCH v3 5/23 MAINTAINERS: update aspeed,i2c.yaml reference
In reply to Mauro Carvalho ChehabChangeset 810e4441946c ("dt-bindings: aspeed-i2c: Convert txt to yaml format")
renamed: Documentation/devicetree/bindings/i2c/i2c-aspeed.txt
to: Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -1758,7 +1758,7 @@ R: Joel Stanley <[email protected]> L: [email protected] L: [email protected] (moderated for non-subscribers) S: Maintained -F: Documentation/devicetree/bindings/i2c/i2c-aspeed.txt +F: Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml F: Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt F: drivers/i2c/busses/i2c-aspeed.c F: drivers/irqchip/irq-aspeed-i2c-ic.c
Signature · 1 line
2.31.1
PATCH v3 6/23 MAINTAINERS: update faraday,ftrtc010.yaml reference
In reply to Mauro Carvalho ChehabChangeset 8df65d4adca6 ("dt-bindings: convert rtc/faraday,ftrtc01 to yaml")
renamed: Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt
to: Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -1888,7 +1888,7 @@ T: git git://github.com/ulli-kroll/linux.git F: Documentation/devicetree/bindings/arm/gemini.txt F: Documentation/devicetree/bindings/net/cortina,gemini-ethernet.txt F: Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt -F: Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt +F: Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml F: arch/arm/boot/dts/gemini* F: arch/arm/mach-gemini/ F: drivers/crypto/gemini/
Signature · 1 line
2.31.1
Re: [PATCH v3 06/23] MAINTAINERS: update faraday,ftrtc010.yaml reference
Quoted 9 lines · Mauro Carvalho Chehab
Changeset
8df65d4adca6("dt-bindings: convert rtc/faraday,ftrtc01 to yaml")
renamed:Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt
to:Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml.Update its cross-reference accordingly.
Fixes 8df65d4adca6 ("dt-bindings: convert rtc/faraday,ftrtc01 to yaml")Reviewed-by Linus Walleij <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>
Yours,
Linus Walleij
PATCH v3 7/23 MAINTAINERS: update ti,sci.yaml reference
In reply to Mauro Carvalho ChehabChangeset 5a9652f6994e ("dt-bindings: arm: keystone: Convert ti,sci to json schema")
renamed: Documentation/devicetree/bindings/arm/keystone/ti,sci.txt
to: Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -18744,7 +18744,7 @@ M: Santosh Shilimkar <[email protected]> L: [email protected] (moderated for non-subscribers) S: Maintained F: Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml -F: Documentation/devicetree/bindings/arm/keystone/ti,sci.txt +F: Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml F: Documentation/devicetree/bindings/clock/ti,sci-clk.yaml F: Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml F: Documentation/devicetree/bindings/interrupt-controller/ti,sci-intr.yaml
Signature · 1 line
2.31.1
PATCH v3 8/23 MAINTAINERS: update intel,ixp46x-rng.yaml reference
In reply to Mauro Carvalho ChehabThe file name: Documentation/devicetree/bindings/display/intel,ixp46x-rng.yaml should be, instead: Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -9608,7 +9608,7 @@ F: include/linux/soc/ixp4xx/qmgr.h INTEL IXP4XX RANDOM NUMBER GENERATOR SUPPORT M: Deepak Saxena <[email protected]> S: Maintained -F: Documentation/devicetree/bindings/display/intel,ixp46x-rng.yaml +F: Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml F: drivers/char/hw_random/ixp4xx-rng.c INTEL KEEM BAY DRM DRIVER
Signature · 1 line
2.31.1
Re: [PATCH v3 08/23] MAINTAINERS: update intel,ixp46x-rng.yaml reference
Quoted 8 lines · Mauro Carvalho Chehab
The file name:
Documentation/devicetree/bindings/display/intel,ixp46x-rng.yamlshould be, instead:Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml.Update its cross-reference accordingly.
Fixes cca061b04c0d ("hw_random: ixp4xx: Add DT bindings")Reviewed-by Linus Walleij <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>
It'd be great if Rob or you can apply this patch, I have sent my ixp4xx patches upstream already.
Yours,
Linus Walleij
PATCH v3 9/23 MAINTAINERS: update nxp,imx8-jpeg.yaml reference
In reply to Mauro Carvalho ChehabThe file name: Documentation/devicetree/bindings/media/imx8-jpeg.yaml should be, instead: Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -13702,7 +13702,7 @@ M: Mirela Rabulea <[email protected]> R: NXP Linux Team <[email protected]> L: [email protected] S: Maintained -F: Documentation/devicetree/bindings/media/imx8-jpeg.yaml +F: Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml F: drivers/media/platform/imx-jpeg NZXT-KRAKEN2 HARDWARE MONITORING DRIVER
Signature · 1 line
2.31.1
PATCH v3 10/23 MAINTAINERS: update gemini.yaml reference
In reply to Mauro Carvalho ChehabChangeset 7da6ebf5f5a5 ("dt-bindings: arm: Convert Gemini boards to YAML")
renamed: Documentation/devicetree/bindings/arm/gemini.txt
to: Documentation/devicetree/bindings/arm/gemini.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -1885,7 +1885,7 @@ M: Linus Walleij <[email protected]> L: [email protected] (moderated for non-subscribers) S: Maintained T: git git://github.com/ulli-kroll/linux.git -F: Documentation/devicetree/bindings/arm/gemini.txt +F: Documentation/devicetree/bindings/arm/gemini.yaml F: Documentation/devicetree/bindings/net/cortina,gemini-ethernet.txt F: Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt F: Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml
Signature · 1 line
2.31.1
Re: [PATCH v3 10/23] MAINTAINERS: update gemini.yaml reference
Quoted 8 lines · Mauro Carvalho Chehab
Changeset
7da6ebf5f5a5("dt-bindings: arm: Convert Gemini boards to YAML")
renamed:Documentation/devicetree/bindings/arm/gemini.txt
to:Documentation/devicetree/bindings/arm/gemini.yaml.Update its cross-reference accordingly.
Fixes 7da6ebf5f5a5 ("dt-bindings: arm: Convert Gemini boards to YAML")Signed-off-by Mauro Carvalho Chehab <[email protected]>
It'd be great if Rob or you can apply this patch, I have sent my Gemini patches upstream already.
Yours,
Linus Walleij
PATCH v3 11/23 MAINTAINERS: update brcm,unimac-mdio.yaml reference
In reply to Mauro Carvalho ChehabChangeset 5d1c5594b646 ("dt-bindings: net: brcm,unimac-mdio: convert to the json-schema")
renamed: Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt
to: Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -3783,7 +3783,7 @@ L: [email protected] L: [email protected] S: Supported F: Documentation/devicetree/bindings/net/brcm,bcmgenet.txt -F: Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt +F: Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml F: drivers/net/ethernet/broadcom/genet/ F: drivers/net/ethernet/broadcom/unimac.h F: drivers/net/mdio/mdio-bcm-unimac.c
Signature · 1 line
2.31.1
Re: [PATCH v3 11/23] MAINTAINERS: update brcm,unimac-mdio.yaml reference
Quoted 8 lines · Mauro Carvalho Chehab
Changeset
5d1c5594b646("dt-bindings: net: brcm,unimac-mdio: convert to the json-schema")
renamed:Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt
to:Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml.Update its cross-reference accordingly.
Fixes 5d1c5594b646 ("dt-bindings: net: brcm,unimac-mdio: convert to the json-schema")Signed-off-by Mauro Carvalho Chehab <[email protected]>
Thanks!
Signature · 1 line
Florian
PATCH v3 12/23 MAINTAINERS: update mtd-physmap.yaml reference
In reply to Mauro Carvalho ChehabChangeset 63f8e9e0ac65 ("dt-bindings: mtd: Convert mtd-physmap to DT schema")
renamed: Documentation/devicetree/bindings/mtd/arm-versatile.txt
and: Documentation/devicetree/bindings/mtd/cypress,hyperflash.txt
to: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml.
Update their cross-references accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -1421,7 +1421,7 @@ F: Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml F: Documentation/devicetree/bindings/clock/arm,syscon-icst.yaml F: Documentation/devicetree/bindings/i2c/i2c-versatile.txt F: Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt -F: Documentation/devicetree/bindings/mtd/arm-versatile.txt +F: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml F: arch/arm/boot/dts/arm-realview-* F: arch/arm/boot/dts/integrator* F: arch/arm/boot/dts/versatile*
Signature · 1 line
2.31.1
Re: [PATCH v3 12/23] MAINTAINERS: update mtd-physmap.yaml reference
Quoted 10 lines · Mauro Carvalho Chehab
Changeset
63f8e9e0ac65("dt-bindings: mtd: Convert mtd-physmap to DT schema")
renamed:Documentation/devicetree/bindings/mtd/arm-versatile.txt
and:Documentation/devicetree/bindings/mtd/cypress,hyperflash.txt
to:Documentation/devicetree/bindings/mtd/mtd-physmap.yaml.Update their cross-references accordingly.
Fixes 63f8e9e0ac65 ("dt-bindings: mtd: Convert mtd-physmap to DT schema")Acked-by Miquel Raynal <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>
Yours,
Linus Walleij
PATCH v3 13/23 Documentation: update vcpu-requests.rst reference
In reply to Mauro Carvalho ChehabChangeset 2f5947dfcaec ("Documentation: move Documentation/virtual to Documentation/virt")
renamed: Documentation/virtual/kvm/vcpu-requests.rst
to: Documentation/virt/kvm/vcpu-requests.rst.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/cover.1634630485.git.mchehab+huawei at kernel.org/
arch/riscv/kvm/vcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kvm/vcpu.c +1 -1
@@ -912,7 +912,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu)* Ensure we set mode to IN_GUEST_MODE after we disable * interrupts and before the final VCPU requests check. * See the comment in kvm_vcpu_exiting_guest_mode() and -* Documentation/virtual/kvm/vcpu-requests.rst +* Documentation/virt/kvm/vcpu-requests.rst */ vcpu->mode =IN_GUEST_MODE ;
Signature · 1 line
2.31.1
Re: [PATCH v3 13/23] Documentation: update vcpu-requests.rst reference
Quoted 10 lines · Mauro Carvalho Chehab
Changeset
2f5947dfcaec("Documentation: moveDocumentation/virtualtoDocumentation/virt")
renamed:Documentation/virtual/kvm/vcpu-requests.rst
to:Documentation/virt/kvm/vcpu-requests.rst.Update its cross-reference accordingly.
Fixes 2f5947dfcaec ("Documentation: move Documentation/virtual to Documentation/virt")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
Looks good to me.
Regards,
Anup
Quoted 28 lines
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/cover.1634630485.git.mchehab+huawei at kernel.org/
arch/riscv/kvm/vcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/kvm/vcpu.c +1
-2@@ -912,7 +912,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu)* Ensure we set mode to IN_GUEST_MODE after we disable * interrupts and before the final VCPU requests check. * See the comment in kvm_vcpu_exiting_guest_mode() and -* Documentation/virtual/kvm/vcpu-requests.rst +* Documentation/virt/kvm/vcpu-requests.rst */ vcpu->mode =IN_GUEST_MODE ; --2.31.1
_______________________________________________
linux-riscv mailing list
linux-riscv at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
PATCH v3 14/23 bpftool: update bpftool-cgroup.rst reference
In reply to Mauro Carvalho ChehabThe file name: Documentation/bpftool-cgroup.rst
should be, instead: tools/bpf/bpftool/Documentation/bpftool-cgroup.rst.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
tools/testing/selftests/bpf/test_bpftool_synctypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/test_bpftool_synctypes.py +1 -1
@@ -392,7 +392,7 @@ class ManCgroupExtractor(ManPageExtractor): """ An extractor for bpftool-cgroup.rst. """ - filename = os.path.join(BPFTOOL_DIR, 'Documentation/bpftool-cgroup.rst') + filename = os.path.join(BPFTOOL_DIR, 'tools/bpf/bpftool/Documentation/bpftool-cgroup.rst') def get_attach_types(self): return self.get_rst_list('ATTACH_TYPE')
Signature · 1 line
2.31.1
Re: [PATCH v3 14/23] bpftool: update bpftool-cgroup.rst reference
2021-10-19 09:04 UTC+0100 ~ Mauro Carvalho Chehab
<[email protected]>
Quoted 22 lines
The file name:
Documentation/bpftool-cgroup.rst
should be, instead:tools/bpf/bpftool/Documentation/bpftool-cgroup.rst.Update its cross-reference accordingly.
Fixes a2b5944fb4e0 ("selftests/bpf: Check consistency between bpftool source, doc, completion")Fixes 5ccda64d38cc ("bpftool: implement cgroup bpf operations")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
tools/testing/selftests/bpf/test_bpftool_synctypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/testing/selftests/bpf/test_bpftool_synctypes.py +0
-0
tools/testing/selftests/bpf/test_bpftool_synctypes.py class ManCgroupExtractor(ManPageExtractor): · line 398
Quoted 8 lines
tools/testing/selftests/bpf/test_bpftool_synctypes.py +1
-1@@ -392,7 +392,7 @@ class ManCgroupExtractor(ManPageExtractor): """ An extractor for bpftool-cgroup.rst. """ - filename = os.path.join(BPFTOOL_DIR, 'Documentation/bpftool-cgroup.rst') + filename = os.path.join(BPFTOOL_DIR, 'tools/bpf/bpftool/Documentation/bpftool-cgroup.rst') def get_attach_types(self): return self.get_rst_list('ATTACH_TYPE')
No, this change is incorrect. We have discussed it several times before [0][1]. Please drop this patch.
Quentin
[0]
https://lore.kernel.org/bpf/[email protected]/
[1]
https://lore.kernel.org/bpf/CAEf4BzZhr+3JzuPvyTozQSts7QixnyY1N8CD+-ZuteHodCpmRA@mail.gmail.com/
Re: [PATCH v3 14/23] bpftool: update bpftool-cgroup.rst reference
Quoted 30 lines · Quentin Monnet
2021-10-19 09:04 UTC+0100 ~ Mauro Carvalho Chehab
<[email protected]>Quoted 27 lines
The file name:
Documentation/bpftool-cgroup.rst
should be, instead:tools/bpf/bpftool/Documentation/bpftool-cgroup.rst.Update its cross-reference accordingly.
Fixes a2b5944fb4e0 ("selftests/bpf: Check consistency between bpftool source, doc, completion")Fixes 5ccda64d38cc ("bpftool: implement cgroup bpf operations")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
tools/testing/selftests/bpf/test_bpftool_synctypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/testing/selftests/bpf/test_bpftool_synctypes.py +1
-1@@ -392,7 +392,7 @@ class ManCgroupExtractor(ManPageExtractor): """ An extractor for bpftool-cgroup.rst. """ - filename = os.path.join(BPFTOOL_DIR, 'Documentation/bpftool-cgroup.rst') + filename = os.path.join(BPFTOOL_DIR, 'tools/bpf/bpftool/Documentation/bpftool-cgroup.rst')
Quoted 6 lines
tools/testing/selftests/bpf/test_bpftool_synctypes.py class ManCgroupExtractor(ManPageExtractor): · line 398
Quoted 3 lines
tools/testing/selftests/bpf/test_bpftool_synctypes.py +0
-0def get_attach_types(self): return self.get_rst_list('ATTACH_TYPE')No, this change is incorrect. We have discussed it several times before [0][1]. Please drop this patch.
+1
Re: [PATCH v3 14/23] bpftool: update bpftool-cgroup.rst reference
Em Tue, 19 Oct 2021 15:31:38 -0700
Alexei Starovoitov <[email protected]> escreveu:
Quoted 31 lines · Quentin Monnet
Quoted 30 lines
2021-10-19 09:04 UTC+0100 ~ Mauro Carvalho Chehab
<[email protected]>Quoted 27 lines
The file name:
Documentation/bpftool-cgroup.rst
should be, instead:tools/bpf/bpftool/Documentation/bpftool-cgroup.rst.Update its cross-reference accordingly.
Fixes a2b5944fb4e0 ("selftests/bpf: Check consistency between bpftool source, doc, completion")Fixes 5ccda64d38cc ("bpftool: implement cgroup bpf operations")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
tools/testing/selftests/bpf/test_bpftool_synctypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/testing/selftests/bpf/test_bpftool_synctypes.py +1
-1@@ -392,7 +392,7 @@ class ManCgroupExtractor(ManPageExtractor): """ An extractor for bpftool-cgroup.rst. """ - filename = os.path.join(BPFTOOL_DIR, 'Documentation/bpftool-cgroup.rst') + filename = os.path.join(BPFTOOL_DIR, 'tools/bpf/bpftool/Documentation/bpftool-cgroup.rst')
Quoted 8 lines
Quoted 6 lines
tools/testing/selftests/bpf/test_bpftool_synctypes.py class ManCgroupExtractor(ManPageExtractor): · line 398
Quoted 3 lines
tools/testing/selftests/bpf/test_bpftool_synctypes.py +0
-0def get_attach_types(self): return self.get_rst_list('ATTACH_TYPE')No, this change is incorrect. We have discussed it several times before [0][1]. Please drop this patch.
+1
Sorry, left-over. I dropped two other patches, but forgot to also drop this one.
Regards,
Mauro
PATCH v3 15/23 docs: translations: zn_CN: irq-affinity.rst: add a missing extension
In reply to Mauro Carvalho ChehabWithout .rst extension, ./scripts/documentation-file-ref-check will produce a warning, and auto-generating cross-references by automarkup.py may not work.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/translations/zh_CN/core-api/irq/irq-affinity.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/translations/zh_CN/core-api/irq/irq-affinity.rst +1 -1
@@ -1,6 +1,6 @@ .. include:: ../../disclaimer-zh_CN.rst -:Original: Documentation/core-api/irq/irq-affinity +:Original: Documentation/core-api/irq/irq-affinity.rst :翻译:
Signature · 1 line
2.31.1
Re: [PATCH v3 15/23] docs: translations: zn_CN: irq-affinity.rst: add a missing extension
Quoted 19 lines · Mauro Carvalho Chehab
Without .rst extension,
./scripts/documentation-file-ref-checkwill produce a warning, and auto-generating cross-references byautomarkup.pymay not work.Fixes 8137a49e1567 ("docs/zh_CN: Modify the translator tag and fix the wrong word")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/translations/zh_CN/core-api/irq/irq-affinity.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/translations/zh_CN/core-api/irq/irq-affinity.rst +0
-0
Documentation/translations/zh_CN/core-api/irq/irq-affinity.rst line 3
Quoted 4 lines
Documentation/translations/zh_CN/core-api/irq/irq-affinity.rst +1
-1@@ -1,6 +1,6 @@ .. include:: ../../disclaimer-zh_CN.rst -:Original: Documentation/core-api/irq/irq-affinity +:Original: Documentation/core-api/irq/irq-affinity.rst
Applied, thanks.
jon
PATCH v3 16/23 docs: translations: zh_CN: memory-hotplug.rst: fix a typo
In reply to Mauro Carvalho Chehabmemory_hotplug.rst -> memory-hotplug.rst
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/translations/zh_CN/core-api/memory-hotplug.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/translations/zh_CN/core-api/memory-hotplug.rst +1 -1
@@ -1,6 +1,6 @@ .. include:: ../disclaimer-zh_CN.rst -:Original: Documentation/core-api/memory_hotplug.rst +:Original: Documentation/core-api/memory-hotplug.rst :翻译:
Signature · 1 line
2.31.1
Re: [PATCH v3 16/23] docs: translations: zh_CN: memory-hotplug.rst: fix a typo
Quoted 1 line · Mauro Carvalho Chehab
memory_hotplug.rst->memory-hotplug.rst
Why do I feel we've been switching this around forever...?
Quoted 15 lines
Fixes 620127548a69 ("docs/zh_CN: add core api memory_hotplug translation")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/translations/zh_CN/core-api/memory-hotplug.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/translations/zh_CN/core-api/memory-hotplug.rst +0
-0
Documentation/translations/zh_CN/core-api/memory-hotplug.rst line 5
Quoted 6 lines
Documentation/translations/zh_CN/core-api/memory-hotplug.rst +1
-1@@ -1,6 +1,6 @@ .. include:: ../disclaimer-zh_CN.rst -:Original: Documentation/core-api/memory_hotplug.rst +:Original: Documentation/core-api/memory-hotplug.rst :翻译:
Applied, thanks.
jon
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH v3 16/23] docs: translations: zh_CN: memory-hotplug.rst: fix a typo
Quoted 8 lines · David Hildenbrand
Dumb question that probably has been asked a couple of times already:
why do we even maintain a translated doc in-tree?Every time I do an update on the original doc, I for sure can only guess which translated parts need updating. And I really can only update when "deleting", not when rewording/adding. So we'll be left with stale doc that will have to be updated manually by $whoever.
cc to the translation maintainers and translator would be helpful?
Quoted 3 lines
I don't feel very
confident about this. No translated doc is better than outdated translated doc.
Uh, I don't know other languages, but in Chinese, 15 years before translated books are still selling well in China. :)
https://item.jd.com/1075130482.html -> Linux device driver
https://item.jd.com/10100237.html -> Understanding linux kernel
Thanks
Alex
Quoted 8 lines
This feels like something that should be maintained out of tree. My 2 cents.
--
Thanks,David / dhildenb
Re: [PATCH v3 16/23] docs: translations: zh_CN: memory-hotplug.rst: fix a typo
Quoted 8 lines · Alex Shi <[email protected]> 于2021年11月1日周一 下午3:48写道:
Quoted 6 lines · David Hildenbrand
Dumb question that probably has been asked a couple of times already:
why do we even maintain a translated doc in-tree?Every time I do an update on the original doc, I for sure can only guess which translated parts need updating. And I really can only update when
Dear David
Thank you very much for your contribution, in fact, we are always updating the translations and improving the speed of the sync, so If you are not good at Chinese
and want to get the sync faster, please CC us when you send the patch.
Quoted 4 lines
Quoted 2 lines
"deleting", not when rewording/adding. So we'll be left with stale doc that will have to be updated manually by $whoever.
cc to the translation maintainers and translator would be helpful?
Alex,Maybe we should provide a translation guide in English, e.g::
Dear developers, if you have trouble updating the Chinese documentation after updating the original documentation, please CC the translator of
that documentation
and the maintainer of the Chinese documentation, and the relevant
documentation
will be updated soon.
Quoted 9 lines
Quoted 4 lines
I don't feel very
confident about this. No translated doc is better than outdated translated doc.Uh, I don't know other languages, but in Chinese, 15 years before translated books are still selling well in China. :)
https://item.jd.com/1075130482.html -> Linux device driver
https://item.jd.com/10100237.html -> Understanding linux kernel
Yes, I just bought a LDD3 last week.! >_<
Thanks,
Yanteng
Re: [PATCH v3 16/23] docs: translations: zh_CN: memory-hotplug.rst: fix a typo
Quoted 7 lines · teng sterling
Quoted 6 lines · Alex Shi <[email protected]> 于2021年11月1日周一 下午3:48写道:
Quoted 4 lines · David Hildenbrand
Dumb question that probably has been asked a couple of times already:
why do we even maintain a translated doc in-tree?
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Every time I do an update on the original doc, I for sure can only guess which translated parts need updating. And I really can only update when
Dear David
Thank you very much for your contribution, in fact, we are always updating the translations and improving the speed of the sync, so If you are not good at Chinese
and want to get the sync faster, please CC us when you send the patch.
It would be great if we would get this suggestion automatically, e.g., via get_maintainers.pl --- maybe that's already done, I didn't check.
Personally, I don't speak/read any Chinese, so I'm mostly lost staring at the Chinese translation. :)
Quoted 18 lines
Quoted 4 lines
Quoted 2 lines
"deleting", not when rewording/adding. So we'll be left with stale doc that will have to be updated manually by $whoever.
cc to the translation maintainers and translator would be helpful?
Alex,Maybe we should provide a translation guide in English, e.g::
Dear developers, if you have trouble updating the Chinese documentation after updating the original documentation, please CC the translator of
that documentation
and the maintainer of the Chinese documentation, and the relevant
documentation
will be updated soon.Quoted 5 lines
Quoted 4 lines
I don't feel very
confident about this. No translated doc is better than outdated translated doc.
Quoted 5 lines
Quoted 4 lines
Uh, I don't know other languages, but in Chinese, 15 years before translated books are still selling well in China. :)
https://item.jd.com/1075130482.html -> Linux device driver
https://item.jd.com/10100237.html -> Understanding linux kernelYes, I just bought a LDD3 last week.! >_<
Yes, these books in particular are still of a lot of value, although outdated. :)
The difference is that when you translate a book, there is a date/version attached, meaning, the original book was for example based on kernel v2.XXX. Once you translate the book, it's simply based on the same kernel version.
The in-tree doc is similar. You can access the v5.14 doc for example easily via https://www.kernel.org/doc/html/v5.14/. And the Chinese version via https://www.kernel.org/doc/html/v5.14/translations/zh_CN/.
If I as a developer perform a doc update in v5.14, and the translation isn't updated until the end of the same release, the versioned documentation will be out of sync. And that happens automatically with a new release.
With an out-of-tree translation, there wouldn't really be an issue. Once everything was translated (brought up-to-date), you would mark it has "fully translated doc of v5.15" manually and release it.
But maybe the translation maintainers already take proper care of updating any translation just before the new kernel is released.
So just my comment after stumbling over in-tree doc translations.
Signature · 3 lines
Thanks, David / dhildenb
PATCH v3 17/23 docs: fs: locks.rst: update comment about mandatory file locking
In reply to Mauro Carvalho ChehabThe mandatory file locking got removed due to its problems, but the fs locks documentation still points to it.
Update the text there, informing that it was removed on Kernel 5.14.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/filesystems/locks.rst | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-)
Documentation/filesystems/locks.rst +5 -12
@@ -57,16 +57,9 @@ fcntl(), with all the problems that implies. 1.3 Mandatory Locking As A Mount Option --------------------------------------- -Mandatory locking, as described in -'Documentation/filesystems/mandatory-locking.rst' was prior to this release a -general configuration option that was valid for all mounted filesystems. This -had a number of inherent dangers, not the least of which was the ability to -freeze an NFS server by asking it to read a file for which a mandatory lock -existed. - -From this release of the kernel, mandatory locking can be turned on and off -on a per-filesystem basis, using the mount options 'mand' and 'nomand'. -The default is to disallow mandatory locking. The intention is that -mandatory locking only be enabled on a local filesystem as the specific need -arises. +Mandatory locking was prior to this release a general configuration option +that was valid for all mounted filesystems. This had a number of inherent +dangers, not the least of which was the ability to freeze an NFS server by +asking it to read a file for which a mandatory lock existed. +Such option was dropped in Kernel v5.14.
Signature · 1 line
2.31.1
Jeff Layton
maintainerRe: [PATCH v3 17/23] docs: fs: locks.rst: update comment about mandatory file locking
Quoted 32 lines · Mauro Carvalho Chehab
The mandatory file locking got removed due to its problems, but the fs locks documentation still points to it.
Update the text there, informing that it was removed on Kernel 5.14.
Fixes f7e33bdbd6d1 ("fs: remove mandatory file locking support")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/filesystems/locks.rst | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-)Documentation/filesystems/locks.rst +0
-8@@ -57,16 +57,9 @@ fcntl(), with all the problems that implies. 1.3 Mandatory Locking As A Mount Option --------------------------------------- -Mandatory locking, as described in -'Documentation/filesystems/mandatory-locking.rst' was prior to this release a -general configuration option that was valid for all mounted filesystems. This -had a number of inherent dangers, not the least of which was the ability to -freeze an NFS server by asking it to read a file for which a mandatory lock -existed. - -From this release of the kernel, mandatory locking can be turned on and off
Documentation/filesystems/locks.rst fcntl(), with all the problems that implies. · line 65
Quoted 10 lines
Documentation/filesystems/locks.rst +5
-4-on a per-filesystem basis, using the mount options 'mand' and 'nomand'. -The default is to disallow mandatory locking. The intention is that -mandatory locking only be enabled on a local filesystem as the specific need -arises. +Mandatory locking was prior to this release a general configuration option +that was valid for all mounted filesystems. This had a number of inherent +dangers, not the least of which was the ability to freeze an NFS server by +asking it to read a file for which a mandatory lock existed. +Such option was dropped in Kernel v5.14.
Looks good. I'll plan to pick this up and (add a Reported-by for Jon, who noted this a few days ago).
Signature · 1 line
Jeff Layton <[email protected]>
PATCH v3 18/23 fs: remove a comment pointing to the removed mandatory-locking file
In reply to Mauro Carvalho ChehabThe mandatory file locking got removed due to its problems, but there's still a comment inside fs/locks.c pointing to the removed doc.
Remove it.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
fs/locks.c | 1 - 1 file changed, 1 deletion(-)
fs/locks.c +0 -1
@@ -61,7 +61,6 @@* * Initial implementation of mandatory locks. SunOS turned out to be * a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. * Andy Walker ([email protected]), April 06, 1996. * * Don't allow mandatory locks on mmap()'ed files. Added simple functions to
Signature · 1 line
2.31.1
Jeff Layton
maintainerRe: [PATCH v3 18/23] fs: remove a comment pointing to the removed mandatory-locking file
Quoted 21 lines · Mauro Carvalho Chehab
The mandatory file locking got removed due to its problems, but there's still a comment inside
fs/locks.cpointing to the removed doc.Remove it.
Fixes f7e33bdbd6d1 ("fs: remove mandatory file locking support")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
fs/locks.c | 1 - 1 file changed, 1 deletion(-)fs/locks.c +0
-0
fs/locks.c line 66
Quoted 7 lines
fs/locks.c +0
-1@@ -61,7 +61,6 @@* * Initial implementation of mandatory locks. SunOS turned out to be * a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. * Andy Walker ([email protected]), April 06, 1996. * * Don't allow mandatory locks on mmap()'ed files. Added simple functions to
Thanks Mauro. I'll pick this into my locks branch, so it should make v5.16 as well.
Signature · 1 line
Jeff Layton <[email protected]>
Re: [PATCH v3 18/23] fs: remove a comment pointing to the removed mandatory-locking file
Quoted 17 lines · Jeff Layton
Quoted 16 lines · Mauro Carvalho Chehab
The mandatory file locking got removed due to its problems, but there's still a comment inside
fs/locks.cpointing to the removed doc.Remove it.
Fixes f7e33bdbd6d1 ("fs: remove mandatory file locking support")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
fs/locks.c | 1 - 1 file changed, 1 deletion(-)
Quoted 15 lines
fs/locks.c line 66
Quoted 12 lines
fs/locks.c +0
-1@@ -61,7 +61,6 @@* * Initial implementation of mandatory locks. SunOS turned out to be * a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. * Andy Walker ([email protected]), April 06, 1996. * * Don't allow mandatory locks on mmap()'ed files. Added simple functions to Thanks Mauro. I'll pick this into my locks branch, so it should make v5.16 as well.
Could we delete the rest too?
We don't do those changelog-style comments any more; they're in the git history if you need them. I can sort of get leaving some in out of respect or if they've still provide some useful information. But keeping comments referring to code that doesn't even exist any more just seems confusing.
--b.
fs/locks.c +0 -15
@@ -59,17 +59,6 @@* once we've checked for blocking and deadlocking. * Andy Walker ([email protected]), April 03, 1996. * -* Initial implementation of mandatory locks. SunOS turned out to be -* a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. -* Andy Walker ([email protected]), April 06, 1996. -* -* Don't allow mandatory locks on mmap()'ed files. Added simple functions to -* check if a file has mandatory locks, used by mmap(), open() and creat() to -* see if system call should be rejected. Ref. HP-UX/SunOS/Solaris Reference -* Manual, Section 2. -* Andy Walker ([email protected]), April 09, 1996. -* * Tidied up block list handling. Added '/proc/locks' interface. * Andy Walker ([email protected]), April 24, 1996. *
@@ -95,10 +84,6 @@* Made the block list a circular list to minimise searching in the list. * Andy Walker ([email protected]), Sep 25, 1996. * -* Made mandatory locking a mount option. Default is not to allow mandatory -* locking. -* Andy Walker ([email protected]), Oct 04, 1996. -* * Some adaptations for NFS support. * Olaf Kirch ([email protected]), Dec 1996, *
Jeff Layton
maintainerRe: [PATCH v3 18/23] fs: remove a comment pointing to the removed mandatory-locking file
Quoted 67 lines · J. Bruce Fields
Quoted 17 lines · Jeff Layton
Quoted 16 lines · Mauro Carvalho Chehab
The mandatory file locking got removed due to its problems, but there's still a comment inside
fs/locks.cpointing to the removed doc.Remove it.
Fixes f7e33bdbd6d1 ("fs: remove mandatory file locking support")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
fs/locks.c | 1 - 1 file changed, 1 deletion(-)Quoted 15 lines
fs/locks.c line 66
Quoted 12 lines
fs/locks.c +0
-1@@ -61,7 +61,6 @@* * Initial implementation of mandatory locks. SunOS turned out to be * a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. * Andy Walker ([email protected]), April 06, 1996. * * Don't allow mandatory locks on mmap()'ed files. Added simple functions to Thanks Mauro. I'll pick this into my locks branch, so it should make v5.16 as well.
Could we delete the rest too?
We don't do those changelog-style comments any more; they're in the git history if you need them. I can sort of get leaving some in out of respect or if they've still provide some useful information. But keeping comments referring to code that doesn't even exist any more just seems confusing.
--b.
fs/locks.c +0
-11@@ -59,17 +59,6 @@* once we've checked for blocking and deadlocking. * Andy Walker ([email protected]), April 03, 1996. * -* Initial implementation of mandatory locks. SunOS turned out to be -* a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. -* Andy Walker ([email protected]), April 06, 1996. -* -* Don't allow mandatory locks on mmap()'ed files. Added simple functions to -* check if a file has mandatory locks, used by mmap(), open() and creat() to -* see if system call should be rejected. Ref. HP-UX/SunOS/Solaris Reference -* Manual, Section 2. -* Andy Walker ([email protected]), April 09, 1996. -* * Tidied up block list handling. Added '/proc/locks' interface. * Andy Walker ([email protected]), April 24, 1996. *
fs/locks.c line 89
Quoted 10 lines
fs/locks.c +0
-4@@ -95,10 +84,6 @@* Made the block list a circular list to minimise searching in the list. * Andy Walker ([email protected]), Sep 25, 1996. * -* Made mandatory locking a mount option. Default is not to allow mandatory -* locking. -* Andy Walker ([email protected]), Oct 04, 1996. -* * Some adaptations for NFS support. * Olaf Kirch ([email protected]), Dec 1996, *
IDK...Do we want to "erase history" selectively like that?
Maybe we should just get rid of the whole pile of "changelog" comments in fs/locks.c? They aren't terribly useful these days anyhow.
Signature · 1 line
Jeff Layton <[email protected]>
Re: [PATCH v3 18/23] fs: remove a comment pointing to the removed mandatory-locking file
Quoted 1 line · Jeff Layton
IDK...Do we want to "erase history" selectively like that?
Seems like pretty spotty history anyway, so I don't think it's a problem, but...
Quoted 2 lines
Maybe we should just get rid of the whole pile of "changelog" comments in
fs/locks.c? They aren't terribly useful these days anyhow.
... that'd be fine with me.
I didn't mainly because I thought it'd be good to read through it and see if there's anything that should be salvaged.
Reading through it now:
The last few paragraphs (under "Locking conflicts and dependencies" were added more recently by Neil and are still useful.
I'd be OK losing the rest.
It might still be good to have some basic introduction; maybe something like this?:
--b.
fs/locks.c +4 -110
@@ -2,117 +2,11 @@/* * linux/fs/locks.c * -* Provide support for fcntl()'s F_GETLK, F_SETLK, and F_SETLKW calls. -* Doug Evans ([email protected]), August 07, 1992 +* We implement four types of file locks: BSD locks, posix locks, open +* file description locks, and leases. For details about BSD locks, +* see the flock(2) man page; for details about the other three, see +* fcntl(2). * -* Deadlock detection added. -* FIXME: one thing isn't handled yet: -* - mandatory locks (requires lots of changes elsewhere) -* Kelly Carmichael (kelly@[142.24.8.65]), September 17, 1994. -* -* Miscellaneous edits, and a total rewrite of posix_lock_file() code. -* Kai Petzke ([email protected]), 1994 -* -* Converted file_lock_table to a linked list from an array, which eliminates -* the limits on how many active file locks are open. -* Chad Page ([email protected]), November 27, 1994 -* -* Removed dependency on file descriptors. dup()'ed file descriptors now -* get the same locks as the original file descriptors, and a close() on -* any file descriptor removes ALL the locks on the file for the current -* process. Since locks still depend on the process id, locks are inherited -* after an exec() but not after a fork(). This agrees with POSIX, and both -* BSD and SVR4 practice. -* Andy Walker ([email protected]), February 14, 1995 -* -* Scrapped free list which is redundant now that we allocate locks -* dynamically with kmalloc()/kfree(). -* Andy Walker ([email protected]), February 21, 1995 -* -* Implemented two lock personalities - FL_FLOCK and FL_POSIX. -* -* FL_POSIX locks are created with calls to fcntl() and lockf() through the -* fcntl() system call. They have the semantics described above. -* -* FL_FLOCK locks are created with calls to flock(), through the flock() -* system call, which is new. Old C libraries implement flock() via fcntl() -* and will continue to use the old, broken implementation. -* -* FL_FLOCK locks follow the 4.4 BSD flock() semantics. They are associated -* with a file pointer (filp). As a result they can be shared by a parent -* process and its children after a fork(). They are removed when the last -* file descriptor referring to the file pointer is closed (unless explicitly -* unlocked). -* -* FL_FLOCK locks never deadlock, an existing lock is always removed before -* upgrading from shared to exclusive (or vice versa). When this happens -* any processes blocked by the current lock are woken up and allowed to -* run before the new lock is applied. -* Andy Walker ([email protected]), June 09, 1995 -* -* Removed some race conditions in flock_lock_file(), marked other possible -* races. Just grep for FIXME to see them. -* Dmitry Gorodchanin ([email protected]), February 09, 1996. -* -* Addressed Dmitry's concerns. Deadlock checking no longer recursive. -* Lock allocation changed to GFP_ATOMIC as we can't afford to sleep -* once we've checked for blocking and deadlocking. -* Andy Walker ([email protected]), April 03, 1996. -* -* Initial implementation of mandatory locks. SunOS turned out to be -* a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. -* Andy Walker ([email protected]), April 06, 1996. -* -* Don't allow mandatory locks on mmap()'ed files. Added simple functions to -* check if a file has mandatory locks, used by mmap(), open() and creat() to -* see if system call should be rejected. Ref. HP-UX/SunOS/Solaris Reference -* Manual, Section 2. -* Andy Walker ([email protected]), April 09, 1996. -* -* Tidied up block list handling. Added '/proc/locks' interface. -* Andy Walker ([email protected]), April 24, 1996. -* -* Fixed deadlock condition for pathological code that mixes calls to -* flock() and fcntl(). -* Andy Walker ([email protected]), April 29, 1996. -* -* Allow only one type of locking scheme (FL_POSIX or FL_FLOCK) to be in use -* for a given file at a time. Changed the CONFIG_LOCK_MANDATORY scheme to -* guarantee sensible behaviour in the case where file system modules might -* be compiled with different options than the kernel itself. -* Andy Walker ([email protected]), May 15, 1996. -* -* Added a couple of missing wake_up() calls. Thanks to Thomas Meckel -* ([email protected]) for spotting this. -* Andy Walker ([email protected]), May 15, 1996. -* -* Changed FL_POSIX locks to use the block list in the same way as FL_FLOCK -* locks. Changed process synchronisation to avoid dereferencing locks that -* have already been freed. -* Andy Walker ([email protected]), Sep 21, 1996. -* -* Made the block list a circular list to minimise searching in the list. -* Andy Walker ([email protected]), Sep 25, 1996. -* -* Made mandatory locking a mount option. Default is not to allow mandatory -* locking. -* Andy Walker ([email protected]), Oct 04, 1996. -* -* Some adaptations for NFS support. -* Olaf Kirch ([email protected]), Dec 1996, -* -* Fixed /proc/locks interface so that we can't overrun the buffer we are handed. -* Andy Walker ([email protected]), May 12, 1997. -* -* Use slab allocator instead of kmalloc/kfree. -* Use generic list implementation from <linux/list.h>. -* Sped up posix_locks_deadlock by only considering blocked locks. -* Matthew Wilcox <[email protected]>, March, 2000. -* -* Leases and LOCK_MAND -* Matthew Wilcox <[email protected]>, June, 2000. -* Stephen Rothwell <[email protected]>, June, 2000. * * Locking conflicts and dependencies: * If multiple threads attempt to lock the same byte (or flock the same file)
Jeff Layton
maintainerRe: [PATCH v3 18/23] fs: remove a comment pointing to the removed mandatory-locking file
Quoted 142 lines · J. Bruce Fields
Quoted 1 line · Jeff Layton
IDK...Do we want to "erase history" selectively like that?
Seems like pretty spotty history anyway, so I don't think it's a problem, but...
Quoted 2 lines
Maybe we should just get rid of the whole pile of "changelog" comments in
fs/locks.c? They aren't terribly useful these days anyhow.... that'd be fine with me.
I didn't mainly because I thought it'd be good to read through it and see if there's anything that should be salvaged.
Reading through it now:
The last few paragraphs (under "Locking conflicts and dependencies" were added more recently by Neil and are still useful.
I'd be OK losing the rest.
It might still be good to have some basic introduction; maybe something like this?:
--b.
fs/locks.c +4
-103@@ -2,117 +2,11 @@/* * linux/fs/locks.c * -* Provide support for fcntl()'s F_GETLK, F_SETLK, and F_SETLKW calls. -* Doug Evans ([email protected]), August 07, 1992 +* We implement four types of file locks: BSD locks, posix locks, open +* file description locks, and leases. For details about BSD locks, +* see the flock(2) man page; for details about the other three, see +* fcntl(2). * -* Deadlock detection added. -* FIXME: one thing isn't handled yet: -* - mandatory locks (requires lots of changes elsewhere) -* Kelly Carmichael (kelly@[142.24.8.65]), September 17, 1994. -* -* Miscellaneous edits, and a total rewrite of posix_lock_file() code. -* Kai Petzke ([email protected]), 1994 -* -* Converted file_lock_table to a linked list from an array, which eliminates -* the limits on how many active file locks are open. -* Chad Page ([email protected]), November 27, 1994 -* -* Removed dependency on file descriptors. dup()'ed file descriptors now -* get the same locks as the original file descriptors, and a close() on -* any file descriptor removes ALL the locks on the file for the current -* process. Since locks still depend on the process id, locks are inherited -* after an exec() but not after a fork(). This agrees with POSIX, and both -* BSD and SVR4 practice. -* Andy Walker ([email protected]), February 14, 1995 -* -* Scrapped free list which is redundant now that we allocate locks -* dynamically with kmalloc()/kfree(). -* Andy Walker ([email protected]), February 21, 1995 -* -* Implemented two lock personalities - FL_FLOCK and FL_POSIX. -* -* FL_POSIX locks are created with calls to fcntl() and lockf() through the -* fcntl() system call. They have the semantics described above. -* -* FL_FLOCK locks are created with calls to flock(), through the flock() -* system call, which is new. Old C libraries implement flock() via fcntl() -* and will continue to use the old, broken implementation. -* -* FL_FLOCK locks follow the 4.4 BSD flock() semantics. They are associated -* with a file pointer (filp). As a result they can be shared by a parent -* process and its children after a fork(). They are removed when the last -* file descriptor referring to the file pointer is closed (unless explicitly -* unlocked). -* -* FL_FLOCK locks never deadlock, an existing lock is always removed before -* upgrading from shared to exclusive (or vice versa). When this happens -* any processes blocked by the current lock are woken up and allowed to -* run before the new lock is applied. -* Andy Walker ([email protected]), June 09, 1995 -* -* Removed some race conditions in flock_lock_file(), marked other possible -* races. Just grep for FIXME to see them. -* Dmitry Gorodchanin ([email protected]), February 09, 1996. -* -* Addressed Dmitry's concerns. Deadlock checking no longer recursive. -* Lock allocation changed to GFP_ATOMIC as we can't afford to sleep -* once we've checked for blocking and deadlocking. -* Andy Walker ([email protected]), April 03, 1996. -* -* Initial implementation of mandatory locks. SunOS turned out to be -* a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. -* Andy Walker ([email protected]), April 06, 1996. -* -* Don't allow mandatory locks on mmap()'ed files. Added simple functions to -* check if a file has mandatory locks, used by mmap(), open() and creat() to -* see if system call should be rejected. Ref. HP-UX/SunOS/Solaris Reference -* Manual, Section 2. -* Andy Walker ([email protected]), April 09, 1996. -* -* Tidied up block list handling. Added '/proc/locks' interface. -* Andy Walker ([email protected]), April 24, 1996. -* -* Fixed deadlock condition for pathological code that mixes calls to -* flock() and fcntl(). -* Andy Walker ([email protected]), April 29, 1996. -* -* Allow only one type of locking scheme (FL_POSIX or FL_FLOCK) to be in use -* for a given file at a time. Changed the CONFIG_LOCK_MANDATORY scheme to -* guarantee sensible behaviour in the case where file system modules might -* be compiled with different options than the kernel itself. -* Andy Walker ([email protected]), May 15, 1996. -* -* Added a couple of missing wake_up() calls. Thanks to Thomas Meckel -* ([email protected]) for spotting this. -* Andy Walker ([email protected]), May 15, 1996. -* -* Changed FL_POSIX locks to use the block list in the same way as FL_FLOCK -* locks. Changed process synchronisation to avoid dereferencing locks that -* have already been freed. -* Andy Walker ([email protected]), Sep 21, 1996. -* -* Made the block list a circular list to minimise searching in the list. -* Andy Walker ([email protected]), Sep 25, 1996. -* -* Made mandatory locking a mount option. Default is not to allow mandatory -* locking. -* Andy Walker ([email protected]), Oct 04, 1996. -* -* Some adaptations for NFS support. -* Olaf Kirch ([email protected]), Dec 1996, -* -* Fixed /proc/locks interface so that we can't overrun the buffer we are handed. -* Andy Walker ([email protected]), May 12, 1997. -* -* Use slab allocator instead of kmalloc/kfree.
fs/locks.c line 12
Quoted 10 lines
fs/locks.c +0
-7-* Use generic list implementation from <linux/list.h>. -* Sped up posix_locks_deadlock by only considering blocked locks. -* Matthew Wilcox <[email protected]>, March, 2000. -* -* Leases and LOCK_MAND -* Matthew Wilcox <[email protected]>, June, 2000. -* Stephen Rothwell <[email protected]>, June, 2000. * * Locking conflicts and dependencies: * If multiple threads attempt to lock the same byte (or flock the same file)
Yeah, I think that looks great. Send it with a changelog and I'll pull it into the branch I have feeding into -next.
Thanks,
Signature · 1 line
Jeff Layton <[email protected]>
PATCH 1/1 locks: remove changelog comments
From: "J. Bruce Fields" <[email protected]>
This is only of historical interest, and anyone interested in the history can dig out an old version of locks.c from from git.
Triggered by the observation that it references the now-removed Documentation/filesystems/mandatory-locking.rst.
--- fs/locks.c | 114 ++--------------------------------------------------- 1 file changed, 4 insertions(+), 110 deletions(-)
Quoted 2 lines · Jeff Layton
Yeah, I think that looks great. Send it with a changelog and I'll pull it into the branch I have feeding into -next.
OK!--b.
fs/locks.c +4 -110
@@ -2,117 +2,11 @@/* * linux/fs/locks.c * -* Provide support for fcntl()'s F_GETLK, F_SETLK, and F_SETLKW calls. -* Doug Evans ([email protected]), August 07, 1992 +* We implement four types of file locks: BSD locks, posix locks, open +* file description locks, and leases. For details about BSD locks, +* see the flock(2) man page; for details about the other three, see +* fcntl(2). * -* Deadlock detection added. -* FIXME: one thing isn't handled yet: -* - mandatory locks (requires lots of changes elsewhere) -* Kelly Carmichael (kelly@[142.24.8.65]), September 17, 1994. -* -* Miscellaneous edits, and a total rewrite of posix_lock_file() code. -* Kai Petzke ([email protected]), 1994 -* -* Converted file_lock_table to a linked list from an array, which eliminates -* the limits on how many active file locks are open. -* Chad Page ([email protected]), November 27, 1994 -* -* Removed dependency on file descriptors. dup()'ed file descriptors now -* get the same locks as the original file descriptors, and a close() on -* any file descriptor removes ALL the locks on the file for the current -* process. Since locks still depend on the process id, locks are inherited -* after an exec() but not after a fork(). This agrees with POSIX, and both -* BSD and SVR4 practice. -* Andy Walker ([email protected]), February 14, 1995 -* -* Scrapped free list which is redundant now that we allocate locks -* dynamically with kmalloc()/kfree(). -* Andy Walker ([email protected]), February 21, 1995 -* -* Implemented two lock personalities - FL_FLOCK and FL_POSIX. -* -* FL_POSIX locks are created with calls to fcntl() and lockf() through the -* fcntl() system call. They have the semantics described above. -* -* FL_FLOCK locks are created with calls to flock(), through the flock() -* system call, which is new. Old C libraries implement flock() via fcntl() -* and will continue to use the old, broken implementation. -* -* FL_FLOCK locks follow the 4.4 BSD flock() semantics. They are associated -* with a file pointer (filp). As a result they can be shared by a parent -* process and its children after a fork(). They are removed when the last -* file descriptor referring to the file pointer is closed (unless explicitly -* unlocked). -* -* FL_FLOCK locks never deadlock, an existing lock is always removed before -* upgrading from shared to exclusive (or vice versa). When this happens -* any processes blocked by the current lock are woken up and allowed to -* run before the new lock is applied. -* Andy Walker ([email protected]), June 09, 1995 -* -* Removed some race conditions in flock_lock_file(), marked other possible -* races. Just grep for FIXME to see them. -* Dmitry Gorodchanin ([email protected]), February 09, 1996. -* -* Addressed Dmitry's concerns. Deadlock checking no longer recursive. -* Lock allocation changed to GFP_ATOMIC as we can't afford to sleep -* once we've checked for blocking and deadlocking. -* Andy Walker ([email protected]), April 03, 1996. -* -* Initial implementation of mandatory locks. SunOS turned out to be -* a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. -* Andy Walker ([email protected]), April 06, 1996. -* -* Don't allow mandatory locks on mmap()'ed files. Added simple functions to -* check if a file has mandatory locks, used by mmap(), open() and creat() to -* see if system call should be rejected. Ref. HP-UX/SunOS/Solaris Reference -* Manual, Section 2. -* Andy Walker ([email protected]), April 09, 1996. -* -* Tidied up block list handling. Added '/proc/locks' interface. -* Andy Walker ([email protected]), April 24, 1996. -* -* Fixed deadlock condition for pathological code that mixes calls to -* flock() and fcntl(). -* Andy Walker ([email protected]), April 29, 1996. -* -* Allow only one type of locking scheme (FL_POSIX or FL_FLOCK) to be in use -* for a given file at a time. Changed the CONFIG_LOCK_MANDATORY scheme to -* guarantee sensible behaviour in the case where file system modules might -* be compiled with different options than the kernel itself. -* Andy Walker ([email protected]), May 15, 1996. -* -* Added a couple of missing wake_up() calls. Thanks to Thomas Meckel -* ([email protected]) for spotting this. -* Andy Walker ([email protected]), May 15, 1996. -* -* Changed FL_POSIX locks to use the block list in the same way as FL_FLOCK -* locks. Changed process synchronisation to avoid dereferencing locks that -* have already been freed. -* Andy Walker ([email protected]), Sep 21, 1996. -* -* Made the block list a circular list to minimise searching in the list. -* Andy Walker ([email protected]), Sep 25, 1996. -* -* Made mandatory locking a mount option. Default is not to allow mandatory -* locking. -* Andy Walker ([email protected]), Oct 04, 1996. -* -* Some adaptations for NFS support. -* Olaf Kirch ([email protected]), Dec 1996, -* -* Fixed /proc/locks interface so that we can't overrun the buffer we are handed. -* Andy Walker ([email protected]), May 12, 1997. -* -* Use slab allocator instead of kmalloc/kfree. -* Use generic list implementation from <linux/list.h>. -* Sped up posix_locks_deadlock by only considering blocked locks. -* Matthew Wilcox <[email protected]>, March, 2000. -* -* Leases and LOCK_MAND -* Matthew Wilcox <[email protected]>, June, 2000. -* Stephen Rothwell <[email protected]>, June, 2000. * * Locking conflicts and dependencies: * If multiple threads attempt to lock the same byte (or flock the same file)
Signature · 1 line
2.31.1
Jeff Layton
maintainerRe: [PATCH] locks: remove changelog comments
Quoted 136 lines · J. Bruce Fields
From: "J. Bruce Fields" <[email protected]>
This is only of historical interest, and anyone interested in the history can dig out an old version of
locks.cfrom from git.Triggered by the observation that it references the now-removed
Documentation/filesystems/mandatory-locking.rst.Reported-by Mauro Carvalho Chehab <[email protected]>Signed-off-by J. Bruce Fields <[email protected]>--- fs/locks.c | 114 ++--------------------------------------------------- 1 file changed, 4 insertions(+), 110 deletions(-)Quoted 2 lines · Jeff Layton
Yeah, I think that looks great. Send it with a changelog and I'll pull it into the branch I have feeding into -next.
OK!--b.
fs/locks.c +4
-103@@ -2,117 +2,11 @@/* * linux/fs/locks.c * -* Provide support for fcntl()'s F_GETLK, F_SETLK, and F_SETLKW calls. -* Doug Evans ([email protected]), August 07, 1992 +* We implement four types of file locks: BSD locks, posix locks, open +* file description locks, and leases. For details about BSD locks, +* see the flock(2) man page; for details about the other three, see +* fcntl(2). * -* Deadlock detection added. -* FIXME: one thing isn't handled yet: -* - mandatory locks (requires lots of changes elsewhere) -* Kelly Carmichael (kelly@[142.24.8.65]), September 17, 1994. -* -* Miscellaneous edits, and a total rewrite of posix_lock_file() code. -* Kai Petzke ([email protected]), 1994 -* -* Converted file_lock_table to a linked list from an array, which eliminates -* the limits on how many active file locks are open. -* Chad Page ([email protected]), November 27, 1994 -* -* Removed dependency on file descriptors. dup()'ed file descriptors now -* get the same locks as the original file descriptors, and a close() on -* any file descriptor removes ALL the locks on the file for the current -* process. Since locks still depend on the process id, locks are inherited -* after an exec() but not after a fork(). This agrees with POSIX, and both -* BSD and SVR4 practice. -* Andy Walker ([email protected]), February 14, 1995 -* -* Scrapped free list which is redundant now that we allocate locks -* dynamically with kmalloc()/kfree(). -* Andy Walker ([email protected]), February 21, 1995 -* -* Implemented two lock personalities - FL_FLOCK and FL_POSIX. -* -* FL_POSIX locks are created with calls to fcntl() and lockf() through the -* fcntl() system call. They have the semantics described above. -* -* FL_FLOCK locks are created with calls to flock(), through the flock() -* system call, which is new. Old C libraries implement flock() via fcntl() -* and will continue to use the old, broken implementation. -* -* FL_FLOCK locks follow the 4.4 BSD flock() semantics. They are associated -* with a file pointer (filp). As a result they can be shared by a parent -* process and its children after a fork(). They are removed when the last -* file descriptor referring to the file pointer is closed (unless explicitly -* unlocked). -* -* FL_FLOCK locks never deadlock, an existing lock is always removed before -* upgrading from shared to exclusive (or vice versa). When this happens -* any processes blocked by the current lock are woken up and allowed to -* run before the new lock is applied. -* Andy Walker ([email protected]), June 09, 1995 -* -* Removed some race conditions in flock_lock_file(), marked other possible -* races. Just grep for FIXME to see them. -* Dmitry Gorodchanin ([email protected]), February 09, 1996. -* -* Addressed Dmitry's concerns. Deadlock checking no longer recursive. -* Lock allocation changed to GFP_ATOMIC as we can't afford to sleep -* once we've checked for blocking and deadlocking. -* Andy Walker ([email protected]), April 03, 1996. -* -* Initial implementation of mandatory locks. SunOS turned out to be -* a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. -* Andy Walker ([email protected]), April 06, 1996. -* -* Don't allow mandatory locks on mmap()'ed files. Added simple functions to -* check if a file has mandatory locks, used by mmap(), open() and creat() to -* see if system call should be rejected. Ref. HP-UX/SunOS/Solaris Reference -* Manual, Section 2. -* Andy Walker ([email protected]), April 09, 1996. -* -* Tidied up block list handling. Added '/proc/locks' interface. -* Andy Walker ([email protected]), April 24, 1996. -* -* Fixed deadlock condition for pathological code that mixes calls to -* flock() and fcntl(). -* Andy Walker ([email protected]), April 29, 1996. -* -* Allow only one type of locking scheme (FL_POSIX or FL_FLOCK) to be in use -* for a given file at a time. Changed the CONFIG_LOCK_MANDATORY scheme to -* guarantee sensible behaviour in the case where file system modules might -* be compiled with different options than the kernel itself. -* Andy Walker ([email protected]), May 15, 1996. -* -* Added a couple of missing wake_up() calls. Thanks to Thomas Meckel -* ([email protected]) for spotting this. -* Andy Walker ([email protected]), May 15, 1996. -* -* Changed FL_POSIX locks to use the block list in the same way as FL_FLOCK -* locks. Changed process synchronisation to avoid dereferencing locks that -* have already been freed. -* Andy Walker ([email protected]), Sep 21, 1996. -* -* Made the block list a circular list to minimise searching in the list. -* Andy Walker ([email protected]), Sep 25, 1996. -* -* Made mandatory locking a mount option. Default is not to allow mandatory -* locking. -* Andy Walker ([email protected]), Oct 04, 1996. -* -* Some adaptations for NFS support. -* Olaf Kirch ([email protected]), Dec 1996, -* -* Fixed /proc/locks interface so that we can't overrun the buffer we are handed. -* Andy Walker ([email protected]), May 12, 1997. -* -* Use slab allocator instead of kmalloc/kfree.
fs/locks.c line 12
Quoted 10 lines
fs/locks.c +0
-7-* Use generic list implementation from <linux/list.h>. -* Sped up posix_locks_deadlock by only considering blocked locks. -* Matthew Wilcox <[email protected]>, March, 2000. -* -* Leases and LOCK_MAND -* Matthew Wilcox <[email protected]>, June, 2000. -* Stephen Rothwell <[email protected]>, June, 2000. * * Locking conflicts and dependencies: * If multiple threads attempt to lock the same byte (or flock the same file)
Thanks, Bruce (and Mauro). Applied to the locks-next branch (and I dropped Mauro's patch that touched the same area). It should make v5.16.
Cheers,
Signature · 1 line
Jeff Layton <[email protected]>
Re: [PATCH] locks: remove changelog comments
Em Tue, 19 Oct 2021 14:14:08 -0400
Jeff Layton <[email protected]> escreveu:
Quoted 142 lines · J. Bruce Fields
Quoted 141 lines
From: "J. Bruce Fields" <[email protected]>
This is only of historical interest, and anyone interested in the history can dig out an old version of
locks.cfrom from git.Triggered by the observation that it references the now-removed
Documentation/filesystems/mandatory-locking.rst.Reported-by Mauro Carvalho Chehab <[email protected]>Signed-off-by J. Bruce Fields <[email protected]>--- fs/locks.c | 114 ++--------------------------------------------------- 1 file changed, 4 insertions(+), 110 deletions(-)Quoted 2 lines · Jeff Layton
Yeah, I think that looks great. Send it with a changelog and I'll pull it into the branch I have feeding into -next.
OK!--b.
fs/locks.c +4
-108@@ -2,117 +2,11 @@/* * linux/fs/locks.c * -* Provide support for fcntl()'s F_GETLK, F_SETLK, and F_SETLKW calls. -* Doug Evans ([email protected]), August 07, 1992 +* We implement four types of file locks: BSD locks, posix locks, open +* file description locks, and leases. For details about BSD locks, +* see the flock(2) man page; for details about the other three, see +* fcntl(2). * -* Deadlock detection added. -* FIXME: one thing isn't handled yet: -* - mandatory locks (requires lots of changes elsewhere) -* Kelly Carmichael (kelly@[142.24.8.65]), September 17, 1994. -* -* Miscellaneous edits, and a total rewrite of posix_lock_file() code. -* Kai Petzke ([email protected]), 1994 -* -* Converted file_lock_table to a linked list from an array, which eliminates -* the limits on how many active file locks are open. -* Chad Page ([email protected]), November 27, 1994 -* -* Removed dependency on file descriptors. dup()'ed file descriptors now -* get the same locks as the original file descriptors, and a close() on -* any file descriptor removes ALL the locks on the file for the current -* process. Since locks still depend on the process id, locks are inherited -* after an exec() but not after a fork(). This agrees with POSIX, and both -* BSD and SVR4 practice. -* Andy Walker ([email protected]), February 14, 1995 -* -* Scrapped free list which is redundant now that we allocate locks -* dynamically with kmalloc()/kfree(). -* Andy Walker ([email protected]), February 21, 1995 -* -* Implemented two lock personalities - FL_FLOCK and FL_POSIX. -* -* FL_POSIX locks are created with calls to fcntl() and lockf() through the -* fcntl() system call. They have the semantics described above. -* -* FL_FLOCK locks are created with calls to flock(), through the flock() -* system call, which is new. Old C libraries implement flock() via fcntl() -* and will continue to use the old, broken implementation. -* -* FL_FLOCK locks follow the 4.4 BSD flock() semantics. They are associated -* with a file pointer (filp). As a result they can be shared by a parent -* process and its children after a fork(). They are removed when the last -* file descriptor referring to the file pointer is closed (unless explicitly -* unlocked). -* -* FL_FLOCK locks never deadlock, an existing lock is always removed before -* upgrading from shared to exclusive (or vice versa). When this happens -* any processes blocked by the current lock are woken up and allowed to -* run before the new lock is applied. -* Andy Walker ([email protected]), June 09, 1995 -* -* Removed some race conditions in flock_lock_file(), marked other possible -* races. Just grep for FIXME to see them. -* Dmitry Gorodchanin ([email protected]), February 09, 1996. -* -* Addressed Dmitry's concerns. Deadlock checking no longer recursive. -* Lock allocation changed to GFP_ATOMIC as we can't afford to sleep -* once we've checked for blocking and deadlocking. -* Andy Walker ([email protected]), April 03, 1996. -* -* Initial implementation of mandatory locks. SunOS turned out to be -* a rotten model, so I implemented the "obvious" semantics. -* See 'Documentation/filesystems/mandatory-locking.rst' for details. -* Andy Walker ([email protected]), April 06, 1996. -* -* Don't allow mandatory locks on mmap()'ed files. Added simple functions to -* check if a file has mandatory locks, used by mmap(), open() and creat() to -* see if system call should be rejected. Ref. HP-UX/SunOS/Solaris Reference -* Manual, Section 2. -* Andy Walker ([email protected]), April 09, 1996. -* -* Tidied up block list handling. Added '/proc/locks' interface. -* Andy Walker ([email protected]), April 24, 1996. -* -* Fixed deadlock condition for pathological code that mixes calls to -* flock() and fcntl(). -* Andy Walker ([email protected]), April 29, 1996. -* -* Allow only one type of locking scheme (FL_POSIX or FL_FLOCK) to be in use -* for a given file at a time. Changed the CONFIG_LOCK_MANDATORY scheme to -* guarantee sensible behaviour in the case where file system modules might -* be compiled with different options than the kernel itself. -* Andy Walker ([email protected]), May 15, 1996. -* -* Added a couple of missing wake_up() calls. Thanks to Thomas Meckel -* ([email protected]) for spotting this. -* Andy Walker ([email protected]), May 15, 1996. -* -* Changed FL_POSIX locks to use the block list in the same way as FL_FLOCK -* locks. Changed process synchronisation to avoid dereferencing locks that -* have already been freed. -* Andy Walker ([email protected]), Sep 21, 1996. -* -* Made the block list a circular list to minimise searching in the list. -* Andy Walker ([email protected]), Sep 25, 1996. -* -* Made mandatory locking a mount option. Default is not to allow mandatory -* locking. -* Andy Walker ([email protected]), Oct 04, 1996. -* -* Some adaptations for NFS support. -* Olaf Kirch ([email protected]), Dec 1996, -* -* Fixed /proc/locks interface so that we can't overrun the buffer we are handed. -* Andy Walker ([email protected]), May 12, 1997. -* -* Use slab allocator instead of kmalloc/kfree. -* Use generic list implementation from <linux/list.h>. -* Sped up posix_locks_deadlock by only considering blocked locks. -* Matthew Wilcox <[email protected]>, March, 2000. -* -* Leases and LOCK_MAND
Quoted 8 lines
fs/locks.c line 12
Quoted 5 lines
fs/locks.c +0
-2-* Matthew Wilcox <[email protected]>, June, 2000. -* Stephen Rothwell <[email protected]>, June, 2000. * * Locking conflicts and dependencies: * If multiple threads attempt to lock the same byte (or flock the same file) Thanks, Bruce (and Mauro). Applied to the locks-next branch (and I dropped Mauro's patch that touched the same area). It should make v5.16.
Thanks! Yeah, it looks a lot cleaner without those changelog-style comments.
Quoted 2 lines
Cheers,
PATCH v3 19/23 Documentation/process: fix a cross reference
In reply to Mauro Carvalho ChehabThe cross-reference for the handbooks section works. However, it is meant to describe the path inside the Kernel's doc where the section is, but there's an space instead of a dash, plus it lacks the .rst at the end, which makes:
./scripts/documentation-file-ref-check
to complain.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/process/submitting-patches.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/process/submitting-patches.rst +2 -2
@@ -22,8 +22,8 @@ use it, it will make your life as a kernel developer and in general much easier. Some subsystems and maintainer trees have additional information about -their workflow and expectations, see :ref:`Documentation/process/maintainer -handbooks <maintainer_handbooks_main>`. +their workflow and expectations, see +:ref:`Documentation/process/maintainer-handbooks.rst <maintainer_handbooks_main>`. Obtain a current source tree ----------------------------
Signature · 1 line
2.31.1
PATCH v3 20/23 dt-bindings: mfd: update x-powers,axp152.yaml reference
In reply to Mauro Carvalho ChehabChangeset f38d3e404326 ("dt-bindings: mfd: Convert X-Powers AXP binding to a schema")
renamed: Documentation/devicetree/bindings/mfd/axp20x.txt
to: Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/devicetree/bindings/gpio/gpio-axp209.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/gpio/gpio-axp209.txt +1 -1
@@ -17,7 +17,7 @@ Required properties: - gpio-controller: Marks the device node as a GPIO controller. This node must be a subnode of the axp20x PMIC, documented in -Documentation/devicetree/bindings/mfd/axp20x.txt +Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml Example:
Signature · 1 line
2.31.1
Re: [PATCH v3 20/23] dt-bindings: mfd: update x-powers,axp152.yaml reference
Quoted 9 lines · Mauro Carvalho Chehab
Changeset
f38d3e404326("dt-bindings: mfd: Convert X-Powers AXP binding to a schema")
renamed:Documentation/devicetree/bindings/mfd/axp20x.txt
to:Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml.Update its cross-reference accordingly.
Fixes f38d3e404326 ("dt-bindings: mfd: Convert X-Powers AXP binding to a schema")Signed-off-by Mauro Carvalho Chehab <[email protected]>
Re: [PATCH v3 20/23] dt-bindings: mfd: update x-powers,axp152.yaml reference
In reply to Mauro Carvalho ChehabQuoted 6 lines · Mauro Carvalho Chehab
Changeset
f38d3e404326("dt-bindings: mfd: Convert X-Powers AXP binding to a schema")
renamed:Documentation/devicetree/bindings/mfd/axp20x.txt
to:Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml.Update its cross-reference accordingly.
Quoted 8 lines
Fixes f38d3e404326 ("dt-bindings: mfd: Convert X-Powers AXP binding to a schema")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/devicetree/bindings/gpio/gpio-axp209.txt | 2 +-
This file no longer exists.
If it's still relevant, please rebase onto Linux -next and resubmit.
See this commit for details:
dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema
Quoted 15 lines
1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/gpio/gpio-axp209.txt +1
-1@@ -17,7 +17,7 @@ Required properties: - gpio-controller: Marks the device node as a GPIO controller. This node must be a subnode of the axp20x PMIC, documented in -Documentation/devicetree/bindings/mfd/axp20x.txt +Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml Example:
Signature · 4 lines
Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
PATCH v3 21/23 regulator: dt-bindings: update samsung,s2mpa01.yaml reference
In reply to Mauro Carvalho ChehabThe file name: Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml should be, instead: Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
.../devicetree/bindings/regulator/samsung,s2mpa01.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml +1 -1
@@ -15,7 +15,7 @@ description: | The S2MPA01 provides buck and LDO regulators. - See also Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml for + See also Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml for additional information and example. patternProperties:
Signature · 1 line
2.31.1
Re: [PATCH v3 21/23] regulator: dt-bindings: update samsung,s2mpa01.yaml reference
Quoted 20 lines · Mauro Carvalho Chehab
The file name:
Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yamlshould be, instead:Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml.Update its cross-reference accordingly.
Fixes a52afb0f54fa ("regulator: dt-bindings: samsung,s2mpa01: convert to dtschema")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
.../devicetree/bindings/regulator/samsung,s2mpa01.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml +0
-0
Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml description: | · line 20
Quoted 7 lines
Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml +1
-1@@ -15,7 +15,7 @@ description: | The S2MPA01 provides buck and LDO regulators. - See also Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml for + See also Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml for additional information and example.
Hi Mauro,
Thanks for the patch but it is incorrect. Old path is proper, just the patch waits on merging.
For this one: NAK.
Best regards,
Krzysztof
Mark Brown
maintainerRe: [PATCH v3 21/23] regulator: dt-bindings: update samsung,s2mpa01.yaml reference
In reply to Mauro Carvalho ChehabQuoted 2 lines · Mauro Carvalho Chehab
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
It'd be a bit easier to put a note in here about what the dependencies are rather than forcing people to go out to a link to figure out what's going on unless it's complicated. For a case like this where there's no dependencies or real relationship between the patches it's probably better to just not thread everything and send the patches separately to everyone, the threading is just adding noise and confusion.
Re: [PATCH v3 21/23] regulator: dt-bindings: update samsung,s2mpa01.yaml reference
Em Tue, 19 Oct 2021 13:04:59 +0100
Mark Brown <[email protected]> escreveu:
Quoted 5 lines · Mauro Carvalho Chehab
Quoted 3 lines
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Quoted 8 lines
It'd be a bit easier to put a note in here about what the dependencies are rather than forcing people to go out to a link to figure out what's going on unless it's complicated.
For a case like this where there's no
dependencies or real relationship between the patches it's probably better to just not thread everything and send the patches separately to everyone, the threading is just adding noise and confusion.
It is not that easy, unfortunately. On some cases (specially due to DT binding renames) some patches change the context of a hunk, affecting a subsequent patch.
I tried a couple of times in the past to send the patches individually, but that was messier, as there was harder for people to apply them, as, instead of running b4 just once to get everything, maintainers would need to apply each patch individually. Also, there were cases where the patch order would be relevant, due to context changes.
-
Btw, talking about what it would be easier, the best procedure to adopt is to run:
./scripts/documentation-file-ref-check
Before sending/applying patches touching documents.
That would avoid the need of such fixup patches ;-)
Unfortunately, in the specific case of dt-bindings, things are not that easy, as doc changes usually go via one tree, while references to them come from other places.
Regards,
Mauro
Mark Brown
maintainerRe: [PATCH v3 21/23] regulator: dt-bindings: update samsung,s2mpa01.yaml reference
Quoted 10 lines · Mauro Carvalho Chehab
Mark Brown <[email protected]> escreveu:
Quoted 4 lines
For a case like this where there's no
dependencies or real relationship between the patches it's probably better to just not thread everything and send the patches separately to everyone, the threading is just adding noise and confusion.It is not that easy, unfortunately. On some cases (specially due to DT binding renames) some patches change the context of a hunk, affecting a subsequent patch.
If that's the case then the cover letter really needs work to make this clear, I couldn't tell that there was any risk of dependencies nor would I expect any for such trivial changes.
Quoted 5 lines
I tried a couple of times in the past to send the patches individually, but that was messier, as there was harder for people to apply them, as, instead of running b4 just once to get everything, maintainers would need to apply each patch individually. Also, there were cases where the patch order would be relevant, due to context changes.
You could also send a per subsystem series if there's a concern about it being hard to pick up individual patches.
Rob Herring
maintainerRe: [PATCH v3 21/23] regulator: dt-bindings: update samsung,s2mpa01.yaml reference
In reply to Mauro Carvalho ChehabQuoted 12 lines · Mauro Carvalho Chehab
Em Tue, 19 Oct 2021 13:04:59 +0100
Mark Brown <[email protected]> escreveu:Quoted 9 lines · Mauro Carvalho Chehab
Quoted 3 lines
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
It'd be a bit easier to put a note in here about what the dependencies are rather than forcing people to go out to a link to figure out what's going on unless it's complicated.
Quoted 8 lines
Quoted 4 lines
For a case like this where there's no
dependencies or real relationship between the patches it's probably better to just not thread everything and send the patches separately to everyone, the threading is just adding noise and confusion.It is not that easy, unfortunately. On some cases (specially due to DT binding renames) some patches change the context of a hunk, affecting a subsequent patch.
Those should be reduced now. I've been checking the renames since early August. July really, but MAINTAINERS was not getting checked initially.
Quoted 5 lines
I tried a couple of times in the past to send the patches individually, but that was messier, as there was harder for people to apply them, as, instead of running b4 just once to get everything, maintainers would need to apply each patch individually. Also, there were cases where the patch order would be relevant, due to context changes.
Just spliting between in Linus' tree and only in next would help me. The former I know I can just apply.
Quoted 6 lines
Btw, talking about what it would be easier, the best procedure to adopt is to run:
./scripts/documentation-file-ref-checkBefore sending/applying patches touching documents.
Good luck with that. :(
Quoted 9 lines
That would avoid the need of such fixup patches ;-)
Unfortunately, in the specific case of dt-bindings, things are not that easy, as doc changes usually go via one tree, while references to them come from other places.
Regards,
Mauro
PATCH v3 22/23 regulator: dt-bindings: update samsung,s5m8767.yaml reference
In reply to Mauro Carvalho ChehabThe file name: Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml should be, instead: Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
.../devicetree/bindings/regulator/samsung,s5m8767.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml +1 -1
@@ -15,7 +15,7 @@ description: | The S5M8767 provides buck and LDO regulators. - See also Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml for + See also Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml for additional information and example. patternProperties:
Signature · 1 line
2.31.1
Re: [PATCH v3 22/23] regulator: dt-bindings: update samsung,s5m8767.yaml reference
Quoted 21 lines · Mauro Carvalho Chehab
The file name:
Documentation/devicetree/bindings/mfd/samsung,s5m8767.yamlshould be, instead:Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml.Update its cross-reference accordingly.
Fixes fab58debc137 ("regulator: dt-bindings: samsung,s5m8767: convert to dtschema")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
.../devicetree/bindings/regulator/samsung,s5m8767.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml +0
-0
Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml description: | · line 21
Quoted 8 lines
Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml +1
-1@@ -15,7 +15,7 @@ description: | The S5M8767 provides buck and LDO regulators. - See also Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml for + See also Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml for additional information and example. patternProperties:
Hi Mauro,
Thanks for the patch but it is incorrect. Old path is proper, just the patch waits on merging.
For this one: NAK.
Best regards,
Krzysztof
PATCH v3 23/23 dt-bindings: reserved-memory: ramoops: update ramoops.yaml references
In reply to Mauro Carvalho ChehabChangeset 89a5bf0f22fd ("dt-bindings: reserved-memory: ramoops: Convert txt bindings to yaml")
renamed: Documentation/devicetree/bindings/reserved-memory/ramoops.txt
to: Documentation/devicetree/bindings/reserved-memory/ramoops.yaml.
Update the cross-references accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/admin-guide/ramoops.rst | 2 +- MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/admin-guide/ramoops.rst +1 -1
@@ -69,7 +69,7 @@ Setting the ramoops parameters can be done in several different manners: mem=128M ramoops.mem_address=0x8000000 ramoops.ecc=1 B. Use Device Tree bindings, as described in - ``Documentation/devicetree/bindings/reserved-memory/ramoops.txt``. + ``Documentation/devicetree/bindings/reserved-memory/ramoops.yaml``. For example:: reserved-memory {
MAINTAINERS +1 -1
@@ -15336,7 +15336,7 @@ S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore F: Documentation/admin-guide/ramoops.rst F: Documentation/admin-guide/pstore-blk.rst -F: Documentation/devicetree/bindings/reserved-memory/ramoops.txt +F: Documentation/devicetree/bindings/reserved-memory/ramoops.yaml F: drivers/acpi/apei/erst.c F: drivers/firmware/efi/efi-pstore.c F: fs/pstore/
Signature · 1 line
2.31.1
Re: [PATCH v3 23/23] dt-bindings: reserved-memory: ramoops: update ramoops.yaml references
Than you for catching this.
Best regards
David Heidelberg
Quoted 48 lines · Mauro Carvalho Chehab
Changeset
89a5bf0f22fd("dt-bindings: reserved-memory: ramoops: Convert txt bindings to yaml")
renamed:Documentation/devicetree/bindings/reserved-memory/ramoops.txt
to:Documentation/devicetree/bindings/reserved-memory/ramoops.yaml.Update the cross-references accordingly.
Fixes 89a5bf0f22fd ("dt-bindings: reserved-memory: ramoops: Convert txt bindings to yaml")Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/admin-guide/ramoops.rst | 2 +- MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Documentation/admin-guide/ramoops.rst +0
-0@@ -69,7 +69,7 @@ Setting the ramoops parameters can be done inseveral different manners:
Documentation/admin-guide/ramoops.rst +1
-1mem=128M ramoops.mem_address=0x8000000 ramoops.ecc=1 B. Use Device Tree bindings, as described in - ``Documentation/devicetree/bindings/reserved-memory/ramoops.txt``. + ``Documentation/devicetree/bindings/reserved-memory/ramoops.yaml``. For example:: reserved-memory {MAINTAINERS +0
-0@@ -15336,7 +15336,7 @@ S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.gitfor-next/pstore
F:Documentation/admin-guide/ramoops.rst
F:Documentation/admin-guide/pstore-blk.rstMAINTAINERS +1
-2-F: Documentation/devicetree/bindings/reserved-memory/ramoops.txt +F: Documentation/devicetree/bindings/reserved-memory/ramoops.yaml F: drivers/acpi/apei/erst.c F: drivers/firmware/efi/efi-pstore.c F: fs/pstore/ --2.31.1
Re: [PATCH v3 23/23] dt-bindings: reserved-memory: ramoops: update ramoops.yaml references
In reply to Mauro Carvalho ChehabQuoted 8 lines · Mauro Carvalho Chehab
Changeset
89a5bf0f22fd("dt-bindings: reserved-memory: ramoops: Convert txt bindings to yaml")
renamed:Documentation/devicetree/bindings/reserved-memory/ramoops.txt
to:Documentation/devicetree/bindings/reserved-memory/ramoops.yaml.Update the cross-references accordingly.
Fixes 89a5bf0f22fd ("dt-bindings: reserved-memory: ramoops: Convert txt bindings to yaml")Signed-off-by Mauro Carvalho Chehab <[email protected]>
Quoted 9 lines
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/23] at: https://lore.kernel.org/all/[email protected]/
Documentation/admin-guide/ramoops.rst | 2 +- MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks!
Rob Herring
maintainerQuoted 13 lines · Mauro Carvalho Chehab
Hi Jon,
This series is against today's next (next-20211019) and addresses missing links to
Documentation/*.The best would be to have the patches applied directly to the trees that contain the patches that moved/renamed files, and then apply the remaining ones either later during the merge window or just afterwards, whatever works best for you.
Regards,
Mauro
Quoted 13 lines
Mauro Carvalho Chehab (23):
visorbus: fix a copyright symbol that was bad encoded
libbpf: updateindex.rstreference
docs: accounting: updatedelay-accounting.rstreference
MAINTAINERS: update arm,vic.yaml reference
MAINTAINERS: update aspeed,i2c.yaml reference
MAINTAINERS: update faraday,ftrtc010.yaml reference
MAINTAINERS: update ti,sci.yaml reference
MAINTAINERS: update intel,ixp46x-rng.yaml reference
MAINTAINERS: update nxp,imx8-jpeg.yaml reference
MAINTAINERS: updategemini.yamlreference
MAINTAINERS: update brcm,unimac-mdio.yaml reference
MAINTAINERS: updatemtd-physmap.yamlreference
Applied patches 3-12.
Quoted 11 lines
Documentation: update
vcpu-requests.rstreference
bpftool: updatebpftool-cgroup.rstreference
docs: translations:zn_CN:irq-affinity.rst: add a missing extension
docs: translations:zh_CN:memory-hotplug.rst: fix a typo
docs: fs:locks.rst: update comment about mandatory file locking
fs: remove a comment pointing to the removed mandatory-locking fileDocumentation/process: fix a cross reference
dt-bindings: mfd: update x-powers,axp152.yaml reference
regulator: dt-bindings: update samsung,s2mpa01.yaml reference
regulator: dt-bindings: update samsung,s5m8767.yaml reference
dt-bindings: reserved-memory: ramoops: updateramoops.yamlreferences