All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Sync kernel-doc.py with Linux upstream
@ 2026-01-06 16:38 Mauro Carvalho Chehab
  2026-01-06 16:38 ` [PATCH 1/1] kernel-doc.py: sync with upstream Kernel v6.19-rc4 Mauro Carvalho Chehab
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mauro Carvalho Chehab @ 2026-01-06 16:38 UTC (permalink / raw)
  To: Igor Mammedov, Michael S . Tsirkin, John Snow, Peter Maydell
  Cc: Jonathan Cameron, Shiju Jose, qemu-arm, qemu-devel,
	Mauro Carvalho Chehab

Hi Peter/John,

There were several updates at kernel-doc upstream fixing bugs,
doing cleanups and a couple of improvements.

Better to keep QEMU in sync with such changes.

Worth mentioning that we did some changes on Linux at the
kernel-doc.py script itself, to avoid Kernel build to crash
with too old Python versions, as there docs build is a
separate target, and python >= 3.6 is a new requirement
there.

On kernel, if python < 3.6, it will simply ignore docs
build (emitting a warning).

I opted to not backport such changes, but if you prefer
doing that, I can do that on a v2.

---

For now, I opted to keep kernel-doc libraries at the same
directory as before - e.g. at scripts/lib/kdoc. On Linux,
we ended moving it to tools/lib/python/kdoc. It could make
sense to move it on QEMU too, as it makes a little bit
easier to keep things in sync.

What do you think?

Mauro Carvalho Chehab (1):
  kernel-doc.py: sync with upstream Kernel v6.19-rc4

 scripts/lib/kdoc/kdoc_files.py  |  11 +-
 scripts/lib/kdoc/kdoc_item.py   |   3 +-
 scripts/lib/kdoc/kdoc_output.py |  93 +++-
 scripts/lib/kdoc/kdoc_parser.py | 897 ++++++++++++++++----------------
 scripts/lib/kdoc/kdoc_re.py     |  24 +-
 5 files changed, 554 insertions(+), 474 deletions(-)

-- 
2.52.0



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-01-20 12:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 16:38 [PATCH 0/1] Sync kernel-doc.py with Linux upstream Mauro Carvalho Chehab
2026-01-06 16:38 ` [PATCH 1/1] kernel-doc.py: sync with upstream Kernel v6.19-rc4 Mauro Carvalho Chehab
2026-01-20 12:55   ` Michael S. Tsirkin
2026-01-06 16:51 ` [PATCH 0/1] Sync kernel-doc.py with Linux upstream Daniel P. Berrangé
2026-01-13 11:44 ` Peter Maydell
2026-01-13 12:08   ` Daniel P. Berrangé
2026-01-13 13:04     ` Peter Maydell
2026-01-13 13:20       ` Daniel P. Berrangé
2026-01-13 19:52     ` John Snow
2026-01-13 20:04       ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.