From: Gustavo Romero <gustavo.romero@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>, qemu-devel@nongnu.org
Cc: Soumyajyotii Ssarkar <soumyajyotisarkar23@gmail.com>,
Helge Deller <deller@gmx.de>,
Richard Henderson <richard.henderson@linaro.org>
Subject: Re: [PATCH-for-10.2] hw/southbridge/lasi: Correct LasiState parent
Date: Tue, 18 Nov 2025 13:11:50 -0300 [thread overview]
Message-ID: <e54894b2-635d-4c8e-9781-ba0bb4729361@linaro.org> (raw)
In-Reply-To: <20251117091804.56529-1-philmd@linaro.org>
Hi Phil,
On 11/17/25 06:18, Philippe Mathieu-Daudé wrote:
> TYPE_LASI_CHIP inherits from TYPE_SYS_BUS_DEVICE, not
> TYPE_PCI_HOST_BRIDGE, so its parent structure is of
> SysBusDevice type.
>
> Fixes: 376b851909d ("hppa: Add support for LASI chip with i82596 NIC")
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> include/hw/misc/lasi.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
oh, right :)
Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
> diff --git a/include/hw/misc/lasi.h b/include/hw/misc/lasi.h
> index 04312d0b589..0e95be1c32a 100644
> --- a/include/hw/misc/lasi.h
> +++ b/include/hw/misc/lasi.h
> @@ -13,8 +13,8 @@
> #define LASI_H
>
> #include "system/address-spaces.h"
> -#include "hw/pci/pci_host.h"
> #include "hw/boards.h"
> +#include "hw/sysbus.h"
>
> #define TYPE_LASI_CHIP "lasi-chip"
> OBJECT_DECLARE_SIMPLE_TYPE(LasiState, LASI_CHIP)
> @@ -63,7 +63,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(LasiState, LASI_CHIP)
> #define LASI_IRQ_PS2MOU_HPA 26
>
> struct LasiState {
> - PCIHostState parent_obj;
> + SysBusDevice parent_obj;
>
> uint32_t irr;
> uint32_t imr;
next prev parent reply other threads:[~2025-11-18 16:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-17 9:18 [PATCH-for-10.2] hw/southbridge/lasi: Correct LasiState parent Philippe Mathieu-Daudé
2025-11-18 16:11 ` Gustavo Romero [this message]
2025-11-18 17:09 ` Thomas Huth
2025-11-18 18:10 ` Philippe Mathieu-Daudé
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=e54894b2-635d-4c8e-9781-ba0bb4729361@linaro.org \
--to=gustavo.romero@linaro.org \
--cc=deller@gmx.de \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=soumyajyotisarkar23@gmail.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).