kernel: bump 5.4 to 5.4.179
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Feb 2022 16:01:04 +0000 (16:01 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Feb 2022 18:41:39 +0000 (19:41 +0100)
Many changes were done in drivers/pinctrl/bcm/pinctrl-bcm2835.c between
5.4.171 and 5.4.179.
The following 3 patches do not apply any more:
* target/linux/bcm27xx/patches-5.4/950-0316-pinctrl-bcm2835-Add-support-for-BCM2711-pull-up-func.patch
  This was already integrated in kernel v5.4-rc1, it was never needed.

* target/linux/bcm27xx/patches-5.4/950-0328-Revert-pinctrl-bcm2835-Pass-irqchip-when-adding-gpio.patch
* target/linux/bcm27xx/patches-5.4/950-0362-pinctrl-bcm2835-Change-init-order-for-gpio-hogs.patch
I think these were done to fix the problem which was really fixed in
commit 75278f1aff5e ("pinctrl: bcm2835: Change init order for gpio
hogs") from v5.4.175

target/linux/generic/backport-5.4/716-v5.5-net-sfp-move-fwnode-parsing-into-sfp-bus-layer.patch
Move fwnode_device_is_available to the same position as in kernel 5.10.

target/linux/layerscape/patches-5.4/302-dts-0083-arm64-ls1028a-qds-correct-bus-of-rtc.patch
Applied in commit 65816c1034769e714edb70f59a33bc5472d9e55f ("arm64: dts:
ls1028a-qds: move rtc node to the correct i2c bus")

Compile-tested: lantiq/xrx200, bcm27xx/bcm2710
Run-tested: lantiq/xrx200

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
71 files changed:
include/kernel-version.mk
target/linux/bcm27xx/patches-5.4/950-0018-Register-the-clocks-early-during-the-boot-process-so.patch
target/linux/bcm27xx/patches-5.4/950-0020-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch
target/linux/bcm27xx/patches-5.4/950-0021-clk-bcm2835-Add-claim-clocks-property.patch
target/linux/bcm27xx/patches-5.4/950-0022-clk-bcm2835-Read-max-core-clock-from-firmware.patch
target/linux/bcm27xx/patches-5.4/950-0023-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch
target/linux/bcm27xx/patches-5.4/950-0027-mm-Remove-the-PFN-busy-warning.patch
target/linux/bcm27xx/patches-5.4/950-0031-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch
target/linux/bcm27xx/patches-5.4/950-0032-amba_pl011-Round-input-clock-up.patch
target/linux/bcm27xx/patches-5.4/950-0034-amba_pl011-Add-cts-event-workaround-DT-property.patch
target/linux/bcm27xx/patches-5.4/950-0035-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch
target/linux/bcm27xx/patches-5.4/950-0037-Add-dwc_otg-driver.patch
target/linux/bcm27xx/patches-5.4/950-0089-cgroup-Disable-cgroup-memory-by-default.patch
target/linux/bcm27xx/patches-5.4/950-0177-clk-clk-bcm2835-Use-zd-when-printing-size_t.patch
target/linux/bcm27xx/patches-5.4/950-0208-bcmgenet-Better-coalescing-parameter-defaults.patch
target/linux/bcm27xx/patches-5.4/950-0216-clk-bcm2835-Add-support-for-setting-leaf-clock-rates.patch
target/linux/bcm27xx/patches-5.4/950-0217-clk-bcm2835-Allow-reparenting-leaf-clocks-while-they.patch
target/linux/bcm27xx/patches-5.4/950-0218-usb-add-plumbing-for-updating-interrupt-endpoint-int.patch
target/linux/bcm27xx/patches-5.4/950-0267-clk-bcm2835-Avoid-null-pointer-exception.patch
target/linux/bcm27xx/patches-5.4/950-0316-pinctrl-bcm2835-Add-support-for-BCM2711-pull-up-func.patch [deleted file]
target/linux/bcm27xx/patches-5.4/950-0328-Revert-pinctrl-bcm2835-Pass-irqchip-when-adding-gpio.patch [deleted file]
target/linux/bcm27xx/patches-5.4/950-0347-clk-bcm2835-Disable-v3d-clock.patch
target/linux/bcm27xx/patches-5.4/950-0361-pinctrl-bcm2835-Remove-gpiochip-on-error.patch
target/linux/bcm27xx/patches-5.4/950-0362-pinctrl-bcm2835-Change-init-order-for-gpio-hogs.patch [deleted file]
target/linux/bcm27xx/patches-5.4/950-0364-ARM-dts-bcm283x-Remove-simple-bus-from-fixed-clocks.patch
target/linux/bcm27xx/patches-5.4/950-0366-ARM-dts-bcm283x-Move-pixelvalve-to-bcm2835-common.dt.patch
target/linux/bcm27xx/patches-5.4/950-0389-Initialise-rpi-firmware-before-clk-bcm2835.patch
target/linux/bcm27xx/patches-5.4/950-0392-tty-amba-pl011-Add-un-throttle-support.patch
target/linux/bcm27xx/patches-5.4/950-0411-ARM-dts-Revert-all-changes-to-upstream-dts-files.patch
target/linux/bcm27xx/patches-5.4/950-0441-PCI-of-Add-inbound-resource-parsing-to-helpers.patch
target/linux/bcm27xx/patches-5.4/950-0658-dt-Implement-an-I2C-pinctrl-mux-for-BSC0.patch
target/linux/bcm27xx/patches-5.4/950-0803-media-rcar-csi2-Negotiate-data-lanes-number.patch
target/linux/bcm27xx/patches-5.4/950-0877-Bluetooth-hci_bcm-Add-compatible-string-for-BCM43540.patch
target/linux/bcm27xx/patches-5.4/950-0878-Bluetooth-btbcm-Add-entry-for-BCM4335A0-UART-bluetoo.patch
target/linux/bcm27xx/patches-5.4/950-0879-Bluetooth-hci_bcm-Disallow-set_baudrate-for-BCM4354.patch
target/linux/bcm27xx/patches-5.4/950-0881-Bluetooth-hci_bcm-Support-pcm-params-in-dts.patch
target/linux/bcm27xx/patches-5.4/950-0882-Bluetooth-hci_bcm-Drive-RTS-only-for-BCM43438.patch
target/linux/bcm27xx/patches-5.4/950-0973-net-bcmgenet-Reset-RBUF-on-first-open.patch
target/linux/bcm27xx/patches-5.4/950-1010-phy-broadcom-split-out-the-BCM54213PE-from-the-BCM54.patch
target/linux/bcm63xx/patches-5.4/339-MIPS-BCM63XX-add-support-for-BCM63268.patch
target/linux/bcm63xx/patches-5.4/341-MIPS-BCM63XX-add-support-for-BCM6318.patch
target/linux/bcm63xx/patches-5.4/389-MIPS-BCM63XX-add-clkdev-lookups-for-device-tree.patch
target/linux/bcm63xx/patches-5.4/430-MIPS-BCM63XX-add-nand-clocks.patch
target/linux/generic/backport-5.4/716-v5.5-net-sfp-move-fwnode-parsing-into-sfp-bus-layer.patch
target/linux/generic/backport-5.4/717-v5.5-net-sfp-rework-upstream-interface.patch
target/linux/generic/hack-5.4/902-debloat_proc.patch
target/linux/generic/pending-5.4/120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch
target/linux/generic/pending-5.4/630-packet_socket_type.patch
target/linux/generic/pending-5.4/644-net-pppoe-support-hardware-flow-table-offload.patch
target/linux/generic/pending-5.4/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch
target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch
target/linux/ipq40xx/patches-5.4/302-arm-compressed-set-ipq40xx-watchdog-to-allow-boot.patch
target/linux/layerscape/patches-5.4/302-dts-0060-arm64-dts-ls1028a-add-flexspi-nodes.patch
target/linux/layerscape/patches-5.4/302-dts-0073-arm64-ls1028aqds-Add-support-DP-nodes-for-LS1028AQDS.patch
target/linux/layerscape/patches-5.4/302-dts-0083-arm64-ls1028a-qds-correct-bus-of-rtc.patch [deleted file]
target/linux/layerscape/patches-5.4/302-dts-0084-arm64-dts-ls1028a-define-networking-options-for-QDS.patch
target/linux/layerscape/patches-5.4/302-dts-0092-arm64-dts-ls1028a-Add-DP-DT-nodes.patch
target/linux/layerscape/patches-5.4/302-dts-0113-arm64-dts-fsl-ls1028a-qds-Add-overlays-for-various-s.patch
target/linux/layerscape/patches-5.4/303-core-0003-cgroup-let-a-symlink-too-be-created-with-a-cftype-fi.patch
target/linux/layerscape/patches-5.4/303-core-0004-cgroup-bfq-revert-bfq.weight-symlink-change.patch
target/linux/layerscape/patches-5.4/801-audio-0008-Revert-ASoC-Remove-dev_err-usage-after-platform_get_.patch
target/linux/layerscape/patches-5.4/820-usb-0014-MLK-17380-3-usb-move-EH-SINGLE_STEP_SET_FEATURE-impl.patch
target/linux/layerscape/patches-5.4/820-usb-0019-MLK-9829-usb-core-print-suggested-message-if-failed-.patch
target/linux/mediatek/patches-5.4/0600-net-phylink-propagate-resolved-link-config-via-mac_l.patch
target/linux/mvebu/patches-5.4/019-PCI-aardvark-Add-PHY-support.patch
target/linux/mvebu/patches-5.4/026-PCI-aardvark-Fix-initialization-with-old-Marvell-s-A.patch
target/linux/mvebu/patches-5.4/801-pci-mvebu-time-out-reset-on-link-up.patch
target/linux/octeon/patches-5.4/130-itus_shield_support.patch
target/linux/octeontx/patches-5.4/0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch
target/linux/ramips/patches-5.4/0031-uvc-add-iPassion-iP2970-support.patch
target/linux/x86/patches-5.4/200-pcengines-apu2-reboot.patch

index bb1bba06be976d4bba74ec93bc60f0fb5d22ecbc..0f035ac3fe6607987e7e95a0058ef64d93e63355 100644 (file)
@@ -6,9 +6,9 @@ ifdef CONFIG_TESTING_KERNEL
   KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER)
 endif
 
-LINUX_VERSION-5.4 = .171
+LINUX_VERSION-5.4 = .179
 
-LINUX_KERNEL_HASH-5.4.171 = afbcc8ed7d85485af299567f307b03057ffff3ec7bee02a21c33933d435b4958
+LINUX_KERNEL_HASH-5.4.179 = 2c9bdec0922a95aff34e8d53d2e0ecf7e842033cd908d2959a43d34afb5d897d
 
 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
 sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1)))))))
index 64b984802cdb193c1cc313dd1ef3a0ff03308b71..5b22f169100c20a7b891a889286914edb6fd3c58 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -2267,8 +2267,15 @@ static int bcm2835_clk_probe(struct plat
+@@ -2262,8 +2262,15 @@ static int bcm2835_clk_probe(struct plat
        if (ret)
                return ret;
  
@@ -30,7 +30,7 @@ Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
  }
  
  static const struct cprman_plat_data cprman_bcm2835_plat_data = {
-@@ -2294,7 +2301,11 @@ static struct platform_driver bcm2835_cl
+@@ -2289,7 +2296,11 @@ static struct platform_driver bcm2835_cl
        .probe          = bcm2835_clk_probe,
  };
  
index 309655861b2a36eb9f6d4b985db6327b9fdcce03..e4faba4b86d5b406ddd61f52d70ba83b202c902f 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -1381,6 +1381,11 @@ bcm2835_register_pll_divider(struct bcm2
+@@ -1376,6 +1376,11 @@ bcm2835_register_pll_divider(struct bcm2
        divider->div.hw.init = &init;
        divider->div.table = NULL;
  
index 7479210c1aff521ad3a9591aa3d7058906c1b451..b732c4f16763dd2b97f28e91c8b4981f565013e4 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -1311,6 +1311,8 @@ static const struct clk_ops bcm2835_vpu_
+@@ -1306,6 +1306,8 @@ static const struct clk_ops bcm2835_vpu_
        .debug_init = bcm2835_clock_debug_init,
  };
  
@@ -26,7 +26,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  static struct clk_hw *bcm2835_register_pll(struct bcm2835_cprman *cprman,
                                           const struct bcm2835_pll_data *data)
  {
-@@ -1327,6 +1329,9 @@ static struct clk_hw *bcm2835_register_p
+@@ -1322,6 +1324,9 @@ static struct clk_hw *bcm2835_register_p
        init.ops = &bcm2835_pll_clk_ops;
        init.flags = CLK_IGNORE_UNUSED;
  
@@ -36,7 +36,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        pll = kzalloc(sizeof(*pll), GFP_KERNEL);
        if (!pll)
                return NULL;
-@@ -1382,8 +1387,10 @@ bcm2835_register_pll_divider(struct bcm2
+@@ -1377,8 +1382,10 @@ bcm2835_register_pll_divider(struct bcm2
        divider->div.table = NULL;
  
        if (!(cprman_read(cprman, data->cm_reg) & data->hold_mask)) {
@@ -49,7 +49,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        }
  
        divider->cprman = cprman;
-@@ -2191,6 +2198,8 @@ static const struct bcm2835_clk_desc clk
+@@ -2186,6 +2193,8 @@ static const struct bcm2835_clk_desc clk
                .ctl_reg = CM_PERIICTL),
  };
  
@@ -58,7 +58,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  /*
   * Permanently take a reference on the parent of the SDRAM clock.
   *
-@@ -2210,6 +2219,19 @@ static int bcm2835_mark_sdc_parent_criti
+@@ -2205,6 +2214,19 @@ static int bcm2835_mark_sdc_parent_criti
        return clk_prepare_enable(parent);
  }
  
@@ -78,7 +78,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  static int bcm2835_clk_probe(struct platform_device *pdev)
  {
        struct device *dev = &pdev->dev;
-@@ -2220,6 +2242,7 @@ static int bcm2835_clk_probe(struct plat
+@@ -2215,6 +2237,7 @@ static int bcm2835_clk_probe(struct plat
        const size_t asize = ARRAY_SIZE(clk_desc_array);
        const struct cprman_plat_data *pdata;
        size_t i;
@@ -86,7 +86,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        int ret;
  
        pdata = of_device_get_match_data(&pdev->dev);
-@@ -2239,6 +2262,13 @@ static int bcm2835_clk_probe(struct plat
+@@ -2234,6 +2257,13 @@ static int bcm2835_clk_probe(struct plat
        if (IS_ERR(cprman->regs))
                return PTR_ERR(cprman->regs);
  
index 0ddcf6f1a8b312c49bf1c152a993610f227aa51f..b391bf05792f5732648107a80f2700a0c77b7d5a 100644 (file)
@@ -50,7 +50,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        spinlock_t regs_lock; /* spinlock for all clocks */
        unsigned int soc;
  
-@@ -1015,6 +1019,30 @@ static unsigned long bcm2835_clock_get_r
+@@ -1010,6 +1014,30 @@ static unsigned long bcm2835_clock_get_r
        return bcm2835_clock_rate_from_divisor(clock, parent_rate, div);
  }
  
@@ -81,7 +81,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  static void bcm2835_clock_wait_busy(struct bcm2835_clock *clock)
  {
        struct bcm2835_cprman *cprman = clock->cprman;
-@@ -1303,7 +1331,7 @@ static int bcm2835_vpu_clock_is_on(struc
+@@ -1298,7 +1326,7 @@ static int bcm2835_vpu_clock_is_on(struc
   */
  static const struct clk_ops bcm2835_vpu_clock_clk_ops = {
        .is_prepared = bcm2835_vpu_clock_is_on,
@@ -90,7 +90,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        .set_rate = bcm2835_clock_set_rate,
        .determine_rate = bcm2835_clock_determine_rate,
        .set_parent = bcm2835_clock_set_parent,
-@@ -2241,6 +2269,7 @@ static int bcm2835_clk_probe(struct plat
+@@ -2236,6 +2264,7 @@ static int bcm2835_clk_probe(struct plat
        const struct bcm2835_clk_desc *desc;
        const size_t asize = ARRAY_SIZE(clk_desc_array);
        const struct cprman_plat_data *pdata;
@@ -98,7 +98,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        size_t i;
        u32 clk_id;
        int ret;
-@@ -2262,6 +2291,14 @@ static int bcm2835_clk_probe(struct plat
+@@ -2257,6 +2286,14 @@ static int bcm2835_clk_probe(struct plat
        if (IS_ERR(cprman->regs))
                return PTR_ERR(cprman->regs);
  
index 61d9edf3ebec41485f82ab57b0a7408c361231fc..e6835780b86060abbb3981f4bab542f0cad56ebb 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -1473,6 +1473,15 @@ static struct clk_hw *bcm2835_register_c
+@@ -1468,6 +1468,15 @@ static struct clk_hw *bcm2835_register_c
        init.flags = data->flags | CLK_IGNORE_UNUSED;
  
        /*
index d6436567460796c43a44f0511773e5befca82ec3..c0605ab54576b204b359a64d8d246971ffe517cc 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
 
 --- a/mm/page_alloc.c
 +++ b/mm/page_alloc.c
-@@ -8512,8 +8512,6 @@ int alloc_contig_range(unsigned long sta
+@@ -8514,8 +8514,6 @@ int alloc_contig_range(unsigned long sta
  
        /* Make sure the range is really isolated. */
        if (test_pages_isolated(outer_start, end, false)) {
index 79212447fafafac5db6cbdd983f6407bd19e9f57..16a835f5a08c8d61d8c1a601e9a29f3fcca92330 100644 (file)
@@ -14,7 +14,7 @@ use the same logic.
 
 --- a/drivers/tty/serial/amba-pl011.c
 +++ b/drivers/tty/serial/amba-pl011.c
-@@ -2578,7 +2578,12 @@ static int pl011_setup_port(struct devic
+@@ -2557,7 +2557,12 @@ static int pl011_setup_port(struct devic
        if (IS_ERR(base))
                return PTR_ERR(base);
  
index 912ff563c72d5e9904b69e3b238064e04ddb0e46..e7892d3103241e6b6c17d0781855ad9e71d456cb 100644 (file)
@@ -59,7 +59,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  
        /* Clear pending error and receive interrupts */
        pl011_write(UART011_OEIS | UART011_BEIS | UART011_PEIS |
-@@ -2324,7 +2341,7 @@ static int pl011_console_setup(struct co
+@@ -2303,7 +2320,7 @@ static int pl011_console_setup(struct co
                        plat->init();
        }
  
@@ -68,7 +68,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  
        if (uap->vendor->fixed_options) {
                baud = uap->fixed_baud;
-@@ -2509,6 +2526,7 @@ static struct uart_driver amba_reg = {
+@@ -2488,6 +2505,7 @@ static struct uart_driver amba_reg = {
        .cons                   = AMBA_CONSOLE,
  };
  
@@ -76,7 +76,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  static int pl011_probe_dt_alias(int index, struct device *dev)
  {
        struct device_node *np;
-@@ -2540,6 +2558,7 @@ static int pl011_probe_dt_alias(int inde
+@@ -2519,6 +2537,7 @@ static int pl011_probe_dt_alias(int inde
  
        return ret;
  }
index df8e9aba78d20b7b19b2827d5d963b5aa6f2a5f4..3bbbed2f98e24b0a4c30d44f808139f1ac4782a2 100644 (file)
@@ -36,7 +36,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
    - reg
 --- a/drivers/tty/serial/amba-pl011.c
 +++ b/drivers/tty/serial/amba-pl011.c
-@@ -2665,6 +2665,11 @@ static int pl011_probe(struct amba_devic
+@@ -2644,6 +2644,11 @@ static int pl011_probe(struct amba_devic
        if (IS_ERR(uap->clk))
                return PTR_ERR(uap->clk);
  
index e42fa9c9bdb1314f413c631099b788c5daafbb19..80fc5875723878ad5ab3f450426c98b2b4722d40 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: Noralf Tronnes <notro@tronnes.org>
 
 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
 +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-@@ -350,7 +350,7 @@ static const struct gpio_chip bcm2835_gp
+@@ -359,7 +359,7 @@ static const struct gpio_chip bcm2835_gp
        .get = bcm2835_gpio_get,
        .set = bcm2835_gpio_set,
        .set_config = gpiochip_generic_config,
index b7cf6857abc4c9196e7aafebcbcade7fc41aa11c..c79751c2c774da98dd5493819adbdfa6ea526f01 100644 (file)
@@ -1040,7 +1040,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
  }
 --- a/drivers/usb/core/hub.c
 +++ b/drivers/usb/core/hub.c
-@@ -5379,7 +5379,7 @@ static void port_event(struct usb_hub *h
+@@ -5382,7 +5382,7 @@ static void port_event(struct usb_hub *h
                port_dev->over_current_count++;
                port_over_current_notify(port_dev);
  
index aa7629ac0b38e7aedac5944716469147fba0a565..d3ae747a7aa711ea2b2d4112171779ca7c81f73e 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/kernel/cgroup/cgroup.c
 +++ b/kernel/cgroup/cgroup.c
-@@ -5744,6 +5744,9 @@ int __init cgroup_init_early(void)
+@@ -5749,6 +5749,9 @@ int __init cgroup_init_early(void)
        return 0;
  }
  
@@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  /**
   * cgroup_init - cgroup initialization
   *
-@@ -5782,6 +5785,12 @@ int __init cgroup_init(void)
+@@ -5787,6 +5790,12 @@ int __init cgroup_init(void)
  
        mutex_unlock(&cgroup_mutex);
  
@@ -40,7 +40,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        for_each_subsys(ss, ssid) {
                if (ss->early_init) {
                        struct cgroup_subsys_state *css =
-@@ -6191,6 +6200,10 @@ static int __init cgroup_disable(char *s
+@@ -6196,6 +6205,10 @@ static int __init cgroup_disable(char *s
                            strcmp(token, ss->legacy_name))
                                continue;
  
@@ -51,7 +51,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
                        static_branch_disable(cgroup_subsys_enabled_key[i]);
                        pr_info("Disabling %s control group subsystem\n",
                                ss->name);
-@@ -6200,6 +6213,31 @@ static int __init cgroup_disable(char *s
+@@ -6205,6 +6218,31 @@ static int __init cgroup_disable(char *s
  }
  __setup("cgroup_disable=", cgroup_disable);
  
index c8acb1a378b027704bd2af54ffcbdcdcf006dbde..6cdab9c2a35f0f023e8bc1f185909548c0f5900a 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -2354,7 +2354,7 @@ static int bcm2835_clk_probe(struct plat
+@@ -2349,7 +2349,7 @@ static int bcm2835_clk_probe(struct plat
                return ret;
  
        /* note that we have registered all the clocks */
index b245fbbbfd17fb73992e685e3297bb87d1afe469..baaed038558256834885731d23888e8e8cdfdc4c 100644 (file)
@@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        /* Disable rate control for now */
        bcmgenet_tdma_ring_writel(priv, index, flow_period_val,
                                  TDMA_FLOW_PERIOD);
-@@ -3574,9 +3574,12 @@ static int bcmgenet_probe(struct platfor
+@@ -3576,9 +3576,12 @@ static int bcmgenet_probe(struct platfor
        netif_set_real_num_rx_queues(priv->dev, priv->hw_params->rx_queues + 1);
  
        /* Set default coalescing parameters */
index 3227f8c914220188ffcbf848711f2f469f23ae77..064e464dfda7159bf264327f9dbab8638bf62a62 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -1114,15 +1114,19 @@ static int bcm2835_clock_set_rate(struct
+@@ -1109,15 +1109,19 @@ static int bcm2835_clock_set_rate(struct
  
        spin_lock(&cprman->regs_lock);
  
@@ -42,7 +42,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
        ctl |= (div & CM_DIV_FRAC_MASK) ? CM_FRAC : 0;
        cprman_write(cprman, data->ctl_reg, ctl);
  
-@@ -1494,7 +1498,7 @@ static struct clk_hw *bcm2835_register_c
+@@ -1489,7 +1493,7 @@ static struct clk_hw *bcm2835_register_c
                init.ops = &bcm2835_vpu_clock_clk_ops;
        } else {
                init.ops = &bcm2835_clock_clk_ops;
index bae0f84e1a5ccd190596de986e16cdf41e7a5e8f..5b49ee727ccc131829f6231a57b9ba7302124415 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -1103,8 +1103,10 @@ static int bcm2835_clock_on(struct clk_h
+@@ -1098,8 +1098,10 @@ static int bcm2835_clock_on(struct clk_h
        return 0;
  }
  
@@ -28,7 +28,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
  {
        struct bcm2835_clock *clock = bcm2835_clock_from_hw(hw);
        struct bcm2835_cprman *cprman = clock->cprman;
-@@ -1126,6 +1128,11 @@ static int bcm2835_clock_set_rate(struct
+@@ -1121,6 +1123,11 @@ static int bcm2835_clock_set_rate(struct
                bcm2835_clock_wait_busy(clock);
        }
  
@@ -40,7 +40,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
        ctl &= ~CM_FRAC;
        ctl |= (div & CM_DIV_FRAC_MASK) ? CM_FRAC : 0;
        cprman_write(cprman, data->ctl_reg, ctl);
-@@ -1137,6 +1144,12 @@ static int bcm2835_clock_set_rate(struct
+@@ -1132,6 +1139,12 @@ static int bcm2835_clock_set_rate(struct
        return 0;
  }
  
@@ -53,7 +53,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
  static bool
  bcm2835_clk_is_pllc(struct clk_hw *hw)
  {
-@@ -1320,6 +1333,7 @@ static const struct clk_ops bcm2835_cloc
+@@ -1315,6 +1328,7 @@ static const struct clk_ops bcm2835_cloc
        .unprepare = bcm2835_clock_off,
        .recalc_rate = bcm2835_clock_get_rate,
        .set_rate = bcm2835_clock_set_rate,
@@ -61,7 +61,7 @@ Signed-off-by: Eric Anholt <eric@anholt.net>
        .determine_rate = bcm2835_clock_determine_rate,
        .set_parent = bcm2835_clock_set_parent,
        .get_parent = bcm2835_clock_get_parent,
-@@ -1498,7 +1512,6 @@ static struct clk_hw *bcm2835_register_c
+@@ -1493,7 +1507,6 @@ static struct clk_hw *bcm2835_register_c
                init.ops = &bcm2835_vpu_clock_clk_ops;
        } else {
                init.ops = &bcm2835_clock_clk_ops;
index f654cd8a57d510b04d295a3f2bd8df820ef6cf48..9c0f2cdb8eb46cbfb7ce1889a201b00fadccbfd0 100644 (file)
@@ -27,7 +27,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
 
 --- a/drivers/usb/core/hcd.c
 +++ b/drivers/usb/core/hcd.c
-@@ -1941,6 +1941,16 @@ reset:
+@@ -1962,6 +1962,16 @@ reset:
        return ret;
  }
  
index 8a529af7b06b94a8e6758bf53c2a5115060cf916..100474bf7708fb588fe00c355d155992d9393fff 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: popcornmix <popcornmix@gmail.com>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -2280,9 +2280,11 @@ static bool bcm2835_clk_is_claimed(const
+@@ -2275,9 +2275,11 @@ static bool bcm2835_clk_is_claimed(const
        int i;
  
        for (i = 0; i < ARRAY_SIZE(clk_desc_array); i++) {
diff --git a/target/linux/bcm27xx/patches-5.4/950-0316-pinctrl-bcm2835-Add-support-for-BCM2711-pull-up-func.patch b/target/linux/bcm27xx/patches-5.4/950-0316-pinctrl-bcm2835-Add-support-for-BCM2711-pull-up-func.patch
deleted file mode 100644 (file)
index 2ad17cb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From cf658ebc86b3e22c0b77e136fbbf19b580c7c256 Mon Sep 17 00:00:00 2001
-From: Stefan Wahren <wahrenst@gmx.net>
-Date: Sun, 21 Jul 2019 16:01:36 +0200
-Subject: [PATCH] pinctrl: bcm2835: Add support for BCM2711 pull-up
- functionality
-
-commit e38a9a437fb93ddafab5030165e4c6a3a5021669 upstream.
-
-The BCM2711 has a new way of selecting the pull-up/pull-down setting
-for a GPIO pin. The registers used for the BCM2835, GP_PUD and
-GP_PUDCLKn0, are no longer connected. A new set of registers,
-GP_GPIO_PUP_PDN_CNTRL_REGx must be used. This commit will add
-a new compatible string "brcm,bcm2711-gpio" and the kernel
-driver will use it to select which method is used to select
-pull-up/pull-down.
-
-This patch based on a patch by Al Cooper which was intended for the
-BCM7211. This is a bugfixed and improved version.
-
-Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
-Acked-by: Eric Anholt <eric@anholt.net>
----
- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-@@ -1168,6 +1168,12 @@ static int bcm2835_pinctrl_probe(struct
-                       (const struct pinconf_ops *)match->data;
-       }
-+      match = of_match_node(bcm2835_pinctrl_match, pdev->dev.of_node);
-+      if (match) {
-+              bcm2835_pinctrl_desc.confops =
-+                      (const struct pinconf_ops *)match->data;
-+      }
-+
-       pc->pctl_dev = devm_pinctrl_register(dev, &bcm2835_pinctrl_desc, pc);
-       if (IS_ERR(pc->pctl_dev)) {
-               gpiochip_remove(&pc->gpio_chip);
diff --git a/target/linux/bcm27xx/patches-5.4/950-0328-Revert-pinctrl-bcm2835-Pass-irqchip-when-adding-gpio.patch b/target/linux/bcm27xx/patches-5.4/950-0328-Revert-pinctrl-bcm2835-Pass-irqchip-when-adding-gpio.patch
deleted file mode 100644 (file)
index f2cf284..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-From b1d33d1e5a44afd2025c5a44a85dc2fab00ec6a7 Mon Sep 17 00:00:00 2001
-From: popcornmix <popcornmix@gmail.com>
-Date: Tue, 5 Nov 2019 11:28:19 +0000
-Subject: [PATCH] Revert "pinctrl: bcm2835: Pass irqchip when adding
- gpiochip"
-
-This reverts commit 73345a18d464b1b945b29f54f630ace6873344e2.
----
- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 55 +++++++++++++++------------
- 1 file changed, 30 insertions(+), 25 deletions(-)
-
---- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-@@ -78,6 +78,7 @@
- struct bcm2835_pinctrl {
-       struct device *dev;
-       void __iomem *base;
-+      int irq[BCM2835_NUM_IRQS];
-       /* note: locking assumes each bank will have its own unsigned long */
-       unsigned long enabled_irq_map[BCM2835_NUM_BANKS];
-@@ -381,14 +382,14 @@ static void bcm2835_gpio_irq_handler(str
-       int group;
-       int i;
--      for (i = 0; i < BCM2835_NUM_IRQS; i++) {
--              if (chip->irq.parents[i] == irq) {
-+      for (i = 0; i < ARRAY_SIZE(pc->irq); i++) {
-+              if (pc->irq[i] == irq) {
-                       group = i;
-                       break;
-               }
-       }
-       /* This should not happen, every IRQ has a bank */
--      if (i == BCM2835_NUM_IRQS)
-+      if (i == ARRAY_SIZE(pc->irq))
-               BUG();
-       chained_irq_enter(host_chip, desc);
-@@ -1086,7 +1087,6 @@ static int bcm2835_pinctrl_probe(struct
-       struct device *dev = &pdev->dev;
-       struct device_node *np = dev->of_node;
-       struct bcm2835_pinctrl *pc;
--      struct gpio_irq_chip *girq;
-       struct resource iomem;
-       int err, i;
-       const struct of_device_id *match;
-@@ -1135,33 +1135,38 @@ static int bcm2835_pinctrl_probe(struct
-               raw_spin_lock_init(&pc->irq_lock[i]);
-       }
--      girq = &pc->gpio_chip.irq;
--      girq->chip = &bcm2835_gpio_irq_chip;
--      girq->parent_handler = bcm2835_gpio_irq_handler;
--      girq->num_parents = BCM2835_NUM_IRQS;
--      girq->parents = devm_kcalloc(dev, BCM2835_NUM_IRQS,
--                                   sizeof(*girq->parents),
--                                   GFP_KERNEL);
--      if (!girq->parents)
--              return -ENOMEM;
--      /*
--       * Use the same handler for all groups: this is necessary
--       * since we use one gpiochip to cover all lines - the
--       * irq handler then needs to figure out which group and
--       * bank that was firing the IRQ and look up the per-group
--       * and bank data.
--       */
--      for (i = 0; i < BCM2835_NUM_IRQS; i++)
--              girq->parents[i] = irq_of_parse_and_map(np, i);
--      girq->default_type = IRQ_TYPE_NONE;
--      girq->handler = handle_level_irq;
--
-       err = gpiochip_add_data(&pc->gpio_chip, pc);
-       if (err) {
-               dev_err(dev, "could not add GPIO chip\n");
-               return err;
-       }
-+      err = gpiochip_irqchip_add(&pc->gpio_chip, &bcm2835_gpio_irq_chip,
-+                                 0, handle_level_irq, IRQ_TYPE_NONE);
-+      if (err) {
-+              dev_info(dev, "could not add irqchip\n");
-+              return err;
-+      }
-+
-+      for (i = 0; i < BCM2835_NUM_IRQS; i++) {
-+              pc->irq[i] = irq_of_parse_and_map(np, i);
-+
-+              if (pc->irq[i] == 0)
-+                      continue;
-+
-+              /*
-+               * Use the same handler for all groups: this is necessary
-+               * since we use one gpiochip to cover all lines - the
-+               * irq handler then needs to figure out which group and
-+               * bank that was firing the IRQ and look up the per-group
-+               * and bank data.
-+               */
-+              gpiochip_set_chained_irqchip(&pc->gpio_chip,
-+                                           &bcm2835_gpio_irq_chip,
-+                                           pc->irq[i],
-+                                           bcm2835_gpio_irq_handler);
-+      }
-+
-       match = of_match_node(bcm2835_pinctrl_match, pdev->dev.of_node);
-       if (match) {
-               bcm2835_pinctrl_desc.confops =
index a7a5221fabe0636fb5bd60d603c95b6e4081c23f..49a47c72940dbd84d9b450a84bfda54729173a35 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: popcornmix <popcornmix@gmail.com>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -1734,16 +1734,12 @@ static const struct bcm2835_clk_desc clk
+@@ -1729,16 +1729,12 @@ static const struct bcm2835_clk_desc clk
                .hold_mask = CM_PLLA_HOLDCORE,
                .fixed_divider = 1,
                .flags = CLK_SET_RATE_PARENT),
@@ -35,7 +35,7 @@ Signed-off-by: popcornmix <popcornmix@gmail.com>
        [BCM2835_PLLA_DSI0]     = REGISTER_PLL_DIV(
                SOC_ALL,
                .name = "plla_dsi0",
-@@ -2021,14 +2017,12 @@ static const struct bcm2835_clk_desc clk
+@@ -2016,14 +2012,12 @@ static const struct bcm2835_clk_desc clk
                .int_bits = 6,
                .frac_bits = 0,
                .tcnt_mux = 3),
index 31a1a24cafe9942a022b0f23bf4251f81c6724ea..a772bf453fdd6e80b98b076540ca765002632585 100644 (file)
@@ -14,12 +14,12 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
 +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-@@ -1135,7 +1135,7 @@ static int bcm2835_pinctrl_probe(struct
-               raw_spin_lock_init(&pc->irq_lock[i]);
-       }
+@@ -1315,7 +1315,7 @@ static int bcm2835_pinctrl_probe(struct
+       girq->default_type = IRQ_TYPE_NONE;
+       girq->handler = handle_level_irq;
  
 -      err = gpiochip_add_data(&pc->gpio_chip, pc);
 +      err = devm_gpiochip_add_data(dev, &pc->gpio_chip, pc);
        if (err) {
                dev_err(dev, "could not add GPIO chip\n");
-               return err;
+               goto out_remove;
diff --git a/target/linux/bcm27xx/patches-5.4/950-0362-pinctrl-bcm2835-Change-init-order-for-gpio-hogs.patch b/target/linux/bcm27xx/patches-5.4/950-0362-pinctrl-bcm2835-Change-init-order-for-gpio-hogs.patch
deleted file mode 100644 (file)
index 3865ae1..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-From 27cb8bf0442f677380a1df93b93b7589b7ce5243 Mon Sep 17 00:00:00 2001
-From: Phil Elwell <phil@raspberrypi.org>
-Date: Mon, 6 Jan 2020 14:05:42 +0000
-Subject: [PATCH] pinctrl: bcm2835: Change init order for gpio hogs
-
-pinctrl-bcm2835 is a combined pinctrl/gpio driver. Currently the gpio
-side is registered first, but this breaks gpio hogs (which are
-configured during gpiochip_add_data). Part of the hog initialisation
-is a call to pinctrl_gpio_request, and since the pinctrl driver hasn't
-yet been registered this results in an -EPROBE_DEFER from which it can
-never recover.
-
-Change the initialisation sequence to register the pinctrl driver
-first.
-
-See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=260600
-
-Signed-off-by: Phil Elwell <phil@raspberrypi.org>
----
- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 40 ++++++++++++---------------
- 1 file changed, 17 insertions(+), 23 deletions(-)
-
---- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-@@ -1135,9 +1135,25 @@ static int bcm2835_pinctrl_probe(struct
-               raw_spin_lock_init(&pc->irq_lock[i]);
-       }
-+      match = of_match_node(bcm2835_pinctrl_match, pdev->dev.of_node);
-+      if (match) {
-+              bcm2835_pinctrl_desc.confops =
-+                      (const struct pinconf_ops *)match->data;
-+      }
-+
-+      pc->pctl_dev = devm_pinctrl_register(dev, &bcm2835_pinctrl_desc, pc);
-+      if (IS_ERR(pc->pctl_dev))
-+              return PTR_ERR(pc->pctl_dev);
-+
-+      pc->gpio_range = bcm2835_pinctrl_gpio_range;
-+      pc->gpio_range.base = pc->gpio_chip.base;
-+      pc->gpio_range.gc = &pc->gpio_chip;
-+      pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range);
-+
-       err = devm_gpiochip_add_data(dev, &pc->gpio_chip, pc);
-       if (err) {
-               dev_err(dev, "could not add GPIO chip\n");
-+              pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range);
-               return err;
-       }
-@@ -1145,6 +1161,7 @@ static int bcm2835_pinctrl_probe(struct
-                                  0, handle_level_irq, IRQ_TYPE_NONE);
-       if (err) {
-               dev_info(dev, "could not add irqchip\n");
-+              pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range);
-               return err;
-       }
-@@ -1167,29 +1184,6 @@ static int bcm2835_pinctrl_probe(struct
-                                            bcm2835_gpio_irq_handler);
-       }
--      match = of_match_node(bcm2835_pinctrl_match, pdev->dev.of_node);
--      if (match) {
--              bcm2835_pinctrl_desc.confops =
--                      (const struct pinconf_ops *)match->data;
--      }
--
--      match = of_match_node(bcm2835_pinctrl_match, pdev->dev.of_node);
--      if (match) {
--              bcm2835_pinctrl_desc.confops =
--                      (const struct pinconf_ops *)match->data;
--      }
--
--      pc->pctl_dev = devm_pinctrl_register(dev, &bcm2835_pinctrl_desc, pc);
--      if (IS_ERR(pc->pctl_dev)) {
--              gpiochip_remove(&pc->gpio_chip);
--              return PTR_ERR(pc->pctl_dev);
--      }
--
--      pc->gpio_range = bcm2835_pinctrl_gpio_range;
--      pc->gpio_range.base = pc->gpio_chip.base;
--      pc->gpio_range.gc = &pc->gpio_chip;
--      pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range);
--
-       return 0;
- }
index db900553439fdeb7355847a380b0162bc5ec9700..6f0044a848d3664f5fc7afd7d8aa3d9cc1a2d234 100644 (file)
@@ -24,7 +24,7 @@ Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
 
 --- a/arch/arm/boot/dts/bcm283x.dtsi
 +++ b/arch/arm/boot/dts/bcm283x.dtsi
-@@ -635,22 +635,16 @@
+@@ -636,22 +636,16 @@
        };
  
        clocks {
index 218a846fa3f7a13a2168099f48c4a4a68b65948f..5be9738355fd1ea9f850281aa785d1eec92130d9 100644 (file)
@@ -78,7 +78,7 @@ Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
        arm-pmu {
 --- a/arch/arm/boot/dts/bcm283x.dtsi
 +++ b/arch/arm/boot/dts/bcm283x.dtsi
-@@ -432,18 +432,6 @@
+@@ -433,18 +433,6 @@
                        status = "disabled";
                };
  
@@ -97,7 +97,7 @@ Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
                dpi: dpi@7e208000 {
                        compatible = "brcm,bcm2835-dpi";
                        reg = <0x7e208000 0x8c>;
-@@ -608,12 +596,6 @@
+@@ -609,12 +597,6 @@
                        status = "disabled";
                };
  
index cdd5e7e9ab80a101bc0b3f1f8ac9c6fc76deb6c5..ec26bfbb7dccb3e8f1803762dee21985aabeff76 100644 (file)
@@ -25,7 +25,7 @@ Co-authored-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/drivers/clk/bcm/clk-bcm2835.c
 +++ b/drivers/clk/bcm/clk-bcm2835.c
-@@ -2401,7 +2401,7 @@ static int __init __bcm2835_clk_driver_i
+@@ -2396,7 +2396,7 @@ static int __init __bcm2835_clk_driver_i
  {
        return platform_driver_register(&bcm2835_clk_driver);
  }
index ced0bf2b79c91d7a1247dd03e70a9db949f051b4..e083237598ea562895980f5d82bd7a9acce7a1ff 100644 (file)
@@ -50,7 +50,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  static void pl011_stop_rx(struct uart_port *port)
  {
        struct uart_amba_port *uap =
-@@ -2167,6 +2193,8 @@ static const struct uart_ops amba_pl011_
+@@ -2150,6 +2176,8 @@ static const struct uart_ops amba_pl011_
        .stop_tx        = pl011_stop_tx,
        .start_tx       = pl011_start_tx,
        .stop_rx        = pl011_stop_rx,
index 403f534baf2ed6ce8e6a63458746bf640e2c70a6..9c3e5973330fdbe3e3be1e68cdf96414a9f64dcd 100644 (file)
@@ -1771,7 +1771,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                        compatible = "brcm,bcm2835-rng";
                        reg = <0x7e104000 0x10>;
                        interrupts = <2 29>;
-@@ -269,35 +212,6 @@
+@@ -270,35 +213,6 @@
                                brcm,function = <BCM2835_FSEL_ALT2>;
                        };
  
@@ -1807,7 +1807,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                        sdhost_gpio48: sdhost_gpio48 {
                                brcm,pins = <48 49 50 51 52 53>;
                                brcm,function = <BCM2835_FSEL_ALT0>;
-@@ -379,7 +293,7 @@
+@@ -380,7 +294,7 @@
                };
  
                uart0: serial@7e201000 {
@@ -1816,7 +1816,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                        reg = <0x7e201000 0x200>;
                        interrupts = <2 25>;
                        clocks = <&clocks BCM2835_CLOCK_UART>,
-@@ -393,8 +307,6 @@
+@@ -394,8 +308,6 @@
                        reg = <0x7e202000 0x100>;
                        interrupts = <2 24>;
                        clocks = <&clocks BCM2835_CLOCK_VPU>;
@@ -1825,7 +1825,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                        status = "disabled";
                };
  
-@@ -402,10 +314,6 @@
+@@ -403,10 +315,6 @@
                        compatible = "brcm,bcm2835-i2s";
                        reg = <0x7e203000 0x24>;
                        clocks = <&clocks BCM2835_CLOCK_PCM>;
@@ -1836,7 +1836,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                        status = "disabled";
                };
  
-@@ -414,8 +322,6 @@
+@@ -415,8 +323,6 @@
                        reg = <0x7e204000 0x200>;
                        interrupts = <2 22>;
                        clocks = <&clocks BCM2835_CLOCK_VPU>;
@@ -1845,7 +1845,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
-@@ -541,32 +447,6 @@
+@@ -542,32 +448,6 @@
                        status = "disabled";
                };
  
@@ -1878,7 +1878,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                i2c1: i2c@7e804000 {
                        compatible = "brcm,bcm2835-i2c";
                        reg = <0x7e804000 0x1000>;
-@@ -577,16 +457,6 @@
+@@ -578,16 +458,6 @@
                        status = "disabled";
                };
  
@@ -1895,7 +1895,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                vec: vec@7e806000 {
                        compatible = "brcm,bcm2835-vec";
                        reg = <0x7e806000 0x1000>;
-@@ -595,20 +465,6 @@
+@@ -596,20 +466,6 @@
                        status = "disabled";
                };
  
@@ -1916,7 +1916,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                usb: usb@7e980000 {
                        compatible = "brcm,bcm2835-usb";
                        reg = <0x7e980000 0x10000>;
-@@ -620,10 +476,6 @@
+@@ -621,10 +477,6 @@
                        phys = <&usbphy>;
                        phy-names = "usb2-phy";
                };
index 8f21837db7b5e984e211973c9a6b95868cd1c01c..f6e66da6d60f6fbf1fea52ef867bea27fd1cf046 100644 (file)
@@ -82,7 +82,7 @@ Cc: linux-rockchip@lists.infradead.org
  
 --- a/drivers/pci/controller/pci-aardvark.c
 +++ b/drivers/pci/controller/pci-aardvark.c
-@@ -1523,7 +1523,8 @@ static int advk_pcie_probe(struct platfo
+@@ -1525,7 +1525,8 @@ static int advk_pcie_probe(struct platfo
                return ret;
        }
  
index 002ad8686e1476c4e41dac206685e30b9c17ea50..4adbd3ab7c21a0c1b8e6bae9449c5f58f2e43ed1 100644 (file)
@@ -392,7 +392,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
 +};
 --- a/arch/arm/boot/dts/bcm283x.dtsi
 +++ b/arch/arm/boot/dts/bcm283x.dtsi
-@@ -340,7 +340,7 @@
+@@ -341,7 +341,7 @@
                        status = "disabled";
                };
  
@@ -401,7 +401,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
                        compatible = "brcm,bcm2835-i2c";
                        reg = <0x7e205000 0x200>;
                        interrupts = <2 21>;
-@@ -350,6 +350,30 @@
+@@ -351,6 +351,30 @@
                        status = "disabled";
                };
  
index def9ab09d5b11cc13a29fb3de382342937cc3cbb..f3b298de47426a00b22905d492daf8437a89da96 100644 (file)
@@ -44,7 +44,7 @@ Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
  
                if ((rcsi2_read(priv, PHCLM_REG) & PHCLM_STOPSTATECKL)  &&
                    (rcsi2_read(priv, PHDLM_REG) & lane_mask) == lane_mask)
-@@ -445,7 +447,8 @@ static int rcsi2_set_phypll(struct rcar_
+@@ -452,7 +454,8 @@ static int rcsi2_set_phypll(struct rcar_
        return 0;
  }
  
@@ -54,7 +54,7 @@ Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
  {
        struct v4l2_subdev *source;
        struct v4l2_ctrl *ctrl;
-@@ -470,15 +473,63 @@ static int rcsi2_calc_mbps(struct rcar_c
+@@ -477,15 +480,63 @@ static int rcsi2_calc_mbps(struct rcar_c
         * bps = link_freq * 2
         */
        mbps = v4l2_ctrl_g_ctrl_int64(ctrl) * bpp;
@@ -119,7 +119,7 @@ Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
        unsigned int i;
        int mbps, ret;
  
-@@ -522,10 +573,18 @@ static int rcsi2_start_receiver(struct r
+@@ -529,10 +580,18 @@ static int rcsi2_start_receiver(struct r
                        fld |= FLD_FLD_NUM(1);
        }
  
@@ -140,7 +140,7 @@ Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
        if (mbps < 0)
                return mbps;
  
-@@ -572,7 +631,7 @@ static int rcsi2_start_receiver(struct r
+@@ -579,7 +638,7 @@ static int rcsi2_start_receiver(struct r
        rcsi2_write(priv, PHYCNT_REG, phycnt | PHYCNT_SHUTDOWNZ);
        rcsi2_write(priv, PHYCNT_REG, phycnt | PHYCNT_SHUTDOWNZ | PHYCNT_RSTZ);
  
@@ -149,7 +149,7 @@ Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
        if (ret)
                return ret;
  
-@@ -749,6 +808,7 @@ static int rcsi2_notify_bound(struct v4l
+@@ -756,6 +815,7 @@ static int rcsi2_notify_bound(struct v4l
        }
  
        priv->remote = subdev;
index f429b15a8821b4d9b85d2248216b0a72499fdb8f..f42d990f75018ec45656d38f92ab5be26a70ab00 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
 
 --- a/drivers/bluetooth/hci_bcm.c
 +++ b/drivers/bluetooth/hci_bcm.c
-@@ -1427,6 +1427,7 @@ static const struct of_device_id bcm_blu
+@@ -1432,6 +1432,7 @@ static const struct of_device_id bcm_blu
        { .compatible = "brcm,bcm4345c5" },
        { .compatible = "brcm,bcm4330-bt" },
        { .compatible = "brcm,bcm43438-bt" },
index e2ad19b677099627c0e574558a72d469ce581e1a..9ddd761f07ed7de8a2814337f8e80dba87aabae9 100644 (file)
@@ -48,7 +48,7 @@ Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  
 --- a/drivers/bluetooth/hci_bcm.c
 +++ b/drivers/bluetooth/hci_bcm.c
-@@ -1428,6 +1428,7 @@ static const struct of_device_id bcm_blu
+@@ -1433,6 +1433,7 @@ static const struct of_device_id bcm_blu
        { .compatible = "brcm,bcm4330-bt" },
        { .compatible = "brcm,bcm43438-bt" },
        { .compatible = "brcm,bcm43540-bt" },
index da8f37b3ddef9bbe1e2367c644ae5f568b42b32f..5c4fe60ed47abb329c114192b836887f5746963f 100644 (file)
@@ -76,7 +76,7 @@ Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
        else if (hu->proto->oper_speed)
                speed = hu->proto->oper_speed;
        else
-@@ -1377,6 +1395,7 @@ static struct platform_driver bcm_driver
+@@ -1382,6 +1400,7 @@ static struct platform_driver bcm_driver
  static int bcm_serdev_probe(struct serdev_device *serdev)
  {
        struct bcm_device *bcmdev;
@@ -84,7 +84,7 @@ Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
        int err;
  
        bcmdev = devm_kzalloc(&serdev->dev, sizeof(*bcmdev), GFP_KERNEL);
-@@ -1411,6 +1430,10 @@ static int bcm_serdev_probe(struct serde
+@@ -1416,6 +1435,10 @@ static int bcm_serdev_probe(struct serde
        if (err)
                dev_err(&serdev->dev, "Failed to power down\n");
  
@@ -95,7 +95,7 @@ Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
        return hci_uart_register_device(&bcmdev->serdev_hu, &bcm_proto);
  }
  
-@@ -1422,12 +1445,16 @@ static void bcm_serdev_remove(struct ser
+@@ -1427,12 +1450,16 @@ static void bcm_serdev_remove(struct ser
  }
  
  #ifdef CONFIG_OF
index fa2de56bfe1e909e409457c1909d146edf8b2e05..84f93dd3e615ff7e49baa81b7f291543e745dec2 100644 (file)
@@ -52,9 +52,9 @@ Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
        return 0;
  }
  
-@@ -1149,6 +1162,9 @@ static int bcm_probe(struct platform_dev
-       dev->dev = &pdev->dev;
-       dev->irq = platform_get_irq(pdev, 0);
+@@ -1154,6 +1167,9 @@ static int bcm_probe(struct platform_dev
+       dev->irq = ret;
  
 +      /* Initialize routing field to an unused value */
 +      dev->pcm_int_params[0] = 0xff;
@@ -62,7 +62,7 @@ Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
        if (has_acpi_companion(&pdev->dev)) {
                ret = bcm_acpi_probe(dev);
                if (ret)
-@@ -1409,6 +1425,9 @@ static int bcm_serdev_probe(struct serde
+@@ -1414,6 +1430,9 @@ static int bcm_serdev_probe(struct serde
        bcmdev->serdev_hu.serdev = serdev;
        serdev_device_set_drvdata(serdev, bcmdev);
  
index 507f21ab66416c66ba0e4b5ab5898af18cc9ed54..e92d22239a63fec35853316cb51b11fb548c6389 100644 (file)
@@ -61,7 +61,7 @@ Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
                if (err)
                        goto err_unset_hu;
        }
-@@ -1450,8 +1457,10 @@ static int bcm_serdev_probe(struct serde
+@@ -1455,8 +1462,10 @@ static int bcm_serdev_probe(struct serde
                dev_err(&serdev->dev, "Failed to power down\n");
  
        data = device_get_match_data(bcmdev->dev);
@@ -73,7 +73,7 @@ Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  
        return hci_uart_register_device(&bcmdev->serdev_hu, &bcm_proto);
  }
-@@ -1468,11 +1477,15 @@ static struct bcm_device_data bcm4354_de
+@@ -1473,11 +1482,15 @@ static struct bcm_device_data bcm4354_de
        .no_early_set_baudrate = true,
  };
  
index 706244f5c894c944e9c9d7568d996272b07eb163..6d513ee8c168507ba2040bb85b3b318f82d9469c 100644 (file)
@@ -59,7 +59,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
  
        /* Reinitialize TDMA and RDMA and SW housekeeping */
        ret = bcmgenet_init_dma(priv);
-@@ -3665,7 +3673,7 @@ static int bcmgenet_resume(struct device
+@@ -3667,7 +3675,7 @@ static int bcmgenet_resume(struct device
                bcmgenet_power_up(priv, GENET_POWER_WOL_MAGIC);
  
        /* Disable RX/TX DMA and flush TX queues */
index cf376b909e2c245be23e8fdbe42e9e4f768904a1..2bc8cf2e0750ab11b31523b6e8b52913504485c8 100644 (file)
@@ -49,7 +49,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
        .phy_id         = PHY_ID_BCM5461,
        .phy_id_mask    = 0xfffffff0,
        .name           = "Broadcom BCM5461",
-@@ -753,7 +762,8 @@ module_phy_driver(broadcom_drivers);
+@@ -754,7 +763,8 @@ module_phy_driver(broadcom_drivers);
  static struct mdio_device_id __maybe_unused broadcom_tbl[] = {
        { PHY_ID_BCM5411, 0xfffffff0 },
        { PHY_ID_BCM5421, 0xfffffff0 },
index a61a96f5690459ed1f1127ec3d0fcba18ab1004f..ed70482bb056d9917f4a0d2e437edc271f280645 100644 (file)
@@ -107,7 +107,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  }
  
  static struct clk clk_pcie = {
-@@ -542,6 +556,21 @@ static struct clk_lookup bcm6368_clks[]
+@@ -548,6 +562,21 @@ static struct clk_lookup bcm6368_clks[]
        CLKDEV_INIT(NULL, "ipsec", &clk_ipsec),
  };
  
@@ -129,7 +129,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  #define HSSPI_PLL_HZ_6328     133333333
  #define HSSPI_PLL_HZ_6362     400000000
  
-@@ -574,6 +603,10 @@ static int __init bcm63xx_clk_init(void)
+@@ -580,6 +609,10 @@ static int __init bcm63xx_clk_init(void)
        case BCM6368_CPU_ID:
                clkdev_add_table(bcm6368_clks, ARRAY_SIZE(bcm6368_clks));
                break;
index 48b183ac3bc822c45f7d5f166a6e577c15c9712c..ac354a4787aad10a43d96099b0b6fed586879f42 100644 (file)
@@ -57,7 +57,7 @@ Subject: [PATCH 51/53] MIPS: BCM63XX: add support for BCM6318
                mask = CKCTL_6328_HSSPI_EN;
        else if (BCMCPU_IS_6362())
                mask = CKCTL_6362_HSSPI_EN;
-@@ -450,6 +452,19 @@ static struct clk_lookup bcm3368_clks[]
+@@ -456,6 +458,19 @@ static struct clk_lookup bcm3368_clks[]
        CLKDEV_INIT("bcm63xx_enet.1", "enet", &clk_enet1),
  };
  
@@ -77,7 +77,7 @@ Subject: [PATCH 51/53] MIPS: BCM63XX: add support for BCM6318
  static struct clk_lookup bcm6328_clks[] = {
        /* fixed rate clocks */
        CLKDEV_INIT(NULL, "periph", &clk_periph),
-@@ -571,6 +586,7 @@ static struct clk_lookup bcm63268_clks[]
+@@ -577,6 +592,7 @@ static struct clk_lookup bcm63268_clks[]
        CLKDEV_INIT(NULL, "pcie", &clk_pcie),
  };
  
@@ -85,7 +85,7 @@ Subject: [PATCH 51/53] MIPS: BCM63XX: add support for BCM6318
  #define HSSPI_PLL_HZ_6328     133333333
  #define HSSPI_PLL_HZ_6362     400000000
  
-@@ -580,6 +596,10 @@ static int __init bcm63xx_clk_init(void)
+@@ -586,6 +602,10 @@ static int __init bcm63xx_clk_init(void)
        case BCM3368_CPU_ID:
                clkdev_add_table(bcm3368_clks, ARRAY_SIZE(bcm3368_clks));
                break;
index 45d4b8487cc3cd78131ae2c63c56a11495e72058..d6b1190b9d8afae232506fa183616c772d17e8cf 100644 (file)
@@ -9,7 +9,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
 
 --- a/arch/mips/bcm63xx/clk.c
 +++ b/arch/mips/bcm63xx/clk.c
-@@ -495,6 +495,8 @@ static struct clk_lookup bcm3368_clks[]
+@@ -501,6 +501,8 @@ static struct clk_lookup bcm3368_clks[]
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph),
@@ -18,7 +18,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enet0", &clk_enet0),
        CLKDEV_INIT(NULL, "enet1", &clk_enet1),
-@@ -511,7 +513,9 @@ static struct clk_lookup bcm6318_clks[]
+@@ -517,7 +519,9 @@ static struct clk_lookup bcm6318_clks[]
        /* fixed rate clocks */
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
@@ -28,7 +28,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enetsw", &clk_enetsw),
        CLKDEV_INIT(NULL, "usbh", &clk_usbh),
-@@ -525,7 +529,10 @@ static struct clk_lookup bcm6328_clks[]
+@@ -531,7 +535,10 @@ static struct clk_lookup bcm6328_clks[]
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph),
@@ -39,7 +39,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enetsw", &clk_enetsw),
        CLKDEV_INIT(NULL, "usbh", &clk_usbh),
-@@ -538,6 +545,7 @@ static struct clk_lookup bcm6338_clks[]
+@@ -544,6 +551,7 @@ static struct clk_lookup bcm6338_clks[]
        /* fixed rate clocks */
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
@@ -47,7 +47,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enet0", &clk_enet0),
        CLKDEV_INIT(NULL, "enet1", &clk_enet1),
-@@ -552,6 +560,7 @@ static struct clk_lookup bcm6345_clks[]
+@@ -558,6 +566,7 @@ static struct clk_lookup bcm6345_clks[]
        /* fixed rate clocks */
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
@@ -55,7 +55,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enet0", &clk_enet0),
        CLKDEV_INIT(NULL, "enet1", &clk_enet1),
-@@ -566,6 +575,7 @@ static struct clk_lookup bcm6348_clks[]
+@@ -572,6 +581,7 @@ static struct clk_lookup bcm6348_clks[]
        /* fixed rate clocks */
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
@@ -63,7 +63,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enet0", &clk_enet0),
        CLKDEV_INIT(NULL, "enet1", &clk_enet1),
-@@ -582,6 +592,8 @@ static struct clk_lookup bcm6358_clks[]
+@@ -588,6 +598,8 @@ static struct clk_lookup bcm6358_clks[]
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph),
@@ -72,7 +72,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enet0", &clk_enet0),
        CLKDEV_INIT(NULL, "enet1", &clk_enet1),
-@@ -601,7 +613,10 @@ static struct clk_lookup bcm6362_clks[]
+@@ -607,7 +619,10 @@ static struct clk_lookup bcm6362_clks[]
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph),
@@ -83,7 +83,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enetsw", &clk_enetsw),
        CLKDEV_INIT(NULL, "usbh", &clk_usbh),
-@@ -617,6 +632,8 @@ static struct clk_lookup bcm6368_clks[]
+@@ -623,6 +638,8 @@ static struct clk_lookup bcm6368_clks[]
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph),
@@ -92,7 +92,7 @@ Subject: [PATCH] MIPS: BCM63XX: add clkdev lookups for device tree
        /* gated clocks */
        CLKDEV_INIT(NULL, "enetsw", &clk_enetsw),
        CLKDEV_INIT(NULL, "usbh", &clk_usbh),
-@@ -631,7 +648,10 @@ static struct clk_lookup bcm63268_clks[]
+@@ -637,7 +654,10 @@ static struct clk_lookup bcm63268_clks[]
        CLKDEV_INIT(NULL, "periph", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph),
        CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph),
index a8f70e3db3b277d60a63ca02acd3829f840314b5..a29c3b780bf231d35619b4552cef6fe264ab3dd8 100644 (file)
@@ -24,7 +24,7 @@
   * Internal peripheral clock
   */
  static struct clk clk_periph = {
-@@ -618,6 +635,7 @@ static struct clk_lookup bcm6362_clks[]
+@@ -624,6 +641,7 @@ static struct clk_lookup bcm6362_clks[]
        CLKDEV_INIT("bcm63xx-hsspi.0", "pll", &clk_hsspi_pll),
        CLKDEV_INIT("10001000.spi", "pll", &clk_hsspi_pll),
        /* gated clocks */
@@ -32,7 +32,7 @@
        CLKDEV_INIT(NULL, "enetsw", &clk_enetsw),
        CLKDEV_INIT(NULL, "usbh", &clk_usbh),
        CLKDEV_INIT(NULL, "usbd", &clk_usbd),
-@@ -635,6 +653,7 @@ static struct clk_lookup bcm6368_clks[]
+@@ -641,6 +659,7 @@ static struct clk_lookup bcm6368_clks[]
        CLKDEV_INIT("10000100.serial", "refclk", &clk_periph),
        CLKDEV_INIT("10000120.serial", "refclk", &clk_periph),
        /* gated clocks */
@@ -40,7 +40,7 @@
        CLKDEV_INIT(NULL, "enetsw", &clk_enetsw),
        CLKDEV_INIT(NULL, "usbh", &clk_usbh),
        CLKDEV_INIT(NULL, "usbd", &clk_usbd),
-@@ -653,6 +672,7 @@ static struct clk_lookup bcm63268_clks[]
+@@ -659,6 +678,7 @@ static struct clk_lookup bcm63268_clks[]
        CLKDEV_INIT("bcm63xx-hsspi.0", "pll", &clk_hsspi_pll),
        CLKDEV_INIT("10001000.spi", "pll", &clk_hsspi_pll),
        /* gated clocks */
index 92fe2248731683739970f591eb0ad0c24840e58c..82c9fa53c28a147f41fd14f6885fc30c08cc7c39 100644 (file)
@@ -16,7 +16,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
 
 --- a/drivers/net/phy/phylink.c
 +++ b/drivers/net/phy/phylink.c
-@@ -565,26 +565,17 @@ static const struct sfp_upstream_ops sfp
+@@ -565,31 +565,17 @@ static const struct sfp_upstream_ops sfp
  static int phylink_register_sfp(struct phylink *pl,
                                struct fwnode_handle *fwnode)
  {
@@ -42,6 +42,11 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
                return ret;
        }
  
+-      if (!fwnode_device_is_available(ref.fwnode)) {
+-              fwnode_handle_put(ref.fwnode);
+-              return 0;
+-      }
+-
 -      pl->sfp_bus = sfp_register_upstream(ref.fwnode, pl, &sfp_phylink_ops);
 -      if (!pl->sfp_bus)
 -              return -ENOMEM;
@@ -59,7 +64,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
  #include <linux/rtnetlink.h>
  #include <linux/slab.h>
  
-@@ -520,45 +521,63 @@ static void sfp_upstream_clear(struct sf
+@@ -520,45 +521,68 @@ static void sfp_upstream_clear(struct sf
  }
  
  /**
@@ -117,6 +122,11 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
 +      else if (ret < 0)
 +              return ERR_PTR(ret);
 +
++      if (!fwnode_device_is_available(ref.fwnode)) {
++              fwnode_handle_put(ref.fwnode);
++              return NULL;
++      }
++
 +      bus = sfp_bus_get(ref.fwnode);
 +      fwnode_handle_put(ref.fwnode);
 +      if (!bus)
index 9175f2557a38a95a25696f233c69d72450f09b29..907b9dc46e07dd238225348eb0c3b6085245e8bc 100644 (file)
@@ -117,7 +117,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
  {
        struct fwnode_reference_args ref;
        struct sfp_bus *bus;
-@@ -557,7 +563,39 @@ struct sfp_bus *sfp_register_upstream_no
+@@ -562,7 +568,39 @@ struct sfp_bus *sfp_register_upstream_no
        if (!bus)
                return ERR_PTR(-ENOMEM);
  
@@ -157,7 +157,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
        bus->upstream_ops = ops;
        bus->upstream = upstream;
  
-@@ -570,33 +608,33 @@ struct sfp_bus *sfp_register_upstream_no
+@@ -575,33 +613,33 @@ struct sfp_bus *sfp_register_upstream_no
        }
        rtnl_unlock();
  
index 198b03768bc996a1c27b713dadd0d74c3693deab..c680e7bc4066d2297d99a35584302d1d25b2b03f 100644 (file)
@@ -286,7 +286,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                goto err;
 --- a/net/core/net-procfs.c
 +++ b/net/core/net-procfs.c
-@@ -279,10 +279,12 @@ static int __net_init dev_proc_net_init(
+@@ -309,10 +309,12 @@ static int __net_init dev_proc_net_init(
        if (!proc_create_net("dev", 0444, net->proc_net, &dev_seq_ops,
                        sizeof(struct seq_net_private)))
                goto out;
@@ -301,7 +301,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                        sizeof(struct seq_net_private)))
                goto out_softnet;
  
-@@ -292,9 +294,11 @@ static int __net_init dev_proc_net_init(
+@@ -322,9 +324,11 @@ static int __net_init dev_proc_net_init(
  out:
        return rc;
  out_ptype:
@@ -315,7 +315,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  out_dev:
        remove_proc_entry("dev", net->proc_net);
        goto out;
-@@ -304,8 +308,10 @@ static void __net_exit dev_proc_net_exit
+@@ -334,8 +338,10 @@ static void __net_exit dev_proc_net_exit
  {
        wext_proc_exit(net);
  
index 6acb2dc386220f2c9a144b06b904d3f2d5987a56..09e82670347f7396b4dd0847ad14ea54627effbb 100644 (file)
@@ -71,7 +71,7 @@ Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de>
 
 --- a/mm/page_alloc.c
 +++ b/mm/page_alloc.c
-@@ -6884,7 +6884,7 @@ static void __ref alloc_node_mem_map(str
+@@ -6886,7 +6886,7 @@ static void __ref alloc_node_mem_map(str
                mem_map = NODE_DATA(0)->node_mem_map;
  #if defined(CONFIG_HAVE_MEMBLOCK_NODE_MAP) || defined(CONFIG_FLATMEM)
                if (page_to_pfn(mem_map) != pgdat->node_start_pfn)
index d9bfda1303b90368f3af24c26969b489724ab63d..df1de5a6a39bc028b1393542cf372d924e68d604 100644 (file)
@@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  #define PACKET_FANOUT_LB              1
 --- a/net/packet/af_packet.c
 +++ b/net/packet/af_packet.c
-@@ -1797,6 +1797,7 @@ static int packet_rcv_spkt(struct sk_buf
+@@ -1801,6 +1801,7 @@ static int packet_rcv_spkt(struct sk_buf
  {
        struct sock *sk;
        struct sockaddr_pkt *spkt;
@@ -38,7 +38,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
        /*
         *      When we registered the protocol we saved the socket in the data
-@@ -1804,6 +1805,7 @@ static int packet_rcv_spkt(struct sk_buf
+@@ -1808,6 +1809,7 @@ static int packet_rcv_spkt(struct sk_buf
         */
  
        sk = pt->af_packet_priv;
@@ -46,7 +46,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
        /*
         *      Yank back the headers [hope the device set this
-@@ -1816,7 +1818,7 @@ static int packet_rcv_spkt(struct sk_buf
+@@ -1820,7 +1822,7 @@ static int packet_rcv_spkt(struct sk_buf
         *      so that this procedure is noop.
         */
  
@@ -55,7 +55,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                goto out;
  
        if (!net_eq(dev_net(dev), sock_net(sk)))
-@@ -2054,12 +2056,12 @@ static int packet_rcv(struct sk_buff *sk
+@@ -2058,12 +2060,12 @@ static int packet_rcv(struct sk_buff *sk
        unsigned int snaplen, res;
        bool is_drop_n_account = false;
  
@@ -71,7 +71,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        if (!net_eq(dev_net(dev), sock_net(sk)))
                goto drop;
  
-@@ -2185,12 +2187,12 @@ static int tpacket_rcv(struct sk_buff *s
+@@ -2189,12 +2191,12 @@ static int tpacket_rcv(struct sk_buff *s
        BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32);
        BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h3)) != 48);
  
@@ -87,7 +87,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        if (!net_eq(dev_net(dev), sock_net(sk)))
                goto drop;
  
-@@ -3289,6 +3291,7 @@ static int packet_create(struct net *net
+@@ -3293,6 +3295,7 @@ static int packet_create(struct net *net
        mutex_init(&po->pg_vec_lock);
        po->rollover = NULL;
        po->prot_hook.func = packet_rcv;
@@ -95,7 +95,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
        if (sock->type == SOCK_PACKET)
                po->prot_hook.func = packet_rcv_spkt;
-@@ -3924,6 +3927,16 @@ packet_setsockopt(struct socket *sock, i
+@@ -3930,6 +3933,16 @@ packet_setsockopt(struct socket *sock, i
                po->xmit = val ? packet_direct_xmit : dev_queue_xmit;
                return 0;
        }
@@ -112,7 +112,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        default:
                return -ENOPROTOOPT;
        }
-@@ -3980,6 +3993,13 @@ static int packet_getsockopt(struct sock
+@@ -3986,6 +3999,13 @@ static int packet_getsockopt(struct sock
        case PACKET_VNET_HDR:
                val = po->has_vnet_hdr;
                break;
index 1eb6a83337d4befcbe3c75ed5bd77ce3030e76e3..b09b3bc5e81dc07024de45f1da88dc4935ddc59b 100644 (file)
@@ -21,7 +21,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  #define PPP_VERSION   "2.4.2"
  
  /*
-@@ -1373,12 +1378,37 @@ static void ppp_dev_priv_destructor(stru
+@@ -1378,12 +1383,37 @@ static void ppp_dev_priv_destructor(stru
                ppp_destroy_interface(ppp);
  }
  
index d21258e590b1e02a771738e849eacdb96ecc4187..82c1e268314382750aaf9c84ff2006686f60a451 100644 (file)
@@ -53,7 +53,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  
 --- a/net/ipv4/fib_semantics.c
 +++ b/net/ipv4/fib_semantics.c
-@@ -141,6 +141,10 @@ const struct fib_prop fib_props[RTN_MAX
+@@ -142,6 +142,10 @@ const struct fib_prop fib_props[RTN_MAX
                .error  = -EINVAL,
                .scope  = RT_SCOPE_NOWHERE,
        },
index 3dc8f6002014ac84f304703c13c31c441e8dfb2b..ba1b5b582205bdffcd8d36bb36c202148fd64db8 100644 (file)
@@ -32,7 +32,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
 
 --- a/drivers/net/phy/sfp-bus.c
 +++ b/drivers/net/phy/sfp-bus.c
-@@ -712,6 +712,27 @@ void sfp_module_remove(struct sfp_bus *b
+@@ -717,6 +717,27 @@ void sfp_module_remove(struct sfp_bus *b
  }
  EXPORT_SYMBOL_GPL(sfp_module_remove);
  
index 71618a40f2a0b5b10e4a108256176518fdeba295..27b0bef202bcdaa90df94ae36ea24dd7b6fe2dd4 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
 
 --- a/arch/arm/boot/compressed/head.S
 +++ b/arch/arm/boot/compressed/head.S
-@@ -599,6 +599,41 @@ not_relocated:    mov     r0, #0
+@@ -600,6 +600,41 @@ not_relocated:    mov     r0, #0
                bic     r4, r4, #1
                blne    cache_on
  
index 3f7dc5bffc09cb214dadcf0c8e393feae4e19165..84aa2390a8368ebe0caaecd6ca2e5cbe3297998c 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
 
 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
-@@ -222,6 +222,21 @@
+@@ -226,6 +226,21 @@
        phy-connection-type = "rgmii-id";
  };
  
index e389a950d90aeb7d79e27f4600c02d7a570f16d7..3ccd41f57cb8d2e27ba772102d2bcf3d51a11527 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Wen He <wen.he_1@nxp.com>
 
 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
-@@ -244,3 +244,15 @@
+@@ -248,3 +248,15 @@
  &sata {
        status = "okay";
  };
diff --git a/target/linux/layerscape/patches-5.4/302-dts-0083-arm64-ls1028a-qds-correct-bus-of-rtc.patch b/target/linux/layerscape/patches-5.4/302-dts-0083-arm64-ls1028a-qds-correct-bus-of-rtc.patch
deleted file mode 100644 (file)
index d978377..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-From d4c7270a63b1d78b89d91f74d782cce2a2bd9690 Mon Sep 17 00:00:00 2001
-From: Biwen Li <biwen.li@nxp.com>
-Date: Wed, 4 Sep 2019 11:39:30 +0800
-Subject: [PATCH] arm64: ls1028a-qds: correct bus of rtc
-
-The rtc is on i2c2 bus(hardware), not on i2c1 channel 3,
-so correct it
-
-Signed-off-by: Biwen Li <biwen.li@nxp.com>
----
- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 13 ++++++++-----
- 1 file changed, 8 insertions(+), 5 deletions(-)
-
---- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
-+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
-@@ -169,11 +169,6 @@
-                               vcc-supply = <&sb_3v3>;
-                       };
--                      rtc@51 {
--                              compatible = "nxp,pcf2129";
--                              reg = <0x51>;
--                      };
--
-                       eeprom@56 {
-                               compatible = "atmel,24c512";
-                               reg = <0x56>;
-@@ -217,6 +212,14 @@
- };
-+&i2c1 {
-+      status = "okay";
-+      rtc@51 {
-+              compatible = "nxp,pcf2129";
-+              reg = <0x51>;
-+      };
-+};
-+
- &enetc_port1 {
-       phy-handle = <&qds_phy1>;
-       phy-connection-type = "rgmii-id";
index 68e8098b6842d102282fb26bf7978cf6f0cd4c16..8680f3490bc648d28be3691a90ac1d54b5ba7d82 100644 (file)
@@ -346,7 +346,7 @@ Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
        };
  };
  
-@@ -259,3 +283,6 @@
+@@ -260,3 +284,6 @@
        edp_num_lanes = <0x4>;
        status = "okay";
  };
index a0fd27e350f1d923b9956675222973a3a57ab6ef..c3b750ee8a5477a7b57bf969f1833a0ef34a3a0b 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Wen He <wen.he_1@nxp.com>
 
 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
-@@ -273,14 +273,7 @@
+@@ -274,14 +274,7 @@
  };
  
  &hdptx0 {
index 0d1b23c85b272d70787005dbbef8f31fe0312ef4..faa7c58bf1847ad686aa25f87317acc2b16530ae 100644 (file)
@@ -884,7 +884,7 @@ Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
 -};
 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
-@@ -276,6 +276,3 @@
+@@ -277,6 +277,3 @@
        lane-mapping = <0x4e>;
        status = "okay";
  };
index f7edb7411d96cb6e2fa18e68485c2f5e3998b468..7f0579cb90783faac8a9177f1a88f9c190a378c5 100644 (file)
@@ -87,7 +87,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com>
  }
  
  /**
-@@ -3896,6 +3912,7 @@ static int cgroup_add_file(struct cgroup
+@@ -3901,6 +3917,7 @@ static int cgroup_add_file(struct cgroup
  {
        char name[CGROUP_FILE_NAME_MAX];
        struct kernfs_node *kn;
@@ -95,7 +95,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com>
        struct lock_class_key *key = NULL;
        int ret;
  
-@@ -3926,6 +3943,14 @@ static int cgroup_add_file(struct cgroup
+@@ -3931,6 +3948,14 @@ static int cgroup_add_file(struct cgroup
                spin_unlock_irq(&cgroup_file_kn_lock);
        }
  
index 469bbfdffaa3d782128edf42bc3f59409bbf89c4..a7930e0e26a7f62968add196fc07cdab5a084627 100644 (file)
@@ -89,7 +89,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com>
  }
  
  /**
-@@ -3912,7 +3896,6 @@ static int cgroup_add_file(struct cgroup
+@@ -3917,7 +3901,6 @@ static int cgroup_add_file(struct cgroup
  {
        char name[CGROUP_FILE_NAME_MAX];
        struct kernfs_node *kn;
@@ -97,7 +97,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com>
        struct lock_class_key *key = NULL;
        int ret;
  
-@@ -3943,14 +3926,6 @@ static int cgroup_add_file(struct cgroup
+@@ -3948,14 +3931,6 @@ static int cgroup_add_file(struct cgroup
                spin_unlock_irq(&cgroup_file_kn_lock);
        }
  
index 9e020c3c614cc9097899514e90f917e2917d2bd6..d261483563d774f7b13a8bcd01b0698af12f2d18 100644 (file)
@@ -439,7 +439,7 @@ This reverts commit cf9441adb1a35506d7606866c382b9d8614169b5.
                               IRQF_SHARED, dev_name(dev), pdev);
 --- a/sound/soc/xilinx/xlnx_formatter_pcm.c
 +++ b/sound/soc/xilinx/xlnx_formatter_pcm.c
-@@ -613,6 +613,7 @@ static int xlnx_formatter_pcm_probe(stru
+@@ -634,6 +634,7 @@ static int xlnx_formatter_pcm_probe(stru
                aud_drv_data->mm2s_irq = platform_get_irq_byname(pdev,
                                                                 "irq_mm2s");
                if (aud_drv_data->mm2s_irq < 0) {
@@ -447,7 +447,7 @@ This reverts commit cf9441adb1a35506d7606866c382b9d8614169b5.
                        ret = aud_drv_data->mm2s_irq;
                        goto clk_err;
                }
-@@ -639,6 +640,7 @@ static int xlnx_formatter_pcm_probe(stru
+@@ -660,6 +661,7 @@ static int xlnx_formatter_pcm_probe(stru
                aud_drv_data->s2mm_irq = platform_get_irq_byname(pdev,
                                                                 "irq_s2mm");
                if (aud_drv_data->s2mm_irq < 0) {
index f5bf467154a426707cacbba64a4c7709ba5cc428..8a67488dd987e2835471fcb36d3a575ace19c517 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Peter Chen <peter.chen@nxp.com>
 
 --- a/drivers/usb/core/hcd.c
 +++ b/drivers/usb/core/hcd.c
-@@ -2104,6 +2104,140 @@ int usb_hcd_get_frame_number (struct usb
+@@ -2125,6 +2125,140 @@ int usb_hcd_get_frame_number (struct usb
  }
  
  /*-------------------------------------------------------------------------*/
index 611119726337c624bc4ba46212ae89bf3e502ecb..16e4e7e68ca5a0bc876a2ddc01ca1e6779c0c33d 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Li Jun <jun.li@freescale.com>
 
 --- a/drivers/usb/core/hub.c
 +++ b/drivers/usb/core/hub.c
-@@ -4777,7 +4777,8 @@ hub_port_init(struct usb_hub *hub, struc
+@@ -4780,7 +4780,8 @@ hub_port_init(struct usb_hub *hub, struc
                        }
                        if (r) {
                                if (r != -ENODEV)
index 38bb9ca46d01edbb961debdb27e1fb51e657442f..13a9a51e34d39df32bc0ca1356f3355cca562e9f 100644 (file)
@@ -141,7 +141,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  
 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
 +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
-@@ -1499,9 +1499,10 @@ static void axienet_mac_link_down(struct
+@@ -1501,9 +1501,10 @@ static void axienet_mac_link_down(struct
  }
  
  static void axienet_mac_link_up(struct phylink_config *config,
index 525d9ec794e0c69c55c6d1e6d373cc67ba0f3144..3d88a9e417d0ce41acce481ed8e4d22a42a05cb1 100644 (file)
@@ -76,7 +76,7 @@ Cc: Miquèl Raynal <miquel.raynal@bootlin.com>
        /* Set to Direct mode */
        reg = advk_readl(pcie, CTRL_CONFIG_REG);
        reg &= ~(CTRL_MODE_MASK << CTRL_MODE_SHIFT);
-@@ -1493,6 +1502,62 @@ out_release_res:
+@@ -1495,6 +1504,62 @@ out_release_res:
        return err;
  }
  
@@ -139,7 +139,7 @@ Cc: Miquèl Raynal <miquel.raynal@bootlin.com>
  static int advk_pcie_probe(struct platform_device *pdev)
  {
        struct device *dev = &pdev->dev;
-@@ -1625,6 +1690,10 @@ static int advk_pcie_probe(struct platfo
+@@ -1627,6 +1692,10 @@ static int advk_pcie_probe(struct platfo
        else
                pcie->link_gen = ret;
  
index 5a6173a666ad09d770593211b6b64f4d70724de8..cab99ce4cebf06f258cc297350d8a9dac6c41a61 100644 (file)
@@ -31,7 +31,7 @@ Cc: <stable@vger.kernel.org> # 5.8+: ea17a0f153af: phy: marvell: comphy: Convert
 
 --- a/drivers/pci/controller/pci-aardvark.c
 +++ b/drivers/pci/controller/pci-aardvark.c
-@@ -1526,7 +1526,9 @@ static int advk_pcie_enable_phy(struct a
+@@ -1528,7 +1528,9 @@ static int advk_pcie_enable_phy(struct a
        }
  
        ret = phy_power_on(pcie->phy);
index 49ea3de0d13e3304dbb1a1a28b7849ad0ab514af..247c6b82733c9635370e2d0b3352d53331dd080a 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
 
 --- a/drivers/pci/controller/pci-mvebu.c
 +++ b/drivers/pci/controller/pci-mvebu.c
-@@ -936,6 +936,7 @@ static int mvebu_pcie_powerup(struct mve
+@@ -944,6 +944,7 @@ static int mvebu_pcie_powerup(struct mve
  
        if (port->reset_gpio) {
                u32 reset_udelay = PCI_PM_D3COLD_WAIT * 1000;
@@ -21,7 +21,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
  
                of_property_read_u32(port->dn, "reset-delay-us",
                                     &reset_udelay);
-@@ -943,7 +944,13 @@ static int mvebu_pcie_powerup(struct mve
+@@ -951,7 +952,13 @@ static int mvebu_pcie_powerup(struct mve
                udelay(100);
  
                gpiod_set_value_cansleep(port->reset_gpio, 0);
@@ -36,7 +36,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
        }
  
        return 0;
-@@ -1107,15 +1114,16 @@ static int mvebu_pcie_probe(struct platf
+@@ -1115,15 +1122,16 @@ static int mvebu_pcie_probe(struct platf
                if (!child)
                        continue;
  
index 37c75bbcd12b0b78291e70e02091a284b0155e80..15f514209dcd128aa2e4a2f136395ee62e672b76 100644 (file)
@@ -20,7 +20,7 @@
        }
 --- a/arch/mips/cavium-octeon/octeon-platform.c
 +++ b/arch/mips/cavium-octeon/octeon-platform.c
-@@ -771,7 +771,7 @@ int __init octeon_prune_device_tree(void
+@@ -773,7 +773,7 @@ int __init octeon_prune_device_tree(void
        if (fdt_check_header(initial_boot_params))
                panic("Corrupt Device Tree.");
  
index 1206561fdac22a5ae79ed92ce8743a8efae5c325..8b7285abdfe67f8c9047aac6d5d636c2f8b61730 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
  #include <linux/platform_data/x86/apple.h>
  #include <linux/pm_runtime.h>
  #include <linux/suspend.h>
-@@ -5790,3 +5791,34 @@ static void nvidia_ion_ahci_fixup(struct
+@@ -5793,3 +5794,34 @@ static void nvidia_ion_ahci_fixup(struct
        pdev->dev_flags |= PCI_DEV_FLAGS_HAS_MSI_MASKING;
  }
  DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, 0x0ab8, nvidia_ion_ahci_fixup);
index f088babc4ec799e1e9114a459ba68bee63245ef8..a6c9127601adbc4cec30afa2fad56ab08ac7ccd3 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 
 --- a/drivers/media/usb/uvc/uvc_driver.c
 +++ b/drivers/media/usb/uvc/uvc_driver.c
-@@ -2916,6 +2916,18 @@ static const struct usb_device_id uvc_id
+@@ -2911,6 +2911,18 @@ static const struct usb_device_id uvc_id
          .bInterfaceSubClass   = 1,
          .bInterfaceProtocol   = 0,
          .driver_info          = UVC_INFO_META(V4L2_META_FMT_D4XX) },
index d6f11ac9359c8265d4828b432a03ff51c2351159..4a3f80623bd42844ae2c20b3c66111464c2f0890 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/x86/kernel/reboot.c
 +++ b/arch/x86/kernel/reboot.c
-@@ -487,6 +487,16 @@ static const struct dmi_system_id reboot
+@@ -479,6 +479,16 @@ static const struct dmi_system_id reboot
                },
        },