# Re: \[PATCH v5 12/16\] PCI: Add pci\_iomap\_host\_shared(), pci\_iomap\_host\_shared\_range()

- From: Andi Kleen \<hidden\>
- Date: 2021-10-12 19:49:18 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/10/1539451
- Thread: https://ratatoskr.run/linux-pci/2021/10/1535998/t.md

```text

On 10/12/2021 12:13 PM, Dan Williams wrote:
> On Tue, Oct 12, 2021 at 11:57 AM Reshetova, Elena
> [ref] wrote:
>>
>>> I suspect the true number is even higher because that doesn't include IO
>>> inside calls to other modules and indirect pointers, correct?
>> Actually everything should be included. Smatch has cross-function db and
>> I am using it for getting the call chains and it follows function pointers.
>> Also since I am starting from a list of individual read IOs, every single
>> base read IO in drivers/* should be covered as far as I can see. But if it uses
>> some weird IO wrappers then the actual list might be higher.
> Why analyze individual IO calls? I thought the goal here was to
> disable entire classes of ioremap() users?

This is everything that would need to be moved somewhere else if we didn't disable the entire classes of ioremap users.

-Andi

```
