PCI: Replace http:// links with https://
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sat, 27 Jun 2020 10:30:50 +0000 (12:30 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jun 2020 18:05:09 +0000 (13:05 -0500)
Replace http:// links with https:// links.  This reduces the likelihood of
man-in-the-middle attacks when developers open these links.

  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 both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
      Replace HTTP with HTTPS.

[bhelgaas: also update samsung.com links, drop sourceforge link]
Link: https://lore.kernel.org/r/20200627103050.71712-1-grandmaster@al2klimov.de
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
15 files changed:
Documentation/PCI/pci.rst
Documentation/devicetree/bindings/pci/pci.txt
arch/x86/pci/fixup.c
drivers/pci/controller/dwc/pci-dra7xx.c
drivers/pci/controller/dwc/pci-exynos.c
drivers/pci/controller/dwc/pci-imx6.c
drivers/pci/controller/dwc/pci-keystone.c
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h
drivers/pci/controller/dwc/pcie-kirin.c
drivers/pci/pci-label.c
drivers/pci/pcie/Kconfig
drivers/pci/pcie/aer_inject.c
drivers/pci/quirks.c

index 8c016d8c986232d61971ee655180c9df35739db1..d2815d735c86e407d73c510adbcabe7d6ba08d44 100644 (file)
@@ -17,7 +17,7 @@ PCI device drivers.
 A more complete resource is the third edition of "Linux Device Drivers"
 by Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman.
 LDD3 is available for free (under Creative Commons License) from:
-http://lwn.net/Kernel/LDD3/.
+https://lwn.net/Kernel/LDD3/.
 
 However, keep in mind that all documents are subject to "bit rot".
 Refer to the source code if things are not working as described here.
@@ -514,9 +514,8 @@ your driver if they're helpful, or just use plain hex constants.
 The device IDs are arbitrary hex numbers (vendor controlled) and normally used
 only in a single location, the pci_device_id table.
 
-Please DO submit new vendor/device IDs to http://pci-ids.ucw.cz/.
-There are mirrors of the pci.ids file at http://pciids.sourceforge.net/
-and https://github.com/pciutils/pciids.
+Please DO submit new vendor/device IDs to https://pci-ids.ucw.cz/.
+There's a mirror of the pci.ids file at https://github.com/pciutils/pciids.
 
 
 Obsolete functions
index 29bcbd88f457df6466a30645306ea6ca4e8187ca..6a8f2874a24dbff984c0d4aa38befbdf9dd66e15 100644 (file)
@@ -1,12 +1,12 @@
 PCI bus bridges have standardized Device Tree bindings:
 
 PCI Bus Binding to: IEEE Std 1275-1994
-http://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf
+https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf
 
 And for the interrupt mapping part:
 
 Open Firmware Recommended Practice: Interrupt Mapping
-http://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf
+https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf
 
 Additionally to the properties specified in the above standards a host bridge
 driver implementation may support the following properties:
index 0c67a5a94de301d536f02f172344743dbd4c9db6..b8c9a5b87f3728c0777b8907ffe12bbd466a5079 100644 (file)
@@ -557,12 +557,12 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x27B9, twinhead_reserve_killing_z
  * Device [8086:2fc0]
  * Erratum HSE43
  * CONFIG_TDP_NOMINAL CSR Implemented at Incorrect Offset
- * http://www.intel.com/content/www/us/en/processors/xeon/xeon-e5-v3-spec-update.html
+ * https://www.intel.com/content/www/us/en/processors/xeon/xeon-e5-v3-spec-update.html
  *
  * Devices [8086:6f60,6fa0,6fc0]
  * Erratum BDF2
  * PCI BARs in the Home Agent Will Return Non-Zero Values During Enumeration
- * http://www.intel.com/content/www/us/en/processors/xeon/xeon-e5-v4-spec-update.html
+ * https://www.intel.com/content/www/us/en/processors/xeon/xeon-e5-v4-spec-update.html
  */
 static void pci_invalid_bar(struct pci_dev *dev)
 {
index 6184ebc9392db39ad001c640ee15a3bb082059d3..1b2e6e6fb8184357088afecb96d3c17f243105bb 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * pcie-dra7xx - PCIe controller driver for TI DRA7xx SoCs
  *
- * Copyright (C) 2013-2014 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2013-2014 Texas Instruments Incorporated - https://www.ti.com
  *
  * Authors: Kishon Vijay Abraham I <kishon@ti.com>
  */
index c5043d951e8095dffbbab14238b520f1fe86ce7e..a075eba45abb20e369204ceac1da65fc9dcc8ecc 100644 (file)
@@ -3,7 +3,7 @@
  * PCIe host controller driver for Samsung Exynos SoCs
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
- *             http://www.samsung.com
+ *             https://www.samsung.com
  *
  * Author: Jingoo Han <jg1.han@samsung.com>
  */
index 8f08ae53f53e4b13f62a671eec74f949d4086a5f..4e5c379ae41810e77f86b4a54f980b79ec0b1936 100644 (file)
@@ -3,7 +3,7 @@
  * PCIe host controller driver for Freescale i.MX6 SoCs
  *
  * Copyright (C) 2013 Kosagi
- *             http://www.kosagi.com
+ *             https://www.kosagi.com
  *
  * Author: Sean Cross <xobs@kosagi.com>
  */
index 790679fdfa488cf727c7c8c14dc334fac16062a4..5191cad906cac20d0191716b7e795ae0d5a87aa2 100644 (file)
@@ -3,7 +3,7 @@
  * PCIe host controller driver for Texas Instruments Keystone SoCs
  *
  * Copyright (C) 2013-2014 Texas Instruments., Ltd.
- *             http://www.ti.com
+ *             https://www.ti.com
  *
  * Author: Murali Karicheri <m-karicheri2@ti.com>
  * Implementation based on pci-exynos.c and pcie-designware.c
index 0a4a5aa6fe46918b5d957f83ab8d7cb30b9f27a5..2cb286a492933f24f14be03b06ee4e7643c20adb 100644 (file)
@@ -3,7 +3,7 @@
  * Synopsys DesignWare PCIe host controller driver
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
- *             http://www.samsung.com
+ *             https://www.samsung.com
  *
  * Author: Jingoo Han <jg1.han@samsung.com>
  */
index c92496e36fd5fa7f50f43340de1fff4b79cb63c7..b723e0cc41fb4d0579df9ace2363e67a057efb65 100644 (file)
@@ -3,7 +3,7 @@
  * Synopsys DesignWare PCIe host controller driver
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
- *             http://www.samsung.com
+ *             https://www.samsung.com
  *
  * Author: Jingoo Han <jg1.han@samsung.com>
  */
index 656e00f8fbeb49223af1747fb8caa3f1245276c4..90915dc89e086c68e673cd973c0706598314ed15 100644 (file)
@@ -3,7 +3,7 @@
  * Synopsys DesignWare PCIe host controller driver
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
- *             http://www.samsung.com
+ *             https://www.samsung.com
  *
  * Author: Jingoo Han <jg1.han@samsung.com>
  */
index c19617a912bd577a1717f7b29c932ea03be0e6ef..7b86c1608b0466f866f126c99adee742c94dac2b 100644 (file)
@@ -3,7 +3,7 @@
  * PCIe host controller driver for Kirin Phone SoCs
  *
  * Copyright (C) 2017 HiSilicon Electronics Co., Ltd.
- *             http://www.huawei.com
+ *             https://www.huawei.com
  *
  * Author: Xiaowei Song <songxiaowei@huawei.com>
  */
index 707dd98086766a5ee0b326ff0b60520267cdc16a..781e45cf60d1c3093950604bc367882f4c3d93e8 100644 (file)
@@ -18,7 +18,7 @@
  * the instance number and string from the type 41 record and exports
  * it to sysfs.
  *
- * Please see http://linux.dell.com/files/biosdevname/ for more
+ * Please see https://linux.dell.com/files/biosdevname/ for more
  * information.
  */
 
index 9cd31331aee9f3d9b487b8d3b692e39687d94d8d..3946555a60422b1a665c9ce7034ff05a00e296cf 100644 (file)
@@ -43,7 +43,7 @@ config PCIEAER_INJECT
          error injection can fake almost all kinds of errors with the
          help of a user space helper tool aer-inject, which can be
          gotten from:
-            http://www.kernel.org/pub/linux/utils/pci/aer-inject/
+            https://www.kernel.org/pub/linux/utils/pci/aer-inject/
 
 #
 # PCI Express ECRC
index 21cc3d3387f7919e2edfeac583e263bfe6be0715..c2cbf425afc52ca8d28310c8ff58c87c913227b7 100644 (file)
@@ -6,7 +6,7 @@
  * trigger various real hardware errors. Software based error
  * injection can fake almost all kinds of errors with the help of a
  * user space helper tool aer-inject, which can be gotten from:
- *   http://www.kernel.org/pub/linux/utils/pci/aer-inject/
+ *   https://www.kernel.org/pub/linux/utils/pci/aer-inject/
  *
  * Copyright 2009 Intel Corporation.
  *     Huang Ying <ying.huang@intel.com>
index 812bfc32ecb82bcc149a51e338bfc853a16c52f8..54ebbef850bee364b7b1180894f40ca0d637ac71 100644 (file)
@@ -4620,11 +4620,11 @@ static int pci_quirk_al_acs(struct pci_dev *dev, u16 acs_flags)
  *
  * 0x9d10-0x9d1b PCI Express Root port #{1-12}
  *
- * [1] http://www.intel.com/content/www/us/en/chipsets/100-series-chipset-datasheet-vol-2.html
- * [2] http://www.intel.com/content/www/us/en/chipsets/100-series-chipset-datasheet-vol-1.html
- * [3] http://www.intel.com/content/www/us/en/chipsets/100-series-chipset-spec-update.html
- * [4] http://www.intel.com/content/www/us/en/chipsets/200-series-chipset-pch-spec-update.html
- * [5] http://www.intel.com/content/www/us/en/chipsets/200-series-chipset-pch-datasheet-vol-1.html
+ * [1] https://www.intel.com/content/www/us/en/chipsets/100-series-chipset-datasheet-vol-2.html
+ * [2] https://www.intel.com/content/www/us/en/chipsets/100-series-chipset-datasheet-vol-1.html
+ * [3] https://www.intel.com/content/www/us/en/chipsets/100-series-chipset-spec-update.html
+ * [4] https://www.intel.com/content/www/us/en/chipsets/200-series-chipset-pch-spec-update.html
+ * [5] https://www.intel.com/content/www/us/en/chipsets/200-series-chipset-pch-datasheet-vol-1.html
  * [6] https://www.intel.com/content/www/us/en/processors/core/7th-gen-core-family-mobile-u-y-processor-lines-i-o-spec-update.html
  * [7] https://www.intel.com/content/www/us/en/processors/core/7th-gen-core-family-mobile-u-y-processor-lines-i-o-datasheet-vol-1.html
  */