mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
kernel: bump 6.1 to 6.1.80 (#11934)
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.80 Manually rebased: rockchip/patches-6.1/102-net-phy-realtek-RTL8211-add-LED-configuration-from-OF.patch Build system: x86/64
This commit is contained in:
parent
ca1355ce87
commit
c33693071d
@ -1,2 +1,2 @@
|
|||||||
LINUX_VERSION-6.1 = .79
|
LINUX_VERSION-6.1 = .80
|
||||||
LINUX_KERNEL_HASH-6.1.79 = faa49ca22fb55ed4d5ca2a55e07dd10e4e171cfc3b92568a631453cd2068b39b
|
LINUX_KERNEL_HASH-6.1.80 = 568ecaaebb8b87c7c8246bba67bc83402972bf34f5811651a2d3cd548ff7b671
|
||||||
|
@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|||||||
|
|
||||||
--- a/drivers/tty/serial/amba-pl011.c
|
--- a/drivers/tty/serial/amba-pl011.c
|
||||||
+++ b/drivers/tty/serial/amba-pl011.c
|
+++ b/drivers/tty/serial/amba-pl011.c
|
||||||
@@ -1426,6 +1426,7 @@ static bool pl011_tx_char(struct uart_am
|
@@ -1456,6 +1456,7 @@ static bool pl011_tx_char(struct uart_am
|
||||||
return false; /* unable to transmit character */
|
return false; /* unable to transmit character */
|
||||||
|
|
||||||
pl011_write(c, uap, REG_DR);
|
pl011_write(c, uap, REG_DR);
|
||||||
|
@ -1185,7 +1185,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
}
|
}
|
||||||
--- a/drivers/usb/core/hub.c
|
--- a/drivers/usb/core/hub.c
|
||||||
+++ b/drivers/usb/core/hub.c
|
+++ b/drivers/usb/core/hub.c
|
||||||
@@ -5669,7 +5669,7 @@ static void port_event(struct usb_hub *h
|
@@ -5677,7 +5677,7 @@ static void port_event(struct usb_hub *h
|
||||||
port_dev->over_current_count++;
|
port_dev->over_current_count++;
|
||||||
port_over_current_notify(port_dev);
|
port_over_current_notify(port_dev);
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|||||||
static inline int mmc_blk_part_switch(struct mmc_card *card,
|
static inline int mmc_blk_part_switch(struct mmc_card *card,
|
||||||
unsigned int part_type);
|
unsigned int part_type);
|
||||||
static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq,
|
static void mmc_blk_rw_rq_prep(struct mmc_queue_req *mqrq,
|
||||||
@@ -3050,6 +3057,8 @@ static int mmc_blk_probe(struct mmc_card
|
@@ -3040,6 +3047,8 @@ static int mmc_blk_probe(struct mmc_card
|
||||||
{
|
{
|
||||||
struct mmc_blk_data *md;
|
struct mmc_blk_data *md;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
@ -275,7 +275,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check that the card supports the command class(es) we need.
|
* Check that the card supports the command class(es) we need.
|
||||||
@@ -3057,7 +3066,16 @@ static int mmc_blk_probe(struct mmc_card
|
@@ -3047,7 +3056,16 @@ static int mmc_blk_probe(struct mmc_card
|
||||||
if (!(card->csd.cmdclass & CCC_BLOCK_READ))
|
if (!(card->csd.cmdclass & CCC_BLOCK_READ))
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
@ -293,7 +293,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|||||||
|
|
||||||
card->complete_wq = alloc_workqueue("mmc_complete",
|
card->complete_wq = alloc_workqueue("mmc_complete",
|
||||||
WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
|
WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
|
||||||
@@ -3072,6 +3090,17 @@ static int mmc_blk_probe(struct mmc_card
|
@@ -3062,6 +3080,17 @@ static int mmc_blk_probe(struct mmc_card
|
||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ See: https://github.com/raspberrypi/linux/issues/1064
|
|||||||
+MODULE_LICENSE("GPL");
|
+MODULE_LICENSE("GPL");
|
||||||
--- a/include/linux/leds.h
|
--- a/include/linux/leds.h
|
||||||
+++ b/include/linux/leds.h
|
+++ b/include/linux/leds.h
|
||||||
@@ -95,6 +95,9 @@ struct led_classdev {
|
@@ -85,6 +85,9 @@ struct led_classdev {
|
||||||
#define LED_BRIGHT_HW_CHANGED BIT(21)
|
#define LED_BRIGHT_HW_CHANGED BIT(21)
|
||||||
#define LED_RETAIN_AT_SHUTDOWN BIT(22)
|
#define LED_RETAIN_AT_SHUTDOWN BIT(22)
|
||||||
#define LED_INIT_DEFAULT_TRIGGER BIT(23)
|
#define LED_INIT_DEFAULT_TRIGGER BIT(23)
|
||||||
|
@ -343,7 +343,7 @@ Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
|
|||||||
+...
|
+...
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -19283,6 +19283,14 @@ T: git git://linuxtv.org/media_tree.git
|
@@ -19280,6 +19280,14 @@ T: git git://linuxtv.org/media_tree.git
|
||||||
F: Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml
|
F: Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml
|
||||||
F: drivers/media/i2c/imx412.c
|
F: drivers/media/i2c/imx412.c
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|||||||
+...
|
+...
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -19291,6 +19291,14 @@ T: git git://linuxtv.org/media_tree.git
|
@@ -19288,6 +19288,14 @@ T: git git://linuxtv.org/media_tree.git
|
||||||
F: Documentation/devicetree/bindings/media/i2c/imx477.yaml
|
F: Documentation/devicetree/bindings/media/i2c/imx477.yaml
|
||||||
F: drivers/media/i2c/imx477.c
|
F: drivers/media/i2c/imx477.c
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
|
|||||||
+...
|
+...
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -19288,6 +19288,7 @@ M: Raspberry Pi Kernel Maintenance <kern
|
@@ -19285,6 +19285,7 @@ M: Raspberry Pi Kernel Maintenance <kern
|
||||||
L: linux-media@vger.kernel.org
|
L: linux-media@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
T: git git://linuxtv.org/media_tree.git
|
T: git git://linuxtv.org/media_tree.git
|
||||||
|
@ -80,7 +80,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*********************************
|
/*********************************
|
||||||
@@ -1496,7 +1512,6 @@ static int __init zswap_debugfs_init(voi
|
@@ -1498,7 +1514,6 @@ static int __init zswap_debugfs_init(voi
|
||||||
**********************************/
|
**********************************/
|
||||||
static int __init init_zswap(void)
|
static int __init init_zswap(void)
|
||||||
{
|
{
|
||||||
@ -88,7 +88,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
zswap_init_started = true;
|
zswap_init_started = true;
|
||||||
@@ -1520,33 +1535,23 @@ static int __init init_zswap(void)
|
@@ -1522,33 +1537,23 @@ static int __init init_zswap(void)
|
||||||
if (ret)
|
if (ret)
|
||||||
goto hp_fail;
|
goto hp_fail;
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
val = bcm_phy_read_shadow(phydev, BCM54XX_SHD_SCR3);
|
val = bcm_phy_read_shadow(phydev, BCM54XX_SHD_SCR3);
|
||||||
@@ -906,7 +907,7 @@ static struct phy_driver broadcom_driver
|
@@ -905,7 +906,7 @@ static struct phy_driver broadcom_driver
|
||||||
.link_change_notify = bcm54xx_link_change_notify,
|
.link_change_notify = bcm54xx_link_change_notify,
|
||||||
}, {
|
}, {
|
||||||
.phy_id = PHY_ID_BCM54210E,
|
.phy_id = PHY_ID_BCM54210E,
|
||||||
@ -35,7 +35,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
|
|||||||
.name = "Broadcom BCM54210E",
|
.name = "Broadcom BCM54210E",
|
||||||
/* PHY_GBIT_FEATURES */
|
/* PHY_GBIT_FEATURES */
|
||||||
.get_sset_count = bcm_phy_get_sset_count,
|
.get_sset_count = bcm_phy_get_sset_count,
|
||||||
@@ -920,6 +921,13 @@ static struct phy_driver broadcom_driver
|
@@ -919,6 +920,13 @@ static struct phy_driver broadcom_driver
|
||||||
.suspend = bcm54xx_suspend,
|
.suspend = bcm54xx_suspend,
|
||||||
.resume = bcm54xx_resume,
|
.resume = bcm54xx_resume,
|
||||||
}, {
|
}, {
|
||||||
@ -49,7 +49,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
|
|||||||
.phy_id = PHY_ID_BCM5461,
|
.phy_id = PHY_ID_BCM5461,
|
||||||
.phy_id_mask = 0xfffffff0,
|
.phy_id_mask = 0xfffffff0,
|
||||||
.name = "Broadcom BCM5461",
|
.name = "Broadcom BCM5461",
|
||||||
@@ -1156,7 +1164,8 @@ module_phy_driver(broadcom_drivers);
|
@@ -1155,7 +1163,8 @@ module_phy_driver(broadcom_drivers);
|
||||||
static struct mdio_device_id __maybe_unused broadcom_tbl[] = {
|
static struct mdio_device_id __maybe_unused broadcom_tbl[] = {
|
||||||
{ PHY_ID_BCM5411, 0xfffffff0 },
|
{ PHY_ID_BCM5411, 0xfffffff0 },
|
||||||
{ PHY_ID_BCM5421, 0xfffffff0 },
|
{ PHY_ID_BCM5421, 0xfffffff0 },
|
||||||
|
@ -16,7 +16,7 @@ Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
|
|||||||
|
|
||||||
--- a/drivers/net/phy/broadcom.c
|
--- a/drivers/net/phy/broadcom.c
|
||||||
+++ b/drivers/net/phy/broadcom.c
|
+++ b/drivers/net/phy/broadcom.c
|
||||||
@@ -933,8 +933,14 @@ static struct phy_driver broadcom_driver
|
@@ -932,8 +932,14 @@ static struct phy_driver broadcom_driver
|
||||||
.phy_id_mask = 0xffffffff,
|
.phy_id_mask = 0xffffffff,
|
||||||
.name = "Broadcom BCM54213PE",
|
.name = "Broadcom BCM54213PE",
|
||||||
/* PHY_GBIT_FEATURES */
|
/* PHY_GBIT_FEATURES */
|
||||||
|
@ -138,7 +138,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|||||||
+...
|
+...
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -19332,6 +19332,14 @@ T: git git://linuxtv.org/media_tree.git
|
@@ -19329,6 +19329,14 @@ T: git git://linuxtv.org/media_tree.git
|
||||||
F: Documentation/devicetree/bindings/media/i2c/imx519.yaml
|
F: Documentation/devicetree/bindings/media/i2c/imx519.yaml
|
||||||
F: drivers/media/i2c/imx519.c
|
F: drivers/media/i2c/imx519.c
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
|
|||||||
+...
|
+...
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -19274,6 +19274,14 @@ T: git git://linuxtv.org/media_tree.git
|
@@ -19271,6 +19271,14 @@ T: git git://linuxtv.org/media_tree.git
|
||||||
F: Documentation/devicetree/bindings/media/i2c/imx290.txt
|
F: Documentation/devicetree/bindings/media/i2c/imx290.txt
|
||||||
F: drivers/media/i2c/imx290.c
|
F: drivers/media/i2c/imx290.c
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
|
|||||||
|
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -19281,6 +19281,7 @@ L: linux-media@vger.kernel.org
|
@@ -19278,6 +19278,7 @@ L: linux-media@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
T: git git://linuxtv.org/media_tree.git
|
T: git git://linuxtv.org/media_tree.git
|
||||||
F: Documentation/devicetree/bindings/media/i2c/sony,imx296.yaml
|
F: Documentation/devicetree/bindings/media/i2c/sony,imx296.yaml
|
||||||
|
@ -219,7 +219,7 @@ Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
|
|||||||
+...
|
+...
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -19271,7 +19271,7 @@ M: Manivannan Sadhasivam <manivannan.sad
|
@@ -19268,7 +19268,7 @@ M: Manivannan Sadhasivam <manivannan.sad
|
||||||
L: linux-media@vger.kernel.org
|
L: linux-media@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
T: git git://linuxtv.org/media_tree.git
|
T: git git://linuxtv.org/media_tree.git
|
||||||
|
@ -271,7 +271,7 @@ Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
|
|||||||
+...
|
+...
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -19346,7 +19346,7 @@ M: Raspberry Pi Kernel Maintenance <kern
|
@@ -19343,7 +19343,7 @@ M: Raspberry Pi Kernel Maintenance <kern
|
||||||
L: linux-media@vger.kernel.org
|
L: linux-media@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
T: git git://linuxtv.org/media_tree.git
|
T: git git://linuxtv.org/media_tree.git
|
||||||
|
@ -96,7 +96,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int goodix_check_cfg_8(struct goodix_ts_data *ts, const u8 *cfg, int len)
|
static int goodix_check_cfg_8(struct goodix_ts_data *ts, const u8 *cfg, int len)
|
||||||
@@ -1425,6 +1478,11 @@ static void goodix_ts_remove(struct i2c_
|
@@ -1426,6 +1479,11 @@ static void goodix_ts_remove(struct i2c_
|
||||||
{
|
{
|
||||||
struct goodix_ts_data *ts = i2c_get_clientdata(client);
|
struct goodix_ts_data *ts = i2c_get_clientdata(client);
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|||||||
if (ts->load_cfg_from_disk)
|
if (ts->load_cfg_from_disk)
|
||||||
wait_for_completion(&ts->firmware_loading_complete);
|
wait_for_completion(&ts->firmware_loading_complete);
|
||||||
}
|
}
|
||||||
@@ -1440,7 +1498,7 @@ static int __maybe_unused goodix_suspend
|
@@ -1441,7 +1499,7 @@ static int __maybe_unused goodix_suspend
|
||||||
|
|
||||||
/* We need gpio pins to suspend/resume */
|
/* We need gpio pins to suspend/resume */
|
||||||
if (ts->irq_pin_access_method == IRQ_PIN_ACCESS_NONE) {
|
if (ts->irq_pin_access_method == IRQ_PIN_ACCESS_NONE) {
|
||||||
@ -117,7 +117,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1484,7 +1542,7 @@ static int __maybe_unused goodix_resume(
|
@@ -1485,7 +1543,7 @@ static int __maybe_unused goodix_resume(
|
||||||
int error;
|
int error;
|
||||||
|
|
||||||
if (ts->irq_pin_access_method == IRQ_PIN_ACCESS_NONE) {
|
if (ts->irq_pin_access_method == IRQ_PIN_ACCESS_NONE) {
|
||||||
|
@ -191,7 +191,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
static void macb_init_buffers(struct macb *bp)
|
static void macb_init_buffers(struct macb *bp)
|
||||||
{
|
{
|
||||||
struct macb_queue *queue;
|
struct macb_queue *queue;
|
||||||
@@ -914,6 +930,7 @@ static int macb_mii_init(struct macb *bp
|
@@ -915,6 +931,7 @@ static int macb_mii_init(struct macb *bp
|
||||||
bp->mii_bus->name = "MACB_mii_bus";
|
bp->mii_bus->name = "MACB_mii_bus";
|
||||||
bp->mii_bus->read = &macb_mdio_read;
|
bp->mii_bus->read = &macb_mdio_read;
|
||||||
bp->mii_bus->write = &macb_mdio_write;
|
bp->mii_bus->write = &macb_mdio_write;
|
||||||
@ -199,7 +199,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
snprintf(bp->mii_bus->id, MII_BUS_ID_SIZE, "%s-%x",
|
snprintf(bp->mii_bus->id, MII_BUS_ID_SIZE, "%s-%x",
|
||||||
bp->pdev->name, bp->pdev->id);
|
bp->pdev->name, bp->pdev->id);
|
||||||
bp->mii_bus->priv = bp;
|
bp->mii_bus->priv = bp;
|
||||||
@@ -1583,6 +1600,11 @@ static int macb_rx(struct macb_queue *qu
|
@@ -1584,6 +1601,11 @@ static int macb_rx(struct macb_queue *qu
|
||||||
|
|
||||||
macb_init_rx_ring(queue);
|
macb_init_rx_ring(queue);
|
||||||
queue_writel(queue, RBQP, queue->rx_ring_dma);
|
queue_writel(queue, RBQP, queue->rx_ring_dma);
|
||||||
@ -211,7 +211,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
|
|
||||||
macb_writel(bp, NCR, ctrl | MACB_BIT(RE));
|
macb_writel(bp, NCR, ctrl | MACB_BIT(RE));
|
||||||
|
|
||||||
@@ -1883,8 +1905,9 @@ static irqreturn_t macb_interrupt(int ir
|
@@ -1884,8 +1906,9 @@ static irqreturn_t macb_interrupt(int ir
|
||||||
queue_writel(queue, ISR, MACB_BIT(TCOMP) |
|
queue_writel(queue, ISR, MACB_BIT(TCOMP) |
|
||||||
MACB_BIT(TXUBR));
|
MACB_BIT(TXUBR));
|
||||||
|
|
||||||
@ -222,7 +222,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
wmb(); // ensure softirq can see update
|
wmb(); // ensure softirq can see update
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2331,6 +2354,11 @@ static netdev_tx_t macb_start_xmit(struc
|
@@ -2332,6 +2355,11 @@ static netdev_tx_t macb_start_xmit(struc
|
||||||
skb_tx_timestamp(skb);
|
skb_tx_timestamp(skb);
|
||||||
|
|
||||||
spin_lock_irq(&bp->lock);
|
spin_lock_irq(&bp->lock);
|
||||||
@ -234,7 +234,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TSTART));
|
macb_writel(bp, NCR, macb_readl(bp, NCR) | MACB_BIT(TSTART));
|
||||||
spin_unlock_irq(&bp->lock);
|
spin_unlock_irq(&bp->lock);
|
||||||
|
|
||||||
@@ -2698,6 +2726,37 @@ static void macb_configure_dma(struct ma
|
@@ -2699,6 +2727,37 @@ static void macb_configure_dma(struct ma
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -272,7 +272,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
static void macb_init_hw(struct macb *bp)
|
static void macb_init_hw(struct macb *bp)
|
||||||
{
|
{
|
||||||
u32 config;
|
u32 config;
|
||||||
@@ -2726,6 +2785,11 @@ static void macb_init_hw(struct macb *bp
|
@@ -2727,6 +2786,11 @@ static void macb_init_hw(struct macb *bp
|
||||||
if (bp->caps & MACB_CAPS_JUMBO)
|
if (bp->caps & MACB_CAPS_JUMBO)
|
||||||
bp->rx_frm_len_mask = MACB_RX_JFRMLEN_MASK;
|
bp->rx_frm_len_mask = MACB_RX_JFRMLEN_MASK;
|
||||||
|
|
||||||
@ -284,7 +284,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
macb_configure_dma(bp);
|
macb_configure_dma(bp);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3071,6 +3135,52 @@ static void gem_get_ethtool_strings(stru
|
@@ -3072,6 +3136,52 @@ static void gem_get_ethtool_strings(stru
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -337,7 +337,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
static struct net_device_stats *macb_get_stats(struct net_device *dev)
|
static struct net_device_stats *macb_get_stats(struct net_device *dev)
|
||||||
{
|
{
|
||||||
struct macb *bp = netdev_priv(dev);
|
struct macb *bp = netdev_priv(dev);
|
||||||
@@ -3663,6 +3773,8 @@ static const struct ethtool_ops macb_eth
|
@@ -3664,6 +3774,8 @@ static const struct ethtool_ops macb_eth
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct ethtool_ops gem_ethtool_ops = {
|
static const struct ethtool_ops gem_ethtool_ops = {
|
||||||
@ -346,7 +346,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
.get_regs_len = macb_get_regs_len,
|
.get_regs_len = macb_get_regs_len,
|
||||||
.get_regs = macb_get_regs,
|
.get_regs = macb_get_regs,
|
||||||
.get_wol = macb_get_wol,
|
.get_wol = macb_get_wol,
|
||||||
@@ -3672,6 +3784,8 @@ static const struct ethtool_ops gem_etht
|
@@ -3673,6 +3785,8 @@ static const struct ethtool_ops gem_etht
|
||||||
.get_ethtool_stats = gem_get_ethtool_stats,
|
.get_ethtool_stats = gem_get_ethtool_stats,
|
||||||
.get_strings = gem_get_ethtool_strings,
|
.get_strings = gem_get_ethtool_strings,
|
||||||
.get_sset_count = gem_get_sset_count,
|
.get_sset_count = gem_get_sset_count,
|
||||||
@ -355,7 +355,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
.get_link_ksettings = macb_get_link_ksettings,
|
.get_link_ksettings = macb_get_link_ksettings,
|
||||||
.set_link_ksettings = macb_set_link_ksettings,
|
.set_link_ksettings = macb_set_link_ksettings,
|
||||||
.get_ringparam = macb_get_ringparam,
|
.get_ringparam = macb_get_ringparam,
|
||||||
@@ -4939,6 +5053,10 @@ static int macb_probe(struct platform_de
|
@@ -4940,6 +5054,10 @@ static int macb_probe(struct platform_de
|
||||||
|
|
||||||
bp->usrio = macb_config->usrio;
|
bp->usrio = macb_config->usrio;
|
||||||
|
|
||||||
@ -366,7 +366,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
spin_lock_init(&bp->lock);
|
spin_lock_init(&bp->lock);
|
||||||
|
|
||||||
/* setup capabilities */
|
/* setup capabilities */
|
||||||
@@ -4994,6 +5112,21 @@ static int macb_probe(struct platform_de
|
@@ -4995,6 +5113,21 @@ static int macb_probe(struct platform_de
|
||||||
else
|
else
|
||||||
bp->phy_interface = interface;
|
bp->phy_interface = interface;
|
||||||
|
|
||||||
@ -388,7 +388,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
/* IP specific init */
|
/* IP specific init */
|
||||||
err = init(pdev);
|
err = init(pdev);
|
||||||
if (err)
|
if (err)
|
||||||
@@ -5070,6 +5203,19 @@ static int macb_remove(struct platform_d
|
@@ -5071,6 +5204,19 @@ static int macb_remove(struct platform_d
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -408,7 +408,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|||||||
static int __maybe_unused macb_suspend(struct device *dev)
|
static int __maybe_unused macb_suspend(struct device *dev)
|
||||||
{
|
{
|
||||||
struct net_device *netdev = dev_get_drvdata(dev);
|
struct net_device *netdev = dev_get_drvdata(dev);
|
||||||
@@ -5284,6 +5430,7 @@ static const struct dev_pm_ops macb_pm_o
|
@@ -5285,6 +5431,7 @@ static const struct dev_pm_ops macb_pm_o
|
||||||
static struct platform_driver macb_driver = {
|
static struct platform_driver macb_driver = {
|
||||||
.probe = macb_probe,
|
.probe = macb_probe,
|
||||||
.remove = macb_remove,
|
.remove = macb_remove,
|
||||||
|
@ -52,7 +52,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
|
|||||||
/* L2 intc private data structure */
|
/* L2 intc private data structure */
|
||||||
struct brcmstb_l2_intc_data {
|
struct brcmstb_l2_intc_data {
|
||||||
struct irq_domain *domain;
|
struct irq_domain *domain;
|
||||||
@@ -286,11 +296,18 @@ static int __init brcmstb_l2_lvl_intc_of
|
@@ -289,11 +299,18 @@ static int __init brcmstb_l2_lvl_intc_of
|
||||||
return brcmstb_l2_intc_of_init(np, parent, &l2_lvl_intc_init);
|
return brcmstb_l2_intc_of_init(np, parent, &l2_lvl_intc_init);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|||||||
|
|
||||||
--- a/drivers/input/touchscreen/goodix.c
|
--- a/drivers/input/touchscreen/goodix.c
|
||||||
+++ b/drivers/input/touchscreen/goodix.c
|
+++ b/drivers/input/touchscreen/goodix.c
|
||||||
@@ -1211,7 +1211,10 @@ static int goodix_configure_dev(struct g
|
@@ -1212,7 +1212,10 @@ static int goodix_configure_dev(struct g
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|||||||
+...
|
+...
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -17897,6 +17897,13 @@ S: Maintained
|
@@ -17894,6 +17894,13 @@ S: Maintained
|
||||||
F: Documentation/devicetree/bindings/iio/light/bh1750.yaml
|
F: Documentation/devicetree/bindings/iio/light/bh1750.yaml
|
||||||
F: drivers/iio/light/bh1750.c
|
F: drivers/iio/light/bh1750.c
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|||||||
|
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -15323,6 +15323,14 @@ S: Maintained
|
@@ -15320,6 +15320,14 @@ S: Maintained
|
||||||
T: git git://linuxtv.org/media_tree.git
|
T: git git://linuxtv.org/media_tree.git
|
||||||
F: drivers/media/i2c/ov5695.c
|
F: drivers/media/i2c/ov5695.c
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ Signed-off-by: T.J. Mercier <tjmercier@google.com>
|
|||||||
mark_page_accessed(page);
|
mark_page_accessed(page);
|
||||||
}
|
}
|
||||||
rss[mm_counter(page)]--;
|
rss[mm_counter(page)]--;
|
||||||
@@ -5199,8 +5198,8 @@ static inline void mm_account_fault(stru
|
@@ -5219,8 +5218,8 @@ static inline void mm_account_fault(stru
|
||||||
#ifdef CONFIG_LRU_GEN
|
#ifdef CONFIG_LRU_GEN
|
||||||
static void lru_gen_enter_fault(struct vm_area_struct *vma)
|
static void lru_gen_enter_fault(struct vm_area_struct *vma)
|
||||||
{
|
{
|
||||||
|
@ -768,7 +768,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
#include <net/netfilter/nf_flow_table.h>
|
#include <net/netfilter/nf_flow_table.h>
|
||||||
#include <net/netfilter/nf_conntrack.h>
|
#include <net/netfilter/nf_conntrack.h>
|
||||||
#include <net/netfilter/nf_conntrack_core.h>
|
#include <net/netfilter/nf_conntrack_core.h>
|
||||||
@@ -381,8 +380,7 @@ flow_offload_lookup(struct nf_flowtable
|
@@ -374,8 +373,7 @@ flow_offload_lookup(struct nf_flowtable
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(flow_offload_lookup);
|
EXPORT_SYMBOL_GPL(flow_offload_lookup);
|
||||||
|
|
||||||
@ -778,7 +778,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
void (*iter)(struct nf_flowtable *flowtable,
|
void (*iter)(struct nf_flowtable *flowtable,
|
||||||
struct flow_offload *flow, void *data),
|
struct flow_offload *flow, void *data),
|
||||||
void *data)
|
void *data)
|
||||||
@@ -443,6 +441,7 @@ static void nf_flow_offload_gc_step(stru
|
@@ -436,6 +434,7 @@ static void nf_flow_offload_gc_step(stru
|
||||||
nf_flow_offload_stats(flow_table, flow);
|
nf_flow_offload_stats(flow_table, flow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|||||||
|
|
||||||
--- a/net/netfilter/nf_flow_table_core.c
|
--- a/net/netfilter/nf_flow_table_core.c
|
||||||
+++ b/net/netfilter/nf_flow_table_core.c
|
+++ b/net/netfilter/nf_flow_table_core.c
|
||||||
@@ -666,6 +666,23 @@ static struct pernet_operations nf_flow_
|
@@ -659,6 +659,23 @@ static struct pernet_operations nf_flow_
|
||||||
.exit_batch = nf_flow_table_pernet_exit,
|
.exit_batch = nf_flow_table_pernet_exit,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|||||||
static int __init nf_flow_table_module_init(void)
|
static int __init nf_flow_table_module_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
@@ -678,8 +695,14 @@ static int __init nf_flow_table_module_i
|
@@ -671,8 +688,14 @@ static int __init nf_flow_table_module_i
|
||||||
if (ret)
|
if (ret)
|
||||||
goto out_offload;
|
goto out_offload;
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|||||||
out_offload:
|
out_offload:
|
||||||
unregister_pernet_subsys(&nf_flow_table_net_ops);
|
unregister_pernet_subsys(&nf_flow_table_net_ops);
|
||||||
return ret;
|
return ret;
|
||||||
@@ -687,6 +710,7 @@ out_offload:
|
@@ -680,6 +703,7 @@ out_offload:
|
||||||
|
|
||||||
static void __exit nf_flow_table_module_exit(void)
|
static void __exit nf_flow_table_module_exit(void)
|
||||||
{
|
{
|
||||||
@ -59,7 +59,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|||||||
}
|
}
|
||||||
--- a/net/netfilter/nft_flow_offload.c
|
--- a/net/netfilter/nft_flow_offload.c
|
||||||
+++ b/net/netfilter/nft_flow_offload.c
|
+++ b/net/netfilter/nft_flow_offload.c
|
||||||
@@ -475,47 +475,14 @@ static struct nft_expr_type nft_flow_off
|
@@ -479,47 +479,14 @@ static struct nft_expr_type nft_flow_off
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
|
|||||||
#define RTL8366RB_POWER_SAVE 0x15
|
#define RTL8366RB_POWER_SAVE 0x15
|
||||||
#define RTL8366RB_POWER_SAVE_ON BIT(12)
|
#define RTL8366RB_POWER_SAVE_ON BIT(12)
|
||||||
|
|
||||||
@@ -849,6 +858,48 @@ static irqreturn_t rtl9000a_handle_inter
|
@@ -851,6 +860,48 @@ static irqreturn_t rtl9000a_handle_inter
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
|
|||||||
static struct phy_driver realtek_drvs[] = {
|
static struct phy_driver realtek_drvs[] = {
|
||||||
{
|
{
|
||||||
PHY_ID_MATCH_EXACT(0x00008201),
|
PHY_ID_MATCH_EXACT(0x00008201),
|
||||||
@@ -1001,6 +1052,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1003,6 +1054,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
PHY_ID_MATCH_EXACT(0x001cc849),
|
PHY_ID_MATCH_EXACT(0x001cc849),
|
||||||
.name = "RTL8221B-VB-CG 2.5Gbps PHY",
|
.name = "RTL8221B-VB-CG 2.5Gbps PHY",
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
@ -96,7 +96,7 @@ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
|
|||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
.read_status = rtl822x_read_status,
|
.read_status = rtl822x_read_status,
|
||||||
.suspend = genphy_suspend,
|
.suspend = genphy_suspend,
|
||||||
@@ -1012,6 +1064,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1014,6 +1066,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.name = "RTL8221B-VM-CG 2.5Gbps PHY",
|
.name = "RTL8221B-VM-CG 2.5Gbps PHY",
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/phy/realtek.c
|
--- a/drivers/net/phy/realtek.c
|
||||||
+++ b/drivers/net/phy/realtek.c
|
+++ b/drivers/net/phy/realtek.c
|
||||||
@@ -684,6 +684,25 @@ static int rtl822x_config_aneg(struct ph
|
@@ -686,6 +686,25 @@ static int rtl822x_config_aneg(struct ph
|
||||||
return __genphy_config_aneg(phydev, ret);
|
return __genphy_config_aneg(phydev, ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -26,7 +26,7 @@
|
|||||||
static int rtl822x_read_status(struct phy_device *phydev)
|
static int rtl822x_read_status(struct phy_device *phydev)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
@@ -702,11 +721,14 @@ static int rtl822x_read_status(struct ph
|
@@ -704,11 +723,14 @@ static int rtl822x_read_status(struct ph
|
||||||
phydev->lp_advertising, lpadv & RTL_LPADV_2500FULL);
|
phydev->lp_advertising, lpadv & RTL_LPADV_2500FULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
|
|
||||||
--- a/drivers/net/phy/realtek.c
|
--- a/drivers/net/phy/realtek.c
|
||||||
+++ b/drivers/net/phy/realtek.c
|
+++ b/drivers/net/phy/realtek.c
|
||||||
@@ -1038,6 +1038,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1040,6 +1040,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.write_page = rtl821x_write_page,
|
.write_page = rtl821x_write_page,
|
||||||
.read_mmd = rtl822x_read_mmd,
|
.read_mmd = rtl822x_read_mmd,
|
||||||
.write_mmd = rtl822x_write_mmd,
|
.write_mmd = rtl822x_write_mmd,
|
||||||
@ -23,7 +23,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
}, {
|
}, {
|
||||||
PHY_ID_MATCH_EXACT(0x001cc840),
|
PHY_ID_MATCH_EXACT(0x001cc840),
|
||||||
.name = "RTL8226B_RTL8221B 2.5Gbps PHY",
|
.name = "RTL8226B_RTL8221B 2.5Gbps PHY",
|
||||||
@@ -1050,6 +1051,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1052,6 +1053,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.write_page = rtl821x_write_page,
|
.write_page = rtl821x_write_page,
|
||||||
.read_mmd = rtl822x_read_mmd,
|
.read_mmd = rtl822x_read_mmd,
|
||||||
.write_mmd = rtl822x_write_mmd,
|
.write_mmd = rtl822x_write_mmd,
|
||||||
@ -31,7 +31,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
}, {
|
}, {
|
||||||
PHY_ID_MATCH_EXACT(0x001cc838),
|
PHY_ID_MATCH_EXACT(0x001cc838),
|
||||||
.name = "RTL8226-CG 2.5Gbps PHY",
|
.name = "RTL8226-CG 2.5Gbps PHY",
|
||||||
@@ -1060,6 +1062,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1062,6 +1064,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
.read_page = rtl821x_read_page,
|
.read_page = rtl821x_read_page,
|
||||||
.write_page = rtl821x_write_page,
|
.write_page = rtl821x_write_page,
|
||||||
@ -39,7 +39,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
}, {
|
}, {
|
||||||
PHY_ID_MATCH_EXACT(0x001cc848),
|
PHY_ID_MATCH_EXACT(0x001cc848),
|
||||||
.name = "RTL8226B-CG_RTL8221B-CG 2.5Gbps PHY",
|
.name = "RTL8226B-CG_RTL8221B-CG 2.5Gbps PHY",
|
||||||
@@ -1070,6 +1073,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1072,6 +1075,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
.read_page = rtl821x_read_page,
|
.read_page = rtl821x_read_page,
|
||||||
.write_page = rtl821x_write_page,
|
.write_page = rtl821x_write_page,
|
||||||
@ -47,7 +47,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
}, {
|
}, {
|
||||||
PHY_ID_MATCH_EXACT(0x001cc849),
|
PHY_ID_MATCH_EXACT(0x001cc849),
|
||||||
.name = "RTL8221B-VB-CG 2.5Gbps PHY",
|
.name = "RTL8221B-VB-CG 2.5Gbps PHY",
|
||||||
@@ -1081,6 +1085,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1083,6 +1087,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
.read_page = rtl821x_read_page,
|
.read_page = rtl821x_read_page,
|
||||||
.write_page = rtl821x_write_page,
|
.write_page = rtl821x_write_page,
|
||||||
@ -55,7 +55,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
}, {
|
}, {
|
||||||
PHY_ID_MATCH_EXACT(0x001cc84a),
|
PHY_ID_MATCH_EXACT(0x001cc84a),
|
||||||
.name = "RTL8221B-VM-CG 2.5Gbps PHY",
|
.name = "RTL8221B-VM-CG 2.5Gbps PHY",
|
||||||
@@ -1092,6 +1097,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1094,6 +1099,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
.read_page = rtl821x_read_page,
|
.read_page = rtl821x_read_page,
|
||||||
.write_page = rtl821x_write_page,
|
.write_page = rtl821x_write_page,
|
||||||
|
@ -18,7 +18,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
|
|
||||||
--- a/drivers/net/phy/realtek.c
|
--- a/drivers/net/phy/realtek.c
|
||||||
+++ b/drivers/net/phy/realtek.c
|
+++ b/drivers/net/phy/realtek.c
|
||||||
@@ -883,6 +883,7 @@ static irqreturn_t rtl9000a_handle_inter
|
@@ -885,6 +885,7 @@ static irqreturn_t rtl9000a_handle_inter
|
||||||
static int rtl8221b_config_init(struct phy_device *phydev)
|
static int rtl8221b_config_init(struct phy_device *phydev)
|
||||||
{
|
{
|
||||||
u16 option_mode;
|
u16 option_mode;
|
||||||
@ -26,7 +26,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
|
|
||||||
switch (phydev->interface) {
|
switch (phydev->interface) {
|
||||||
case PHY_INTERFACE_MODE_2500BASEX:
|
case PHY_INTERFACE_MODE_2500BASEX:
|
||||||
@@ -919,6 +920,13 @@ static int rtl8221b_config_init(struct p
|
@@ -921,6 +922,13 @@ static int rtl8221b_config_init(struct p
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
|
|
||||||
--- a/drivers/net/phy/realtek.c
|
--- a/drivers/net/phy/realtek.c
|
||||||
+++ b/drivers/net/phy/realtek.c
|
+++ b/drivers/net/phy/realtek.c
|
||||||
@@ -735,9 +735,11 @@ static bool rtlgen_supports_2_5gbps(stru
|
@@ -737,9 +737,11 @@ static bool rtlgen_supports_2_5gbps(stru
|
||||||
{
|
{
|
||||||
int val;
|
int val;
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
|
|
||||||
#define RTL9000A_GINMR 0x14
|
#define RTL9000A_GINMR 0x14
|
||||||
#define RTL9000A_GINMR_LINK_STATUS BIT(4)
|
#define RTL9000A_GINMR_LINK_STATUS BIT(4)
|
||||||
@@ -669,14 +665,11 @@ static int rtl822x_config_aneg(struct ph
|
@@ -671,14 +667,11 @@ static int rtl822x_config_aneg(struct ph
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
if (phydev->autoneg == AUTONEG_ENABLE) {
|
if (phydev->autoneg == AUTONEG_ENABLE) {
|
||||||
@ -44,7 +44,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@@ -713,12 +706,7 @@ static int rtl822x_read_status(struct ph
|
@@ -715,12 +708,7 @@ static int rtl822x_read_status(struct ph
|
||||||
if (lpadv < 0)
|
if (lpadv < 0)
|
||||||
return lpadv;
|
return lpadv;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
|
|
||||||
--- a/drivers/net/phy/realtek.c
|
--- a/drivers/net/phy/realtek.c
|
||||||
+++ b/drivers/net/phy/realtek.c
|
+++ b/drivers/net/phy/realtek.c
|
||||||
@@ -706,6 +706,10 @@ static int rtl822x_read_status(struct ph
|
@@ -708,6 +708,10 @@ static int rtl822x_read_status(struct ph
|
||||||
if (lpadv < 0)
|
if (lpadv < 0)
|
||||||
return lpadv;
|
return lpadv;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
#define RTL8366RB_POWER_SAVE 0x15
|
#define RTL8366RB_POWER_SAVE 0x15
|
||||||
#define RTL8366RB_POWER_SAVE_ON BIT(12)
|
#define RTL8366RB_POWER_SAVE_ON BIT(12)
|
||||||
|
|
||||||
@@ -748,6 +752,25 @@ static int rtl8226_match_phy_device(stru
|
@@ -750,6 +754,25 @@ static int rtl8226_match_phy_device(stru
|
||||||
rtlgen_supports_2_5gbps(phydev);
|
rtlgen_supports_2_5gbps(phydev);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
static int rtlgen_resume(struct phy_device *phydev)
|
static int rtlgen_resume(struct phy_device *phydev)
|
||||||
{
|
{
|
||||||
int ret = genphy_resume(phydev);
|
int ret = genphy_resume(phydev);
|
||||||
@@ -1033,6 +1056,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1035,6 +1058,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.match_phy_device = rtl8226_match_phy_device,
|
.match_phy_device = rtl8226_match_phy_device,
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
@ -58,7 +58,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
.read_status = rtl822x_read_status,
|
.read_status = rtl822x_read_status,
|
||||||
.suspend = genphy_suspend,
|
.suspend = genphy_suspend,
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
@@ -1046,6 +1070,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1048,6 +1072,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.name = "RTL8226B_RTL8221B 2.5Gbps PHY",
|
.name = "RTL8226B_RTL8221B 2.5Gbps PHY",
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
@ -66,7 +66,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
.read_status = rtl822x_read_status,
|
.read_status = rtl822x_read_status,
|
||||||
.suspend = genphy_suspend,
|
.suspend = genphy_suspend,
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
@@ -1059,6 +1084,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1061,6 +1086,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.name = "RTL8226-CG 2.5Gbps PHY",
|
.name = "RTL8226-CG 2.5Gbps PHY",
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
@ -74,7 +74,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
.read_status = rtl822x_read_status,
|
.read_status = rtl822x_read_status,
|
||||||
.suspend = genphy_suspend,
|
.suspend = genphy_suspend,
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
@@ -1070,6 +1096,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1072,6 +1098,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.name = "RTL8226B-CG_RTL8221B-CG 2.5Gbps PHY",
|
.name = "RTL8226B-CG_RTL8221B-CG 2.5Gbps PHY",
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
@ -82,7 +82,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
.read_status = rtl822x_read_status,
|
.read_status = rtl822x_read_status,
|
||||||
.suspend = genphy_suspend,
|
.suspend = genphy_suspend,
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
@@ -1082,6 +1109,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1084,6 +1111,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
.config_init = rtl8221b_config_init,
|
.config_init = rtl8221b_config_init,
|
||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
@ -90,7 +90,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
.read_status = rtl822x_read_status,
|
.read_status = rtl822x_read_status,
|
||||||
.suspend = genphy_suspend,
|
.suspend = genphy_suspend,
|
||||||
.resume = rtlgen_resume,
|
.resume = rtlgen_resume,
|
||||||
@@ -1094,6 +1122,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1096,6 +1124,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
.config_init = rtl8221b_config_init,
|
.config_init = rtl8221b_config_init,
|
||||||
|
@ -13,7 +13,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
|
|
||||||
--- a/drivers/net/phy/realtek.c
|
--- a/drivers/net/phy/realtek.c
|
||||||
+++ b/drivers/net/phy/realtek.c
|
+++ b/drivers/net/phy/realtek.c
|
||||||
@@ -752,6 +752,38 @@ static int rtl8226_match_phy_device(stru
|
@@ -754,6 +754,38 @@ static int rtl8226_match_phy_device(stru
|
||||||
rtlgen_supports_2_5gbps(phydev);
|
rtlgen_supports_2_5gbps(phydev);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
static int rtl822x_probe(struct phy_device *phydev)
|
static int rtl822x_probe(struct phy_device *phydev)
|
||||||
{
|
{
|
||||||
struct device *dev = &phydev->mdio.dev;
|
struct device *dev = &phydev->mdio.dev;
|
||||||
@@ -1104,7 +1136,7 @@ static struct phy_driver realtek_drvs[]
|
@@ -1106,7 +1138,7 @@ static struct phy_driver realtek_drvs[]
|
||||||
.write_page = rtl821x_write_page,
|
.write_page = rtl821x_write_page,
|
||||||
.soft_reset = genphy_soft_reset,
|
.soft_reset = genphy_soft_reset,
|
||||||
}, {
|
}, {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/phy/realtek.c
|
--- a/drivers/net/phy/realtek.c
|
||||||
+++ b/drivers/net/phy/realtek.c
|
+++ b/drivers/net/phy/realtek.c
|
||||||
@@ -979,6 +979,51 @@ static int rtl8221b_config_init(struct p
|
@@ -981,6 +981,51 @@ static int rtl8221b_config_init(struct p
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,7 +52,7 @@
|
|||||||
static struct phy_driver realtek_drvs[] = {
|
static struct phy_driver realtek_drvs[] = {
|
||||||
{
|
{
|
||||||
PHY_ID_MATCH_EXACT(0x00008201),
|
PHY_ID_MATCH_EXACT(0x00008201),
|
||||||
@@ -1141,6 +1186,8 @@ static struct phy_driver realtek_drvs[]
|
@@ -1143,6 +1188,8 @@ static struct phy_driver realtek_drvs[]
|
||||||
.get_features = rtl822x_get_features,
|
.get_features = rtl822x_get_features,
|
||||||
.config_init = rtl8221b_config_init,
|
.config_init = rtl8221b_config_init,
|
||||||
.config_aneg = rtl822x_config_aneg,
|
.config_aneg = rtl822x_config_aneg,
|
||||||
|
@ -65,7 +65,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
/**
|
/**
|
||||||
* ata_build_rw_tf - Build ATA taskfile for given read/write request
|
* ata_build_rw_tf - Build ATA taskfile for given read/write request
|
||||||
* @qc: Metadata associated with the taskfile to build
|
* @qc: Metadata associated with the taskfile to build
|
||||||
@@ -4712,6 +4725,9 @@ void __ata_qc_complete(struct ata_queued
|
@@ -4716,6 +4729,9 @@ void __ata_qc_complete(struct ata_queued
|
||||||
link->active_tag = ATA_TAG_POISON;
|
link->active_tag = ATA_TAG_POISON;
|
||||||
ap->nr_active_links--;
|
ap->nr_active_links--;
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
|
|
||||||
/* clear exclusive status */
|
/* clear exclusive status */
|
||||||
if (unlikely(qc->flags & ATA_QCFLAG_CLEAR_EXCL &&
|
if (unlikely(qc->flags & ATA_QCFLAG_CLEAR_EXCL &&
|
||||||
@@ -5434,6 +5450,9 @@ struct ata_port *ata_port_alloc(struct a
|
@@ -5438,6 +5454,9 @@ struct ata_port *ata_port_alloc(struct a
|
||||||
ap->stats.unhandled_irq = 1;
|
ap->stats.unhandled_irq = 1;
|
||||||
ap->stats.idle_irq = 1;
|
ap->stats.idle_irq = 1;
|
||||||
#endif
|
#endif
|
||||||
@ -85,7 +85,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
ata_sff_port_init(ap);
|
ata_sff_port_init(ap);
|
||||||
|
|
||||||
return ap;
|
return ap;
|
||||||
@@ -5469,6 +5488,12 @@ static void ata_host_release(struct kref
|
@@ -5473,6 +5492,12 @@ static void ata_host_release(struct kref
|
||||||
|
|
||||||
kfree(ap->pmp_link);
|
kfree(ap->pmp_link);
|
||||||
kfree(ap->slave_link);
|
kfree(ap->slave_link);
|
||||||
@ -98,7 +98,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
kfree(ap);
|
kfree(ap);
|
||||||
host->ports[i] = NULL;
|
host->ports[i] = NULL;
|
||||||
}
|
}
|
||||||
@@ -5871,7 +5896,23 @@ int ata_host_register(struct ata_host *h
|
@@ -5875,7 +5900,23 @@ int ata_host_register(struct ata_host *h
|
||||||
host->ports[i]->print_id = atomic_inc_return(&ata_print_id);
|
host->ports[i]->print_id = atomic_inc_return(&ata_print_id);
|
||||||
host->ports[i]->local_port_no = i + 1;
|
host->ports[i]->local_port_no = i + 1;
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,8 @@ Subject: [PATCH] net: phy: realtek: add LED configuration from OF for 8211f
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = phy_modify_paged_changed(phydev, 0xa43, RTL8211F_PHYCR1,
|
ret = phy_modify_paged_changed(phydev, 0xa43, RTL8211F_PHYCR1,
|
||||||
@@ -425,6 +428,15 @@ static int rtl8211f_config_init(struct p
|
@@ -427,6 +430,15 @@ static int rtl8211f_config_init(struct p
|
||||||
}
|
return genphy_soft_reset(phydev);
|
||||||
}
|
}
|
||||||
|
|
||||||
+ ret = of_property_read_u32(dev->of_node,
|
+ ret = of_property_read_u32(dev->of_node,
|
||||||
@ -39,6 +39,6 @@ Subject: [PATCH] net: phy: realtek: add LED configuration from OF for 8211f
|
|||||||
+ phy_write(phydev, RTL821x_PAGE_SELECT, 0x0);
|
+ phy_write(phydev, RTL821x_PAGE_SELECT, 0x0);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
return genphy_soft_reset(phydev);
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user