|
From: | Richard Henderson |
Subject: | Re: Guidance on emulating "sparse" address spaces |
Date: | Fri, 25 Jun 2021 18:29:01 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 6/23/21 5:53 PM, Jason Thorpe wrote:
Thanks for the pointer! Yes, it seems like that might be similar to what I need... create new address spaces (rather than using the "system" address space) for the PCI memory and I/O regions (I need to do this for PCI configuration space, too, FWIW...), then in my sparse ops handlers, decode the bus address and size, and then call address_space_{read,write}(). Have I got the gist of it?
Yep. That bitband device is a good example. r~
[Prev in Thread] | Current Thread | [Next in Thread] |