public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org,
	Vladyslav Tarasiuk <vladyslavt@nvidia.com>,
	Tariq Toukan <tariqt@nvidia.com>,
	"David S. Miller" <davem@davemloft.net>
Subject: [PATCH 5.4 074/177] net/mlx4: Fix EEPROM dump support
Date: Mon, 31 May 2021 15:13:51 +0200	[thread overview]
Message-ID: <20210531130650.449472291@linuxfoundation.org> (raw)
In-Reply-To: <20210531130647.887605866@linuxfoundation.org>

From: Vladyslav Tarasiuk <vladyslavt@nvidia.com>

commit db825feefc6868896fed5e361787ba3bee2fd906 upstream.

Fix SFP and QSFP* EEPROM queries by setting i2c_address, offset and page
number correctly. For SFP set the following params:
- I2C address for offsets 0-255 is 0x50. For 256-511 - 0x51.
- Page number is zero.
- Offset is 0-255.

At the same time, QSFP* parameters are different:
- I2C address is always 0x50.
- Page number is not limited to zero.
- Offset is 0-255 for page zero and 128-255 for others.

To set parameters accordingly to cable used, implement function to query
module ID and implement respective helper functions to set parameters
correctly.

Fixes: 135dd9594f12 ("net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query")
Signed-off-by: Vladyslav Tarasiuk <vladyslavt@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c |    4 
 drivers/net/ethernet/mellanox/mlx4/port.c       |  107 +++++++++++++++++++++++-
 2 files changed, 104 insertions(+), 7 deletions(-)

--- a/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
@@ -2011,8 +2011,6 @@ static int mlx4_en_set_tunable(struct ne
 	return ret;
 }
 
-#define MLX4_EEPROM_PAGE_LEN 256
-
 static int mlx4_en_get_module_info(struct net_device *dev,
 				   struct ethtool_modinfo *modinfo)
 {
@@ -2047,7 +2045,7 @@ static int mlx4_en_get_module_info(struc
 		break;
 	case MLX4_MODULE_ID_SFP:
 		modinfo->type = ETH_MODULE_SFF_8472;
-		modinfo->eeprom_len = MLX4_EEPROM_PAGE_LEN;
+		modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
 		break;
 	default:
 		return -EINVAL;
--- a/drivers/net/ethernet/mellanox/mlx4/port.c
+++ b/drivers/net/ethernet/mellanox/mlx4/port.c
@@ -1973,6 +1973,7 @@ EXPORT_SYMBOL(mlx4_get_roce_gid_from_sla
 #define I2C_ADDR_LOW  0x50
 #define I2C_ADDR_HIGH 0x51
 #define I2C_PAGE_SIZE 256
+#define I2C_HIGH_PAGE_SIZE 128
 
 /* Module Info Data */
 struct mlx4_cable_info {
@@ -2026,6 +2027,88 @@ static inline const char *cable_info_mad
 	return "Unknown Error";
 }
 
+static int mlx4_get_module_id(struct mlx4_dev *dev, u8 port, u8 *module_id)
+{
+	struct mlx4_cmd_mailbox *inbox, *outbox;
+	struct mlx4_mad_ifc *inmad, *outmad;
+	struct mlx4_cable_info *cable_info;
+	int ret;
+
+	inbox = mlx4_alloc_cmd_mailbox(dev);
+	if (IS_ERR(inbox))
+		return PTR_ERR(inbox);
+
+	outbox = mlx4_alloc_cmd_mailbox(dev);
+	if (IS_ERR(outbox)) {
+		mlx4_free_cmd_mailbox(dev, inbox);
+		return PTR_ERR(outbox);
+	}
+
+	inmad = (struct mlx4_mad_ifc *)(inbox->buf);
+	outmad = (struct mlx4_mad_ifc *)(outbox->buf);
+
+	inmad->method = 0x1; /* Get */
+	inmad->class_version = 0x1;
+	inmad->mgmt_class = 0x1;
+	inmad->base_version = 0x1;
+	inmad->attr_id = cpu_to_be16(0xFF60); /* Module Info */
+
+	cable_info = (struct mlx4_cable_info *)inmad->data;
+	cable_info->dev_mem_address = 0;
+	cable_info->page_num = 0;
+	cable_info->i2c_addr = I2C_ADDR_LOW;
+	cable_info->size = cpu_to_be16(1);
+
+	ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
+			   MLX4_CMD_MAD_IFC, MLX4_CMD_TIME_CLASS_C,
+			   MLX4_CMD_NATIVE);
+	if (ret)
+		goto out;
+
+	if (be16_to_cpu(outmad->status)) {
+		/* Mad returned with bad status */
+		ret = be16_to_cpu(outmad->status);
+		mlx4_warn(dev,
+			  "MLX4_CMD_MAD_IFC Get Module ID attr(%x) port(%d) i2c_addr(%x) offset(%d) size(%d): Response Mad Status(%x) - %s\n",
+			  0xFF60, port, I2C_ADDR_LOW, 0, 1, ret,
+			  cable_info_mad_err_str(ret));
+		ret = -ret;
+		goto out;
+	}
+	cable_info = (struct mlx4_cable_info *)outmad->data;
+	*module_id = cable_info->data[0];
+out:
+	mlx4_free_cmd_mailbox(dev, inbox);
+	mlx4_free_cmd_mailbox(dev, outbox);
+	return ret;
+}
+
+static void mlx4_sfp_eeprom_params_set(u8 *i2c_addr, u8 *page_num, u16 *offset)
+{
+	*i2c_addr = I2C_ADDR_LOW;
+	*page_num = 0;
+
+	if (*offset < I2C_PAGE_SIZE)
+		return;
+
+	*i2c_addr = I2C_ADDR_HIGH;
+	*offset -= I2C_PAGE_SIZE;
+}
+
+static void mlx4_qsfp_eeprom_params_set(u8 *i2c_addr, u8 *page_num, u16 *offset)
+{
+	/* Offsets 0-255 belong to page 0.
+	 * Offsets 256-639 belong to pages 01, 02, 03.
+	 * For example, offset 400 is page 02: 1 + (400 - 256) / 128 = 2
+	 */
+	if (*offset < I2C_PAGE_SIZE)
+		*page_num = 0;
+	else
+		*page_num = 1 + (*offset - I2C_PAGE_SIZE) / I2C_HIGH_PAGE_SIZE;
+	*i2c_addr = I2C_ADDR_LOW;
+	*offset -= *page_num * I2C_HIGH_PAGE_SIZE;
+}
+
 /**
  * mlx4_get_module_info - Read cable module eeprom data
  * @dev: mlx4_dev.
@@ -2045,12 +2128,30 @@ int mlx4_get_module_info(struct mlx4_dev
 	struct mlx4_cmd_mailbox *inbox, *outbox;
 	struct mlx4_mad_ifc *inmad, *outmad;
 	struct mlx4_cable_info *cable_info;
-	u16 i2c_addr;
+	u8 module_id, i2c_addr, page_num;
 	int ret;
 
 	if (size > MODULE_INFO_MAX_READ)
 		size = MODULE_INFO_MAX_READ;
 
+	ret = mlx4_get_module_id(dev, port, &module_id);
+	if (ret)
+		return ret;
+
+	switch (module_id) {
+	case MLX4_MODULE_ID_SFP:
+		mlx4_sfp_eeprom_params_set(&i2c_addr, &page_num, &offset);
+		break;
+	case MLX4_MODULE_ID_QSFP:
+	case MLX4_MODULE_ID_QSFP_PLUS:
+	case MLX4_MODULE_ID_QSFP28:
+		mlx4_qsfp_eeprom_params_set(&i2c_addr, &page_num, &offset);
+		break;
+	default:
+		mlx4_err(dev, "Module ID not recognized: %#x\n", module_id);
+		return -EINVAL;
+	}
+
 	inbox = mlx4_alloc_cmd_mailbox(dev);
 	if (IS_ERR(inbox))
 		return PTR_ERR(inbox);
@@ -2076,11 +2177,9 @@ int mlx4_get_module_info(struct mlx4_dev
 		 */
 		size -= offset + size - I2C_PAGE_SIZE;
 
-	i2c_addr = I2C_ADDR_LOW;
-
 	cable_info = (struct mlx4_cable_info *)inmad->data;
 	cable_info->dev_mem_address = cpu_to_be16(offset);
-	cable_info->page_num = 0;
+	cable_info->page_num = page_num;
 	cable_info->i2c_addr = i2c_addr;
 	cable_info->size = cpu_to_be16(size);
 



  parent reply	other threads:[~2021-05-31 14:21 UTC|newest]

Thread overview: 185+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31 13:12 [PATCH 5.4 000/177] 5.4.124-rc1 review Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 001/177] ALSA: hda/realtek: Headphone volume is controlled by Front mixer Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 002/177] ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 003/177] ALSA: usb-audio: scarlett2: Improve driver startup messages Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 004/177] cifs: set server->cipher_type to AES-128-CCM for SMB3.0 Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 005/177] NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return() Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 006/177] iommu/vt-d: Fix sysfs leak in alloc_iommu() Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 007/177] perf intel-pt: Fix sample instruction bytes Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 008/177] perf intel-pt: Fix transaction abort handling Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 009/177] perf scripts python: exported-sql-viewer.py: Fix copy to clipboard from Top Calls by elapsed Time report Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 010/177] perf scripts python: exported-sql-viewer.py: Fix Array TypeError Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 011/177] perf scripts python: exported-sql-viewer.py: Fix warning display Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 012/177] proc: Check /proc/$pid/attr/ writes against file opener Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 013/177] net: hso: fix control-request directions Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 014/177] mac80211: assure all fragments are encrypted Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 015/177] mac80211: prevent mixed key and fragment cache attacks Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 016/177] mac80211: properly handle A-MSDUs that start with an RFC 1042 header Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 017/177] cfg80211: mitigate A-MSDU aggregation attacks Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 018/177] mac80211: drop A-MSDUs on old ciphers Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 019/177] mac80211: add fragment cache to sta_info Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 020/177] mac80211: check defrag PN against current frame Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 021/177] mac80211: prevent attacks on TKIP/WEP as well Greg Kroah-Hartman
2021-05-31 13:12 ` [PATCH 5.4 022/177] mac80211: do not accept/forward invalid EAPOL frames Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 023/177] mac80211: extend protection against mixed key and fragment cache attacks Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 024/177] ath10k: add CCMP PN replay protection for fragmented frames for PCIe Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 025/177] ath10k: drop fragments with multicast DA " Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 026/177] ath10k: drop fragments with multicast DA for SDIO Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 027/177] ath10k: drop MPDU which has discard flag set by firmware " Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 028/177] ath10k: Fix TKIP Michael MIC verification for PCIe Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 029/177] ath10k: Validate first subframe of A-MSDU before processing the list Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 030/177] dm snapshot: properly fix a crash when an origin has no snapshots Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 031/177] drm/amdgpu/vcn1: add cancel_delayed_work_sync before power gate Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 032/177] drm/amdgpu/vcn2.0: " Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 033/177] drm/amdgpu/vcn2.5: " Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 034/177] selftests/gpio: Use TEST_GEN_PROGS_EXTENDED Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 035/177] selftests/gpio: Move include of lib.mk up Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 036/177] selftests/gpio: Fix build when source tree is read only Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 037/177] kgdb: fix gcc-11 warnings harder Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 038/177] Documentation: seccomp: Fix user notification documentation Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 039/177] serial: core: fix suspicious security_locked_down() call Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 040/177] misc/uss720: fix memory leak in uss720_probe Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 041/177] thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 042/177] mei: request autosuspend after sending rx flow control Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 043/177] staging: iio: cdc: ad7746: avoid overwrite of num_channels Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 044/177] iio: gyro: fxas21002c: balance runtime power in error path Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 045/177] iio: adc: ad7768-1: Fix too small buffer passed to iio_push_to_buffers_with_timestamp() Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 046/177] iio: adc: ad7124: Fix missbalanced regulator enable / disable on error Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 047/177] iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 048/177] iio: adc: ad7793: Add missing error code in ad7793_setup() Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 049/177] serial: 8250_pci: Add support for new HPE serial device Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 050/177] serial: 8250_pci: handle FL_NOIRQ board flag Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 051/177] USB: trancevibrator: fix control-request direction Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 052/177] USB: usbfs: Dont WARN about excessively large memory allocations Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 053/177] serial: tegra: Fix a mask operation that is always true Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 054/177] serial: sh-sci: Fix off-by-one error in FIFO threshold register setting Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 055/177] serial: rp2: use request_firmware instead of request_firmware_nowait Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 056/177] USB: serial: ti_usb_3410_5052: add startech.com device id Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 057/177] USB: serial: option: add Telit LE910-S1 compositions 0x7010, 0x7011 Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 058/177] USB: serial: ftdi_sio: add IDs for IDS GmbH Products Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 059/177] USB: serial: pl2303: add device id for ADLINK ND-6530 GC Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 060/177] thermal/drivers/intel: Initialize RW trip to THERMAL_TEMP_INVALID Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 061/177] usb: dwc3: gadget: Properly track pending and queued SG Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 062/177] usb: gadget: udc: renesas_usb3: Fix a race in usb3_start_pipen() Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 063/177] net: usb: fix memory leak in smsc75xx_bind Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 064/177] spi: spi-geni-qcom: Fix use-after-free on unbind Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 065/177] Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 066/177] fs/nfs: Use fatal_signal_pending instead of signal_pending Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 067/177] NFS: fix an incorrect limit in filelayout_decode_layout() Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 068/177] NFS: Fix an Oopsable condition in __nfs_pageio_add_request() Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 069/177] NFS: Dont corrupt the value of pg_bytes_written in nfs_do_recoalesce() Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 070/177] NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 071/177] drm/meson: fix shutdown crash when component not probed Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 072/177] net/mlx5e: Fix multipath lag activation Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 073/177] net/mlx5e: Fix nullptr in add_vlan_push_action() Greg Kroah-Hartman
2021-05-31 13:13 ` Greg Kroah-Hartman [this message]
2021-05-31 13:13 ` [PATCH 5.4 075/177] Revert "net:tipc: Fix a double free in tipc_sk_mcast_rcv" Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 076/177] tipc: wait and exit until all work queues are done Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 077/177] tipc: skb_linearize the head skb when reassembling msgs Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 078/177] spi: spi-fsl-dspi: Fix a resource leak in an error handling path Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 079/177] net: dsa: mt7530: fix VLAN traffic leaks Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 080/177] net: dsa: fix a crash if ->get_sset_count() fails Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 081/177] net: dsa: sja1105: error out on unsupported PHY mode Greg Kroah-Hartman
2021-05-31 13:13 ` [PATCH 5.4 082/177] i2c: s3c2410: fix possible NULL pointer deref on read message after write Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 083/177] i2c: i801: Dont generate an interrupt on bus reset Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 084/177] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 085/177] perf jevents: Fix getting maximum number of fds Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 086/177] platform/x86: hp_accel: Avoid invoking _INI to speed up resume Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 087/177] gpio: cadence: Add missing MODULE_DEVICE_TABLE Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 088/177] Revert "media: usb: gspca: add a missed check for goto_low_power" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 089/177] Revert "ALSA: sb: fix a missing check of snd_ctl_add" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 090/177] Revert "serial: max310x: pass return value of spi_register_driver" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 091/177] serial: max310x: unregister uart driver in case of failure and abort Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 092/177] Revert "net: fujitsu: fix a potential NULL pointer dereference" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 093/177] net: fujitsu: fix potential null-ptr-deref Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 094/177] Revert "net/smc: fix a NULL pointer dereference" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 095/177] net: caif: remove BUG_ON(dev == NULL) in caif_xmit Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 096/177] Revert "char: hpet: fix a missing check of ioremap" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 097/177] char: hpet: add checks after calling ioremap Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 098/177] Revert "ALSA: gus: add a check of the status of snd_ctl_add" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 099/177] ALSA: sb8: Add a comment note regarding an unused pointer Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 100/177] Revert "ALSA: usx2y: Fix potential NULL pointer dereference" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 101/177] Revert "isdn: mISDNinfineon: fix " Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 102/177] isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 103/177] Revert "ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 104/177] ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd() Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 105/177] Revert "isdn: mISDN: Fix potential NULL pointer dereference of kzalloc" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 106/177] isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 107/177] Revert "dmaengine: qcom_hidma: Check for driver register failure" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 108/177] dmaengine: qcom_hidma: comment platform_driver_register call Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 109/177] Revert "libertas: add checks for the return value of sysfs_create_group" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 110/177] libertas: register sysfs groups properly Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 111/177] Revert "ASoC: cs43130: fix a NULL pointer dereference" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 112/177] ASoC: cs43130: handle errors in cs43130_probe() properly Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 113/177] Revert "media: dvb: Add check on sp8870_readreg" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 114/177] media: dvb: Add check on sp8870_readreg return Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 115/177] Revert "media: gspca: mt9m111: Check write_bridge for timeout" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 116/177] media: gspca: mt9m111: Check write_bridge for timeout Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 117/177] Revert "media: gspca: Check the return value of write_bridge for timeout" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 118/177] media: gspca: properly check for errors in po1030_probe() Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 119/177] Revert "net: liquidio: fix a NULL pointer dereference" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 120/177] net: liquidio: Add missing null pointer checks Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 121/177] Revert "brcmfmac: add a check for the status of usb_register" Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 122/177] brcmfmac: properly check for bus register errors Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 123/177] btrfs: return whole extents in fiemap Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 124/177] scsi: BusLogic: Fix 64-bit system enumeration error for Buslogic Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 125/177] openrisc: Define memory barrier mb Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 126/177] btrfs: do not BUG_ON in link_to_fixup_dir Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 127/177] platform/x86: hp-wireless: add AMDs hardware id to the supported list Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 128/177] platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 129/177] platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 130/177] SMB3: incorrect file id in requests compounded with open Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 131/177] drm/amd/display: Disconnect non-DP with no EDID Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 132/177] drm/amd/amdgpu: fix refcount leak Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 133/177] drm/amdgpu: Fix a use-after-free Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 134/177] drm/amd/amdgpu: fix a potential deadlock in gpu reset Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 135/177] net: netcp: Fix an error message Greg Kroah-Hartman
2021-05-31 18:46   ` Marion & Christophe JAILLET
2021-05-31 21:42     ` Sasha Levin
2021-06-01  7:08       ` Dan Carpenter
2021-05-31 13:14 ` [PATCH 5.4 136/177] net: dsa: fix error code getting shifted with 4 in dsa_slave_get_sset_count Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 137/177] ASoC: cs42l42: Regmap must use_single_read/write Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 138/177] vfio-ccw: Check initialized flag in cp_init() Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 139/177] net: really orphan skbs tied to closing sk Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 140/177] net: fec: fix the potential memory leak in fec_enet_init() Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 141/177] net: mdio: thunder: Fix a double free issue in the .remove function Greg Kroah-Hartman
2021-05-31 13:14 ` [PATCH 5.4 142/177] net: mdio: octeon: Fix some double free issues Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 143/177] openvswitch: meter: fix race when getting now_ms Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 144/177] tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 145/177] net: sched: fix packet stuck problem for lockless qdisc Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 146/177] net: sched: fix tx action rescheduling issue during deactivation Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 147/177] net: sched: fix tx action reschedule issue with stopped queue Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 148/177] net: hso: check for allocation failure in hso_create_bulk_serial_device() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 149/177] net: bnx2: Fix error return code in bnx2_init_board() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 150/177] bnxt_en: Include new P5 HV definition in VF check Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 151/177] mld: fix panic in mld_newpack() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 152/177] gve: Check TX QPL was actually assigned Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 153/177] gve: Update mgmt_msix_idx if num_ntfy changes Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 154/177] gve: Add NULL pointer checks when freeing irqs Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 155/177] gve: Upgrade memory barrier in poll routine Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 156/177] gve: Correct SKB queue index validation Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 157/177] cxgb4: avoid accessing registers when clearing filters Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 158/177] staging: emxx_udc: fix loop in _nbu2ss_nuke() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 159/177] ASoC: cs35l33: fix an error code in probe() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 160/177] bpf: Set mac_len in bpf_skb_change_head Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 161/177] ixgbe: fix large MTU request from VF Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 162/177] scsi: libsas: Use _safe() loop in sas_resume_port() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 163/177] net: lantiq: fix memory corruption in RX ring Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 164/177] ipv6: record frag_max_size in atomic fragments in input path Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 165/177] ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 166/177] net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88 Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 167/177] sch_dsmark: fix a NULL deref in qdisc_reset() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 168/177] MIPS: alchemy: xxs1500: add gpio-au1000.h header file Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 169/177] MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 170/177] drm/i915/display: fix compiler warning about array overrun Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 171/177] i915: fix build warning in intel_dp_get_link_status() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 172/177] drivers/net/ethernet: clean up unused assignments Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 173/177] net: hns3: check the return of skb_checksum_help() Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 174/177] Revert "Revert "ALSA: usx2y: Fix potential NULL pointer dereference"" Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 175/177] net: hso: bail out on interrupt URB allocation failure Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 176/177] neighbour: Prevent Race condition in neighbour subsytem Greg Kroah-Hartman
2021-05-31 13:15 ` [PATCH 5.4 177/177] usb: core: reduce power-on-good delay time of root hub Greg Kroah-Hartman
2021-06-01  1:10 ` [PATCH 5.4 000/177] 5.4.124-rc1 review Samuel Zou
2021-06-01  2:23 ` Florian Fainelli
2021-06-01  8:06 ` Naresh Kamboju
2021-06-02  2:24 ` Guenter Roeck

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=20210531130650.449472291@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tariqt@nvidia.com \
    --cc=vladyslavt@nvidia.com \
    /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