<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Hello,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div>I know the b:d.f of my device. However, I am not able to tell if this specific device is mapped to the right IOMMU. In my specific system there are two IOMMU, right? If so, I am not sure how I can get the mapping info from the output of /proc/iomem.<br><br>Regards,<br>Ahmed.<br><br> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, July 9, 2014 1:18 AM, Real Name <enjoymindful@gmail.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container">On Tue, Jul 08, 2014 at 09:33:40PM -0700, Ahmed A wrote:<br clear="none">> Hello,<br clear="none">> <br clear="none">> I have a server, and on the motherboard there are two CPU sockets, with a CPU in each. There is a x16 PCIe slot connected to each CPU socket. There are two different cards in each PCIe slot. Is there a utility or some kernel data structure I can look at to find the device to IOMMU (socket 0 or socket 1) mapping?<br clear="none"><br clear="none">please try:<br clear="none">1) lspci -vs THE_PCI_ID<br clear="none">2) cat /proc/iomem<div class="yqt4074130238" id="yqtfd06770"><br clear="none"><br clear="none">> <br clear="none">> Thank you,<br
clear="none">> Ahmed.</div><br clear="none"><br clear="none">> _______________________________________________<br clear="none">> Kernelnewbies mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none">> <a shape="rect" href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">Kernelnewbies mailing list<br clear="none"><a shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none"><a shape="rect" href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies"
target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><div class="yqt4074130238" id="yqtfd12606"><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>