linux_dsm_epyc7002/arch/powerpc
Tyrel Datwyler d0ef440350 powerpc/pseries: Pack update_props_workarea to map correctly to rtas buffer header
The work area buffer returned by the ibm,update-properties rtas call contains
20 bytes of header information prior to the property value descriptor data.
Currently update_dt_node tries to advance over this header using sizeof(upwa).
The update_props_workarea struct contains 20 bytes worth of fields, that map
to the relevant header data, but the sizeof the structure is 24 bytes due to
4 bytes of padding at the end of the structure. Packing the structure ensures
that we don't advance too far over the rtas buffer.

Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-08-27 14:45:12 +10:00
..
boot powerpc/85xx: Add C293PCIE board support 2013-08-23 19:43:24 -05:00
configs powerpc/85xx: Add C293PCIE board support 2013-08-23 19:43:24 -05:00
crypto
include pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
kernel powerpc: Skip emulating & leave interrupts off for kernel program checks 2013-08-27 14:45:09 +10:00
kvm powerpc: Make rwlocks endian safe 2013-08-14 15:33:40 +10:00
lib powerpc: Unaligned stores and stmw are broken in emulation code 2013-08-27 14:36:08 +10:00
math-emu powerpc/math-emu: Fix load/store indexed emulation 2013-08-14 14:59:57 +10:00
mm powerpc/mm: Mark Memory Resources as busy 2013-08-27 14:35:11 +10:00
net
oprofile
perf
platforms powerpc/pseries: Pack update_props_workarea to map correctly to rtas buffer header 2013-08-27 14:45:12 +10:00
sysdev powerpc: Fix some endian issues in xics code 2013-08-14 15:33:25 +10:00
xmon powerpc: Add more trap names to xmon 2013-08-27 14:44:29 +10:00
Kconfig powerpc: split She math emulation into two parts 2013-08-14 14:59:19 +10:00
Kconfig.debug
Makefile powerpc/e500: Set -mcpu flag for 32-bit e500 2013-08-20 20:49:56 -05:00
relocs_check.pl