mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
Revert "kernel: bump 5.10 to 5.10.216 (#12127)"
This reverts commit e5c26e9039
.
This commit is contained in:
parent
cf57cfaeeb
commit
89a6a0c63b
@ -1,2 +1,2 @@
|
|||||||
LINUX_VERSION-5.10 = .216
|
LINUX_VERSION-5.10 = .215
|
||||||
LINUX_KERNEL_HASH-5.10.216 = e310588c4b23f0959614e60f007afc20e9b1a8f296d682b041fa129f96fbe151
|
LINUX_KERNEL_HASH-5.10.215 = 879ca159c34ea9d3a6775f292cc59c2d3931d57dca00f0bebe2675ea0c82c6a9
|
||||||
|
@ -1913,7 +1913,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
eth_hw_addr_inherit(slave_dev, master);
|
eth_hw_addr_inherit(slave_dev, master);
|
||||||
--- a/net/ethernet/eth.c
|
--- a/net/ethernet/eth.c
|
||||||
+++ b/net/ethernet/eth.c
|
+++ b/net/ethernet/eth.c
|
||||||
@@ -496,13 +496,14 @@ unsigned char * __weak arch_get_platform
|
@@ -506,13 +506,14 @@ unsigned char * __weak arch_get_platform
|
||||||
|
|
||||||
int eth_platform_get_mac_address(struct device *dev, u8 *mac_addr)
|
int eth_platform_get_mac_address(struct device *dev, u8 *mac_addr)
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
|
|
||||||
/* Enable checksum offload */
|
/* Enable checksum offload */
|
||||||
*tmp = AX_RXCOE_IP | AX_RXCOE_TCP | AX_RXCOE_UDP |
|
*tmp = AX_RXCOE_IP | AX_RXCOE_TCP | AX_RXCOE_UDP |
|
||||||
@@ -1582,17 +1583,19 @@ ax88179_tx_fixup(struct usbnet *dev, str
|
@@ -1587,17 +1588,19 @@ ax88179_tx_fixup(struct usbnet *dev, str
|
||||||
{
|
{
|
||||||
u32 tx_hdr1, tx_hdr2;
|
u32 tx_hdr1, tx_hdr2;
|
||||||
int frame_size = dev->maxpacket;
|
int frame_size = dev->maxpacket;
|
||||||
@ -57,7 +57,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
if ((skb_header_cloned(skb) || headroom < 0) &&
|
if ((skb_header_cloned(skb) || headroom < 0) &&
|
||||||
pskb_expand_head(skb, headroom < 0 ? 8 : 0, 0, GFP_ATOMIC)) {
|
pskb_expand_head(skb, headroom < 0 ? 8 : 0, 0, GFP_ATOMIC)) {
|
||||||
dev_kfree_skb_any(skb);
|
dev_kfree_skb_any(skb);
|
||||||
@@ -1603,6 +1606,8 @@ ax88179_tx_fixup(struct usbnet *dev, str
|
@@ -1608,6 +1611,8 @@ ax88179_tx_fixup(struct usbnet *dev, str
|
||||||
put_unaligned_le32(tx_hdr1, ptr);
|
put_unaligned_le32(tx_hdr1, ptr);
|
||||||
put_unaligned_le32(tx_hdr2, ptr + 4);
|
put_unaligned_le32(tx_hdr2, ptr + 4);
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
for (i = sizeof(struct ipt_entry);
|
for (i = sizeof(struct ipt_entry);
|
||||||
i < e->target_offset;
|
i < e->target_offset;
|
||||||
i += m->u.match_size) {
|
i += m->u.match_size) {
|
||||||
@@ -1226,12 +1263,15 @@ compat_copy_entry_to_user(struct ipt_ent
|
@@ -1224,12 +1261,15 @@ compat_copy_entry_to_user(struct ipt_ent
|
||||||
compat_uint_t origsize;
|
compat_uint_t origsize;
|
||||||
const struct xt_entry_match *ematch;
|
const struct xt_entry_match *ematch;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
@ -136,9 +136,9 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
/**
|
/**
|
||||||
* eth_type_trans - determine the packet's protocol ID.
|
* eth_type_trans - determine the packet's protocol ID.
|
||||||
* @skb: received socket data
|
* @skb: received socket data
|
||||||
@@ -426,6 +438,10 @@ struct sk_buff *eth_gro_receive(struct l
|
@@ -174,6 +186,10 @@ __be16 eth_type_trans(struct sk_buff *sk
|
||||||
NAPI_GRO_CB(p)->same_flow = 0;
|
} else {
|
||||||
continue;
|
skb->pkt_type = PACKET_OTHERHOST;
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
+ if (eth_check_local_mask(eth->h_dest, dev->dev_addr,
|
+ if (eth_check_local_mask(eth->h_dest, dev->dev_addr,
|
||||||
@ -146,4 +146,4 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
+ skb->gro_skip = 1;
|
+ skb->gro_skip = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
type = eh->h_proto;
|
/*
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
From: Felix Fietkau <nbd@nbd.name>
|
||||||
|
Date: Mon, 7 Feb 2022 10:27:22 +0100
|
||||||
|
Subject: [PATCH] arm64: dts: mediatek: mt7622: add support for coherent
|
||||||
|
DMA
|
||||||
|
|
||||||
|
It improves performance by eliminating the need for a cache flush on rx and tx
|
||||||
|
|
||||||
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||||
|
---
|
||||||
|
|
||||||
|
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||||
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||||
|
@@ -357,7 +357,7 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
cci_control2: slave-if@5000 {
|
||||||
|
- compatible = "arm,cci-400-ctrl-if";
|
||||||
|
+ compatible = "arm,cci-400-ctrl-if", "syscon";
|
||||||
|
interface-type = "ace";
|
||||||
|
reg = <0x5000 0x1000>;
|
||||||
|
};
|
||||||
|
@@ -937,6 +937,8 @@
|
||||||
|
power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
|
||||||
|
mediatek,ethsys = <ðsys>;
|
||||||
|
mediatek,sgmiisys = <&sgmiisys>;
|
||||||
|
+ mediatek,cci-control = <&cci_control2>;
|
||||||
|
+ dma-coherent;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
status = "disabled";
|
@ -0,0 +1,62 @@
|
|||||||
|
From: Felix Fietkau <nbd@nbd.name>
|
||||||
|
Date: Sat, 5 Feb 2022 18:36:36 +0100
|
||||||
|
Subject: [PATCH] arm64: dts: mediatek: mt7622: introduce nodes for
|
||||||
|
Wireless Ethernet Dispatch
|
||||||
|
|
||||||
|
Introduce wed0 and wed1 nodes in order to enable offloading forwarding
|
||||||
|
between ethernet and wireless devices on the mt7622 chipset.
|
||||||
|
|
||||||
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||||
|
---
|
||||||
|
|
||||||
|
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||||
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
||||||
|
@@ -893,6 +893,11 @@
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
+ hifsys: syscon@1af00000 {
|
||||||
|
+ compatible = "mediatek,mt7622-hifsys", "syscon";
|
||||||
|
+ reg = <0 0x1af00000 0 0x70>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
ethsys: syscon@1b000000 {
|
||||||
|
compatible = "mediatek,mt7622-ethsys",
|
||||||
|
"syscon";
|
||||||
|
@@ -911,6 +916,26 @@
|
||||||
|
#dma-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
+ pcie_mirror: pcie-mirror@10000400 {
|
||||||
|
+ compatible = "mediatek,mt7622-pcie-mirror",
|
||||||
|
+ "syscon";
|
||||||
|
+ reg = <0 0x10000400 0 0x10>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ wed0: wed@1020a000 {
|
||||||
|
+ compatible = "mediatek,mt7622-wed",
|
||||||
|
+ "syscon";
|
||||||
|
+ reg = <0 0x1020a000 0 0x1000>;
|
||||||
|
+ interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ wed1: wed@1020b000 {
|
||||||
|
+ compatible = "mediatek,mt7622-wed",
|
||||||
|
+ "syscon";
|
||||||
|
+ reg = <0 0x1020b000 0 0x1000>;
|
||||||
|
+ interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
eth: ethernet@1b100000 {
|
||||||
|
compatible = "mediatek,mt7622-eth",
|
||||||
|
"mediatek,mt2701-eth",
|
||||||
|
@@ -938,6 +963,9 @@
|
||||||
|
mediatek,ethsys = <ðsys>;
|
||||||
|
mediatek,sgmiisys = <&sgmiisys>;
|
||||||
|
mediatek,cci-control = <&cci_control2>;
|
||||||
|
+ mediatek,wed = <&wed0>, <&wed1>;
|
||||||
|
+ mediatek,pcie-mirror = <&pcie_mirror>;
|
||||||
|
+ mediatek,hifsys = <&hifsys>;
|
||||||
|
dma-coherent;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
@ -61,7 +61,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
|
|||||||
/*
|
/*
|
||||||
* We need to store the untouched command line for future reference.
|
* We need to store the untouched command line for future reference.
|
||||||
* We also need to store the touched command line since the parameter
|
* We also need to store the touched command line since the parameter
|
||||||
@@ -868,6 +891,7 @@ asmlinkage __visible void __init __no_sa
|
@@ -866,6 +889,7 @@ asmlinkage __visible void __init __no_sa
|
||||||
pr_notice("%s", linux_banner);
|
pr_notice("%s", linux_banner);
|
||||||
early_security_init();
|
early_security_init();
|
||||||
setup_arch(&command_line);
|
setup_arch(&command_line);
|
||||||
|
@ -189,7 +189,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
|
|||||||
static int kernel_init(void *);
|
static int kernel_init(void *);
|
||||||
|
|
||||||
extern void init_IRQ(void);
|
extern void init_IRQ(void);
|
||||||
@@ -905,6 +909,18 @@ asmlinkage __visible void __init __no_sa
|
@@ -903,6 +907,18 @@ asmlinkage __visible void __init __no_sa
|
||||||
pr_notice("Kernel command line: %s\n", saved_command_line);
|
pr_notice("Kernel command line: %s\n", saved_command_line);
|
||||||
/* parameters may set static keys */
|
/* parameters may set static keys */
|
||||||
jump_label_init();
|
jump_label_init();
|
||||||
|
@ -187,7 +187,7 @@ Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
|
|||||||
static int kernel_init(void *);
|
static int kernel_init(void *);
|
||||||
|
|
||||||
extern void init_IRQ(void);
|
extern void init_IRQ(void);
|
||||||
@@ -903,6 +907,18 @@ asmlinkage __visible void __init __no_sa
|
@@ -901,6 +905,18 @@ asmlinkage __visible void __init __no_sa
|
||||||
page_alloc_init();
|
page_alloc_init();
|
||||||
|
|
||||||
pr_notice("Kernel command line: %s\n", saved_command_line);
|
pr_notice("Kernel command line: %s\n", saved_command_line);
|
||||||
|
@ -168,7 +168,7 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
|
|||||||
static int kernel_init(void *);
|
static int kernel_init(void *);
|
||||||
|
|
||||||
extern void init_IRQ(void);
|
extern void init_IRQ(void);
|
||||||
@@ -903,6 +907,18 @@ asmlinkage __visible void __init __no_sa
|
@@ -901,6 +905,18 @@ asmlinkage __visible void __init __no_sa
|
||||||
page_alloc_init();
|
page_alloc_init();
|
||||||
|
|
||||||
pr_notice("Kernel command line: %s\n", saved_command_line);
|
pr_notice("Kernel command line: %s\n", saved_command_line);
|
||||||
|
@ -1849,7 +1849,7 @@
|
|||||||
+obj-$(CONFIG_PHYTIUM_IXIC) += irq-phytium-ixic.o
|
+obj-$(CONFIG_PHYTIUM_IXIC) += irq-phytium-ixic.o
|
||||||
--- a/drivers/irqchip/irq-gic-v3-its.c
|
--- a/drivers/irqchip/irq-gic-v3-its.c
|
||||||
+++ b/drivers/irqchip/irq-gic-v3-its.c
|
+++ b/drivers/irqchip/irq-gic-v3-its.c
|
||||||
@@ -4787,6 +4787,7 @@ static void its_restore_enable(void)
|
@@ -4792,6 +4792,7 @@ static void its_restore_enable(void)
|
||||||
{
|
{
|
||||||
struct its_node *its;
|
struct its_node *its;
|
||||||
int ret;
|
int ret;
|
||||||
@ -1857,7 +1857,7 @@
|
|||||||
|
|
||||||
raw_spin_lock(&its_lock);
|
raw_spin_lock(&its_lock);
|
||||||
list_for_each_entry(its, &its_nodes, entry) {
|
list_for_each_entry(its, &its_nodes, entry) {
|
||||||
@@ -4840,6 +4841,23 @@ static void its_restore_enable(void)
|
@@ -4845,6 +4846,23 @@ static void its_restore_enable(void)
|
||||||
GITS_TYPER_HCC(gic_read_typer(base + GITS_TYPER)))
|
GITS_TYPER_HCC(gic_read_typer(base + GITS_TYPER)))
|
||||||
its_cpu_init_collection(its);
|
its_cpu_init_collection(its);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user