stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev,
	"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>,
	Horatiu Vultur <horatiu.vultur@microchip.com>,
	Paolo Abeni <pabeni@redhat.com>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.17 050/247] net: phy: micrel: Introduce lanphy_modify_page_reg
Date: Fri, 21 Nov 2025 14:09:57 +0100	[thread overview]
Message-ID: <20251121130156.399738892@linuxfoundation.org> (raw)
In-Reply-To: <20251121130154.587656062@linuxfoundation.org>

6.17-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Horatiu Vultur <horatiu.vultur@microchip.com>

[ Upstream commit a0de636ed7a264a329c6a9c7d50727af02138536 ]

As the name suggests this function modifies the register in an
extended page. It has the same parameters as phy_modify_mmd.
This function was introduce because there are many places in the
code where the registers was read then the value was modified and
written back. So replace all this code with this function to make
it clear.

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://patch.msgid.link/20250818075121.1298170-3-horatiu.vultur@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Stable-dep-of: 96a9178a29a6 ("net: phy: micrel: lan8814 fix reset of the QSGMII interface")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/net/phy/micrel.c | 231 ++++++++++++++++++++-------------------
 1 file changed, 116 insertions(+), 115 deletions(-)

diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 99f8374fd32a7..0efc5adbf789d 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -2840,6 +2840,27 @@ static int lanphy_write_page_reg(struct phy_device *phydev, int page, u16 addr,
 	return val;
 }
 
+static int lanphy_modify_page_reg(struct phy_device *phydev, int page, u16 addr,
+				  u16 mask, u16 set)
+{
+	int ret;
+
+	phy_lock_mdio_bus(phydev);
+	__phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL, page);
+	__phy_write(phydev, LAN_EXT_PAGE_ACCESS_ADDRESS_DATA, addr);
+	__phy_write(phydev, LAN_EXT_PAGE_ACCESS_CONTROL,
+		    (page | LAN_EXT_PAGE_ACCESS_CTRL_EP_FUNC));
+	ret = __phy_modify_changed(phydev, LAN_EXT_PAGE_ACCESS_ADDRESS_DATA,
+				   mask, set);
+	phy_unlock_mdio_bus(phydev);
+
+	if (ret < 0)
+		phydev_err(phydev, "__phy_modify_changed() failed: %pe\n",
+			   ERR_PTR(ret));
+
+	return ret;
+}
+
 static int lan8814_config_ts_intr(struct phy_device *phydev, bool enable)
 {
 	u16 val = 0;
@@ -2928,7 +2949,6 @@ static int lan8814_hwtstamp(struct mii_timestamper *mii_ts,
 	struct lan8814_ptp_rx_ts *rx_ts, *tmp;
 	int txcfg = 0, rxcfg = 0;
 	int pkt_ts_enable;
-	int tx_mod;
 
 	ptp_priv->hwts_tx_type = config->tx_type;
 	ptp_priv->rx_filter = config->rx_filter;
@@ -2975,13 +2995,14 @@ static int lan8814_hwtstamp(struct mii_timestamper *mii_ts,
 	lanphy_write_page_reg(ptp_priv->phydev, 5, PTP_RX_TIMESTAMP_EN, pkt_ts_enable);
 	lanphy_write_page_reg(ptp_priv->phydev, 5, PTP_TX_TIMESTAMP_EN, pkt_ts_enable);
 
-	tx_mod = lanphy_read_page_reg(ptp_priv->phydev, 5, PTP_TX_MOD);
 	if (ptp_priv->hwts_tx_type == HWTSTAMP_TX_ONESTEP_SYNC) {
-		lanphy_write_page_reg(ptp_priv->phydev, 5, PTP_TX_MOD,
-				      tx_mod | PTP_TX_MOD_TX_PTP_SYNC_TS_INSERT_);
+		lanphy_modify_page_reg(ptp_priv->phydev, 5, PTP_TX_MOD,
+				       PTP_TX_MOD_TX_PTP_SYNC_TS_INSERT_,
+				       PTP_TX_MOD_TX_PTP_SYNC_TS_INSERT_);
 	} else if (ptp_priv->hwts_tx_type == HWTSTAMP_TX_ON) {
-		lanphy_write_page_reg(ptp_priv->phydev, 5, PTP_TX_MOD,
-				      tx_mod & ~PTP_TX_MOD_TX_PTP_SYNC_TS_INSERT_);
+		lanphy_modify_page_reg(ptp_priv->phydev, 5, PTP_TX_MOD,
+				       PTP_TX_MOD_TX_PTP_SYNC_TS_INSERT_,
+				       0);
 	}
 
 	if (config->rx_filter != HWTSTAMP_FILTER_NONE)
@@ -3384,73 +3405,66 @@ static void lan8814_ptp_set_reload(struct phy_device *phydev, int event,
 static void lan8814_ptp_enable_event(struct phy_device *phydev, int event,
 				     int pulse_width)
 {
-	u16 val;
-
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_PTP_GENERAL_CONFIG);
-	/* Set the pulse width of the event */
-	val &= ~(LAN8814_PTP_GENERAL_CONFIG_LTC_EVENT_MASK(event));
-	/* Make sure that the target clock will be incremented each time when
+	/* Set the pulse width of the event,
+	 * Make sure that the target clock will be incremented each time when
 	 * local time reaches or pass it
+	 * Set the polarity high
 	 */
-	val |= LAN8814_PTP_GENERAL_CONFIG_LTC_EVENT_SET(event, pulse_width);
-	val &= ~(LAN8814_PTP_GENERAL_CONFIG_RELOAD_ADD_X(event));
-	/* Set the polarity high */
-	val |= LAN8814_PTP_GENERAL_CONFIG_POLARITY_X(event);
-	lanphy_write_page_reg(phydev, 4, LAN8814_PTP_GENERAL_CONFIG, val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_PTP_GENERAL_CONFIG,
+			       LAN8814_PTP_GENERAL_CONFIG_LTC_EVENT_MASK(event) |
+			       LAN8814_PTP_GENERAL_CONFIG_LTC_EVENT_SET(event, pulse_width) |
+			       LAN8814_PTP_GENERAL_CONFIG_RELOAD_ADD_X(event) |
+			       LAN8814_PTP_GENERAL_CONFIG_POLARITY_X(event),
+			       LAN8814_PTP_GENERAL_CONFIG_LTC_EVENT_SET(event, pulse_width) |
+			       LAN8814_PTP_GENERAL_CONFIG_POLARITY_X(event));
 }
 
 static void lan8814_ptp_disable_event(struct phy_device *phydev, int event)
 {
-	u16 val;
-
 	/* Set target to too far in the future, effectively disabling it */
 	lan8814_ptp_set_target(phydev, event, 0xFFFFFFFF, 0);
 
 	/* And then reload once it recheas the target */
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_PTP_GENERAL_CONFIG);
-	val |= LAN8814_PTP_GENERAL_CONFIG_RELOAD_ADD_X(event);
-	lanphy_write_page_reg(phydev, 4, LAN8814_PTP_GENERAL_CONFIG, val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_PTP_GENERAL_CONFIG,
+			       LAN8814_PTP_GENERAL_CONFIG_RELOAD_ADD_X(event),
+			       LAN8814_PTP_GENERAL_CONFIG_RELOAD_ADD_X(event));
 }
 
 static void lan8814_ptp_perout_off(struct phy_device *phydev, int pin)
 {
-	u16 val;
-
 	/* Disable gpio alternate function,
 	 * 1: select as gpio,
 	 * 0: select alt func
 	 */
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin));
-	val |= LAN8814_GPIO_EN_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin), val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin),
+			       LAN8814_GPIO_EN_BIT(pin),
+			       LAN8814_GPIO_EN_BIT(pin));
 
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin));
-	val &= ~LAN8814_GPIO_DIR_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin), val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin),
+			       LAN8814_GPIO_DIR_BIT(pin),
+			       0);
 
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_BUF_ADDR(pin));
-	val &= ~LAN8814_GPIO_BUF_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_BUF_ADDR(pin), val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_BUF_ADDR(pin),
+			       LAN8814_GPIO_BUF_BIT(pin),
+			       0);
 }
 
 static void lan8814_ptp_perout_on(struct phy_device *phydev, int pin)
 {
-	int val;
-
 	/* Set as gpio output */
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin));
-	val |= LAN8814_GPIO_DIR_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin), val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin),
+			       LAN8814_GPIO_DIR_BIT(pin),
+			       LAN8814_GPIO_DIR_BIT(pin));
 
 	/* Enable gpio 0:for alternate function, 1:gpio */
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin));
-	val &= ~LAN8814_GPIO_EN_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin), val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin),
+			       LAN8814_GPIO_EN_BIT(pin),
+			       0);
 
 	/* Set buffer type to push pull */
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_BUF_ADDR(pin));
-	val |= LAN8814_GPIO_BUF_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_BUF_ADDR(pin), val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_BUF_ADDR(pin),
+			       LAN8814_GPIO_BUF_BIT(pin),
+			       LAN8814_GPIO_BUF_BIT(pin));
 }
 
 static int lan8814_ptp_perout(struct ptp_clock_info *ptpci,
@@ -3565,61 +3579,59 @@ static int lan8814_ptp_perout(struct ptp_clock_info *ptpci,
 
 static void lan8814_ptp_extts_on(struct phy_device *phydev, int pin, u32 flags)
 {
-	u16 tmp;
-
 	/* Set as gpio input */
-	tmp = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin));
-	tmp &= ~LAN8814_GPIO_DIR_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin), tmp);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin),
+			       LAN8814_GPIO_DIR_BIT(pin),
+			       0);
 
 	/* Map the pin to ltc pin 0 of the capture map registers */
-	tmp = lanphy_read_page_reg(phydev, 4, PTP_GPIO_CAP_MAP_LO);
-	tmp |= pin;
-	lanphy_write_page_reg(phydev, 4, PTP_GPIO_CAP_MAP_LO, tmp);
+	lanphy_modify_page_reg(phydev, 4, PTP_GPIO_CAP_MAP_LO,
+			       pin,
+			       pin);
 
 	/* Enable capture on the edges of the ltc pin */
-	tmp = lanphy_read_page_reg(phydev, 4, PTP_GPIO_CAP_EN);
 	if (flags & PTP_RISING_EDGE)
-		tmp |= PTP_GPIO_CAP_EN_GPIO_RE_CAPTURE_ENABLE(0);
+		lanphy_modify_page_reg(phydev, 4, PTP_GPIO_CAP_EN,
+				       PTP_GPIO_CAP_EN_GPIO_RE_CAPTURE_ENABLE(0),
+				       PTP_GPIO_CAP_EN_GPIO_RE_CAPTURE_ENABLE(0));
 	if (flags & PTP_FALLING_EDGE)
-		tmp |= PTP_GPIO_CAP_EN_GPIO_FE_CAPTURE_ENABLE(0);
-	lanphy_write_page_reg(phydev, 4, PTP_GPIO_CAP_EN, tmp);
+		lanphy_modify_page_reg(phydev, 4, PTP_GPIO_CAP_EN,
+				       PTP_GPIO_CAP_EN_GPIO_FE_CAPTURE_ENABLE(0),
+				       PTP_GPIO_CAP_EN_GPIO_FE_CAPTURE_ENABLE(0));
 
 	/* Enable interrupt top interrupt */
-	tmp = lanphy_read_page_reg(phydev, 4, PTP_COMMON_INT_ENA);
-	tmp |= PTP_COMMON_INT_ENA_GPIO_CAP_EN;
-	lanphy_write_page_reg(phydev, 4, PTP_COMMON_INT_ENA, tmp);
+	lanphy_modify_page_reg(phydev, 4, PTP_COMMON_INT_ENA,
+			       PTP_COMMON_INT_ENA_GPIO_CAP_EN,
+			       PTP_COMMON_INT_ENA_GPIO_CAP_EN);
 }
 
 static void lan8814_ptp_extts_off(struct phy_device *phydev, int pin)
 {
-	u16 tmp;
-
 	/* Set as gpio out */
-	tmp = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin));
-	tmp |= LAN8814_GPIO_DIR_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin), tmp);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_DIR_ADDR(pin),
+			       LAN8814_GPIO_DIR_BIT(pin),
+			       LAN8814_GPIO_DIR_BIT(pin));
 
 	/* Enable alternate, 0:for alternate function, 1:gpio */
-	tmp = lanphy_read_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin));
-	tmp &= ~LAN8814_GPIO_EN_BIT(pin);
-	lanphy_write_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin), tmp);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_GPIO_EN_ADDR(pin),
+			       LAN8814_GPIO_EN_BIT(pin),
+			       0);
 
 	/* Clear the mapping of pin to registers 0 of the capture registers */
-	tmp = lanphy_read_page_reg(phydev, 4, PTP_GPIO_CAP_MAP_LO);
-	tmp &= ~GENMASK(3, 0);
-	lanphy_write_page_reg(phydev, 4, PTP_GPIO_CAP_MAP_LO, tmp);
+	lanphy_modify_page_reg(phydev, 4, PTP_GPIO_CAP_MAP_LO,
+			       GENMASK(3, 0),
+			       0);
 
 	/* Disable capture on both of the edges */
-	tmp = lanphy_read_page_reg(phydev, 4, PTP_GPIO_CAP_EN);
-	tmp &= ~PTP_GPIO_CAP_EN_GPIO_RE_CAPTURE_ENABLE(pin);
-	tmp &= ~PTP_GPIO_CAP_EN_GPIO_FE_CAPTURE_ENABLE(pin);
-	lanphy_write_page_reg(phydev, 4, PTP_GPIO_CAP_EN, tmp);
+	lanphy_modify_page_reg(phydev, 4, PTP_GPIO_CAP_EN,
+			       PTP_GPIO_CAP_EN_GPIO_RE_CAPTURE_ENABLE(pin) |
+			       PTP_GPIO_CAP_EN_GPIO_FE_CAPTURE_ENABLE(pin),
+			       0);
 
 	/* Disable interrupt top interrupt */
-	tmp = lanphy_read_page_reg(phydev, 4, PTP_COMMON_INT_ENA);
-	tmp &= ~PTP_COMMON_INT_ENA_GPIO_CAP_EN;
-	lanphy_write_page_reg(phydev, 4, PTP_COMMON_INT_ENA, tmp);
+	lanphy_modify_page_reg(phydev, 4, PTP_COMMON_INT_ENA,
+			       PTP_COMMON_INT_ENA_GPIO_CAP_EN,
+			       0);
 }
 
 static int lan8814_ptp_extts(struct ptp_clock_info *ptpci,
@@ -3859,9 +3871,9 @@ static int lan8814_gpio_process_cap(struct lan8814_shared_priv *shared)
 	/* This is 0 because whatever was the input pin it was mapped it to
 	 * ltc gpio pin 0
 	 */
-	tmp = lanphy_read_page_reg(phydev, 4, PTP_GPIO_SEL);
-	tmp |= PTP_GPIO_SEL_GPIO_SEL(0);
-	lanphy_write_page_reg(phydev, 4, PTP_GPIO_SEL, tmp);
+	lanphy_modify_page_reg(phydev, 4, PTP_GPIO_SEL,
+			       PTP_GPIO_SEL_GPIO_SEL(0),
+			       PTP_GPIO_SEL_GPIO_SEL(0));
 
 	tmp = lanphy_read_page_reg(phydev, 4, PTP_GPIO_CAP_STS);
 	if (!(tmp & PTP_GPIO_CAP_STS_PTP_GPIO_RE_STS(0)) &&
@@ -3908,13 +3920,10 @@ static int lan8814_handle_gpio_interrupt(struct phy_device *phydev, u16 status)
 
 static int lan8804_config_init(struct phy_device *phydev)
 {
-	int val;
-
 	/* MDI-X setting for swap A,B transmit */
-	val = lanphy_read_page_reg(phydev, 2, LAN8804_ALIGN_SWAP);
-	val &= ~LAN8804_ALIGN_TX_A_B_SWAP_MASK;
-	val |= LAN8804_ALIGN_TX_A_B_SWAP;
-	lanphy_write_page_reg(phydev, 2, LAN8804_ALIGN_SWAP, val);
+	lanphy_modify_page_reg(phydev, 2, LAN8804_ALIGN_SWAP,
+			       LAN8804_ALIGN_TX_A_B_SWAP_MASK,
+			       LAN8804_ALIGN_TX_A_B_SWAP);
 
 	/* Make sure that the PHY will not stop generating the clock when the
 	 * link partner goes down
@@ -4056,7 +4065,6 @@ static void lan8814_ptp_init(struct phy_device *phydev)
 {
 	struct kszphy_priv *priv = phydev->priv;
 	struct kszphy_ptp_priv *ptp_priv = &priv->ptp_priv;
-	u32 temp;
 
 	if (!IS_ENABLED(CONFIG_PTP_1588_CLOCK) ||
 	    !IS_ENABLED(CONFIG_NETWORK_PHY_TIMESTAMPING))
@@ -4064,13 +4072,13 @@ static void lan8814_ptp_init(struct phy_device *phydev)
 
 	lanphy_write_page_reg(phydev, 5, TSU_HARD_RESET, TSU_HARD_RESET_);
 
-	temp = lanphy_read_page_reg(phydev, 5, PTP_TX_MOD);
-	temp |= PTP_TX_MOD_BAD_UDPV4_CHKSUM_FORCE_FCS_DIS_;
-	lanphy_write_page_reg(phydev, 5, PTP_TX_MOD, temp);
+	lanphy_modify_page_reg(phydev, 5, PTP_TX_MOD,
+			       PTP_TX_MOD_BAD_UDPV4_CHKSUM_FORCE_FCS_DIS_,
+			       PTP_TX_MOD_BAD_UDPV4_CHKSUM_FORCE_FCS_DIS_);
 
-	temp = lanphy_read_page_reg(phydev, 5, PTP_RX_MOD);
-	temp |= PTP_RX_MOD_BAD_UDPV4_CHKSUM_FORCE_FCS_DIS_;
-	lanphy_write_page_reg(phydev, 5, PTP_RX_MOD, temp);
+	lanphy_modify_page_reg(phydev, 5, PTP_RX_MOD,
+			       PTP_RX_MOD_BAD_UDPV4_CHKSUM_FORCE_FCS_DIS_,
+			       PTP_RX_MOD_BAD_UDPV4_CHKSUM_FORCE_FCS_DIS_);
 
 	lanphy_write_page_reg(phydev, 5, PTP_RX_PARSE_CONFIG, 0);
 	lanphy_write_page_reg(phydev, 5, PTP_TX_PARSE_CONFIG, 0);
@@ -4196,23 +4204,21 @@ static void lan8814_setup_led(struct phy_device *phydev, int val)
 static int lan8814_config_init(struct phy_device *phydev)
 {
 	struct kszphy_priv *lan8814 = phydev->priv;
-	int val;
 
 	/* Reset the PHY */
-	val = lanphy_read_page_reg(phydev, 4, LAN8814_QSGMII_SOFT_RESET);
-	val |= LAN8814_QSGMII_SOFT_RESET_BIT;
-	lanphy_write_page_reg(phydev, 4, LAN8814_QSGMII_SOFT_RESET, val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_QSGMII_SOFT_RESET,
+			       LAN8814_QSGMII_SOFT_RESET_BIT,
+			       LAN8814_QSGMII_SOFT_RESET_BIT);
 
 	/* Disable ANEG with QSGMII PCS Host side */
-	val = lanphy_read_page_reg(phydev, 5, LAN8814_QSGMII_PCS1G_ANEG_CONFIG);
-	val &= ~LAN8814_QSGMII_PCS1G_ANEG_CONFIG_ANEG_ENA;
-	lanphy_write_page_reg(phydev, 5, LAN8814_QSGMII_PCS1G_ANEG_CONFIG, val);
+	lanphy_modify_page_reg(phydev, 4, LAN8814_QSGMII_PCS1G_ANEG_CONFIG,
+			       LAN8814_QSGMII_PCS1G_ANEG_CONFIG_ANEG_ENA,
+			       0);
 
 	/* MDI-X setting for swap A,B transmit */
-	val = lanphy_read_page_reg(phydev, 2, LAN8814_ALIGN_SWAP);
-	val &= ~LAN8814_ALIGN_TX_A_B_SWAP_MASK;
-	val |= LAN8814_ALIGN_TX_A_B_SWAP;
-	lanphy_write_page_reg(phydev, 2, LAN8814_ALIGN_SWAP, val);
+	lanphy_modify_page_reg(phydev, 2, LAN8814_ALIGN_SWAP,
+			       LAN8814_ALIGN_TX_A_B_SWAP_MASK,
+			       LAN8814_ALIGN_TX_A_B_SWAP);
 
 	if (lan8814->led_mode >= 0)
 		lan8814_setup_led(phydev, lan8814->led_mode);
@@ -4243,29 +4249,24 @@ static int lan8814_release_coma_mode(struct phy_device *phydev)
 
 static void lan8814_clear_2psp_bit(struct phy_device *phydev)
 {
-	u16 val;
-
 	/* It was noticed that when traffic is passing through the PHY and the
 	 * cable is removed then the LED was still one even though there is no
 	 * link
 	 */
-	val = lanphy_read_page_reg(phydev, 2, LAN8814_EEE_STATE);
-	val &= ~LAN8814_EEE_STATE_MASK2P5P;
-	lanphy_write_page_reg(phydev, 2, LAN8814_EEE_STATE, val);
+	lanphy_modify_page_reg(phydev, 2, LAN8814_EEE_STATE,
+			       LAN8814_EEE_STATE_MASK2P5P,
+			       0);
 }
 
 static void lan8814_update_meas_time(struct phy_device *phydev)
 {
-	u16 val;
-
 	/* By setting the measure time to a value of 0xb this will allow cables
 	 * longer than 100m to be used. This configuration can be used
 	 * regardless of the mode of operation of the PHY
 	 */
-	val = lanphy_read_page_reg(phydev, 1, LAN8814_PD_CONTROLS);
-	val &= ~LAN8814_PD_CONTROLS_PD_MEAS_TIME_MASK;
-	val |= LAN8814_PD_CONTROLS_PD_MEAS_TIME_VAL;
-	lanphy_write_page_reg(phydev, 1, LAN8814_PD_CONTROLS, val);
+	lanphy_modify_page_reg(phydev, 1, LAN8814_PD_CONTROLS,
+			       LAN8814_PD_CONTROLS_PD_MEAS_TIME_MASK,
+			       LAN8814_PD_CONTROLS_PD_MEAS_TIME_VAL);
 }
 
 static int lan8814_probe(struct phy_device *phydev)
-- 
2.51.0




  parent reply	other threads:[~2025-11-21 13:17 UTC|newest]

Thread overview: 255+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-21 13:09 [PATCH 6.17 000/247] 6.17.9-rc1 review Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 001/247] iommufd/selftest: Fix ioctl return value in _test_cmd_trigger_vevents() Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 002/247] drm/mediatek: Add pm_runtime support for GCE power control Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 003/247] drm/i915: Avoid lock inversion when pinning to GGTT on CHV/BXT+VTD Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 004/247] drm/i915: Fix conversion between clock ticks and nanoseconds Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 005/247] drm/amdgpu: set default gfx reset masks for gfx6-8 Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 006/247] drm/amd/display: Dont stretch non-native images by default in eDP Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 007/247] smb: client: fix refcount leak in smb2_set_path_attr Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 008/247] iommufd: Make vfio_compats unmap succeed if the range is already empty Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 009/247] futex: Optimize per-cpu reference counting Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 010/247] drm/amd: Fix suspend failure with secure display TA Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 011/247] drm/xe/guc: Synchronize Dead CT worker with unbind Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 012/247] drm/xe: Move declarations under conditional branch Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 013/247] drm/xe: Do clean shutdown also when using flr Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 014/247] drm/amd/display: Add pixel_clock to amd_pp_display_configuration Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 015/247] drm/amd/pm: Use pm_display_cfg in legacy DPM (v2) Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 016/247] drm/amd/display: Disable fastboot on DCE 6 too Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 017/247] drm/amd/pm: Disable MCLK switching on SI at high pixel clocks Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 018/247] drm/amd: Disable ASPM on SI Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 019/247] arm64: kprobes: check the return value of set_memory_rox() Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 020/247] compiler_types: Move unused static inline functions warning to W=2 Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 021/247] riscv: Build loader.bin exclusively for Canaan K210 Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 022/247] RISC-V: clear hot-unplugged cores from all task mm_cpumasks to avoid rfence errors Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 023/247] riscv: acpi: avoid errors caused by probing DT devices when ACPI is used Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 024/247] fs: return EOPNOTSUPP from file_setattr/file_getattr syscalls Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 025/247] ASoC: nau8821: Avoid unnecessary blocking in IRQ handler Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 026/247] drm/amdgpu: remove two invalid BUG_ON()s Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 027/247] drm/amdgpu: hide VRAM sysfs attributes on GPUs without VRAM Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 028/247] drm/amdgpu: Fix NULL pointer dereference in VRAM logic for APU devices Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 029/247] NFS4: Fix state renewals missing after boot Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 030/247] drm/amdkfd: fix suspend/resume all calls in mes based eviction path Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 031/247] NFS4: Apply delay_retrans to async operations Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 032/247] HID: intel-thc-hid: intel-quickspi: Add ARL PCI Device Ids Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 033/247] HID: quirks: avoid Cooler Master MM712 dongle wakeup bug Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 034/247] ixgbe: handle IXGBE_VF_GET_PF_LINK_STATE mailbox operation Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 035/247] HID: nintendo: Wait longer for initial probe Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 036/247] NFS: check if suid/sgid was cleared after a write as needed Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 037/247] HID: quirks: Add ALWAYS_POLL quirk for VRS R295 steering wheel Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 038/247] exfat: fix improper check of dentry.stream.valid_size Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 039/247] io_uring: fix unexpected placement on same size resizing Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 040/247] smb/server: fix possible memory leak in smb2_read() Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 041/247] smb/server: fix possible refcount leak in smb2_sess_setup() Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 042/247] HID: logitech-hidpp: Add HIDPP_QUIRK_RESET_HI_RES_SCROLL Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 043/247] ASoC: max98090/91: fixed max98091 ALSA widget powering up/down Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 044/247] ALSA: hda/realtek: Fix mute led for HP Omen 17-cb0xxx Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 045/247] ixgbe: handle IXGBE_VF_FEATURES_NEGOTIATE mbox cmd Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 046/247] wifi: ath11k: zero init info->status in wmi_process_mgmt_tx_comp() Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 047/247] erofs: avoid infinite loop due to incomplete zstd-compressed data Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 048/247] selftests: net: local_termination: Wait for interfaces to come up Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 049/247] net: fec: correct rx_bytes statistic for the case SHIFT16 is set Greg Kroah-Hartman
2025-11-21 13:09 ` Greg Kroah-Hartman [this message]
2025-11-21 13:09 ` [PATCH 6.17 051/247] net: phy: micrel: Replace hardcoded pages with defines Greg Kroah-Hartman
2025-11-21 13:09 ` [PATCH 6.17 052/247] net: phy: micrel: lan8814 fix reset of the QSGMII interface Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 053/247] rust: Add -fno-isolate-erroneous-paths-dereference to bindgen_skip_c_flags Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 054/247] NFSD: Skip close replay processing if XDR encoding fails Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 055/247] Bluetooth: MGMT: cancel mesh send timer when hdev removed Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 056/247] Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 057/247] Bluetooth: 6lowpan: reset link-local header on ipv6 recv path Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 058/247] Bluetooth: 6lowpan: fix BDADDR_LE vs ADDR_LE_DEV address type confusion Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 059/247] Bluetooth: 6lowpan: Dont hold spin lock over sleeping functions Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 060/247] Bluetooth: hci_conn: Fix not cleaning up PA_LINK connections Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 061/247] sctp: prevent possible shift-out-of-bounds in sctp_transport_update_rto Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 062/247] net: dsa: tag_brcm: do not mark link local traffic as offloaded Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 063/247] net/smc: fix mismatch between CLC header and proposal Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 064/247] net/handshake: Fix memory leak in tls_handshake_accept() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 065/247] net: ethernet: ti: am65-cpsw-qos: fix IET verify/response timeout Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 066/247] net: ethernet: ti: am65-cpsw-qos: fix IET verify retry mechanism Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 067/247] tipc: Fix use-after-free in tipc_mon_reinit_self() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 068/247] net: mdio: fix resource leak in mdiobus_register_device() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 069/247] wifi: mac80211: skip rate verification for not captured PSDUs Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 070/247] af_unix: Initialise scc_index in unix_add_edge() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 071/247] Bluetooth: hci_event: Fix not handling PA Sync Lost event Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 072/247] net: sched: act_connmark: initialize struct tc_ife to fix kernel leak Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 073/247] net: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 074/247] net/mlx5e: Fix missing error assignment in mlx5e_xfrm_add_state() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 075/247] net/mlx5e: Fix maxrate wraparound in threshold between units Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 076/247] net/mlx5e: Fix wraparound in rate limiting for values above 255 Gbps Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 077/247] net/mlx5e: Fix potentially misleading debug message Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 078/247] net/mlx5: Fix typo of MLX5_EQ_DOORBEL_OFFSET Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 079/247] net/mlx5: Store the global doorbell in mlx5_priv Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 080/247] net/mlx5e: Prepare for using different CQ doorbells Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 081/247] mlx5: Fix default values in create CQ Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 082/247] net_sched: limit try_bulk_dequeue_skb() batches Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 083/247] wifi: iwlwifi: mvm: fix beacon template/fixed rate Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 084/247] wifi: iwlwifi: mld: always take beacon ies in link grading Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 085/247] virtio-net: fix incorrect flags recording in big mode Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 086/247] hsr: Fix supervision frame sending on HSRv0 Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 087/247] hsr: Follow standard for HSRv0 supervision frames Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 088/247] ACPI: CPPC: Detect preferred core availability on online CPUs Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 089/247] ACPI: CPPC: Check _CPC validity for only the " Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 090/247] ACPI: CPPC: Perform fast check switch only for " Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 091/247] ACPI: CPPC: Limit perf ctrs in PCC check only to " Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 092/247] cpufreq: intel_pstate: Check IDA only before MSR_IA32_PERF_CTL writes Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 093/247] Bluetooth: L2CAP: export l2cap_chan_hold for modules Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 094/247] netfilter: nft_ct: add seqadj extension for natted connections Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 095/247] io_uring/rsrc: dont use blk_rq_nr_phys_segments() as number of bvecs Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 096/247] acpi,srat: Fix incorrect device handle check for Generic Initiator Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 097/247] regulator: fixed: fix GPIO descriptor leak on register failure Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 098/247] ASoC: cs4271: Fix regulator leak on probe failure Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 099/247] ASoC: codecs: va-macro: fix resource leak in probe error path Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 100/247] drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 101/247] drm/vmwgfx: Restore Guest-Backed only cursor plane support Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 102/247] ASoC: tas2781: fix getting the wrong device number Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 103/247] drm/panthor: Flush shmem writes before mapping buffers CPU-uncached Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 104/247] pnfs: Fix TLS logic in _nfs4_pnfs_v3_ds_connect() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 105/247] pnfs: Fix TLS logic in _nfs4_pnfs_v4_ds_connect() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 106/247] pnfs: Set transport security policy to RPC_XPRTSEC_NONE unless using TLS Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 107/247] NFS: Check the TLS certificate fields in nfs_match_client() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 108/247] simplify nfs_atomic_open_v23() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 109/247] NFSv2/v3: Fix error handling in nfs_atomic_open_v23() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 110/247] NFS: sysfs: fix leak when nfs_client kobject add fails Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 111/247] NFSv4: Fix an incorrect parameter when calling nfs4_call_sync() Greg Kroah-Hartman
2025-11-21 13:10 ` [PATCH 6.17 112/247] NFS: Fix LTP test failures when timestamps are delegated Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 113/247] ALSA: usb-audio: Fix NULL pointer dereference in snd_usb_mixer_controls_badd Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 114/247] drm/amd/amdgpu: Ensure isp_kernel_buffer_alloc() creates a new BO Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 115/247] acpi/hmat: Fix lockdep warning for hmem_register_resource() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 116/247] ASoC: rsnd: fix OF node reference leak in rsnd_ssiu_probe() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 117/247] drm/client: fix MODULE_PARM_DESC string for "active" Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 118/247] bpf: Add bpf_prog_run_data_pointers() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 119/247] bpf: account for current allocated stack depth in widen_imprecise_scalars() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 120/247] irqchip/riscv-intc: Add missing free() callback in riscv_intc_domain_ops Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 121/247] posix-timers: Plug potential memory leak in do_timer_create() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 122/247] lib/crypto: arm/curve25519: Disable on CPU_BIG_ENDIAN Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 123/247] hostfs: Fix only passing host root in boot stage with new mount Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 124/247] afs: Fix dynamic lookup to fail on cell lookup failure Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 125/247] mtd: onenand: Pass correct pointer to IRQ handler Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 126/247] virtio-fs: fix incorrect check for fsvq->kobj Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 127/247] binfmt_misc: restore write access before closing files opened by open_exec() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 128/247] fs/namespace: correctly handle errors returned by grab_requested_mnt_ns Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 129/247] sched_ext: Fix unsafe locking in the scx_dump_state() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 130/247] perf header: Write bpf_prog (infos|btfs)_cnt to data file Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 131/247] perf build: Dont fail fast path feature detection when binutils-devel is not available Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 132/247] perf lock: Fix segfault due to missing kernel map Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 133/247] perf test shell lock_contention: Extra debug diagnostics Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 134/247] perf test: Fix lock contention test Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 135/247] arm64: dts: rockchip: Set correct pinctrl for I2S1 8ch TX on odroid-m1 Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 136/247] arm64: dts: rockchip: Fix PCIe power enable pin for BigTreeTech CB2 and Pi2 Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 137/247] arm64: dts: rockchip: Make RK3588 GPU OPP table naming less generic Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 138/247] ARM: dts: imx6ull-engicam-microgea-rmm: fix report-rate-hz value Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 139/247] ARM: dts: imx51-zii-rdu1: Fix audmux node names Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 140/247] arm64: dts: imx8-ss-img: Avoid gpio0_mipi_csi GPIOs being deferred Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 141/247] arm64: dts: imx8mp-kontron: Fix USB OTG role switching Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 142/247] HID: hid-ntrig: Prevent memory leak in ntrig_report_version() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 143/247] ARM: dts: BCM53573: Fix address of Luxul XAP-1440s Ethernet PHY Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 144/247] arm64: dts: rockchip: Fix USB power enable pin for BTT CB2 and Pi2 Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 145/247] arm64: dts: rockchip: drop reset from rk3576 i2c9 node Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 146/247] pwm: adp5585: Correct mismatched pwm chip info Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 147/247] HID: playstation: Fix memory leak in dualshock4_get_calibration_data() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 148/247] HID: uclogic: Fix potential memory leak in error path Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 149/247] LoongArch: KVM: Restore guest PMU if it is enabled Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 150/247] LoongArch: KVM: Add delay until timer interrupt injected Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 151/247] LoongArch: KVM: Fix max supported vCPUs set with EIOINTC Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 152/247] KVM: guest_memfd: Remove bindings on memslot deletion when gmem is dying Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 153/247] KVM: arm64: Make all 32bit ID registers fully writable Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 154/247] KVM: SVM: Mark VMCB_LBR dirty when MSR_IA32_DEBUGCTLMSR is updated Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 155/247] KVM: nSVM: Always recalculate LBR MSR intercepts in svm_update_lbrv() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 156/247] KVM: nSVM: Fix and simplify LBR virtualization handling with nested Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 157/247] KVM: VMX: Fix check for valid GVA on an EPT violation Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 158/247] nfsd: fix refcount leak in nfsd_set_fh_dentry() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 159/247] nfsd: add missing FATTR4_WORD2_CLONE_BLKSIZE from supported attributes Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 160/247] NFSD: free copynotify stateid in nfs4_free_ol_stateid() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 161/247] gcov: add support for GCC 15 Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 162/247] ksmbd: close accepted socket when per-IP limit rejects connection Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 163/247] ksm: use range-walk function to jump over holes in scan_get_next_rmap_item Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 164/247] kho: warn and fail on metadata or preserved memory in scratch area Greg Kroah-Hartman
2025-11-21 14:45   ` Thorsten Leemhuis
2025-11-21 15:39     ` Pratyush Yadav
2025-11-21 15:52       ` Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 165/247] kho: increase metadata bitmap size to PAGE_SIZE Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 166/247] kho: allocate metadata directly from the buddy allocator Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 167/247] kho: warn and exit when unpreserved page wasnt preserved Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 168/247] strparser: Fix signed/unsigned mismatch bug Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 169/247] dma-mapping: benchmark: Restore padding to ensure uABI remained consistent Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 170/247] maple_tree: fix tracepoint string pointers Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 171/247] LoongArch: Consolidate early_ioremap()/ioremap_prot() Greg Kroah-Hartman
2025-11-21 13:11 ` [PATCH 6.17 172/247] LoongArch: Use correct accessor to read FWPC/MWPC Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 173/247] LoongArch: Let {pte,pmd}_modify() record the status of _PAGE_DIRTY Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 174/247] ipv4: route: Prevent rt_bind_exception() from rebinding stale fnhe Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 175/247] mm/damon/sysfs: change next_update_jiffies to a global variable Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 176/247] nilfs2: avoid having an active sc_timer before freeing sci Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 177/247] net: netpoll: fix incorrect refcount handling causing incorrect cleanup Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 178/247] mm/secretmem: fix use-after-free race in fault handler Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 179/247] selftests/tracing: Run sample events to clear page cache events Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 180/247] wifi: mac80211: reject address change while connecting Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 181/247] mm/huge_memory: preserve PG_has_hwpoisoned if a folio is split to >0 order Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 182/247] fs/proc: fix uaf in proc_readdir_de() Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 183/247] mm/mm_init: fix hash table order logging in alloc_large_system_hash() Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 184/247] mm/damon/stat: change last_refresh_jiffies to a global variable Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 185/247] mm/kmsan: fix kmsan kmalloc hook when no stack depots are allocated yet Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 186/247] mm/shmem: fix THP allocation and fallback loop Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 187/247] mm/mremap: honour writable bit in mremap pte batching Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 188/247] mm, swap: fix potential UAF issue for VMA readahead Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 189/247] mm/huge_memory: fix folio split check for anon folios in swapcache Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 190/247] mmc: sdhci-of-dwcmshc: Change DLL_STRBIN_TAPNUM_DEFAULT to 0x4 Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 191/247] mmc: pxamci: Simplify pxamci_probe() error handling using devm APIs Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 192/247] mmc: dw_mmc-rockchip: Fix wrong internal phase calculate Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 193/247] ALSA: hda/hdmi: Fix breakage at probing nvhdmi-mcp driver Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 194/247] ALSA: usb-audio: Fix potential overflow of PCM transfer buffer Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 195/247] ASoC: sdw_utils: fix device reference leak in is_sdca_endpoint_present() Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 196/247] cifs: client: fix memory leak in smb3_fs_context_parse_param Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 197/247] codetag: debug: handle existing CODETAG_EMPTY in mark_objexts_empty for slabobj_ext Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 198/247] crash: fix crashkernel resource shrink Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 199/247] crypto: hisilicon/qm - Fix device reference leak in qm_get_qos_value Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 200/247] smb: client: fix cifs_pick_channel when channel needs reconnect Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 201/247] spi: Try to get ACPI GPIO IRQ earlier Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 202/247] x86/microcode/AMD: Add Zen5 model 0x44, stepping 0x1 minrev Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 203/247] x86/CPU/AMD: Add additional fixed RDSEED microcode revisions Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 204/247] selftests/user_events: fix type cast for write_index packed member in perf_test Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 205/247] gendwarfksyms: Skip files with no exports Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 206/247] io_uring/rw: ensure allocated iovec gets cleared for early failure Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 207/247] ftrace: Fix BPF fexit with livepatch Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 208/247] LoongArch: Consolidate max_pfn & max_low_pfn calculation Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 209/247] LoongArch: Use physical addresses for CSR_MERRENTRY/CSR_TLBRENTRY Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 210/247] EDAC/altera: Handle OCRAM ECC enable after warm reset Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 211/247] EDAC/altera: Use INTTEST register for Ethernet and USB SBE injection Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 212/247] PM: hibernate: Emit an error when image writing fails Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 213/247] PM: hibernate: Use atomic64_t for compressed_size variable Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 214/247] btrfs: zoned: fix conventional zone capacity calculation Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 215/247] btrfs: zoned: fix stripe width calculation Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 216/247] btrfs: scrub: put bio after errors in scrub_raid56_parity_stripe() Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 217/247] btrfs: do not update last_log_commit when logging inode due to a new name Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 218/247] btrfs: release root after error in data_reloc_print_warning_inode() Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 219/247] drm/amdkfd: relax checks for over allocation of save area Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 220/247] drm/amdgpu: fix lock warning in amdgpu_userq_fence_driver_process Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 221/247] drm/amdgpu: disable peer-to-peer access for DCC-enabled GC12 VRAM surfaces Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 222/247] drm/i915/psr: fix pipe to vblank conversion Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 223/247] drm/xe/xe3lpg: Extend Wa_15016589081 for xe3lpg Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 224/247] drm/xe/xe3: Extend wa_14023061436 Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 225/247] drm/xe/xe3: Add WA_14024681466 for Xe3_LPG Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 226/247] pmdomain: arm: scmi: Fix genpd leak on provider registration failure Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 227/247] pmdomain: imx: Fix reference count leak in imx_gpc_remove Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 228/247] pmdomain: samsung: plug potential memleak during probe Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 229/247] pmdomain: samsung: Rework legacy splash-screen handover workaround Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 230/247] selftests: mptcp: connect: fix fallback note due to OoO Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 231/247] selftests: mptcp: join: rm: set backup flag Greg Kroah-Hartman
2025-11-21 13:12 ` [PATCH 6.17 232/247] selftests: mptcp: join: endpoints: longer transfer Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 233/247] selftests: mptcp: connect: trunc: read all recv data Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 234/247] selftests: mptcp: join: userspace: longer transfer Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 235/247] selftests: mptcp: join: properly kill background tasks Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 236/247] mm/huge_memory: do not change split_huge_page*() target order silently Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 237/247] mm/memory: do not populate page table entries beyond i_size Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 238/247] scripts/decode_stacktrace.sh: symbol: avoid trailing whitespaces Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 239/247] scripts/decode_stacktrace.sh: symbol: preserve alignment Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 240/247] scripts/decode_stacktrace.sh: fix build ID and PC source parsing Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 241/247] ASoC: da7213: Convert to DEFINE_RUNTIME_DEV_PM_OPS() Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 242/247] ASoC: da7213: Use component driver suspend/resume Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 243/247] KVM: x86: Rename local "ecx" variables to "msr" and "pmc" as appropriate Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 244/247] KVM: x86: Add support for RDMSR/WRMSRNS w/ immediate on Intel Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 245/247] KVM: VMX: Inject #UD if guest tries to execute SEAMCALL or TDCALL Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 246/247] isdn: mISDN: hfcsusb: fix memory leak in hfcsusb_probe() Greg Kroah-Hartman
2025-11-21 13:13 ` [PATCH 6.17 247/247] net: phy: micrel: Fix lan8814_config_init Greg Kroah-Hartman
2025-11-21 14:30 ` [PATCH 6.17 000/247] 6.17.9-rc1 review Ronald Warsow
2025-11-21 15:25   ` Greg Kroah-Hartman
2025-11-21 16:28 ` Jon Hunter
2025-11-21 17:05 ` Jeffrin Thalakkottoor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251121130156.399738892@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=horatiu.vultur@microchip.com \
    --cc=pabeni@redhat.com \
    --cc=patches@lists.linux.dev \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).