Message ID | 20230304223803.55764-1-jiaxun.yang@flygoat.com (mailing list archive) |
---|---|
Headers | show |
Series | MIPS Virt machine | expand |
On 4/3/23 23:38, Jiaxun Yang wrote: > Hi there, > > This patchset is to add a new machine type for MIPS architecture, which > is purely a VirtIO machine. > Jiaxun Yang (2): > hw/misc: Add MIPS Trickbox device > hw/mips: Add MIPS virt board Thanks, applied with following changes: - remove pointless mask in mips_trickbox_write(), - declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE(), - declare machine type using DEFINE_TYPES(), - do not select PCI in Kconfig, - compile virt.o using fdt flags in meson.build, - use HWADDR_PRIx, - name MachineState variable 'ms', - fix conflict in docs/system/target-mips.rst, - fix style
> 2023年3月7日 15:01,Philippe Mathieu-Daudé <philmd@linaro.org> 写道: > > On 4/3/23 23:38, Jiaxun Yang wrote: >> Hi there, >> This patchset is to add a new machine type for MIPS architecture, which >> is purely a VirtIO machine. > >> Jiaxun Yang (2): >> hw/misc: Add MIPS Trickbox device >> hw/mips: Add MIPS virt board > Thanks, applied with following changes: Thanks for those clean-ups! > > - remove pointless mask in mips_trickbox_write(), > - declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE(), > - declare machine type using DEFINE_TYPES(), > - do not select PCI in Kconfig, Hmm, PCI is sort of mandatory for this machine, any reason not to select it? > - compile virt.o using fdt flags in meson.build, > - use HWADDR_PRIx, > - name MachineState variable 'ms', > - fix conflict in docs/system/target-mips.rst, > - fix style Thanks. - Jiaxun
On 7/3/23 21:07, Jiaxun Yang wrote: > > >> 2023年3月7日 15:01,Philippe Mathieu-Daudé <philmd@linaro.org> 写道: >> >> On 4/3/23 23:38, Jiaxun Yang wrote: >>> Hi there, >>> This patchset is to add a new machine type for MIPS architecture, which >>> is purely a VirtIO machine. >> >>> Jiaxun Yang (2): >>> hw/misc: Add MIPS Trickbox device >>> hw/mips: Add MIPS virt board >> Thanks, applied with following changes: > > Thanks for those clean-ups! > >> >> - remove pointless mask in mips_trickbox_write(), >> - declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE(), >> - declare machine type using DEFINE_TYPES(), >> - do not select PCI in Kconfig, > > Hmm, PCI is sort of mandatory for this machine, any reason not to select it? The machine itself doesn't expose a PCI bus directly, it is exposed by the PCI_EXPRESS_GENERIC_BRIDGE. We have PCI_EXPRESS_GENERIC_BRIDGE -> PCI_EXPRESS -> PCI.
On 7/3/23 21:14, Philippe Mathieu-Daudé wrote: > On 7/3/23 21:07, Jiaxun Yang wrote: >> >> >>> 2023年3月7日 15:01,Philippe Mathieu-Daudé <philmd@linaro.org> 写道: >>> >>> On 4/3/23 23:38, Jiaxun Yang wrote: >>>> Hi there, >>>> This patchset is to add a new machine type for MIPS architecture, which >>>> is purely a VirtIO machine. >>> >>>> Jiaxun Yang (2): >>>> hw/misc: Add MIPS Trickbox device >>>> hw/mips: Add MIPS virt board >>> Thanks, applied with following changes: >> >> Thanks for those clean-ups! Unfortunately I have to drop this due to the libfdt dependency, which fails the --disable-fdt job: https://gitlab.com/philmd/qemu/-/jobs/3890587748
> 2023年3月7日 21:07,Philippe Mathieu-Daudé <philmd@linaro.org> 写道: > > On 7/3/23 21:14, Philippe Mathieu-Daudé wrote: >> On 7/3/23 21:07, Jiaxun Yang wrote: >>> >>> >>>> 2023年3月7日 15:01,Philippe Mathieu-Daudé <philmd@linaro.org> 写道: >>>> >>>> On 4/3/23 23:38, Jiaxun Yang wrote: >>>>> Hi there, >>>>> This patchset is to add a new machine type for MIPS architecture, which >>>>> is purely a VirtIO machine. >>>> >>>>> Jiaxun Yang (2): >>>>> hw/misc: Add MIPS Trickbox device >>>>> hw/mips: Add MIPS virt board >>>> Thanks, applied with following changes: >>> >>> Thanks for those clean-ups! > > Unfortunately I have to drop this due to the libfdt > dependency, which fails the --disable-fdt job: > https://gitlab.com/philmd/qemu/-/jobs/3890587748 Perhaps we should just select TARGET_NEED_FDT for all MIPS variants? Thanks - Jiaxun
On 7/3/23 22:21, Jiaxun Yang wrote: >> 2023年3月7日 21:07,Philippe Mathieu-Daudé <philmd@linaro.org> 写道: >> On 7/3/23 21:14, Philippe Mathieu-Daudé wrote: >>> On 7/3/23 21:07, Jiaxun Yang wrote: >>>>> 2023年3月7日 15:01,Philippe Mathieu-Daudé <philmd@linaro.org> 写道: >>>>> On 4/3/23 23:38, Jiaxun Yang wrote: >>>>>> Hi there, >>>>>> This patchset is to add a new machine type for MIPS architecture, which >>>>>> is purely a VirtIO machine. >>>>> >>>>>> Jiaxun Yang (2): >>>>>> hw/misc: Add MIPS Trickbox device >>>>>> hw/mips: Add MIPS virt board >>>>> Thanks, applied with following changes: >>>> >>>> Thanks for those clean-ups! >> >> Unfortunately I have to drop this due to the libfdt >> dependency, which fails the --disable-fdt job: >> https://gitlab.com/philmd/qemu/-/jobs/3890587748 > > Perhaps we should just select TARGET_NEED_FDT for all MIPS variants? Yes, but then the 'build-without-defaults' job which cover mips64-softmmu fails: ../../meson.build:2809:2: ERROR: Problem encountered: fdt not available but required by targets mipsel-softmmu It is easy to update the job, but these are too many changes and the gitlab change need to be reviewed.