RE: [PATCH v3 1/2] bus/pci: fix secondary process PCI uio resource map problem

2024-06-27 Thread Chaoyong He
> 19/04/2024 05:26, Chaoyong He: > > From: Zerun Fu > > > > For the primary process, the logic loops all BARs and will skip the > > map of BAR with an invalid physical address (0), also will assign > > 'uio_res->nb_maps' with the real mapped BARs number. But for the > > secondary process, instead

Re: [PATCH v3 1/2] bus/pci: fix secondary process PCI uio resource map problem

2024-06-27 Thread Thomas Monjalon
19/04/2024 05:26, Chaoyong He: > From: Zerun Fu > > For the primary process, the logic loops all BARs and will skip > the map of BAR with an invalid physical address (0), also will > assign 'uio_res->nb_maps' with the real mapped BARs number. But > for the secondary process, instead of loops all

[PATCH v3 1/2] bus/pci: fix secondary process PCI uio resource map problem

2024-04-18 Thread Chaoyong He
From: Zerun Fu For the primary process, the logic loops all BARs and will skip the map of BAR with an invalid physical address (0), also will assign 'uio_res->nb_maps' with the real mapped BARs number. But for the secondary process, instead of loops all BARs, the logic using the 'uio_res->nb_map'