On Tue, Aug 07, 2018 at 04:43:03PM -0400, Robert P. J. Day wrote: > > i went looking for examples of that property in the current linux > kernel code base, and was a bit puzzled to see that *all* references > to that property -- both the setting and the processing -- is for > powerpc exclusively. searching from the very top of the kernel source: > > $ grep -rl virtual-reg * > arch/powerpc/boot/dts/wii.dts > arch/powerpc/boot/dts/rainier.dts > arch/powerpc/boot/dts/sequoia.dts > arch/powerpc/boot/dts/ep405.dts > arch/powerpc/boot/dts/glacier.dts > arch/powerpc/boot/dts/bluestone.dts > arch/powerpc/boot/dts/redwood.dts > arch/powerpc/boot/dts/icon.dts > arch/powerpc/boot/dts/fsp2.dts > arch/powerpc/boot/dts/bamboo.dts > arch/powerpc/boot/dts/haleakala.dts > arch/powerpc/boot/dts/kilauea.dts > arch/powerpc/boot/dts/taishan.dts > arch/powerpc/boot/dts/eiger.dts > arch/powerpc/boot/dts/canyonlands.dts > arch/powerpc/boot/dts/katmai.dts > arch/powerpc/boot/dts/holly.dts > arch/powerpc/boot/dts/ebony.dts > arch/powerpc/boot/dts/makalu.dts > arch/powerpc/boot/dts/iss4xx.dts > arch/powerpc/boot/dts/obs600.dts > arch/powerpc/boot/dts/sam440ep.dts > arch/powerpc/boot/dts/arches.dts > arch/powerpc/boot/dts/akebono.dts > arch/powerpc/boot/dts/gamecube.dts > arch/powerpc/boot/dts/iss4xx-mpic.dts > arch/powerpc/boot/dts/walnut.dts > arch/powerpc/boot/dts/yosemite.dts > arch/powerpc/boot/dts/acadia.dts > arch/powerpc/boot/dts/warp.dts > arch/powerpc/boot/dts/currituck.dts > arch/powerpc/boot/dts/hotfoot.dts > arch/powerpc/boot/treeboot-walnut.c > arch/powerpc/boot/ebony.c > arch/powerpc/boot/ugecon.c > arch/powerpc/boot/devtree.c > arch/powerpc/boot/uartlite.c > $ > > so if the device tree processing code under drivers/of doesn't even > recognize that property, how is it officially part of the spec? or am > i misreading something? virtual-reg is kind of a hack, I think we want to discourage its use as much as possible. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature