qemu/include/hw
Jamin Lin d46a4ba0f4 hw/i2c/aspeed: Support discontinuous poll buffer memory region of I2C bus
It only support continuous pool buffer memory region for all I2C bus.
However, the pool buffer address of all I2c bus are discontinuous
for AST2700.

Ex: the pool buffer address of I2C bus for ast2700 as following.
0x1A0 - 0x1BF: Device 0 buffer
0x2A0 - 0x2BF: Device 1 buffer
0x3A0 - 0x3BF: Device 2 buffer
0x4A0 - 0x4BF: Device 3 buffer
0x5A0 - 0x5BF: Device 4 buffer
0x6A0 - 0x6BF: Device 5 buffer
0x7A0 - 0x7BF: Device 6 buffer
0x8A0 - 0x8BF: Device 7 buffer
0x9A0 - 0x9BF: Device 8 buffer
0xAA0 - 0xABF: Device 9 buffer
0xBA0 - 0xBBF: Device 10 buffer
0xCA0 - 0xCBF: Device 11 buffer
0xDA0 - 0xDBF: Device 12 buffer
0xEA0 - 0xEBF: Device 13 buffer
0xFA0 – 0xFBF: Device 14 buffer
0x10A0 – 0x10BF: Device 15 buffer

Introduce a new class attribute to make user set each I2C bus
pool buffer gap size. Update formula to create all I2C bus
pool buffer memory regions.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
2024-09-16 17:44:07 +02:00
..
acpi hw/acpi/ich9: Add periodic and swsmi timer 2024-09-11 09:46:14 -04:00
adc aspeed/adc: Add AST2700 support 2024-07-21 07:46:38 +02:00
arm hw/arm/virt: Default to two-stage SMMU from virt-9.2 2024-09-05 13:12:36 +01:00
audio
block
char hw/char/escc: convert Sun mouse to use QemuInputHandler 2024-09-13 20:11:13 +02:00
core physmem: Add helper function to destroy CPU AddressSpace 2024-07-22 20:15:41 -04:00
cpu
cxl hw/cxl: Support firmware updates 2024-07-21 14:42:58 -04:00
display
dma
firmware
fsi
gpio
hyperv
i2c hw/i2c/aspeed: Support discontinuous poll buffer memory region of I2C bus 2024-09-16 17:44:07 +02:00
i386 hw: add compat machines for 9.2 2024-09-05 13:12:36 +01:00
ide
input
intc hw/intc/loongarch_ipi: Add loongarch IPI support 2024-08-06 10:22:52 +02:00
ipack
ipmi
isa
loongarch hw/loongarch/virt: Replace Loongson IPI with LoongArch IPI 2024-08-06 10:22:52 +02:00
m68k
mem
mips
misc hw/misc/xlnx-versal-trng: Call register_finalize_block 2024-09-05 13:12:36 +01:00
net
nubus
nvram hm/nvram/xlnx-versal-efuse-ctrl: Call register_finalize_block 2024-09-05 13:12:37 +01:00
openrisc
pci softmmu: Support concurrent bounce buffers 2024-09-09 10:55:39 -04:00
pci-bridge
pci-host hw/pci-host/designware: Declare CPU QOM types using DEFINE_TYPES() macro 2024-09-13 20:10:49 +02:00
ppc pnv/xive2: Dump more END state with 'info pic' 2024-07-26 09:51:33 +10:00
remote
riscv
rtc
rx
s390x qapi/machine: Rename CpuS390* to S390Cpu*, and drop 'prefix' 2024-09-10 13:22:47 +02:00
scsi
sd
sensor
sh4 hw/sh4: Remove sh7750_register_io_device() helper 2024-09-13 20:10:49 +02:00
southbridge hw/acpi/ich9: Add periodic and swsmi timer 2024-09-11 09:46:14 -04:00
sparc
ssi hw/ssi: Extend SPI model 2024-07-26 09:21:06 +10:00
timer
tricore
usb
vfio vfio/common: Allow disabling device dirty page tracking 2024-07-23 17:14:53 +02:00
virtio vhost_net: configure all host notifiers in a single MR transaction 2024-09-11 09:46:14 -04:00
watchdog
xen hw/xen: pvh-common: Add support for creating PCIe/GPEX 2024-09-04 16:50:43 +02:00
xtensa
boards.h hw/boards: Add hvf_get_physical_address_range to MachineClass 2024-09-13 15:31:46 +01:00
clock.h
elf_ops.h.inc
fw-path-provider.h
hotplug.h
hw.h
irq.h hw: Move declaration of IRQState to header and add init function 2024-09-11 07:20:30 -04:00
loader-fit.h
loader.h
nmi.h
or-irq.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-clock.h
qdev-core.h hw: Rename DeviceClass::reset field to legacy_reset 2024-09-13 15:31:45 +01:00
qdev-dma.h
qdev-properties-system.h qapi/machine: Rename CpuS390* to S390Cpu*, and drop 'prefix' 2024-09-10 13:22:47 +02:00
qdev-properties.h
register.h
registerfields.h
resettable.h hw/core/resettable: Remove transitional_function machinery 2024-09-13 15:31:46 +01:00
stream.h
sysbus.h
usb.h
vmstate-if.h