Re:Thunderbolt 3 embraces USB Type-C connector, doubles band...
by out_of_protocol on Tuesday June 02, 2015 @08:11AM
(#9645294)
One port to rule em all
[ Parent
| on HN ]
Re:Thunderbolt 3 embraces USB Type-C connector, doubles band...
by the8472 on Tuesday June 02, 2015 @10:15AM
(#9645951)
Considering the DMA vulnerabilities of thunderbolt, that's not too far off.
At least until we have some sort of IOMMU-based hotplug device firewalls in our operating systems.
Re:Thunderbolt 3 embraces USB Type-C connector, doubles band...
by lvh on Tuesday June 02, 2015 @11:09AM
(#9646325)
Isn't that already the case? Current-gen Intel and AMD platforms have IOMMUs; Linux supports them. Linux and Windows support disabling DMA without disabling the rest of e.g. Firewire.
Re:Thunderbolt 3 embraces USB Type-C connector, doubles band...
by the8472 on Tuesday June 02, 2015 @02:32PM
(#9647957)
That's for a specific firewire protocol.
Thunderbolt exposes PCIe-lanes, so you can pretty much attach any pcie-device that has drivers. If there are any drivers that do not use the IOMMU properly (just pass through everything?) then we're back to square one. And I don't think all drivers are iommu-aware.
The system should only hotplug devices/drivers with user approval.
Re:Thunderbolt 3 embraces USB Type-C connector, doubles band...
by TazeTSchnitzel on Tuesday June 02, 2015 @10:52AM
(#9646217)
USB 3.0 has DMA too.
Re:Thunderbolt 3 embraces USB Type-C connector, doubles band...
by the8472 on Tuesday June 02, 2015 @12:41PM
(#9647058)
But is that remote DMA? Controller/driver-managed DMA transfers in the fashion of "shovel the next X incoming kilobytes to this memory range" is not the same as arbitrary writes to host memory initiated by a device.
Re:Thunderbolt 3 embraces USB Type-C connector, doubles band...
by TazeTSchnitzel on Tuesday June 02, 2015 @02:10PM
(#9647778)
Ah, maybe it isn't, fair point.
Re:Thunderbolt 3 embraces USB Type-C connector, doubles band...
by rasz_pl on Tuesday June 02, 2015 @05:16PM
(#9649067)
On USB only Host is allowed to be a bus master. Thunderbold does PCI/PCIe and by extension allows any plugged gizmo to take over whole computer.