[PATCH v1 1/2] PSCI: Use DT Function ID values only for old versions of spec

Christoffer Dall christoffer.dall at linaro.org
Thu Mar 20 13:09:31 EDT 2014


On Thu, Mar 20, 2014 at 12:04:45PM -0500, Rob Herring wrote:

[...]

> >>
> >> With the KVM patches[1], this makes 4 copies of these defines in the
> >> kernel (and then QEMU has more). This needs to go into a common header
> >> under include/linux. Probably under uapi so QEMU can use. There is
> >> some sync of headers between the kernel and QEMU I think.
> >
> > I agree we should have a common header, but I don't think this is uapi
> > material. This is most definitely _not_ part of the user API, and it's
> > from an external spec that we're not in control of -- I don't see why we
> > should have to export a set of numbers forever because it happens to be
> > marginally useful at this point in time.
> 
> I mention uapi only in that it is expected to be stable (in an ABI
> sense) from kernel release to release, and I would assume that QEMU
> would only sync ABI stable headers. Someone familiar with the QEMU
> import process should comment on where this stuff should live.
> 

AFAIK, only uapi headers are imported to QEMU.



More information about the linux-arm-kernel mailing list