All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] pci config space emulation clean up TAKE 4
@ 2009-05-13  7:50 Isaku Yamahata
  2009-05-13  7:50 ` [Qemu-devel] [PATCH 1/4] vmware_vga: clean up Isaku Yamahata
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Isaku Yamahata @ 2009-05-13  7:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: yamahata, mtosatti, armbru, mst

This patch series is 4th try for cleaning up pci config space emulation.
Making it table driven with mask and callback.
And this time, I converted pci device to use callback.

Note on pci device conversion:
- cirrus_vga.c
  pci_cirrus_vga_config_write() allways called
  cirrus_update_memory_access().
  By grepping the code roughly I concluded it is unnecessary.
  But I'm not very certain. At least it seems working with my environment.

- wdt_i6300esb.c
  From the code, ESB_CONFIG_REG and ESB_LOCK_REG has only 3bit is valid
  and other bits are read only to 0. But I'm not sure it's correct.


Changes from v3
- changed callback signature
- converted pci device

thanks,

Isaku Yamahata (4):
  vmware_vga: clean up
  qemu: make default_write_config use mask table
  pci: pci_default_config_write() clean up.
  pci/config: convert pci configuration space handler to use callback.

 hw/acpi.c         |   11 +-
 hw/cirrus_vga.c   |   13 +-
 hw/gt64xxx.c      |   13 +--
 hw/pci.c          |  398 +++++++++++++++++++++++++++++++++++-----------------
 hw/pci.h          |  115 +++++++++++++++-
 hw/piix_pci.c     |   18 ++-
 hw/vga.c          |   10 +-
 hw/vmware_vga.c   |    2 +-
 hw/wdt_i6300esb.c |   66 ++++-----
 9 files changed, 440 insertions(+), 206 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-13  8:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13  7:50 [Qemu-devel] [PATCH 0/4] pci config space emulation clean up TAKE 4 Isaku Yamahata
2009-05-13  7:50 ` [Qemu-devel] [PATCH 1/4] vmware_vga: clean up Isaku Yamahata
2009-05-13  7:50 ` [Qemu-devel] [PATCH 2/4] qemu: make default_write_config use mask table Isaku Yamahata
2009-05-13  8:07   ` [Qemu-devel] " Michael S. Tsirkin
2009-05-13  8:27     ` Isaku Yamahata
2009-05-13  8:45       ` Michael S. Tsirkin
2009-05-13  7:50 ` [Qemu-devel] [PATCH 3/4] pci: pci_default_config_write() clean up Isaku Yamahata
2009-05-13  7:50 ` [Qemu-devel] [PATCH 4/4] pci/config: convert pci configuration space handler to use callback Isaku Yamahata

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.