summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTyrel Datwyler <tyreld@linux.ibm.com>2019-11-11 08:21:35 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2019-11-13 08:57:58 +0300
commit0737686778c6dbe0908d684dd5b9c05b127526ba (patch)
treeb97189f2c6060dfd645938345cbfd4259c100d09 /tools/perf/scripts/python
parentefeda8fada43783635f0274b0a0fa0d0fb6debb8 (diff)
downloadlinux-0737686778c6dbe0908d684dd5b9c05b127526ba.tar.xz
PCI: rpaphp: Annotate and correctly byte swap DRC properties
The device tree is in big endian format and any properties directly retrieved using OF helpers that don't explicitly byte swap should be annotated. In particular there are several places where we grab the opaque property value for the old ibm,drc-* properties and the ibm,my-drc-index property. Fix this for better static checking by annotating values we know to explicitly big endian, and byte swap where appropriate. Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1573449697-5448-9-git-send-email-tyreld@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions