Skip to contentSkip to conversation

ION DTS changes for HiKey in -next

DISCUSSION Mark Brown 4 participants 9 messages Jan 7, 2016 – Jan 11, 2016

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

Hi Greg,

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160107/e859508e/attachment.sig>

#1 lore raw
Quoted 8 lines · Mark Brown

Hi Greg,

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Isn't "staging" upstream enough for this? :)

If not, let me know and I'll be glad to drop this patch, it was on the list for a while with no objections.

thanks,

greg k-h

author
#2 lore raw
Quoted 10 lines · Greg Kroah-Hartman
Quoted 6 lines · Mark Brown

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Isn't "staging" upstream enough for this? :)

I wouldn't have thought so, DTs are supposed to be an ABI so we want proper review and having had a quick glance this doesn't look like it's a hardware description so it's not clear to me it should be in DT at all.

Quoted 2 lines

If not, let me know and I'll be glad to drop this patch, it was on the list for a while with no objections.

Which list? I did look for the original thread to reply to but it
seemed to be only on the Linux driver project list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160108/f3396d79/attachment.sig>

#3 lore raw
Quoted 10 lines · Mark Brown
Quoted 8 lines · Greg Kroah-Hartman
Quoted 6 lines · Mark Brown

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Quoted 5 lines
Quoted 1 line

Isn't "staging" upstream enough for this? :)

I wouldn't have thought so, DTs are supposed to be an ABI so we want proper review and having had a quick glance this doesn't look like it's a hardware description so it's not clear to me it should be in DT at all.

Indeed.

The driver and the binding before that don't really belong either, I would have NAK'd those on devicetree at vger.kernel.org, though it appears I either missed them or they never made it to that list.

Quoted 1 line

From my PoV there should not be a platform-specific ION binding. If we

need one at all, people should work on the proposed generic binding [1] or figure out how to do this with the existing reserved-memory bindings.

Thanks,
Mark.

[1] https://lkml.org/lkml/2015/10/6/854

#4 lore raw
Quoted 23 lines · Mark Rutland
Quoted 10 lines · Mark Brown
Quoted 8 lines · Greg Kroah-Hartman
Quoted 6 lines · Mark Brown

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Quoted 5 lines
Quoted 1 line

Isn't "staging" upstream enough for this? :)

I wouldn't have thought so, DTs are supposed to be an ABI so we want proper review and having had a quick glance this doesn't look like it's a hardware description so it's not clear to me it should be in DT at all.

Indeed.

The driver and the binding before that don't really belong either, I would have NAK'd those on devicetree at vger.kernel.org, though it appears I either missed them or they never made it to that list.

Quoted 8 lines

From my PoV there should not be a platform-specific ION binding. If we
need one at all, people should work on the proposed generic binding [1] or figure out how to do this with the existing reserved-memory bindings.

Thanks,
Mark.

[1] https://lkml.org/lkml/2015/10/6/854

I posted v2 back in November
(http://article.gmane.org/gmane.linux.drivers.driver-project.devel/80475)
but there wasn't much in the way of review comments. More feedback there would be appreciated or I can resend.

Thanks,
Laura

#5 lore raw
Quoted 31 lines · Laura Abbott
Quoted 30 lines · Mark Rutland
Quoted 10 lines · Mark Brown
Quoted 8 lines · Greg Kroah-Hartman
Quoted 6 lines · Mark Brown

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Quoted 5 lines
Quoted 1 line

Isn't "staging" upstream enough for this? :)

I wouldn't have thought so, DTs are supposed to be an ABI so we want proper review and having had a quick glance this doesn't look like it's a hardware description so it's not clear to me it should be in DT at all.

Indeed.

The driver and the binding before that don't really belong either, I would have NAK'd those on devicetree at vger.kernel.org, though it appears I either missed them or they never made it to that list.

From my PoV there should not be a platform-specific ION binding. If we need one at all, people should work on the proposed generic binding [1] or figure out how to do this with the existing reserved-memory bindings.

Thanks,
Mark.

Quoted 6 lines
Quoted 1 line

[1] https://lkml.org/lkml/2015/10/6/854

I posted v2 back in November
(http://article.gmane.org/gmane.linux.drivers.driver-project.devel/80475)
but there wasn't much in the way of review comments. More feedback there would be appreciated or I can resend.

I still have those in my queue, but was waiting for someone to chime in on them. I guess if no one objected, that means I should accept them? :)

thanks,

greg k-h

#6 lore raw
Quoted 34 lines · Greg Kroah-Hartman
Quoted 33 lines · Laura Abbott
Quoted 31 lines · Mark Rutland
Quoted 10 lines · Mark Brown
Quoted 8 lines · Greg Kroah-Hartman
Quoted 6 lines · Mark Brown

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Quoted 5 lines
Quoted 1 line

Isn't "staging" upstream enough for this? :)

I wouldn't have thought so, DTs are supposed to be an ABI so we want proper review and having had a quick glance this doesn't look like it's a hardware description so it's not clear to me it should be in DT at all.

Indeed.

The driver and the binding before that don't really belong either, I would have NAK'd those on devicetree at vger.kernel.org, though it appears I either missed them or they never made it to that list.

From my PoV there should not be a platform-specific ION binding. If we
need one at all, people should work on the proposed generic binding [1] or figure out how to do this with the existing reserved-memory bindings.

Thanks,
Mark.

[1] https://lkml.org/lkml/2015/10/6/854

Quoted 8 lines
Quoted 4 lines

I posted v2 back in November
(http://article.gmane.org/gmane.linux.drivers.driver-project.devel/80475)
but there wasn't much in the way of review comments. More feedback there would be appreciated or I can resend.

I still have those in my queue, but was waiting for someone to chime in on them. I guess if no one objected, that means I should accept them? :)

Before accepting them. I'd rather have some acknowledgement from the DT maintainers that these bindings are moving in the right direction or at least a better idea than the per platform bindings.

Quoted 5 lines

thanks,

greg k-h

Thanks,
Laura

#7 lore raw
In reply to Laura Abbott
Quoted 31 lines · Laura Abbott
Quoted 30 lines · Mark Rutland
Quoted 10 lines · Mark Brown
Quoted 8 lines · Greg Kroah-Hartman
Quoted 6 lines · Mark Brown

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Quoted 5 lines
Quoted 1 line

Isn't "staging" upstream enough for this? :)

I wouldn't have thought so, DTs are supposed to be an ABI so we want proper review and having had a quick glance this doesn't look like it's a hardware description so it's not clear to me it should be in DT at all.

Indeed.

The driver and the binding before that don't really belong either, I would have NAK'd those on devicetree at vger.kernel.org, though it appears I either missed them or they never made it to that list.

From my PoV there should not be a platform-specific ION binding. If we need one at all, people should work on the proposed generic binding [1] or figure out how to do this with the existing reserved-memory bindings.

Thanks,
Mark.

Quoted 6 lines
Quoted 1 line

[1] https://lkml.org/lkml/2015/10/6/854

I posted v2 back in November
(http://article.gmane.org/gmane.linux.drivers.driver-project.devel/80475)
but there wasn't much in the way of review comments. More feedback there would be appreciated or I can resend.

A resend would be appeciated, as that's easier to reply to.

I'm still a little fuzzy on why this can't be done with reserved-memory, but that's a discussion better left for the thread with the patches.

Thanks,
Mark.

#8 lore raw
In reply to Mark Rutland
Quoted 19 lines · Mark Rutland
Quoted 10 lines · Mark Brown
Quoted 8 lines · Greg Kroah-Hartman
Quoted 6 lines · Mark Brown

I was just looking at DTs in -next and noticed that there is a patch 59dfafd03fc (arm64: dts: Add dts files to enable ION on Hi6220 SoC) which adds at DT doing something for ION. Are we sure this should be going into the main production DT? The bindings haven't been reviewed as far as I can tell, the matching driver is only in staging and hasn't been posted upstream.

Quoted 5 lines
Quoted 1 line

Isn't "staging" upstream enough for this? :)

I wouldn't have thought so, DTs are supposed to be an ABI so we want proper review and having had a quick glance this doesn't look like it's a hardware description so it's not clear to me it should be in DT at all.

Indeed.

Quoted 7 lines

The driver and the binding before that don't really belong either, I would have NAK'd those on devicetree at vger.kernel.org, though it appears I either missed them or they never made it to that list.

From my PoV there should not be a platform-specific ION binding. If we need one at all, people should work on the proposed generic binding [1] or figure out how to do this with the existing reserved-memory bindings.

Ok, I've now reverted that commit, thanks for letting me know.

greg k-h