Self nomination
I'd like to nominate myself for the kernel summit this year. I am part of Chrome OS kernel team and I also maintain drivers/input in mainline.
I am interested in the following topics/discussions:
- stable process and regression tracking;
- maintainership process. I am still struggling to figure out how I can spread the load and would love to hear some ideas;
- discussions regarding subsystem boundaries (iio, input, hwmon, etc) and how we can provide better guidance to driver authors to find a home for their drivers;
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
Thanks!
Signature · 1 line
Dmitry
Quoted 2 lines · Dmitry Torokhov
I'd like to nominate myself for the kernel summit this year. I am part of Chrome OS kernel team and I also maintain
drivers/inputin mainline.
[...]
Quoted 3 lines
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
I've seen a number of proposal so far, but the subject seems to have gone quiet (well, not really, but hardly any progress has been made).
Happy to make this a tech discussion or a hallway track.
Thanks,
M.
Signature · 1 line
Jazz is not dead. It just smells funny...
Quoted 7 lines · Marc Zyngier
Quoted 3 lines · Dmitry Torokhov
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
I've also tried to pitch in on it in the past but I just feel stupid whenever we try to come up with something better than what we have :(
Quoted 8 lines
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
Same feeling here. I'm accepting patches for random initcall reordering because there is nothing else I can do, people need to have their systems running. But it feels really fragile.
Deferred probe alleviated the problem, but I remember saying at the time that what we really need to do is build a dependency graph and resolve it the same way e.g. systemd does. (Someone may have called me BS on that, either for being wrong about everything as usual or because of mentioning systemd, I don't know which one.)
The latest proposal I saw came from Rafael and he had a scratch idea for a dependency graph that I really liked, but I guess he's been sidetracked since. Rafael, what happened with that?
Yours,
Linus Walleij
Quoted 32 lines · Linus Walleij
Quoted 7 lines · Marc Zyngier
Quoted 3 lines · Dmitry Torokhov
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
I've also tried to pitch in on it in the past but I just feel stupid whenever we try to come up with something better than what we have :(
Quoted 8 lines
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
Same feeling here. I'm accepting patches for random initcall reordering because there is nothing else I can do, people need to have their systems running. But it feels really fragile.
Deferred probe alleviated the problem, but I remember saying at the time that what we really need to do is build a dependency graph and resolve it the same way e.g. systemd does. (Someone may have called me BS on that, either for being wrong about everything as usual or because of mentioning systemd, I don't know which one.)
Quoted 3 lines
The latest proposal I saw came from Rafael and he had a scratch idea for a dependency graph that I really liked, but I guess he's been sidetracked since. Rafael, what happened with that?
I got distracted, but Marek Szyprowski has revived it recently.
It needs to be cleaned up somewhat, but other than that I think it's in a good enough shape to make some progress in that direction, at least in principle.
Thanks,
Rafael
Dear All,
Quoted 29 lines · Rafael J. Wysocki
Quoted 28 lines · Linus Walleij
Quoted 5 lines · Marc Zyngier
Quoted 3 lines · Dmitry Torokhov
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
I've also tried to pitch in on it in the past but I just feel stupid whenever we try to come up with something better than what we have :(
Quoted 8 lines
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
Same feeling here. I'm accepting patches for random initcall reordering because there is nothing else I can do, people need to have their systems running. But it feels really fragile.
Deferred probe alleviated the problem, but I remember saying at the time that what we really need to do is build a dependency graph and resolve it the same way e.g. systemd does. (Someone may have called me BS on that, either for being wrong about everything as usual or because of mentioning systemd, I don't know which one.)
Quoted 8 lines
Quoted 3 lines
The latest proposal I saw came from Rafael and he had a scratch idea for a dependency graph that I really liked, but I guess he's been sidetracked since. Rafael, what happened with that?
I got distracted, but Marek Szyprowski has revived it recently.
It needs to be cleaned up somewhat, but other than that I think it's in a good enough shape to make some progress in that direction, at least in principle.
I really like the idea of pm dependencies between device and the patches prepared by Rafael. They are exactly what we need for our case (PM for Exynos IOMMU), but they will also help solving PM issues with complex devices (like DRM for SoCs and ASoC audio).
Rafael: do you plan to do any update on them? Some time ago you wrote, that you had such plan, but real life proved something else. If needed I can continue works on them, but I need some directions what has to be improved and fixed.
Best regards
Signature · 2 lines
Marek Szyprowski, PhD Samsung R&D Institute Poland
Quoted 42 lines · Marek Szyprowski
Dear All,
Quoted 29 lines · Rafael J. Wysocki
Quoted 28 lines · Linus Walleij
Quoted 5 lines · Marc Zyngier
Quoted 3 lines · Dmitry Torokhov
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
I've also tried to pitch in on it in the past but I just feel stupid whenever we try to come up with something better than what we have :(
Quoted 8 lines
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
Same feeling here. I'm accepting patches for random initcall reordering because there is nothing else I can do, people need to have their systems running. But it feels really fragile.
Deferred probe alleviated the problem, but I remember saying at the time that what we really need to do is build a dependency graph and resolve it the same way e.g. systemd does. (Someone may have called me BS on that, either for being wrong about everything as usual or because of mentioning systemd, I don't know which one.)
Quoted 8 lines
Quoted 3 lines
The latest proposal I saw came from Rafael and he had a scratch idea for a dependency graph that I really liked, but I guess he's been sidetracked since. Rafael, what happened with that?
I got distracted, but Marek Szyprowski has revived it recently.
It needs to be cleaned up somewhat, but other than that I think it's in a good enough shape to make some progress in that direction, at least in principle.
Quoted 6 lines
I really like the idea of pm dependencies between device and the patches prepared by Rafael. They are exactly what we need for our case (PM for Exynos IOMMU), but they will also help solving PM issues with complex devices (like DRM for SoCs and ASoC audio).
Rafael: do you plan to do any update on them?
Yes, I do, but to make some cosmetic changes rather.
Quoted 2 lines
Some time ago you wrote, that you had such plan, but real life proved something else.
Well, I was working on other things in the meantime, but I still had that plan. :-)
Quoted 2 lines
If needed I can continue works on them, but I need some directions what has to be improved and fixed.
Thanks so much!
First off, the networking people claimed the "devlink" term in the meantime and it's better to avoid confusion here, so I'd change it to "devdep" or similar in the patches.
In addition to that Tomeu Vizoso complained that the supplier_links and consumer_links list heads in struct device were confusing and I see why that could be the case, so I'd change them to something more direct, like maybe links_to_suppliers and links_to_consumers.
Please let me know what you think.
Thanks,
Rafael
Quoted 21 lines · Marc Zyngier
Quoted 2 lines · Dmitry Torokhov
I'd like to nominate myself for the kernel summit this year. I am part of Chrome OS kernel team and I also maintain
drivers/inputin mainline.[...]
Quoted 3 lines
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
Quoted 4 lines
I've seen a number of proposal so far, but the subject seems to have gone quiet (well, not really, but hardly any progress has been made).
Happy to make this a tech discussion or a hallway track.
I am very interested in this discussion too in whatever form it takes place and I really think it is the right time to find a way forward for DT and ACPI probing alike given that we have started facing these probe ordering issues in ARM/ACPI world too, it would be nice to find a solution that works seamlessly.
Lorenzo
Hi Rafael,
Quoted 63 lines · Rafael J. Wysocki
Quoted 41 lines · Marek Szyprowski
Dear All,
Quoted 29 lines · Rafael J. Wysocki
Quoted 28 lines · Linus Walleij
Quoted 5 lines · Marc Zyngier
Quoted 3 lines · Dmitry Torokhov
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
I've also tried to pitch in on it in the past but I just feel stupid whenever we try to come up with something better than what we have :(
Quoted 8 lines
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
Same feeling here. I'm accepting patches for random initcall reordering because there is nothing else I can do, people need to have their systems running. But it feels really fragile.
Deferred probe alleviated the problem, but I remember saying at the time that what we really need to do is build a dependency graph and resolve it the same way e.g. systemd does. (Someone may have called me BS on that, either for being wrong about everything as usual or because of mentioning systemd, I don't know which one.)
Quoted 8 lines
Quoted 3 lines
The latest proposal I saw came from Rafael and he had a scratch idea for a dependency graph that I really liked, but I guess he's been sidetracked since. Rafael, what happened with that?
I got distracted, but Marek Szyprowski has revived it recently.
It needs to be cleaned up somewhat, but other than that I think it's in a good enough shape to make some progress in that direction, at least in principle.
Quoted 6 lines
I really like the idea of pm dependencies between device and the patches prepared by Rafael. They are exactly what we need for our case (PM for Exynos IOMMU), but they will also help solving PM issues with complex devices (like DRM for SoCs and ASoC audio).
Rafael: do you plan to do any update on them?
Yes, I do, but to make some cosmetic changes rather.
Quoted 2 lines
Some time ago you wrote, that you had such plan, but real life proved something else.
Well, I was working on other things in the meantime, but I still had that plan. :-)
Quoted 2 lines
If needed I can continue works on them, but I need some directions what has to be improved and fixed.
Thanks so much!
First off, the networking people claimed the "devlink" term in the meantime and it's better to avoid confusion here, so I'd change it to "devdep" or similar in the patches.
Quoted 6 lines
In addition to that Tomeu Vizoso complained that the
supplier_linksandconsumer_linkslist heads in struct device were confusing and I see why that could be the case, so I'd change them to something more direct, like maybelinks_to_suppliersandlinks_to_consumers.Please let me know what you think.
I think that both name changes (devlink -> devdep and adding "_to_") make sense and such change will make the code easier to understand.
I've also managed to find what is the source of the problem with reboot hang that Tobias reported. It was my fault of incorrect use of device links. Adding a link to not-yet-fully-registered device results in trashing devices_kset and dpm lists. I will check if it is possible to a warning or proper support for such case (iommu support for given device is initialized before given device's struct device is added to the system by device_add() function).
Do you want me to resend the patches with the above mentioned name changes or do you want to do it on your own and then I will send my updated patches?
Best regards
Signature · 2 lines
Marek Szyprowski, PhD Samsung R&D Institute Poland
Quoted 89 lines · Marek Szyprowski
Hi Rafael,
Quoted 63 lines · Rafael J. Wysocki
Quoted 41 lines · Marek Szyprowski
Dear All,
Quoted 29 lines · Rafael J. Wysocki
Quoted 28 lines · Linus Walleij
Quoted 5 lines · Marc Zyngier
Quoted 3 lines · Dmitry Torokhov
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
I've also tried to pitch in on it in the past but I just feel stupid whenever we try to come up with something better than what we have :(
Quoted 8 lines
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
Same feeling here. I'm accepting patches for random initcall reordering because there is nothing else I can do, people need to have their systems running. But it feels really fragile.
Deferred probe alleviated the problem, but I remember saying at the time that what we really need to do is build a dependency graph and resolve it the same way e.g. systemd does. (Someone may have called me BS on that, either for being wrong about everything as usual or because of mentioning systemd, I don't know which one.)
Quoted 8 lines
Quoted 3 lines
The latest proposal I saw came from Rafael and he had a scratch idea for a dependency graph that I really liked, but I guess he's been sidetracked since. Rafael, what happened with that?
I got distracted, but Marek Szyprowski has revived it recently.
It needs to be cleaned up somewhat, but other than that I think it's in a good enough shape to make some progress in that direction, at least in principle.
Quoted 6 lines
I really like the idea of pm dependencies between device and the patches prepared by Rafael. They are exactly what we need for our case (PM for Exynos IOMMU), but they will also help solving PM issues with complex devices (like DRM for SoCs and ASoC audio).
Rafael: do you plan to do any update on them?
Yes, I do, but to make some cosmetic changes rather.
Quoted 2 lines
Some time ago you wrote, that you had such plan, but real life proved something else.
Well, I was working on other things in the meantime, but I still had that plan. :-)
Quoted 2 lines
If needed I can continue works on them, but I need some directions what has to be improved and fixed.
Thanks so much!
First off, the networking people claimed the "devlink" term in the meantime and it's better to avoid confusion here, so I'd change it to "devdep" or similar in the patches.
Quoted 6 lines
In addition to that Tomeu Vizoso complained that the
supplier_linksandconsumer_linkslist heads in struct device were confusing and I see why that could be the case, so I'd change them to something more direct, like maybelinks_to_suppliersandlinks_to_consumers.Please let me know what you think.
I think that both name changes (devlink -> devdep and adding "_to_") make sense
and such change will make the code easier to understand.I've also managed to find what is the source of the problem with reboot hang that
Tobias reported. It was my fault of incorrect use of device links. Adding a link
to not-yet-fully-registered device results in trashingdevices_ksetand dpm lists.
I will check if it is possible to a warning or proper support for such case (iommu support for given device is initialized before given device's struct device
is added to the system bydevice_add()function).
Quoted 3 lines
Do you want me to resend the patches with the above mentioned name changes or do
you want to do it on your own and then I will send my updated patches?
I'd like to post new versions myself and then let you rebase on top of them if that's not a problem.
I'll get to that when I get back home from the current travels.
Thanks,
Rafael
Quoted 25 lines · Lorenzo Pieralisi
Quoted 24 lines · Marc Zyngier
Quoted 2 lines · Dmitry Torokhov
I'd like to nominate myself for the kernel summit this year. I am part of Chrome OS kernel team and I also maintain
drivers/inputin mainline.[...]
Quoted 3 lines
- I would like to sync up with people and discuss [lack of] progress on topic of device probe ordering (including handling of deferred probes, asynchronous probes, etc).
I'm extremely interested in discussing this.
It has wide reaching consequences as (with my irqchip maintainer hat on) we've had to pretend that some bits of HW (timers, interrupt controllers) are not "devices". Not a massive issue for most, except when your interrupt controller has requirements that are very similar to the DMA mapping API (which you cannot use because "not a device"). Other problems are introduced by things like wire-MSI bridges, and most people end-up resorting to hacks like ad-hoc initcalls and sprinkling deferred probes in specific drivers.
I've seen a number of proposal so far, but the subject seems to have gone quiet (well, not really, but hardly any progress has been made).
Quoted 7 lines
Quoted 1 line
Happy to make this a tech discussion or a hallway track.
I am very interested in this discussion too in whatever form it takes place and I really think it is the right time to find a way forward for DT and ACPI probing alike given that we have started facing these probe ordering issues in ARM/ACPI world too, it would be nice to find a solution that works seamlessly.
[Responding very late to this thread]
I also want to be involved with this discussion. We've got to come up with something better than what we've got now.
g.