+Michael
On 11/08/25 14:10, Philippe Mathieu-Daudé wrote:
On 22/7/25 20:04, Aditya Gupta wrote:
Hi Cédric and Philippe,
On 26/05/25 17:21, Philippe Mathieu-Daudé wrote:
On 26/5/25 13:48, Cédric Le Goater wrote:
On 5/26/25 13:23, Philippe Mathieu-Daudé wrote:
Since commit 9808ce6d5cb, building QEMU configured with
'--without-default-devices' fails:
Undefined symbols for architecture arm64:
"_pnv_chip_find_core", referenced from:
_helper_load_sprd in target_ppc_misc_helper.c.o
_helper_store_sprd in target_ppc_misc_helper.c.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1
> Fix by adding a stub when CONFIG_POWERNV is not available.
The fix would be to add an abstract handler to implement SPRD accesses
on the PowerNV machine.
Is this what you meant by an abstract handler ?
https://github.com/adi-g15-ibm/qemu/
commit/0abac37032a5ef66d64a649ce04f24876bf9007d
I think so.
Avoid using target_ulong if possible (I suppose SPRD only exists on
64-bit CPUs so can be uint64_t).
Thanks Phil. Posted along with your suggested change:
https://lore.kernel.org/qemu-devel/20250820122516.949766-2-adit...@linux.ibm.com/
Thanks,
- Aditya G