Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: Replace HTTP links with HTTPS ones

Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
If not .svg:
For each line:
If doesn't contain `\bxmlns\b`:
For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
If both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Acked-by: Vishal Verma <vishal.l.verma@intel.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Alexander A. Klimov and committed by
Rafael J. Wysocki
4ce77966 0585c1c0

+15 -15
+2 -2
Documentation/firmware-guide/acpi/DSD-properties-rules.rst
··· 96 96 References 97 97 ========== 98 98 99 - .. [1] http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf 100 - .. [2] http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf 99 + .. [1] https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf 100 + .. [2] https://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf
+2 -2
Documentation/firmware-guide/acpi/dsd/data-node-references.rst
··· 85 85 ========== 86 86 87 87 [1] Hierarchical Data Extension UUID For _DSD. 88 - <http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf>, 88 + <https://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf>, 89 89 referenced 2018-07-17. 90 90 91 91 [2] Device Properties UUID For _DSD. 92 - <http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf>, 92 + <https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf>, 93 93 referenced 2016-10-04.
+5 -5
Documentation/firmware-guide/acpi/dsd/graph.rst
··· 154 154 ========== 155 155 156 156 [1] _DSD (Device Specific Data) Implementation Guide. 157 - http://www.uefi.org/sites/default/files/resources/_DSD-implementation-guide-toplevel-1_1.htm, 157 + https://www.uefi.org/sites/default/files/resources/_DSD-implementation-guide-toplevel-1_1.htm, 158 158 referenced 2016-10-03. 159 159 160 - [2] Devicetree. http://www.devicetree.org, referenced 2016-10-03. 160 + [2] Devicetree. https://www.devicetree.org, referenced 2016-10-03. 161 161 162 162 [3] Documentation/devicetree/bindings/graph.txt 163 163 164 164 [4] Device Properties UUID For _DSD. 165 - http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf, 165 + https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf, 166 166 referenced 2016-10-04. 167 167 168 168 [5] Hierarchical Data Extension UUID For _DSD. 169 - http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf, 169 + https://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf, 170 170 referenced 2016-10-04. 171 171 172 172 [6] Advanced Configuration and Power Interface Specification. 173 - http://www.uefi.org/sites/default/files/resources/ACPI_6_1.pdf, 173 + https://www.uefi.org/sites/default/files/resources/ACPI_6_1.pdf, 174 174 referenced 2016-10-04. 175 175 176 176 [7] _DSD Device Properties Usage Rules.
+3 -3
Documentation/firmware-guide/acpi/dsd/leds.rst
··· 90 90 References 91 91 ========== 92 92 93 - [1] Device tree. <URL:http://www.devicetree.org>, referenced 2019-02-21. 93 + [1] Device tree. <URL:https://www.devicetree.org>, referenced 2019-02-21. 94 94 95 95 [2] Advanced Configuration and Power Interface Specification. 96 96 <URL:https://uefi.org/sites/default/files/resources/ACPI_6_3_final_Jan30.pdf>, ··· 101 101 [4] Documentation/devicetree/bindings/media/video-interfaces.txt 102 102 103 103 [5] Device Properties UUID For _DSD. 104 - <URL:http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf>, 104 + <URL:https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf>, 105 105 referenced 2019-02-21. 106 106 107 107 [6] Hierarchical Data Extension UUID For _DSD. 108 - <URL:http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf>, 108 + <URL:https://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf>, 109 109 referenced 2019-02-21. 110 110 111 111 [7] Documentation/firmware-guide/acpi/dsd/data-node-references.rst
+1 -1
Documentation/firmware-guide/acpi/lpit.rst
··· 7 7 To enumerate platform Low Power Idle states, Intel platforms are using 8 8 “Low Power Idle Table” (LPIT). More details about this table can be 9 9 downloaded from: 10 - http://www.uefi.org/sites/default/files/resources/Intel_ACPI_Low_Power_S0_Idle.pdf 10 + https://www.uefi.org/sites/default/files/resources/Intel_ACPI_Low_Power_S0_Idle.pdf 11 11 12 12 Residencies for each low power state can be read via FFH 13 13 (Function fixed hardware) or a memory mapped interface.
+1 -1
drivers/acpi/Kconfig
··· 32 32 Linux support for ACPI is based on Intel Corporation's ACPI 33 33 Component Architecture (ACPI CA). For more information on the 34 34 ACPI CA, see: 35 - <http://acpica.org/> 35 + <https://acpica.org/> 36 36 37 37 ACPI is an open industry specification originally co-developed by 38 38 Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba. Currently,
+1 -1
drivers/acpi/nfit/nfit.h
··· 16 16 /* ACPI 6.1 */ 17 17 #define UUID_NFIT_BUS "2f10e7a4-9e91-11e4-89d3-123b93f75cba" 18 18 19 - /* http://pmem.io/documents/NVDIMM_DSM_Interface-V1.6.pdf */ 19 + /* https://pmem.io/documents/NVDIMM_DSM_Interface-V1.6.pdf */ 20 20 #define UUID_NFIT_DIMM "4309ac30-0d11-11e4-9191-0800200c9a66" 21 21 22 22 /* https://github.com/HewlettPackard/hpe-nvm/blob/master/Documentation/ */