Skip to contentSkip to conversation

dm: pci: MIGRATION: Add migration plan for PCI

PATCH Superseded Simon Glass 4 participants 6 messages Dec 16, 2018 – Dec 26, 2018 Kbuild

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dm: pci: MIGRATION: Add migration plan for PCI

Add a migration plan for PCI which is an important subsystem in U-Boot.

---

 Makefile                       | 10 ++++++++++
 doc/driver-model/MIGRATION.txt | 10 ++++++++++
 2 files changed, 20 insertions(+)
Makefile +10 -0
index 5683714947f..4923722f82d 100644
@@ -947,6 +947,16 @@ ifeq ($(CONFIG_LIBATA)$(CONFIG_DM_SCSI)$(CONFIG_MVSATA_IDE),y)
 	@echo "See doc/driver-model/MIGRATION.txt for more info."
 	@echo "===================================================="
 endif
+ifeq ($(CONFIG_PCI),y)
+ifneq ($(CONFIG_DM_PCI),y)
+	@echo >&2 "===================== WARNING ======================"
+	@echo >&2 "This board does not use CONFIG_DM_PCI Please update"
+	@echo >&2 "the board to use CONFIG_DM_PCI before the v2019.07 release."
+	@echo >&2 "Failure to update by the deadline may result in board removal."
+	@echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
+	@echo >&2 "===================================================="
+endif
+endif
 ifeq ($(CONFIG_OF_EMBED),y)
 	@echo "===================== WARNING ======================"
 	@echo "CONFIG_OF_EMBED is enabled. This option should only"
doc/driver-model/MIGRATION.txt +10 -0
index dce4aa3e1dc..03a2cae7976 100644
@@ -82,3 +82,13 @@ Partially converted:
 --
 Jagan Teki <[email protected]>
 03/14/2018
+
+
+CONFIG_DM_PCI
+-------------
+Deadline: 2019.07
+
+The PCI subsystem has supported driver model since mid 2015. Maintainers should
+submit patches switching over to using CONFIG_DM_PCI and other base driver
+model options in time for inclusion in the 2019.04 rerelease.
+
Signature · 1 line
2.20.0.405.gbc1bbc6f85-goog
#1 lore raw

PATCH 2/2 dm: video: lcd: MIGRATION: Add migration plan for video

Add a migration plan for video which is an important subsystem in U-Boot.

---

 Makefile                       | 10 ++++++++++
 doc/driver-model/MIGRATION.txt |  8 ++++++++
 2 files changed, 18 insertions(+)
Makefile +10 -0
index 4923722f82d..4b5022a53c7 100644
@@ -957,6 +957,16 @@ ifneq ($(CONFIG_DM_PCI),y)
 	@echo >&2 "===================================================="
 endif
 endif
+ifneq ($(CONFIG_LCD)$(CONFIG_VIDEO),)
+ifneq ($(CONFIG_DM_VIDEO),y)
+	@echo >&2 "===================== WARNING ======================"
+	@echo >&2 "This board does not use CONFIG_DM_VIDEO Please update"
+	@echo >&2 "the board to use CONFIG_DM_VIDEO before the v2019.07 release."
+	@echo >&2 "Failure to update by the deadline may result in board removal."
+	@echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
+	@echo >&2 "===================================================="
+endif
+endif
 ifeq ($(CONFIG_OF_EMBED),y)
 	@echo "===================== WARNING ======================"
 	@echo "CONFIG_OF_EMBED is enabled. This option should only"
doc/driver-model/MIGRATION.txt +8 -0
index 03a2cae7976..dba3f9fe307 100644
@@ -92,3 +92,11 @@ The PCI subsystem has supported driver model since mid 2015. Maintainers should
 submit patches switching over to using CONFIG_DM_PCI and other base driver
 model options in time for inclusion in the 2019.04 rerelease.
 
+
+CONFIG_DM_VIDEO
+---------------
+Deadline: 2019.07
+
+The PCI subsystem has supported driver model since early 2016. Maintainers
+should submit patches switching over to using CONFIG_DM_VIDEO and other base
+driver model options in time for inclusion in the 2019.04 release.
Signature · 1 line
2.20.0.405.gbc1bbc6f85-goog
#2 lore raw

PATCH 2/2 dm: video: lcd: MIGRATION: Add migration plan for video

Quoted 36 lines · Simon Glass

Add a migration plan for video which is an important subsystem in U-Boot.

---

 Makefile                       | 10 ++++++++++
 doc/driver-model/MIGRATION.txt |  8 ++++++++
 2 files changed, 18 insertions(+)
Makefile +10 -0
index 4923722f82d..4b5022a53c7 100644
@@ -957,6 +957,16 @@ ifneq ($(CONFIG_DM_PCI),y)
        @echo >&2 "===================================================="
 endif
 endif
+ifneq ($(CONFIG_LCD)$(CONFIG_VIDEO),)
+ifneq ($(CONFIG_DM_VIDEO),y)
+       @echo >&2 "===================== WARNING ======================"
+       @echo >&2 "This board does not use CONFIG_DM_VIDEO Please update"
+       @echo >&2 "the board to use CONFIG_DM_VIDEO before the v2019.07 release."
+       @echo >&2 "Failure to update by the deadline may result in board removal."
+       @echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
+       @echo >&2 "===================================================="
+endif
+endif
 ifeq ($(CONFIG_OF_EMBED),y)
        @echo "===================== WARNING ======================"
        @echo "CONFIG_OF_EMBED is enabled. This option should only"
doc/driver-model/MIGRATION.txt +0 -0
index 03a2cae7976..dba3f9fe307 100644

doc/driver-model/MIGRATION.txt The PCI subsystem has supported driver model since mid 2015. Maintainers should · line 100

Quoted 9 lines
doc/driver-model/MIGRATION.txt +6 -0
@@ -92,3 +92,11 @@ The PCI subsystem has supported driver model since mid 2015. Maintainers should
 submit patches switching over to using CONFIG_DM_PCI and other base driver
 model options in time for inclusion in the 2019.04 rerelease.
 
+
+CONFIG_DM_VIDEO
+---------------
+Deadline: 2019.07
+
+The PCI subsystem has supported driver model since early 2016. Maintainers

This is probably cut&paste and should say something like 'The video subsystem' (not PCI)?

Regards,
Simon

Quoted 5 lines
doc/driver-model/MIGRATION.txt +2 -1
+should submit patches switching over to using CONFIG_DM_VIDEO and other base
+driver model options in time for inclusion in the 2019.04 release.
--

2.20.0.405.gbc1bbc6f85-goog

#3 lore raw

PATCH 2/2 dm: video: lcd: MIGRATION: Add migration plan for video

Quoted 40 lines · Simon Goldschmidt
Quoted 39 lines · Simon Glass

Add a migration plan for video which is an important subsystem in U-Boot.

---

 Makefile                       | 10 ++++++++++
 doc/driver-model/MIGRATION.txt |  8 ++++++++
 2 files changed, 18 insertions(+)
Makefile +10 -0
index 4923722f82d..4b5022a53c7 100644
@@ -957,6 +957,16 @@ ifneq ($(CONFIG_DM_PCI),y)
        @echo >&2 "===================================================="
 endif
 endif
+ifneq ($(CONFIG_LCD)$(CONFIG_VIDEO),)
+ifneq ($(CONFIG_DM_VIDEO),y)
+       @echo >&2 "===================== WARNING ======================"
+       @echo >&2 "This board does not use CONFIG_DM_VIDEO Please update"
+       @echo >&2 "the board to use CONFIG_DM_VIDEO before the v2019.07 release."
+       @echo >&2 "Failure to update by the deadline may result in board removal."
+       @echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
+       @echo >&2 "===================================================="
+endif
+endif
 ifeq ($(CONFIG_OF_EMBED),y)
        @echo "===================== WARNING ======================"
        @echo "CONFIG_OF_EMBED is enabled. This option should only"
doc/driver-model/MIGRATION.txt +0 -0
index 03a2cae7976..dba3f9fe307 100644
@@ -92,3 +92,11 @@ The PCI subsystem has supported driver model since mid 2015. Maintainers should
 submit patches switching over to using CONFIG_DM_PCI and other base driver
 model options in time for inclusion in the 2019.04 rerelease.
 
Quoted 9 lines

doc/driver-model/MIGRATION.txt The PCI subsystem has supported driver model since mid 2015. Maintainers should · line 100

Quoted 6 lines
doc/driver-model/MIGRATION.txt +6 -0
+
+CONFIG_DM_VIDEO
+---------------
+Deadline: 2019.07
+
+The PCI subsystem has supported driver model since early 2016. Maintainers

This is probably cut&paste and should say something like 'The video subsystem' (not PCI)?

Right, so v2? :)

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181226/392f488a/attachment.sig>
#4 lore raw

PATCH 2/2 dm: video: lcd: MIGRATION: Add migration plan for video

In reply to Simon Glass
Quoted 15 lines · Simon Glass

Add a migration plan for video which is an important subsystem in U-Boot.

---

 Makefile                       | 10 ++++++++++
 doc/driver-model/MIGRATION.txt |  8 ++++++++
 2 files changed, 18 insertions(+)
Makefile +0 -0
index 4923722f82d..4b5022a53c7 100644

Makefile ifneq ($(CONFIG_DM_PCI),y) · line 964

Quoted 8 lines
Makefile +5 -0
@@ -957,6 +957,16 @@ ifneq ($(CONFIG_DM_PCI),y)
        @echo >&2 "===================================================="
 endif
 endif
+ifneq ($(CONFIG_LCD)$(CONFIG_VIDEO),)
+ifneq ($(CONFIG_DM_VIDEO),y)
+       @echo >&2 "===================== WARNING ======================"
+       @echo >&2 "This board does not use CONFIG_DM_VIDEO Please update"
+       @echo >&2 "the board to use CONFIG_DM_VIDEO before the v2019.07 release."

Many of the subsystems would have same release version for migrations, would better to have next release of v2019.07

#5 lore raw

PATCH 2/2 dm: video: lcd: MIGRATION: Add migration plan for video

Quoted 11 lines · Jagan Teki
Quoted 10 lines · Simon Glass

Add a migration plan for video which is an important subsystem in U-Boot.

---

 Makefile                       | 10 ++++++++++
 doc/driver-model/MIGRATION.txt |  8 ++++++++
 2 files changed, 18 insertions(+)
Quoted 16 lines

Makefile ifneq ($(CONFIG_DM_PCI),y) · line 964

Quoted 13 lines
Makefile +5 -0
index 4923722f82d..4b5022a53c7 100644
@@ -957,6 +957,16 @@ ifneq ($(CONFIG_DM_PCI),y)
        @echo >&2 "===================================================="
 endif
 endif
+ifneq ($(CONFIG_LCD)$(CONFIG_VIDEO),)
+ifneq ($(CONFIG_DM_VIDEO),y)
+       @echo >&2 "===================== WARNING ======================"
+       @echo >&2 "This board does not use CONFIG_DM_VIDEO Please update"
+       @echo >&2 "the board to use CONFIG_DM_VIDEO before the v2019.07 release."

Many of the subsystems would have same release version for migrations, would better to have next release of v2019.07

I'm fine with a number of features having the same deadline.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181226/3c4a76a0/attachment.sig>