Re: [PATCH v3 0/7] isa: Resolve unneeded IRQ attributes from ISADevice

2022-03-12 Thread Bernhard Beschow
Am 7. März 2022 00:34:27 UTC schrieb "Philippe Mathieu-Daudé" : >On 1/3/22 23:00, Bernhard Beschow wrote: > >> The IRQ attributes are mostly used for printing ('info qtree') and there is >> one >> user, hw/ppc/pnv, to use the attributes directly. As it turns out, the >> printing >> is redundant

Re: [PATCH v3 0/7] isa: Resolve unneeded IRQ attributes from ISADevice

2022-03-06 Thread Philippe Mathieu-Daudé
On 1/3/22 23:00, Bernhard Beschow wrote: The IRQ attributes are mostly used for printing ('info qtree') and there is one user, hw/ppc/pnv, to use the attributes directly. As it turns out, the printing is redundant if the IRQ numbers are exposed as QOM properties and hw/ppc/pnv can be easily port

[PATCH v3 0/7] isa: Resolve unneeded IRQ attributes from ISADevice

2022-03-01 Thread Bernhard Beschow
v3: * Use DEFINE_PROP_UINT8 / uint8_t for new IRQ properties. (Philippe) * Use "%u" format when printing maximum allowed IRQ number in error messages. (Philippe) * Use object_property_get_uint() in pnv.c. (Philippe) * Squash cleanup patches (7-22) into "Inline and remove one-line isa_init_irq()