aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/usb-core.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2020-03-16 12:24:06 +1100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2020-03-17 09:42:50 +1100
commit51245a15fef173307ba5e5a2a801b089f56ab4ad (patch)
tree89300d12cb3c29c55835749b1ad5f094d2426136 /lib/libusb/usb-core.c
parent8d4033d0d2e5b434fe14a81d5192cdb1911469e4 (diff)
downloadSLOF-51245a15fef173307ba5e5a2a801b089f56ab4ad.zip
SLOF-51245a15fef173307ba5e5a2a801b089f56ab4ad.tar.gz
SLOF-51245a15fef173307ba5e5a2a801b089f56ab4ad.tar.bz2
rtas: Move FWNMI log space reservation to QEMU
This reverts commit 674d0d0cf66d4 ("rtas: Reserve space for FWNMI log") which expanded the RTAS blob size to match the QEMU expectation about the RTAS area available for FWNMI logs. Instead, it relies on QEMU passing the "rtas-size" property and passes it through untouched. This adds a check that QEMU allocated enough for RTAS blob. This adds a fallback to the default 20 bytes "rtas-size" if none specified by QEMU. While we are here, replace 's" /rtas" find-node' with 'rtas-node' which we just set above. Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libusb/usb-core.c')
0 files changed, 0 insertions, 0 deletions