kernel: bump 5.4 to 5.4.64
Remove upstreamed patches: generic-backport 701-v5.5-net-core-use-listified-Rx-for-GRO_NORMAL-in-napi_gro.patch Manually merged: mediatek/patches-5.4 0603-net-dsa-mt7530-Extend-device-data-ready-for-adding-a.patch All other modifications made by update_kernel.sh Build-tested: ipq806x, lantiq/xrx200, mvebu, x86/64 Run-tested: ipq806x (R7800), mvebu (mamba, rango), lantiq/xrx200 (Easybox 904 xDSL), x86/64 No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us> [add community build/run tests to commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
committed by
Adrian Schmutzler
parent
c4110a524e
commit
bee76f1bfa
@@ -1,6 +1,6 @@
|
||||
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||
@@ -712,6 +712,17 @@
|
||||
@@ -714,6 +714,17 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
@@ -199,10 +199,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
+ * @duplex: link duplex
|
||||
+ * @tx_pause: link transmit pause enablement status
|
||||
+ * @rx_pause: link receive pause enablement status
|
||||
*
|
||||
- * If @mode is not an in-band negotiation mode (as defined by
|
||||
- * phylink_autoneg_inband()), allow the link to come up. If @phy
|
||||
- * is non-%NULL, configure Energy Efficient Ethernet by calling
|
||||
+ *
|
||||
+ * Configure the MAC for an established link.
|
||||
+ *
|
||||
+ * @speed, @duplex, @tx_pause and @rx_pause indicate the finalised link
|
||||
@@ -214,7 +211,10 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
+ * Note that when 802.3z in-band negotiation is in use, it is possible
|
||||
+ * that the user wishes to override the pause settings, and this should
|
||||
+ * be allowed when considering the implementation of this method.
|
||||
+ *
|
||||
*
|
||||
- * If @mode is not an in-band negotiation mode (as defined by
|
||||
- * phylink_autoneg_inband()), allow the link to come up. If @phy
|
||||
- * is non-%NULL, configure Energy Efficient Ethernet by calling
|
||||
+ * If in-band negotiation mode is disabled, allow the link to come up. If
|
||||
+ * @phy is non-%NULL, configure Energy Efficient Ethernet by calling
|
||||
* phy_init_eee() and perform appropriate MAC configuration for EEE.
|
||||
|
||||
@@ -102,8 +102,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
{
|
||||
struct mt7530_priv *priv = ds->priv;
|
||||
+ u32 mcr;
|
||||
|
||||
- mt7530_port_set_status(priv, port, 1);
|
||||
+
|
||||
+ mcr = PMCR_RX_EN | PMCR_TX_EN | PMCR_FORCE_LNK;
|
||||
+
|
||||
+ switch (speed) {
|
||||
@@ -125,7 +124,8 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
+ if (rx_pause)
|
||||
+ mcr |= PMCR_RX_FC_EN;
|
||||
+ }
|
||||
+
|
||||
|
||||
- mt7530_port_set_status(priv, port, 1);
|
||||
+ mt7530_set(priv, MT7530_PMCR_P(port), mcr);
|
||||
}
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ Signed-off-by: Sean Wang <sean.wang@mediatek.com>
|
||||
phylink_set(mask, 100baseT_Full);
|
||||
-
|
||||
- if (state->interface != PHY_INTERFACE_MODE_MII) {
|
||||
- phylink_set(mask, 1000baseT_Half);
|
||||
- /* This switch only supports 1G full-duplex. */
|
||||
- phylink_set(mask, 1000baseT_Full);
|
||||
- if (port == 5)
|
||||
- phylink_set(mask, 1000baseX_Full);
|
||||
|
||||
@@ -281,7 +281,7 @@ Signed-off-by: chuanjia.liu <Chuanjia.Liu@mediatek.com>
|
||||
&pio {
|
||||
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||
@@ -790,45 +790,41 @@
|
||||
@@ -792,45 +792,41 @@
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
@@ -344,7 +344,7 @@ Signed-off-by: chuanjia.liu <Chuanjia.Liu@mediatek.com>
|
||||
interrupt-map-mask = <0 0 0 7>;
|
||||
interrupt-map = <0 0 0 1 &pcie_intc0 0>,
|
||||
<0 0 0 2 &pcie_intc0 1>,
|
||||
@@ -840,15 +836,39 @@
|
||||
@@ -842,15 +838,39 @@
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -18,7 +18,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
interface-type = "ace";
|
||||
reg = <0x5000 0x1000>;
|
||||
};
|
||||
@@ -965,6 +965,8 @@
|
||||
@@ -967,6 +967,8 @@
|
||||
power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
|
||||
mediatek,ethsys = <ðsys>;
|
||||
mediatek,sgmiisys = <&sgmiisys>;
|
||||
|
||||
@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
|
||||
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||
@@ -801,6 +801,8 @@
|
||||
@@ -803,6 +803,8 @@
|
||||
reg = <0 0x1a143000 0 0x1000>;
|
||||
reg-names = "port0";
|
||||
mediatek,pcie-cfg = <&pciecfg>;
|
||||
@@ -19,7 +19,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_LOW>;
|
||||
@@ -818,6 +820,7 @@
|
||||
@@ -820,6 +822,7 @@
|
||||
bus-range = <0x00 0xff>;
|
||||
ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x8000000>;
|
||||
status = "disabled";
|
||||
@@ -27,7 +27,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
|
||||
slot0: pcie@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
@@ -844,6 +847,8 @@
|
||||
@@ -846,6 +849,8 @@
|
||||
reg = <0 0x1a145000 0 0x1000>;
|
||||
reg-names = "port1";
|
||||
mediatek,pcie-cfg = <&pciecfg>;
|
||||
@@ -36,7 +36,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>;
|
||||
@@ -862,6 +867,7 @@
|
||||
@@ -864,6 +869,7 @@
|
||||
bus-range = <0x00 0xff>;
|
||||
ranges = <0x82000000 0 0x28000000 0x0 0x28000000 0 0x8000000>;
|
||||
status = "disabled";
|
||||
@@ -44,7 +44,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
|
||||
slot1: pcie@1,0 {
|
||||
reg = <0x0800 0 0 0 0>;
|
||||
@@ -921,6 +927,11 @@
|
||||
@@ -923,6 +929,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user