Re: [PATCH] fuzz: map all BARs and enable PCI devices

2020-12-10 Thread Alexander Bulekov
On 201210 1411, Philippe Mathieu-Daudé wrote: > On 12/10/20 12:36 PM, Darren Kenny wrote: > > Hi Alex, > > > > On Wednesday, 2020-12-09 at 15:10:54 -05, Alexander Bulekov wrote: > >> Prior to this patch, the fuzzer found inputs to map PCI device BARs and > >> enable the device. While it is nice th

Re: [PATCH] fuzz: map all BARs and enable PCI devices

2020-12-10 Thread Philippe Mathieu-Daudé
On 12/10/20 12:36 PM, Darren Kenny wrote: > Hi Alex, > > On Wednesday, 2020-12-09 at 15:10:54 -05, Alexander Bulekov wrote: >> Prior to this patch, the fuzzer found inputs to map PCI device BARs and >> enable the device. While it is nice that the fuzzer can do this, it >> added significant overhea

Re: [PATCH] fuzz: map all BARs and enable PCI devices

2020-12-10 Thread Darren Kenny
Hi Alex, On Wednesday, 2020-12-09 at 15:10:54 -05, Alexander Bulekov wrote: > Prior to this patch, the fuzzer found inputs to map PCI device BARs and > enable the device. While it is nice that the fuzzer can do this, it > added significant overhead, since the fuzzer needs to map all the > BARs (re

[PATCH] fuzz: map all BARs and enable PCI devices

2020-12-09 Thread Alexander Bulekov
Prior to this patch, the fuzzer found inputs to map PCI device BARs and enable the device. While it is nice that the fuzzer can do this, it added significant overhead, since the fuzzer needs to map all the BARs (regenerating the memory topology), at the start of each input. With this patch, we do t