diff options
| author | Leah Rowe <vimuser@noreply.codeberg.org> | 2026-04-10 23:57:20 +0200 |
|---|---|---|
| committer | Leah Rowe <vimuser@noreply.codeberg.org> | 2026-04-10 23:57:20 +0200 |
| commit | 7eecc42b92f43c72f950f9840e86d298ed83bf8f (patch) | |
| tree | 0851755d4234ee66295c67cbde3409e9d9c66854 /config/coreboot/default/patches | |
| parent | 63ec707698d956b50e4d16d5364dd8bc7ad83ddb (diff) | |
| parent | 4a7feba7cd40c902aa7cb621e257dbe2417de247 (diff) | |
Merge pull request 'supermicro x11ssh_f: Enable SATA hotplug' (#419) from noisytoot/supermicro-x11ssh-f-sata-hotplug into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/419
Diffstat (limited to 'config/coreboot/default/patches')
| -rw-r--r-- | config/coreboot/default/patches/0051-mb-supermicro-x11-lga1151-series-Enable-SATA-hotplug.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/config/coreboot/default/patches/0051-mb-supermicro-x11-lga1151-series-Enable-SATA-hotplug.patch b/config/coreboot/default/patches/0051-mb-supermicro-x11-lga1151-series-Enable-SATA-hotplug.patch new file mode 100644 index 00000000..58c1a1d9 --- /dev/null +++ b/config/coreboot/default/patches/0051-mb-supermicro-x11-lga1151-series-Enable-SATA-hotplug.patch @@ -0,0 +1,46 @@ +From 88519aed6c7f305f7f2319e335c1421137df7ce3 Mon Sep 17 00:00:00 2001 +From: Ron Nazarov <ron@noisytoot.org> +Date: Mon, 23 Mar 2026 17:04:03 +0000 +Subject: [PATCH] mb/supermicro/x11-lga1151-series: Enable SATA hotplug + +Before this patch, hotplugging only worked to replace drives (if you +tried to plug a drive into a SATA port that no drive was plugged in to +at boot, it wouldn't be detected) and you'd have to manually rescan +the bus (echo "- - -" > /sys/class/scsi_host/host*/scan) to make +plugs/unplugs get detected by the operating system. + +Now, hotplugging works for all ports (tested and working on Supermicro +X11SSH-LN4F) and there's no need to manually rescan (it sometimes +takes a few seconds for unplugs to be detected, but plugs are detected +instantly). + +Change-Id: Id978a047697795ea657048fb6dc6665736c293f9 +Signed-off-by: Ron Nazarov <ron@noisytoot.org> +--- + .../supermicro/x11-lga1151-series/devicetree.cb | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/src/mainboard/supermicro/x11-lga1151-series/devicetree.cb b/src/mainboard/supermicro/x11-lga1151-series/devicetree.cb +index fbf896c6ae..d25288420f 100644 +--- a/src/mainboard/supermicro/x11-lga1151-series/devicetree.cb ++++ b/src/mainboard/supermicro/x11-lga1151-series/devicetree.cb +@@ -28,6 +28,16 @@ chip soc/intel/skylake + [6] = 1, + [7] = 1, + }" ++ register "SataPortsHotPlug" = "{ ++ [0] = 1, ++ [1] = 1, ++ [2] = 1, ++ [3] = 1, ++ [4] = 1, ++ [5] = 1, ++ [6] = 1, ++ [7] = 1, ++ }" + end + device ref lpc_espi on + register "serirq_mode" = "SERIRQ_CONTINUOUS" +-- +2.52.0 + |
