* [PATCH 00/13] Get rid of DocBook
@ 2017-05-14 15:38 Mauro Carvalho Chehab
2017-05-14 15:38 ` [PATCH 06/13] ia64, scsi: update references for the device-io book Mauro Carvalho Chehab
2017-05-14 21:05 ` [PATCH 00/13] Get rid of DocBook Kees Cook
0 siblings, 2 replies; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2017-05-14 15:38 UTC (permalink / raw)
To: Linux Doc Mailing List
Cc: linux-ide, linux-fbdev, linux-ia64, Fenghua Yu, Peter Zijlstra,
linux-pci, Richard Sailer, Herton R. Krzesinski, alsa-devel,
dri-devel, Jaroslav Kysela, Masahiro Yamada, Daniel Vetter,
Jiri Slaby, Ingo Molnar, Hans-Christian Noren Egtvedt,
Markus Heiser, James E.J. Bottomley, linux-scsi, Jonathan Corbet,
Sanjeev, Bartlomiej Zolnierkiewicz, Tony Luck,
Mauro Carvalho Chehab
As just one book (lsm) was missing conversion, let's convert it
and store as if it were a plain text file under Documentation/lsm.txt,
adding a notice that it requires update.
This way, as everything is now converted, we can get rid of
the DocBook building system and update places that were
mentioning it.
PS.: We could also remove the parts of the kernel-doc script that
produce DocBook outputs, but, as this might still be useful
for someone, for now let's just keep the functionality there.
-
This patch series is based on my past 00/05 and 00/36 patch series
that convert the other DocBooks to ReST, applied on the top of
docs tree (next branch).
The full patch series is on this tree is at:
https://git.linuxtv.org//mchehab/experimental.git/log/?h=docbook2
And the HTML output at:
http://www.infradead.org/~mchehab/kernel_docs/
https://mchehab.fedorapeople.org/kernel_docs/
Mauro Carvalho Chehab (13):
docs-rst: convert lsm from DocBook to ReST
docs: remove DocBook from the building system
docs: update old references for DocBook from the documentation
MAINTAINERS: update old references for DocBook directory
ata: update references for libata documentation
ia64, scsi: update references for the device-io book
irq: update genericirq book location
fs: update location of filesystems documentation
lib: update location of kgdb documentation
sound: fix the comments that refers to kernel-doc
fs: fix the location of the kernel-api book
usb: fix the comment with regards to DocBook
docs-rst: get rid of Documentation/sphinx/tmplcvt script
Documentation/00-INDEX | 6 +-
Documentation/DocBook/.gitignore | 17 --
Documentation/DocBook/Makefile | 276 -----------------------------
Documentation/DocBook/lsm.tmpl | 265 ---------------------------
Documentation/DocBook/stylesheet.xsl | 11 --
Documentation/Makefile | 125 +++++++++++++
Documentation/Makefile.sphinx | 130 --------------
Documentation/PCI/MSI-HOWTO.txt | 2 +-
Documentation/admin-guide/README.rst | 6 -
Documentation/doc-guide/docbook.rst | 90 ----------
Documentation/doc-guide/index.rst | 1 -
Documentation/doc-guide/sphinx.rst | 5 -
Documentation/fb/api.txt | 4 +-
Documentation/gpu/todo.rst | 2 +-
Documentation/kernel-doc-nano-HOWTO.txt | 65 ++-----
Documentation/lsm.txt | 201 +++++++++++++++++++++
Documentation/process/changes.rst | 26 +--
Documentation/process/howto.rst | 8 -
Documentation/process/kernel-docs.rst | 34 +---
Documentation/sphinx/tmplcvt | 28 ---
Documentation/translations/ja_JP/howto.rst | 7 -
Documentation/translations/ko_KR/howto.rst | 7 -
MAINTAINERS | 5 +-
Makefile | 11 +-
arch/ia64/include/asm/io.h | 2 +-
arch/ia64/sn/kernel/iomv.c | 2 +-
drivers/ata/acard-ahci.c | 2 +-
drivers/ata/ahci.c | 2 +-
drivers/ata/ahci.h | 2 +-
drivers/ata/ata_piix.c | 2 +-
drivers/ata/libahci.c | 2 +-
drivers/ata/libata-core.c | 2 +-
drivers/ata/libata-eh.c | 2 +-
drivers/ata/libata-scsi.c | 2 +-
drivers/ata/libata-sff.c | 2 +-
drivers/ata/libata.h | 2 +-
drivers/ata/pata_pdc2027x.c | 2 +-
drivers/ata/pdc_adma.c | 2 +-
drivers/ata/sata_nv.c | 2 +-
drivers/ata/sata_promise.c | 2 +-
drivers/ata/sata_promise.h | 2 +-
drivers/ata/sata_qstor.c | 2 +-
drivers/ata/sata_sil.c | 2 +-
drivers/ata/sata_sis.c | 2 +-
drivers/ata/sata_svw.c | 2 +-
drivers/ata/sata_sx4.c | 2 +-
drivers/ata/sata_uli.c | 2 +-
drivers/ata/sata_via.c | 2 +-
drivers/ata/sata_vsc.c | 2 +-
drivers/scsi/qla1280.c | 2 +-
drivers/usb/gadget/Kconfig | 2 +-
fs/debugfs/file.c | 2 +-
fs/debugfs/inode.c | 2 +-
include/linux/ata.h | 2 +-
include/linux/debugfs.h | 2 +-
include/linux/libata.h | 2 +-
include/sound/pcm.h | 2 +-
kernel/irq/chip.c | 2 +-
kernel/irq/handle.c | 2 +-
kernel/irq/irqdesc.c | 2 +-
lib/Kconfig.debug | 2 +-
lib/Kconfig.kgdb | 2 +-
scripts/Makefile | 9 +-
scripts/check-lc_ctype.c | 11 --
64 files changed, 396 insertions(+), 1032 deletions(-)
delete mode 100644 Documentation/DocBook/.gitignore
delete mode 100644 Documentation/DocBook/Makefile
delete mode 100644 Documentation/DocBook/lsm.tmpl
delete mode 100644 Documentation/DocBook/stylesheet.xsl
delete mode 100644 Documentation/Makefile.sphinx
delete mode 100644 Documentation/doc-guide/docbook.rst
create mode 100644 Documentation/lsm.txt
delete mode 100755 Documentation/sphinx/tmplcvt
delete mode 100644 scripts/check-lc_ctype.c
--
2.9.3
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 06/13] ia64, scsi: update references for the device-io book
2017-05-14 15:38 [PATCH 00/13] Get rid of DocBook Mauro Carvalho Chehab
@ 2017-05-14 15:38 ` Mauro Carvalho Chehab
2017-05-14 21:05 ` [PATCH 00/13] Get rid of DocBook Kees Cook
1 sibling, 0 replies; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2017-05-14 15:38 UTC (permalink / raw)
To: Linux Doc Mailing List
Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, linux-kernel,
Jonathan Corbet, Tony Luck, Fenghua Yu, Michael Reed,
James E.J. Bottomley, Martin K. Petersen, linux-ia64, linux-scsi
The book is now at Documentation/driver-api/device-io.rst.
Update such references.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
---
arch/ia64/include/asm/io.h | 2 +-
arch/ia64/sn/kernel/iomv.c | 2 +-
drivers/scsi/qla1280.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h
index 5de673ac9cb1..a2540e21f919 100644
--- a/arch/ia64/include/asm/io.h
+++ b/arch/ia64/include/asm/io.h
@@ -117,7 +117,7 @@ extern int valid_mmap_phys_addr_range (unsigned long pfn, size_t count);
* following the barrier will arrive after all previous writes. For most
* ia64 platforms, this is a simple 'mf.a' instruction.
*
- * See Documentation/DocBook/deviceiobook.tmpl for more information.
+ * See Documentation/driver-api/device-io.rst for more information.
*/
static inline void ___ia64_mmiowb(void)
{
diff --git a/arch/ia64/sn/kernel/iomv.c b/arch/ia64/sn/kernel/iomv.c
index c77ebdf98119..2b22a71663c1 100644
--- a/arch/ia64/sn/kernel/iomv.c
+++ b/arch/ia64/sn/kernel/iomv.c
@@ -63,7 +63,7 @@ EXPORT_SYMBOL(sn_io_addr);
/**
* __sn_mmiowb - I/O space memory barrier
*
- * See arch/ia64/include/asm/io.h and Documentation/DocBook/deviceiobook.tmpl
+ * See arch/ia64/include/asm/io.h and Documentation/driver-api/device-io.rst
* for details.
*
* On SN2, we wait for the PIO_WRITE_STATUS SHub register to clear.
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index 634254a52301..8a29fb09db14 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -3390,7 +3390,7 @@ qla1280_isp_cmd(struct scsi_qla_host *ha)
* On PCI bus, order reverses and write of 6 posts, then index 5,
* causing chip to issue full queue of stale commands
* The mmiowb() prevents future writes from crossing the barrier.
- * See Documentation/DocBook/deviceiobook.tmpl for more information.
+ * See Documentation/driver-api/device-io.rst for more information.
*/
WRT_REG_WORD(®->mailbox4, ha->req_ring_index);
mmiowb();
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 00/13] Get rid of DocBook
2017-05-14 15:38 [PATCH 00/13] Get rid of DocBook Mauro Carvalho Chehab
2017-05-14 15:38 ` [PATCH 06/13] ia64, scsi: update references for the device-io book Mauro Carvalho Chehab
@ 2017-05-14 21:05 ` Kees Cook
2017-05-14 22:00 ` Mauro Carvalho Chehab
1 sibling, 1 reply; 5+ messages in thread
From: Kees Cook @ 2017-05-14 21:05 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: linux-ide, linux-fbdev, linux-ia64, Linux Doc Mailing List,
Peter Zijlstra, linux-pci@vger.kernel.org, Richard Sailer,
Herton R. Krzesinski, moderated for non-subscribers,
Maling list - DRI developers, Jaroslav Kysela, Masahiro Yamada,
Daniel Vetter, Jiri Slaby, Ingo Molnar,
Hans-Christian Noren Egtvedt, Markus Heiser, James E.J. Bottomley,
linux-scsi@vger.kernel.org, Jonathan Corbet
On Sun, May 14, 2017 at 8:38 AM, Mauro Carvalho Chehab
<mchehab@s-opensource.com> wrote:
> As just one book (lsm) was missing conversion, let's convert it
> and store as if it were a plain text file under Documentation/lsm.txt,
> adding a notice that it requires update.
I could probably fold this change into my rst-ification of
Documentation/security/
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=kspp/rst
Specifically, the new Documentation/security/LSM.rst was rather short.
I think your lsm.txt and this one could be likely merged.
-Kees
--
Kees Cook
Pixel Security
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 00/13] Get rid of DocBook
2017-05-14 21:05 ` [PATCH 00/13] Get rid of DocBook Kees Cook
@ 2017-05-14 22:00 ` Mauro Carvalho Chehab
2017-05-15 14:34 ` Kees Cook
0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2017-05-14 22:00 UTC (permalink / raw)
To: Kees Cook
Cc: linux-ide, linux-fbdev, linux-ia64, Linux Doc Mailing List,
Peter Zijlstra, linux-pci@vger.kernel.org, Richard Sailer,
Herton R. Krzesinski, moderated for non-subscribers,
Maling list - DRI developers, Jaroslav Kysela, Masahiro Yamada,
Daniel Vetter, Jiri Slaby, Ingo Molnar,
Hans-Christian Noren Egtvedt, Markus Heiser, James E.J. Bottomley,
linux-scsi@vger.kernel.org, Jonathan Corbet
Em Sun, 14 May 2017 14:05:09 -0700
Kees Cook <keescook@chromium.org> escreveu:
> On Sun, May 14, 2017 at 8:38 AM, Mauro Carvalho Chehab
> <mchehab@s-opensource.com> wrote:
> > As just one book (lsm) was missing conversion, let's convert it
> > and store as if it were a plain text file under Documentation/lsm.txt,
> > adding a notice that it requires update.
>
> I could probably fold this change into my rst-ification of
> Documentation/security/
>
> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=kspp/rst
>
> Specifically, the new Documentation/security/LSM.rst was rather short.
> I think your lsm.txt and this one could be likely merged.
Yeah, makes sense. I'm not sure what would be the best way to
proceed, as, currently, after removing lsm.tmpl, my patch
series remove DocBook, as everything else was already removed.
I see a few ways for us to proceed:
1) You could submit the patches you have so far to docs -next,
to be merged before my patch series;
2) I could send you a patch based on your tree. I'll need to
rebase this series to be applied on the top of your tree + docs-next,
with would require that your patch series would be merged before,
at docs -next;
3) we can handle both series independently. When both gets
merged at docs -next, a simple patch, either written by you or
me, could merge both files.
IMO, (3) is simpler, but if you prefer, we can do on some other
way.
Thanks,
Mauro
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 00/13] Get rid of DocBook
2017-05-14 22:00 ` Mauro Carvalho Chehab
@ 2017-05-15 14:34 ` Kees Cook
0 siblings, 0 replies; 5+ messages in thread
From: Kees Cook @ 2017-05-15 14:34 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: linux-ide, linux-fbdev, linux-ia64, Linux Doc Mailing List,
Peter Zijlstra, linux-pci@vger.kernel.org, Richard Sailer,
Herton R. Krzesinski, moderated for non-subscribers,
Maling list - DRI developers, Jaroslav Kysela, Masahiro Yamada,
Daniel Vetter, Jiri Slaby, Ingo Molnar,
Hans-Christian Noren Egtvedt, Markus Heiser, James E.J. Bottomley,
linux-scsi@vger.kernel.org, Jonathan Corbet
On Sun, May 14, 2017 at 3:00 PM, Mauro Carvalho Chehab
<mchehab@s-opensource.com> wrote:
> Em Sun, 14 May 2017 14:05:09 -0700
> Kees Cook <keescook@chromium.org> escreveu:
>
>> On Sun, May 14, 2017 at 8:38 AM, Mauro Carvalho Chehab
>> <mchehab@s-opensource.com> wrote:
>> > As just one book (lsm) was missing conversion, let's convert it
>> > and store as if it were a plain text file under Documentation/lsm.txt,
>> > adding a notice that it requires update.
>>
>> I could probably fold this change into my rst-ification of
>> Documentation/security/
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=kspp/rst
>>
>> Specifically, the new Documentation/security/LSM.rst was rather short.
>> I think your lsm.txt and this one could be likely merged.
>
> Yeah, makes sense. I'm not sure what would be the best way to
> proceed, as, currently, after removing lsm.tmpl, my patch
> series remove DocBook, as everything else was already removed.
>
> I see a few ways for us to proceed:
>
> 1) You could submit the patches you have so far to docs -next,
> to be merged before my patch series;
I sent my series already (it got CCed to linux-doc); it's collected a
few Acks already. I'm not sure what the timing for that means, though.
> 2) I could send you a patch based on your tree. I'll need to
> rebase this series to be applied on the top of your tree + docs-next,
> with would require that your patch series would be merged before,
> at docs -next;
>
> 3) we can handle both series independently. When both gets
> merged at docs -next, a simple patch, either written by you or
> me, could merge both files.
I don't see a reason for us to make the trees depend on each other.
Let's just proceed as-is and whenever we're in a position to merge the
LSM docs, we can do that.
> IMO, (3) is simpler, but if you prefer, we can do on some other
> way.
Agreed.
-Kees
--
Kees Cook
Pixel Security
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-05-15 14:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-14 15:38 [PATCH 00/13] Get rid of DocBook Mauro Carvalho Chehab
2017-05-14 15:38 ` [PATCH 06/13] ia64, scsi: update references for the device-io book Mauro Carvalho Chehab
2017-05-14 21:05 ` [PATCH 00/13] Get rid of DocBook Kees Cook
2017-05-14 22:00 ` Mauro Carvalho Chehab
2017-05-15 14:34 ` Kees Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox