Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1213787 > unrolled thread
| Started by | Alexander Holler <holler@ahsoftware.de> |
|---|---|
| First post | 2015-08-26 14:30 +0200 |
| Last post | 2015-09-04 11:20 +0200 |
| Articles | 3 on this page of 23 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 00/16] deps: deterministic driver initialization order Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:30 +0200
[PATCH 01/16] deps: dtc: Automatically add new property 'dependencies' which contains a list of referenced phandles Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:30 +0200
[PATCH 02/16] deps: dtc: Add option to print initialization order Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:30 +0200
[PATCH 16/16] phy: phy-core: fix initcall level Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 11/16] deps: WIP: generic: annotate some initcalls Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 09/16] deps: dts: imx6q: make some remote-endpoints non-dependencies Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 07/16] deps: add debug configuration options Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 05/16] deps: introduce initcalls annotated with a struct device_driver Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 04/16] deps: dtc: introduce new (virtual) property no-dependencies Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 12/16] deps: WIP: imx: annotate some initcalls Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 06/16] deps: deterministic driver initialization sequence based on dependencies from the DT Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 08/16] deps: dts: kirkwood: dockstar: add dependency ehci -> usb power regulator Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 13/16] deps: WIP: omap: annotate some initcalls Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 03/16] deps: dtc: Add option to print dependency graph as dot (Graphviz) Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 14/16] deps: WIP: kirkwood: annotate some initcalls Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 10/16] deps: dts: omap: beagle: make some remote-endpoints non-dependencies Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
[PATCH 15/16] mtd: mtdcore: fix initcall level Alexander Holler <holler@ahsoftware.de> - 2015-08-26 14:40 +0200
Re: [PATCH 15/16] mtd: mtdcore: fix initcall level Brian Norris <computersforpeace@gmail.com> - 2015-09-01 23:20 +0200
Re: [PATCH 15/16] mtd: mtdcore: fix initcall level Alexander Holler <holler@ahsoftware.de> - 2015-09-02 07:40 +0200
Re: [PATCH 15/16] mtd: mtdcore: fix initcall level Alexander Holler <holler@ahsoftware.de> - 2015-09-04 06:10 +0200
Re: [PATCH 00/16] deps: deterministic driver initialization order Alexander Holler <holler@ahsoftware.de> - 2015-08-27 21:10 +0200
Re: [PATCH 00/16] deps: deterministic driver initialization order Alexander Holler <holler@ahsoftware.de> - 2015-08-27 21:20 +0200
deps: update in regard to parallel initialization of static linked drivers Alexander Holler <holler@ahsoftware.de> - 2015-09-04 11:20 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Alexander Holler <holler@ahsoftware.de> |
|---|---|
| Date | 2015-08-27 21:10 +0200 |
| Message-ID | <q2aIG-50a-9@gated-at.bofh.it> |
| In reply to | #1213787 |
Am 26.08.2015 um 14:28 schrieb Alexander Holler: > The final 2 patches are fixes which should end up in mainline, regardless > if this feature is merged or not. Just in case your serial or MTD-NAND partitions don't work, the drivers drivers/tty/serial/8250/8250_core.c and drivers/mtd/ofpart.c need the same trivial fix for their initcall level as found in the last two patches of my series. I'm not going to post these patches now until I've got some feedback for the other stuff. Regards, Alexander Holler -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Alexander Holler <holler@ahsoftware.de> |
|---|---|
| Date | 2015-08-27 21:20 +0200 |
| Message-ID | <q2aSm-5bw-7@gated-at.bofh.it> |
| In reply to | #1214788 |
Am 27.08.2015 um 21:01 schrieb Alexander Holler: > Am 26.08.2015 um 14:28 schrieb Alexander Holler: > >> The final 2 patches are fixes which should end up in mainline, regardless >> if this feature is merged or not. > > Just in case your serial or MTD-NAND partitions don't work, the drivers > drivers/tty/serial/8250/8250_core.c and drivers/mtd/ofpart.c need the > same trivial fix for their initcall level as found in the last two > patches of my series. I'm not going to post these patches now until I've > got some feedback for the other stuff. And just in case, I also have an idea how to fix such dependencies for drivers without DT (by adding hard-wired dependencies directly to drivers). That would also be usable for ACPI and x86. But one step after another. Based on my past experiences, I don't even think the stuff I've just posted will ever end up in the kernel. > Regards, > > Alexander Holler -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Alexander Holler <holler@ahsoftware.de> |
|---|---|
| Date | 2015-09-04 11:20 +0200 |
| Subject | deps: update in regard to parallel initialization of static linked drivers |
| Message-ID | <q4Vk6-6ej-13@gated-at.bofh.it> |
| In reply to | #1213787 |
Am 26.08.2015 um 14:28 schrieb Alexander Holler: > Hello, (...) > Some numbers (5 boots on each board, without and with ordering drivers), > all times are seconds. (...) > imx6q (armv7): > > unordered: > 3.451998 3.418864 3.446952 3.429974 3.440996 (3.4377568) > ordered: > 3.538312 3.549019 3.538105 3.515916 3.555715 (3.5394134) (...) > Further improvements could be to initialize drivers in parallel (using > multiple cores) and/or to use this stuff on x86 (ACPI) too (e.g. by using a > minimal DT which just includes dependencies). I've now made a quick implementation which uses multiple threads to initialize annotated drivers in parallel. It worked out of the box. Here are the times (dmesg | grep Freeing) I've now measured on the imx6q (4 cores): 3.388273 3.399892 3.411615 3.410523 3.388802 (3.399821) So it's now at least as fast as without ordering the drivers. Even on the one system where ordering didn't help without parallel initialization (likely because the unordered sequence of initcalls is already quiet good on that system, in comparison to the other systems I've tested). And my current implementation for the parallel stuff is far from being perfect and can be optimized much more (enough to not post a patch here). In addition I've added another driver to my config since I measure the old times, so the new times are including one more initialization of a driver (it now calls 30 annotated (static linked) drivers at boot, most stuff is still in modules (and some not annotated static linked drivers) on that system). Maybe this helps raising interest enough that someone else will test and maybe give some (reasonable, not about style) feedback on my patches. > Regards, > > Alexander Holler -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.kernel
csiph-web