All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] memory: assert and define MemoryRegionOps callbacks
@ 2020-06-24 18:55 P J P
  2020-06-24 18:55 ` [PATCH v2 1/9] hw/pci-host: add pci-intack write method P J P
                   ` (9 more replies)
  0 siblings, 10 replies; 39+ messages in thread
From: P J P @ 2020-06-24 18:55 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Peter Maydell, Prasad J Pandit, Philippe Mathieu-Daudé,
	Li Qiang, QEMU Developers, Lei Sun, Alex Williamson,
	Alex Bennée, David Gibson

From: Prasad J Pandit <pjp@fedoraproject.org>

Hello,

* This series asserts that MemoryRegionOps objects define read/write
  callback methods. Thus avoids potential NULL pointer dereference.
  ex. -> https://git.qemu.org/?p=qemu.git;a=commit;h=bb15013ef34617eb1344f5276292cadd326c21b2

* Also adds various undefined MemoryRegionOps read/write functions
  to avoid potential assert failure.

Thank you.
--
Prasad J Pandit (9):
  hw/pci-host: add pci-intack write method
  pci-host: add pcie-msi read method
  vfio: add quirk device write method
  prep: add ppc-parity write method
  nvram: add nrf51_soc flash read method
  spapr_pci: add spapr msi read method
  tz-ppc: add dummy read/write methods
  imx7-ccm: add digprog mmio write method
  memory: assert MemoryRegionOps callbacks are defined

 hw/misc/imx7_ccm.c       |  7 +++++++
 hw/misc/tz-ppc.c         | 15 +++++++++++++++
 hw/nvram/nrf51_nvm.c     |  8 ++++++++
 hw/pci-host/designware.c |  9 +++++++++
 hw/pci-host/prep.c       |  8 ++++++++
 hw/ppc/prep_systemio.c   |  8 ++++++++
 hw/ppc/spapr_pci.c       | 13 +++++++++++--
 hw/vfio/pci-quirks.c     |  8 ++++++++
 memory.c                 | 10 +++++++++-
 9 files changed, 83 insertions(+), 3 deletions(-)

-- 
2.26.2



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

end of thread, other threads:[~2020-07-21  9:49 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 18:55 [PATCH v2 0/9] memory: assert and define MemoryRegionOps callbacks P J P
2020-06-24 18:55 ` [PATCH v2 1/9] hw/pci-host: add pci-intack write method P J P
2020-06-29  9:20   ` Li Qiang
2020-06-24 18:55 ` [PATCH v2 2/9] pci-host: add pcie-msi read method P J P
2020-06-29  9:30   ` Li Qiang
2020-06-24 18:55 ` [PATCH v2 3/9] vfio: add quirk device write method P J P
2020-06-29  9:36   ` Li Qiang
2020-06-24 18:55 ` [PATCH v2 4/9] prep: add ppc-parity " P J P
2020-06-25  1:40   ` David Gibson
2020-06-25  6:24   ` Philippe Mathieu-Daudé
2020-06-29 11:22   ` Li Qiang
2020-07-21  8:24     ` Philippe Mathieu-Daudé
2020-06-24 18:55 ` [PATCH v2 5/9] nvram: add nrf51_soc flash read method P J P
2020-06-29 11:17   ` Li Qiang
2020-06-29 11:55     ` P J P
2020-06-29 15:32       ` Paolo Bonzini
2020-06-29 16:05         ` Li Qiang
2020-06-29 15:31     ` Paolo Bonzini
2020-07-16 16:27     ` Peter Maydell
2020-07-21  6:47       ` P J P
2020-07-21  8:33         ` Philippe Mathieu-Daudé
2020-07-21  9:48           ` P J P
2020-06-24 18:55 ` [PATCH v2 6/9] spapr_pci: add spapr msi " P J P
2020-06-25  1:41   ` David Gibson
2020-06-29  9:55     ` Li Qiang
2020-06-24 18:55 ` [PATCH v2 7/9] tz-ppc: add dummy read/write methods P J P
2020-06-25  6:29   ` Philippe Mathieu-Daudé
2020-06-25  9:18     ` P J P
2020-06-25 10:21       ` Philippe Mathieu-Daudé
2020-06-25 11:24         ` P J P
2020-06-29 15:33         ` Paolo Bonzini
2020-06-25 12:22       ` Peter Maydell
2020-06-29 10:44         ` Li Qiang
2020-06-29 11:48           ` P J P
2020-06-24 18:55 ` [PATCH v2 8/9] imx7-ccm: add digprog mmio write method P J P
2020-06-29 10:47   ` Li Qiang
2020-06-24 18:55 ` [PATCH v2 9/9] memory: assert MemoryRegionOps callbacks are defined P J P
2020-06-29 11:28   ` Li Qiang
2020-06-24 21:35 ` [PATCH v2 0/9] memory: assert and define MemoryRegionOps callbacks no-reply

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.