>>> +           if (htab_bolt_mapping(ea, ea + PAGE_SIZE, pa, flags,
>>> +                                 mmu_io_psize, mmu_kernel_ssize)) {
>>> +                   printk(KERN_ERR "Failed to do bolted mapping IO "
>>> +                          "memory at %016lx !\n", pa);
>>> +                   return -ENOMEM;
>>
>> What happens when we do unmap this? I know this code has been around for a 
>> while
>> so its not new
> 
> you mean iounmap ? it do call vunmap, which look for a linux page table
> entry. If it is a bolt_mapping entry as above, we will not have a linux
> page table entry and that unmap will not relaly remove the mapping. 

Make sense, thanks!

Balbir
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to