vexpress: implement more SYS_CFG registers (feat. qdev property arrays)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 20 lines · Peter Maydell
This patchset fixes a number of warnings produced by Linux 3.8 on the vexpress boards resulting from newer kernels prodding more of the
SYS_CFGregister operations.Since some of the newly implemented functions expose voltage and oscillator settings which vary in number and value between vexpress daughterboards, these are exposed as qdev properties. The patchset therefore includes implementation of support for (variable length) qdev array properties. These work by initially exposing a "len-arrayname" property; when the device user sets this property to the desired array length, a further set of dynamic "arrayname[0]", "arrayname[1]", etc properties are created so the array elements can be set.
Patches 1-5 are some preliminary cleanup and implementation of bits of
SYS_CFGthat don't require the property arrays. Patch 6 implements the arrays themselves.
Patches 7,8 and 9,10 are paired patches which each add an array property to to thearm_sysctlcode and then use it.
Quoted 3 lines
Since I got zero review on the idea of qdev properties this feature is going to go in via arm-devs with the rest of this series...
Still no review, so applied all to arm-devs.next.
-- PMM