firmware: ti_sci: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Fri, 24 Jul 2020 21:43:48 +0000 (14:43 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 24 Jul 2020 21:44:52 +0000 (14:44 -0700)
commita6df49f4224324dd8588f6a0d9cff53cd61a196b
tree448b2f8dc16e64b4c36ba70baefcdcabf8a02f30
parent2ea17d504a0ee9b357a5fd2bde257c2ec37ceca7
firmware: ti_sci: 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: Rob Herring <robh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Documentation/devicetree/bindings/interrupt-controller/ti,sci-intr.txt
drivers/firmware/ti_sci.c
drivers/firmware/ti_sci.h
drivers/irqchip/irq-ti-sci-inta.c
drivers/irqchip/irq-ti-sci-intr.c
drivers/reset/reset-ti-sci.c
include/linux/soc/ti/ti_sci_inta_msi.h
include/linux/soc/ti/ti_sci_protocol.h