I own a Dell XPS 13 9365, a 2-in-1 laptop. Dell have decided, arbitrarily, not to support Linux on this machine, but you can still actually make it run by disabling Secure Boot and setting the SATA mode to AHCI. Even then, Ubuntu doesn't seem to detect when you've rotated the screen for tablet mode or stuff like that -- but that's probably Ubuntu's driver support. The machine also can't wake up from suspend mode, which I suspect is a driver thing.
Problem is, if you then apply a typical, recommended firmware upgrade from your Ubuntu Software Manager, it bricks the laptop. The problem being, "applying" the firmware upgrade in Ubuntu just primes it to run when you restart the computer. When you restart the computer, the BIOS detects a present firmware upgrade and applies it, without apparently double-checking that, you know, this isn't gonna brick the computer. I now have to wait for a technician to arrive today and replace my motherboard, then figure out how to change those BIOS settings again so that I can boot back into Linux.
Maybe Ubuntu could have stopped this by detecting compatibility issues between the firmware package and the hardware. Dell's BIOS definitely should have stopped this by detecting the compatibility issue between its own settings and the firmware package. Alternately, if the issue is that, for instance, the BIOS won't check these packages because I've disabled Secure Boot, the BIOS needs to bloody well differentiate between Secure Boot for operating systems (which we want off, because we own our laptops, thank you very much) and for BIOS/firmware packages (which we want on, because why brick a good machine?).
Overall, great machine, but bad Dell, no cookie.