From: Aditya Gupta <adityag@linux.ibm.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Cédric Le Goater" <clg@redhat.com>,
qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Frédéric Barrat" <fbarrat@linux.ibm.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Daniel Henrique Barboza" <danielhb413@gmail.com>,
qemu-ppc@nongnu.org, "Ani Sinha" <anisinha@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
qemu-stable <qemu-stable@nongnu.org>,
"Harsh Prateek Bora" <harshpb@linux.ibm.com>,
"Michael Tokarev" <mjt@tls.msk.ru>
Subject: Re: [PATCH 3/3] hw/ppc: Add stub for pnv_chip_find_core()
Date: Wed, 20 Aug 2025 18:00:08 +0530 [thread overview]
Message-ID: <ab2288fc-a319-4d11-a48e-2f286fbf90e1@linux.ibm.com> (raw)
In-Reply-To: <4dbb1946-9b01-4b66-a0e4-f49bcd19df42@linaro.org>
+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-adityag@linux.ibm.com/
Thanks,
- Aditya G
prev parent reply other threads:[~2025-08-20 12:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-26 11:23 [PATCH 0/3] hw/ppc: Fix --without-default-devices build Philippe Mathieu-Daudé
2025-05-26 11:23 ` [PATCH 1/3] hw/acpi: Build IPMI stubs when ACPI is disabled Philippe Mathieu-Daudé
2025-05-26 11:55 ` Thomas Huth
2025-05-26 11:57 ` Thomas Huth
2025-05-26 11:23 ` [PATCH 2/3] hw/ppc: PowerNV machines expose a I2C bus Philippe Mathieu-Daudé
2025-05-26 11:34 ` Thomas Huth
2025-05-26 11:48 ` Cédric Le Goater
2025-05-26 11:23 ` [PATCH 3/3] hw/ppc: Add stub for pnv_chip_find_core() Philippe Mathieu-Daudé
2025-05-26 11:48 ` Cédric Le Goater
2025-05-26 11:51 ` Philippe Mathieu-Daudé
2025-07-13 11:18 ` Michael Tokarev
2025-08-10 8:00 ` Michael Tokarev
2025-08-20 6:52 ` Aditya Gupta
2025-07-22 18:04 ` Aditya Gupta
2025-08-11 8:40 ` Philippe Mathieu-Daudé
2025-08-20 12:30 ` Aditya Gupta [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ab2288fc-a319-4d11-a48e-2f286fbf90e1@linux.ibm.com \
--to=adityag@linux.ibm.com \
--cc=anisinha@redhat.com \
--cc=clg@redhat.com \
--cc=danielhb413@gmail.com \
--cc=fbarrat@linux.ibm.com \
--cc=harshpb@linux.ibm.com \
--cc=imammedo@redhat.com \
--cc=mjt@tls.msk.ru \
--cc=mst@redhat.com \
--cc=npiggin@gmail.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).