diff options
author | Laurent Dufour <ldufour@linux.vnet.ibm.com> | 2014-04-10 15:02:13 +0200 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-08-26 14:12:22 +0200 |
commit | 93a5d430af33e98399b5677cc77f22838d590e40 (patch) | |
tree | 2f9e1759b282442d6bb8e8353bd10057af64ff8c /MAINTAINERS | |
parent | 56cf7e077c081a5874dcbd722cbae771bb5177fc (diff) |
PCI: rphahp: Fix endianess issues
commit 761ce53330a4f02c58768631027d1c1dd0d538f7 upstream.
Numerical values stored in the device tree are encoded in Big Endian and
should be byte swapped when running in Little Endian.
The RPA hotplug module should convert those values as well.
Note that in rpaphp_get_drc_props(), the comparison between indexes[i+1]
and *index is done using the BE values (whatever is the current endianess).
This doesn't matter since we are checking for equality here. This way only
the returned value is byte swapped.
RPA also made RTAS calls which implies BE values to be used. According to
the patch done in RTAS (http://patchwork.ozlabs.org/patch/336865), no
additional conversion is required in RPA.
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions