On 26.03.2026 22:04, Aditya Gupta wrote:
Overview ========PHB in Power8 supports 8 byte registers, and hence the ops structure allows accessing of 8 bytes in 'pnv_phb3_reg_ops' Both 'pnv_phb3_reg_read' & 'pnv_phb3_reg_write' pass the arguments as is to 'pnv_phb3_config_{read,write}', if offset is PHB_CONFIG_DATA. This when called with size as 8, causes following assert failure in 'pci_host_config_read_common' & 'pci_host_config_write_common': assert(len <= 4); This patch series splits it into two patches: 1. Fix PnvPHB3 code so that it never calls pci_host_config_{read,write}_common with read/write size of >4, thus fixing the assert problem 2. Replace the assert with bounds checking Patch #2 should not have any functional change, since the issue is already fixed by patch #1
Hi! Is this a qemu-stable material? Thanks, /mjt
