kernel: bump 5.4 to 5.4.85
All modifications made by update_kernel.sh run in a fresh clone without any existing toolchains. Build system: x86_64 Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711 Run-tested: ipq806x/R7800 No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us>
This commit is contained in:
@@ -32,7 +32,7 @@ Signed-off-by: Haiying Wang <Haiying.Wang@nxp.com>
|
||||
struct dpio_priv {
|
||||
struct dpaa2_io *io;
|
||||
};
|
||||
@@ -200,13 +205,11 @@ static int dpaa2_dpio_probe(struct fsl_m
|
||||
@@ -197,13 +202,11 @@ static int dpaa2_dpio_probe(struct fsl_m
|
||||
if (dpio_dev->obj_desc.region_count < 3) {
|
||||
/* No support for DDR backed portals, use classic mapping */
|
||||
/*
|
||||
@@ -50,7 +50,7 @@ Signed-off-by: Haiying Wang <Haiying.Wang@nxp.com>
|
||||
} else {
|
||||
desc.regs_cena = devm_memremap(dev, dpio_dev->regions[2].start,
|
||||
resource_size(&dpio_dev->regions[2]),
|
||||
@@ -214,7 +217,7 @@ static int dpaa2_dpio_probe(struct fsl_m
|
||||
@@ -211,7 +214,7 @@ static int dpaa2_dpio_probe(struct fsl_m
|
||||
}
|
||||
|
||||
if (IS_ERR(desc.regs_cena)) {
|
||||
|
||||
@@ -141,7 +141,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
#define ENETC_SIPCAPR0_RSS BIT(8)
|
||||
#define ENETC_SIPCAPR1 0x24
|
||||
#define ENETC_SITGTGR 0x30
|
||||
@@ -440,22 +441,6 @@ union enetc_rx_bd {
|
||||
@@ -444,22 +445,6 @@ union enetc_rx_bd {
|
||||
#define EMETC_MAC_ADDR_FILT_RES 3 /* # of reserved entries at the beginning */
|
||||
#define ENETC_MAX_NUM_VFS 2
|
||||
|
||||
@@ -164,7 +164,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
#define ENETC_CBD_FLAGS_SF BIT(7) /* short format */
|
||||
#define ENETC_CBD_STATUS_MASK 0xf
|
||||
|
||||
@@ -554,3 +539,70 @@ static inline void enetc_set_bdr_prio(st
|
||||
@@ -558,3 +543,70 @@ static inline void enetc_set_bdr_prio(st
|
||||
val |= ENETC_TBMR_SET_PRIO(prio);
|
||||
enetc_txbdr_wr(hw, bdr_idx, ENETC_TBMR, val);
|
||||
}
|
||||
|
||||
@@ -254,7 +254,7 @@ Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
|
||||
rx_frm_cnt++;
|
||||
--- a/drivers/net/ethernet/freescale/enetc/enetc_hw.h
|
||||
+++ b/drivers/net/ethernet/freescale/enetc/enetc_hw.h
|
||||
@@ -321,8 +321,15 @@ struct enetc_hw {
|
||||
@@ -325,8 +325,15 @@ struct enetc_hw {
|
||||
};
|
||||
|
||||
/* general register accessors */
|
||||
@@ -272,7 +272,7 @@ Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
|
||||
#ifdef ioread64
|
||||
#define enetc_rd_reg64(reg) ioread64((reg))
|
||||
#else
|
||||
@@ -341,12 +348,102 @@ static inline u64 enetc_rd_reg64(void __
|
||||
@@ -345,12 +352,102 @@ static inline u64 enetc_rd_reg64(void __
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
|
||||
|
||||
--- a/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
|
||||
+++ b/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
|
||||
@@ -195,15 +195,21 @@ static const char tx_ring_stats[][ETH_GS
|
||||
@@ -199,15 +199,21 @@ static const char tx_ring_stats[][ETH_GS
|
||||
static int enetc_get_sset_count(struct net_device *ndev, int sset)
|
||||
{
|
||||
struct enetc_ndev_priv *priv = netdev_priv(ndev);
|
||||
|
||||
@@ -259,7 +259,7 @@ Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
|
||||
|
||||
--- a/drivers/net/ethernet/freescale/enetc/enetc_hw.h
|
||||
+++ b/drivers/net/ethernet/freescale/enetc/enetc_hw.h
|
||||
@@ -325,7 +325,7 @@ struct enetc_hw {
|
||||
@@ -329,7 +329,7 @@ struct enetc_hw {
|
||||
#define enetc_wr_reg(reg, val) enetc_wr_reg_wa((reg), (val))
|
||||
|
||||
/* accessors for data-path, due to MDIO issue on LS1028 these should be called
|
||||
@@ -268,7 +268,7 @@ Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
|
||||
*/
|
||||
#define enetc_rd_reg_hot(reg) ioread32((reg))
|
||||
#define enetc_wr_reg_hot(reg, val) iowrite32((val), (reg))
|
||||
@@ -348,90 +348,45 @@ static inline u64 enetc_rd_reg64(void __
|
||||
@@ -352,90 +352,45 @@ static inline u64 enetc_rd_reg64(void __
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
#define ENETC_PTCCBSR1(n) (0x1114 + (n) * 8) /* n = 0 to 7*/
|
||||
#define ENETC_RSSHASH_KEY_SIZE 40
|
||||
#define ENETC_PRSSK(n) (0x1410 + (n) * 4) /* n = [0..9] */
|
||||
@@ -673,6 +675,8 @@ struct enetc_cbd {
|
||||
@@ -677,6 +679,8 @@ struct enetc_cbd {
|
||||
u8 status_flags;
|
||||
};
|
||||
|
||||
|
||||
@@ -192,7 +192,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
+#endif
|
||||
--- a/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
|
||||
+++ b/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
|
||||
@@ -183,6 +183,21 @@ static const struct {
|
||||
@@ -187,6 +187,21 @@ static const struct {
|
||||
{ ENETC_PICDR(3), "ICM DR3 discarded frames" },
|
||||
};
|
||||
|
||||
@@ -214,7 +214,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
static const char rx_ring_stats[][ETH_GSTRING_LEN] = {
|
||||
"Rx ring %2d frames",
|
||||
"Rx ring %2d alloc errors",
|
||||
@@ -192,6 +207,10 @@ static const char tx_ring_stats[][ETH_GS
|
||||
@@ -196,6 +211,10 @@ static const char tx_ring_stats[][ETH_GS
|
||||
"Tx ring %2d frames",
|
||||
};
|
||||
|
||||
@@ -225,7 +225,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
static int enetc_get_sset_count(struct net_device *ndev, int sset)
|
||||
{
|
||||
struct enetc_ndev_priv *priv = netdev_priv(ndev);
|
||||
@@ -209,6 +228,12 @@ static int enetc_get_sset_count(struct n
|
||||
@@ -213,6 +232,12 @@ static int enetc_get_sset_count(struct n
|
||||
|
||||
len += ARRAY_SIZE(enetc_port_counters);
|
||||
|
||||
@@ -238,7 +238,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
return len;
|
||||
}
|
||||
|
||||
@@ -247,6 +272,28 @@ static void enetc_get_strings(struct net
|
||||
@@ -251,6 +276,28 @@ static void enetc_get_strings(struct net
|
||||
ETH_GSTRING_LEN);
|
||||
p += ETH_GSTRING_LEN;
|
||||
}
|
||||
@@ -267,7 +267,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -274,6 +321,18 @@ static void enetc_get_ethtool_stats(stru
|
||||
@@ -278,6 +325,18 @@ static void enetc_get_ethtool_stats(stru
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(enetc_port_counters); i++)
|
||||
data[o++] = enetc_port_rd(hw, enetc_port_counters[i].reg);
|
||||
@@ -317,7 +317,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
|
||||
/* MAC counters */
|
||||
#define ENETC_PM0_REOCT 0x8100
|
||||
@@ -294,6 +305,15 @@ enum enetc_bdr_type {TX, RX};
|
||||
@@ -298,6 +309,15 @@ enum enetc_bdr_type {TX, RX};
|
||||
#define ENETC_PM0_TSCOL 0x82E0
|
||||
#define ENETC_PM0_TLCOL 0x82E8
|
||||
#define ENETC_PM0_TECOL 0x82F0
|
||||
@@ -333,7 +333,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
|
||||
/* Port counters */
|
||||
#define ENETC_PICDR(n) (0x0700 + (n) * 8) /* n = [0..3] */
|
||||
@@ -452,6 +472,7 @@ union enetc_tx_bd {
|
||||
@@ -456,6 +476,7 @@ union enetc_tx_bd {
|
||||
#define ENETC_TXBD_FLAGS_CSUM BIT(3)
|
||||
#define ENETC_TXBD_FLAGS_EX BIT(6)
|
||||
#define ENETC_TXBD_FLAGS_F BIT(7)
|
||||
@@ -341,7 +341,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
|
||||
static inline void enetc_clear_tx_bd(union enetc_tx_bd *txbd)
|
||||
{
|
||||
@@ -479,6 +500,8 @@ static inline __le16 enetc_txbd_l3_csoff
|
||||
@@ -483,6 +504,8 @@ static inline __le16 enetc_txbd_l3_csoff
|
||||
#define ENETC_TXBD_L4_UDP BIT(5)
|
||||
#define ENETC_TXBD_L4_TCP BIT(6)
|
||||
|
||||
@@ -350,7 +350,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
union enetc_rx_bd {
|
||||
struct {
|
||||
__le64 addr;
|
||||
@@ -625,21 +648,307 @@ enum bdcr_cmd_class {
|
||||
@@ -629,21 +652,307 @@ enum bdcr_cmd_class {
|
||||
BDCR_CMD_RFS,
|
||||
BDCR_CMD_PORT_GCL,
|
||||
BDCR_CMD_RECV_CLASSIFIER,
|
||||
@@ -662,7 +662,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
/* gate control list entry */
|
||||
struct gce {
|
||||
__le32 period;
|
||||
@@ -656,13 +965,55 @@ struct tgs_gcl_data {
|
||||
@@ -660,13 +969,55 @@ struct tgs_gcl_data {
|
||||
struct gce entry[0];
|
||||
};
|
||||
|
||||
@@ -719,7 +719,7 @@ Signed-off-by: Po Liu <Po.Liu@nxp.com>
|
||||
};
|
||||
}; /* Long format */
|
||||
__le32 data[6];
|
||||
@@ -677,11 +1028,88 @@ struct enetc_cbd {
|
||||
@@ -681,11 +1032,88 @@ struct enetc_cbd {
|
||||
|
||||
#define ENETC_CLK 400000000ULL
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ Signed-off-by: Han Xu <han.xu@nxp.com>
|
||||
struct nxp_fspi {
|
||||
void __iomem *iobase;
|
||||
void __iomem *ahb_addr;
|
||||
@@ -1076,6 +1092,8 @@ static int nxp_fspi_resume(struct device
|
||||
@@ -1083,6 +1099,8 @@ static int nxp_fspi_resume(struct device
|
||||
|
||||
static const struct of_device_id nxp_fspi_dt_ids[] = {
|
||||
{ .compatible = "nxp,lx2160a-fspi", .data = (void *)&lx2160a_data, },
|
||||
|
||||
@@ -76,7 +76,7 @@ Signed-off-by: Han Xu <han.xu@nxp.com>
|
||||
} else {
|
||||
if (op->data.nbytes && op->data.dir == SPI_MEM_DATA_OUT)
|
||||
nxp_fspi_fill_txfifo(f, op);
|
||||
@@ -992,9 +1018,8 @@ static int nxp_fspi_probe(struct platfor
|
||||
@@ -999,9 +1025,8 @@ static int nxp_fspi_probe(struct platfor
|
||||
|
||||
/* find the resources - controller memory mapped space */
|
||||
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "fspi_mmap");
|
||||
@@ -88,7 +88,7 @@ Signed-off-by: Han Xu <han.xu@nxp.com>
|
||||
goto err_put_ctrl;
|
||||
}
|
||||
|
||||
@@ -1073,6 +1098,9 @@ static int nxp_fspi_remove(struct platfo
|
||||
@@ -1080,6 +1105,9 @@ static int nxp_fspi_remove(struct platfo
|
||||
|
||||
mutex_destroy(&f->lock);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ Signed-off-by: Li Jun <jun.li@nxp.com>
|
||||
|
||||
--- a/drivers/usb/host/xhci-hub.c
|
||||
+++ b/drivers/usb/host/xhci-hub.c
|
||||
@@ -1733,7 +1733,8 @@ static bool xhci_port_missing_cas_quirk(
|
||||
@@ -1737,7 +1737,8 @@ static bool xhci_port_missing_cas_quirk(
|
||||
return false;
|
||||
|
||||
if (((portsc & PORT_PLS_MASK) != XDEV_POLLING) &&
|
||||
|
||||
Reference in New Issue
Block a user