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

2024-07-14 Thread huangdengdui
On 2024/7/2 15:40, Chaoyong He wrote: > 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 l

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

2024-07-04 Thread Chenbo Xia
> On Jul 2, 2024, at 15:40, Chaoyong He wrote: > > External email: Use caution opening links or attachments > > > 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' w

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

2024-07-02 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'