dt: add helpers for multi-cell adds
We have device tree helpers that allow us to create single cell (u32)wide properties. However, when creating properties that contain an array ofcells, we need to jump through hoops, manually passing in an array withconverted endianness....
dt: add helper for phandle references
Phandles are the fancy device tree name for "pointer to another node".To create a phandle property, we most likely want to reference to thenode we're pointing to by its path. So create a helper that allowsus to do so....
dt: temporarily disable subtree creation failure check
Usually we want to know when creating a subtree fails. However, whileintroducing this patch set we have to modify the device tree and sometimes have the code to create a subtree in both the binary tree and...
dt: add helper for phandle enumeration
This patch adds a helper to search for a node's phandle by its path. Thisis especially useful when the phandle is part of an array, not just a singlecell in which case qemu_devtree_setprop_phandle would be the easy choice....
pseries: Correctly create ibm,segment-page-sizes property
The core tcg/kvm code for ppc64 now has at least the outlinecapability to support pagesizes beyond the standard 4k and 16MB. TheCPUState is initialized with information advertising the available...
spapr_vscsi: Error handling fixes
We were incorrectly g_free'ing an object that isn't allocatedin one error path and failed to release it completely in another
This fixes qemu crashes with some cases of IO errors.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>...
spapr: Add "memop" hypercall
This adds a qemu-specific hypervisor call to the pseries machinewhich allows to do what amounts to memmove, memcpy and xor overregions of physical memory such as the framebuffer.
This is the simplest way to get usable framebuffer speed from...
raw-posix: Fix build without is_allocated support
Move the declaration of s into the #ifdef sections that actually makeuse of it.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Alexander Graf <agraf@suse.de>
dt: allow add_subnode to create root subnodes
Our subnode creation helper can't handle creation of root subnodes,like "/memory". Fix this by allowing the parent node to be an emptystring, indicating the root node.
Signed-off-by: Alexander Graf <agraf@suse.de>...
ppc64: Rudimentary Support for extra page sizes on server CPUs
More recent Power server chips (i.e. based on the 64 bit hash MMU)support more than just the traditional 4k and 16M page sizes. Thiscan get quite complicated, because which page sizes are supported,...
View all revisions | View revisions
Also available in: Atom