All of lore.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,
	Arun Ramadoss <arun.ramadoss@microchip.com>,
	Paolo Abeni <pabeni@redhat.com>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.19 038/158] net: dsa: microchip: move switch chip_id detection to ksz_common
Date: Mon, 29 Aug 2022 12:58:08 +0200	[thread overview]
Message-ID: <20220829105810.382846006@linuxfoundation.org> (raw)
In-Reply-To: <20220829105808.828227973@linuxfoundation.org>

From: Arun Ramadoss <arun.ramadoss@microchip.com>

[ Upstream commit 91a98917a8839923d404a77c21646ca5fc9e330a ]

KSZ87xx and KSZ88xx have chip_id representation at reg location 0. And
KSZ9477 compatible switch and LAN937x switch have same chip_id detection
at location 0x01 and 0x02. To have the common switch detect
functionality for ksz switches, ksz_switch_detect function is
introduced.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/net/dsa/microchip/ksz8795.c     | 48 +--------------
 drivers/net/dsa/microchip/ksz8795_reg.h | 16 -----
 drivers/net/dsa/microchip/ksz9477.c     | 21 -------
 drivers/net/dsa/microchip/ksz9477_reg.h |  1 -
 drivers/net/dsa/microchip/ksz_common.c  | 78 +++++++++++++++++++++++--
 drivers/net/dsa/microchip/ksz_common.h  | 19 +++++-
 6 files changed, 93 insertions(+), 90 deletions(-)

diff --git a/drivers/net/dsa/microchip/ksz8795.c b/drivers/net/dsa/microchip/ksz8795.c
index 12a599d5e61a4..3cc51ee5fb6cc 100644
--- a/drivers/net/dsa/microchip/ksz8795.c
+++ b/drivers/net/dsa/microchip/ksz8795.c
@@ -1272,7 +1272,7 @@ static void ksz8_config_cpu_port(struct dsa_switch *ds)
 			continue;
 		if (!ksz_is_ksz88x3(dev)) {
 			ksz_pread8(dev, i, regs[P_REMOTE_STATUS], &remote);
-			if (remote & PORT_FIBER_MODE)
+			if (remote & KSZ8_PORT_FIBER_MODE)
 				p->fiber = 1;
 		}
 		if (p->fiber)
@@ -1424,51 +1424,6 @@ static u32 ksz8_get_port_addr(int port, int offset)
 	return PORT_CTRL_ADDR(port, offset);
 }
 
-static int ksz8_switch_detect(struct ksz_device *dev)
-{
-	u8 id1, id2;
-	u16 id16;
-	int ret;
-
-	/* read chip id */
-	ret = ksz_read16(dev, REG_CHIP_ID0, &id16);
-	if (ret)
-		return ret;
-
-	id1 = id16 >> 8;
-	id2 = id16 & SW_CHIP_ID_M;
-
-	switch (id1) {
-	case KSZ87_FAMILY_ID:
-		if ((id2 != CHIP_ID_94 && id2 != CHIP_ID_95))
-			return -ENODEV;
-
-		if (id2 == CHIP_ID_95) {
-			u8 val;
-
-			id2 = 0x95;
-			ksz_read8(dev, REG_PORT_STATUS_0, &val);
-			if (val & PORT_FIBER_MODE)
-				id2 = 0x65;
-		} else if (id2 == CHIP_ID_94) {
-			id2 = 0x94;
-		}
-		break;
-	case KSZ88_FAMILY_ID:
-		if (id2 != CHIP_ID_63)
-			return -ENODEV;
-		break;
-	default:
-		dev_err(dev->dev, "invalid family id: %d\n", id1);
-		return -ENODEV;
-	}
-	id16 &= ~0xff;
-	id16 |= id2;
-	dev->chip_id = id16;
-
-	return 0;
-}
-
 static int ksz8_switch_init(struct ksz_device *dev)
 {
 	struct ksz8 *ksz8 = dev->priv;
@@ -1522,7 +1477,6 @@ static const struct ksz_dev_ops ksz8_dev_ops = {
 	.freeze_mib = ksz8_freeze_mib,
 	.port_init_cnt = ksz8_port_init_cnt,
 	.shutdown = ksz8_reset_switch,
-	.detect = ksz8_switch_detect,
 	.init = ksz8_switch_init,
 	.exit = ksz8_switch_exit,
 };
diff --git a/drivers/net/dsa/microchip/ksz8795_reg.h b/drivers/net/dsa/microchip/ksz8795_reg.h
index 4109433b6b6c2..b8f6ad7581bcd 100644
--- a/drivers/net/dsa/microchip/ksz8795_reg.h
+++ b/drivers/net/dsa/microchip/ksz8795_reg.h
@@ -14,23 +14,10 @@
 #define KS_PRIO_M			0x3
 #define KS_PRIO_S			2
 
-#define REG_CHIP_ID0			0x00
-
-#define KSZ87_FAMILY_ID			0x87
-#define KSZ88_FAMILY_ID			0x88
-
-#define REG_CHIP_ID1			0x01
-
-#define SW_CHIP_ID_M			0xF0
-#define SW_CHIP_ID_S			4
 #define SW_REVISION_M			0x0E
 #define SW_REVISION_S			1
 #define SW_START			0x01
 
-#define CHIP_ID_94			0x60
-#define CHIP_ID_95			0x90
-#define CHIP_ID_63			0x30
-
 #define KSZ8863_REG_SW_RESET		0x43
 
 #define KSZ8863_GLOBAL_SOFTWARE_RESET	BIT(4)
@@ -217,8 +204,6 @@
 #define REG_PORT_4_STATUS_0		0x48
 
 /* For KSZ8765. */
-#define PORT_FIBER_MODE			BIT(7)
-
 #define PORT_REMOTE_ASYM_PAUSE		BIT(5)
 #define PORT_REMOTE_SYM_PAUSE		BIT(4)
 #define PORT_REMOTE_100BTX_FD		BIT(3)
@@ -322,7 +307,6 @@
 
 #define REG_PORT_CTRL_5			0x05
 
-#define REG_PORT_STATUS_0		0x08
 #define REG_PORT_STATUS_1		0x09
 #define REG_PORT_LINK_MD_CTRL		0x0A
 #define REG_PORT_LINK_MD_RESULT		0x0B
diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c
index 876a801ac23a4..bcfdd505ca79a 100644
--- a/drivers/net/dsa/microchip/ksz9477.c
+++ b/drivers/net/dsa/microchip/ksz9477.c
@@ -1363,23 +1363,6 @@ static u32 ksz9477_get_port_addr(int port, int offset)
 	return PORT_CTRL_ADDR(port, offset);
 }
 
-static int ksz9477_switch_detect(struct ksz_device *dev)
-{
-	u32 id32;
-	int ret;
-
-	/* read chip id */
-	ret = ksz_read32(dev, REG_CHIP_ID0__1, &id32);
-	if (ret)
-		return ret;
-
-	dev_dbg(dev->dev, "Switch detect: ID=%08x\n", id32);
-
-	dev->chip_id = id32 & 0x00FFFF00;
-
-	return 0;
-}
-
 static int ksz9477_switch_init(struct ksz_device *dev)
 {
 	u8 data8;
@@ -1410,8 +1393,6 @@ static int ksz9477_switch_init(struct ksz_device *dev)
 	dev->features = GBIT_SUPPORT;
 
 	if (dev->chip_id == KSZ9893_CHIP_ID) {
-		/* Chip is from KSZ9893 design. */
-		dev_info(dev->dev, "Found KSZ9893\n");
 		dev->features |= IS_9893;
 
 		/* Chip does not support gigabit. */
@@ -1419,7 +1400,6 @@ static int ksz9477_switch_init(struct ksz_device *dev)
 			dev->features &= ~GBIT_SUPPORT;
 		dev->phy_port_cnt = 2;
 	} else {
-		dev_info(dev->dev, "Found KSZ9477 or compatible\n");
 		/* Chip uses new XMII register definitions. */
 		dev->features |= NEW_XMII;
 
@@ -1446,7 +1426,6 @@ static const struct ksz_dev_ops ksz9477_dev_ops = {
 	.freeze_mib = ksz9477_freeze_mib,
 	.port_init_cnt = ksz9477_port_init_cnt,
 	.shutdown = ksz9477_reset_switch,
-	.detect = ksz9477_switch_detect,
 	.init = ksz9477_switch_init,
 	.exit = ksz9477_switch_exit,
 };
diff --git a/drivers/net/dsa/microchip/ksz9477_reg.h b/drivers/net/dsa/microchip/ksz9477_reg.h
index 7a2c8d4767aff..077e35ab11b54 100644
--- a/drivers/net/dsa/microchip/ksz9477_reg.h
+++ b/drivers/net/dsa/microchip/ksz9477_reg.h
@@ -25,7 +25,6 @@
 
 #define REG_CHIP_ID2__1			0x0002
 
-#define CHIP_ID_63			0x63
 #define CHIP_ID_66			0x66
 #define CHIP_ID_67			0x67
 #define CHIP_ID_77			0x77
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c
index 92a500e1ccd21..4511e99823f57 100644
--- a/drivers/net/dsa/microchip/ksz_common.c
+++ b/drivers/net/dsa/microchip/ksz_common.c
@@ -930,6 +930,72 @@ void ksz_port_stp_state_set(struct dsa_switch *ds, int port,
 }
 EXPORT_SYMBOL_GPL(ksz_port_stp_state_set);
 
+static int ksz_switch_detect(struct ksz_device *dev)
+{
+	u8 id1, id2;
+	u16 id16;
+	u32 id32;
+	int ret;
+
+	/* read chip id */
+	ret = ksz_read16(dev, REG_CHIP_ID0, &id16);
+	if (ret)
+		return ret;
+
+	id1 = FIELD_GET(SW_FAMILY_ID_M, id16);
+	id2 = FIELD_GET(SW_CHIP_ID_M, id16);
+
+	switch (id1) {
+	case KSZ87_FAMILY_ID:
+		if (id2 == KSZ87_CHIP_ID_95) {
+			u8 val;
+
+			dev->chip_id = KSZ8795_CHIP_ID;
+
+			ksz_read8(dev, KSZ8_PORT_STATUS_0, &val);
+			if (val & KSZ8_PORT_FIBER_MODE)
+				dev->chip_id = KSZ8765_CHIP_ID;
+		} else if (id2 == KSZ87_CHIP_ID_94) {
+			dev->chip_id = KSZ8794_CHIP_ID;
+		} else {
+			return -ENODEV;
+		}
+		break;
+	case KSZ88_FAMILY_ID:
+		if (id2 == KSZ88_CHIP_ID_63)
+			dev->chip_id = KSZ8830_CHIP_ID;
+		else
+			return -ENODEV;
+		break;
+	default:
+		ret = ksz_read32(dev, REG_CHIP_ID0, &id32);
+		if (ret)
+			return ret;
+
+		dev->chip_rev = FIELD_GET(SW_REV_ID_M, id32);
+		id32 &= ~0xFF;
+
+		switch (id32) {
+		case KSZ9477_CHIP_ID:
+		case KSZ9897_CHIP_ID:
+		case KSZ9893_CHIP_ID:
+		case KSZ9567_CHIP_ID:
+		case LAN9370_CHIP_ID:
+		case LAN9371_CHIP_ID:
+		case LAN9372_CHIP_ID:
+		case LAN9373_CHIP_ID:
+		case LAN9374_CHIP_ID:
+			dev->chip_id = id32;
+			break;
+		default:
+			dev_err(dev->dev,
+				"unsupported switch detected %x)\n", id32);
+			return -ENODEV;
+		}
+	}
+	return 0;
+}
+
 struct ksz_device *ksz_switch_alloc(struct device *base, void *priv)
 {
 	struct dsa_switch *ds;
@@ -986,10 +1052,9 @@ int ksz_switch_register(struct ksz_device *dev,
 	mutex_init(&dev->alu_mutex);
 	mutex_init(&dev->vlan_mutex);
 
-	dev->dev_ops = ops;
-
-	if (dev->dev_ops->detect(dev))
-		return -EINVAL;
+	ret = ksz_switch_detect(dev);
+	if (ret)
+		return ret;
 
 	info = ksz_lookup_info(dev->chip_id);
 	if (!info)
@@ -998,10 +1063,15 @@ int ksz_switch_register(struct ksz_device *dev,
 	/* Update the compatible info with the probed one */
 	dev->info = info;
 
+	dev_info(dev->dev, "found switch: %s, rev %i\n",
+		 dev->info->dev_name, dev->chip_rev);
+
 	ret = ksz_check_device_id(dev);
 	if (ret)
 		return ret;
 
+	dev->dev_ops = ops;
+
 	ret = dev->dev_ops->init(dev);
 	if (ret)
 		return ret;
diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h
index 8500eaedad67a..e6bc5fb2b1303 100644
--- a/drivers/net/dsa/microchip/ksz_common.h
+++ b/drivers/net/dsa/microchip/ksz_common.h
@@ -90,6 +90,7 @@ struct ksz_device {
 
 	/* chip specific data */
 	u32 chip_id;
+	u8 chip_rev;
 	int cpu_port;			/* port connected to CPU */
 	int phy_port_cnt;
 	phy_interface_t compat_interface;
@@ -182,7 +183,6 @@ struct ksz_dev_ops {
 	void (*freeze_mib)(struct ksz_device *dev, int port, bool freeze);
 	void (*port_init_cnt)(struct ksz_device *dev, int port);
 	int (*shutdown)(struct ksz_device *dev);
-	int (*detect)(struct ksz_device *dev);
 	int (*init)(struct ksz_device *dev);
 	void (*exit)(struct ksz_device *dev);
 };
@@ -353,6 +353,23 @@ static inline void ksz_regmap_unlock(void *__mtx)
 #define PORT_RX_ENABLE			BIT(1)
 #define PORT_LEARN_DISABLE		BIT(0)
 
+/* Switch ID Defines */
+#define REG_CHIP_ID0			0x00
+
+#define SW_FAMILY_ID_M			GENMASK(15, 8)
+#define KSZ87_FAMILY_ID			0x87
+#define KSZ88_FAMILY_ID			0x88
+
+#define KSZ8_PORT_STATUS_0		0x08
+#define KSZ8_PORT_FIBER_MODE		BIT(7)
+
+#define SW_CHIP_ID_M			GENMASK(7, 4)
+#define KSZ87_CHIP_ID_94		0x6
+#define KSZ87_CHIP_ID_95		0x9
+#define KSZ88_CHIP_ID_63		0x3
+
+#define SW_REV_ID_M			GENMASK(7, 4)
+
 /* Regmap tables generation */
 #define KSZ_SPI_OP_RD		3
 #define KSZ_SPI_OP_WR		2
-- 
2.35.1




  parent reply	other threads:[~2022-08-29 12:36 UTC|newest]

Thread overview: 174+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-29 10:57 [PATCH 5.19 000/158] 5.19.6-rc1 review Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 001/158] mm/gup: fix FOLL_FORCE COW security issue and remove FOLL_COW Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 002/158] NFS: Fix another fsync() issue after a server reboot Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 003/158] audit: fix potential double free on error path from fsnotify_add_inode_mark Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 004/158] cgroup: Fix race condition at rebind_subsystems() Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 005/158] parisc: Make CONFIG_64BIT available for ARCH=parisc64 only Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 006/158] parisc: Fix exception handler for fldw and fstw instructions Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 007/158] kernel/sys_ni: add compat entry for fadvise64_64 Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 008/158] kprobes: dont call disarm_kprobe() for disabled kprobes Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 009/158] mm/uffd: reset write protection when unregister with wp-mode Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 010/158] mm/hugetlb: support write-faults in shared mappings Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 011/158] mt76: mt7921: fix command timeout in AP stop period Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 012/158] xfrm: fix refcount leak in __xfrm_policy_check() Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 013/158] Revert "xfrm: update SA curlft.use_time" Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 014/158] xfrm: clone missing x->lastused in xfrm_do_migrate Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 015/158] af_key: Do not call xfrm_probe_algs in parallel Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 016/158] xfrm: policy: fix metadata dst->dev xmit null pointer dereference Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 017/158] fs: require CAP_SYS_ADMIN in target namespace for idmapped mounts Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 018/158] Revert "net: macsec: update SCI upon MAC address change." Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 019/158] NFSv4.2 fix problems with __nfs42_ssc_open Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 020/158] SUNRPC: RPC level errors should set task->tk_rpc_status Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 021/158] mm/smaps: dont access young/dirty bit if pte unpresent Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 022/158] ntfs: fix acl handling Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 023/158] rose: check NULL rose_loopback_neigh->loopback Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 024/158] r8152: fix the units of some registers for RTL8156A Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 025/158] r8152: fix the RX FIFO settings when suspending Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 026/158] nfc: pn533: Fix use-after-free bugs caused by pn532_cmd_timeout Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 027/158] ice: xsk: prohibit usage of non-balanced queue id Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 028/158] ice: xsk: use Rx rings XDP ring when picking NAPI context Greg Kroah-Hartman
2022-08-29 10:57 ` [PATCH 5.19 029/158] net/mlx5e: Properly disable vlan strip on non-UL reps Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 030/158] net/mlx5: LAG, fix logic over MLX5_LAG_FLAG_NDEVS_READY Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 031/158] net/mlx5: Eswitch, Fix forwarding decision to uplink Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 032/158] net/mlx5: Disable irq when locking lag_lock Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 033/158] net/mlx5: Fix cmd error logging for manage pages cmd Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 034/158] net/mlx5: Avoid false positive lockdep warning by adding lock_class_key Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 035/158] net/mlx5e: Fix wrong application of the LRO state Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 036/158] net/mlx5e: Fix wrong tc flag used when set hw-tc-offload off Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 037/158] net: dsa: microchip: ksz9477: cleanup the ksz9477_switch_detect Greg Kroah-Hartman
2022-08-29 10:58 ` Greg Kroah-Hartman [this message]
2022-08-29 10:58 ` [PATCH 5.19 039/158] net: dsa: microchip: move tag_protocol to ksz_common Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 040/158] net: dsa: microchip: move vlan functionality " Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 041/158] net: dsa: microchip: move the port mirror " Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 042/158] net: dsa: microchip: update the ksz_phylink_get_caps Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 043/158] net: dsa: microchip: keep compatibility with device tree blobs with no phy-mode Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 044/158] net: ipa: dont assume SMEM is page-aligned Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 045/158] net: phy: Dont WARN for PHY_READY state in mdio_bus_phy_resume() Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 046/158] net: moxa: get rid of asymmetry in DMA mapping/unmapping Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 047/158] bonding: 802.3ad: fix no transmission of LACPDUs Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 048/158] net: ipvtap - add __init/__exit annotations to module init/exit funcs Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 049/158] netfilter: ebtables: reject blobs that dont provide all entry points Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 050/158] netfilter: nft_tproxy: restrict to prerouting hook Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 051/158] bnxt_en: Use PAGE_SIZE to init buffer when multi buffer XDP is not in use Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 052/158] bnxt_en: set missing reload flag in devlink features Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 053/158] bnxt_en: fix NQ resource accounting during vf creation on 57500 chips Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 054/158] bnxt_en: fix LRO/GRO_HW features in ndo_fix_features callback Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 055/158] netfilter: nf_tables: disallow updates of implicit chain Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 056/158] netfilter: nf_tables: make table handle allocation per-netns friendly Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 057/158] netfilter: nft_payload: report ERANGE for too long offset and length Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 058/158] netfilter: nft_payload: do not truncate csum_offset and csum_type Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 059/158] netfilter: nf_tables: do not leave chain stats enabled on error Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 060/158] netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 061/158] netfilter: nft_tunnel: restrict it to netdev family Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 062/158] netfilter: nf_tables: disallow binding to already bound chain Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 063/158] netfilter: flowtable: add function to invoke garbage collection immediately Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 064/158] netfilter: flowtable: fix stuck flows on cleanup due to pending work Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 065/158] net: Fix data-races around sysctl_[rw]mem_(max|default) Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 066/158] net: Fix data-races around weight_p and dev_weight_[rt]x_bias Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 067/158] net: Fix data-races around netdev_max_backlog Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 068/158] net: Fix data-races around netdev_tstamp_prequeue Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 069/158] ratelimit: Fix data-races in ___ratelimit() Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 070/158] net: Fix data-races around sysctl_optmem_max Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 071/158] net: Fix a data-race around sysctl_tstamp_allow_data Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 072/158] net: Fix a data-race around sysctl_net_busy_poll Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 073/158] net: Fix a data-race around sysctl_net_busy_read Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 074/158] net: Fix a data-race around netdev_budget Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 075/158] net: Fix data-races around sysctl_max_skb_frags Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 076/158] net: Fix a data-race around netdev_budget_usecs Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 077/158] net: Fix data-races around sysctl_fb_tunnels_only_for_init_net Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 078/158] net: Fix data-races around sysctl_devconf_inherit_init_net Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 079/158] net: Fix a data-race around gro_normal_batch Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 080/158] net: Fix a data-race around netdev_unregister_timeout_secs Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 081/158] net: Fix a data-race around sysctl_somaxconn Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 082/158] ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 083/158] i40e: Fix incorrect address type for IPv6 flow rules Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 084/158] net: ethernet: mtk_eth_soc: enable rx cksum offload for MTK_NETSYS_V2 Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 085/158] net: ethernet: mtk_eth_soc: fix hw hash reporting " Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 086/158] rxrpc: Fix locking in rxrpcs sendmsg Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 087/158] ionic: clear broken state on generation change Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 088/158] ionic: fix up issues with handling EAGAIN on FW cmds Greg Kroah-Hartman
2022-08-29 10:58 ` [PATCH 5.19 089/158] ionic: VF initial random MAC address if no assigned mac Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 090/158] net: stmmac: work around sporadic tx issue on link-up Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 091/158] net: lantiq_xrx200: confirm skb is allocated before using Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 092/158] net: lantiq_xrx200: fix lock under memory pressure Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 093/158] net: lantiq_xrx200: restore buffer if memory allocation failed Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 094/158] btrfs: fix silent failure when deleting root reference Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 095/158] btrfs: replace: drop assert for suspended replace Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 096/158] btrfs: add info when mount fails due to stale replace target Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 097/158] btrfs: fix space cache corruption and potential double allocations Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 098/158] btrfs: check if root is readonly while setting security xattr Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 099/158] btrfs: fix possible memory leak in btrfs_get_dev_args_from_path() Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 100/158] btrfs: update generation of hole file extent item when merging holes Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 101/158] x86/boot: Dont propagate uninitialized boot_params->cc_blob_address Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 102/158] perf/x86/intel: Fix pebs event constraints for ADL Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 103/158] perf/x86/lbr: Enable the branch type for the Arch LBR by default Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 104/158] x86/entry: Fix entry_INT80_compat for Xen PV guests Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 105/158] x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 106/158] x86/sev: Dont use cc_platform_has() for early SEV-SNP calls Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 107/158] x86/bugs: Add "unknown" reporting for MMIO Stale Data Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 108/158] x86/nospec: Unwreck the RSB stuffing Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 109/158] x86/PAT: Have pat_enabled() properly reflect state when running on Xen Greg Kroah-Hartman
2022-09-02 18:16   ` Chuck Zmudzinski
2022-08-29 10:59 ` [PATCH 5.19 110/158] loop: Check for overflow while configuring loop Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 111/158] writeback: avoid use-after-free after removing device Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 112/158] audit: move audit_return_fixup before the filters Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 113/158] asm-generic: sections: refactor memory_intersects Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 114/158] mm/damon/dbgfs: avoid duplicate context directory creation Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 115/158] s390/mm: do not trigger write fault when vma does not allow VM_WRITE Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 116/158] bootmem: remove the vmemmap pages from kmemleak in put_page_bootmem Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 117/158] mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 118/158] mm/mprotect: only reference swap pfn page if type match Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 119/158] cifs: skip extra NULL byte in filenames Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 120/158] s390: fix double free of GS and RI CBs on fork() failure Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 121/158] fbdev: fbcon: Properly revert changes when vc_resize() failed Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 122/158] Revert "memcg: cleanup racy sum avoidance code" Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 123/158] shmem: update folio if shmem_replace_page() updates the page Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 124/158] ACPI: processor: Remove freq Qos request for all CPUs Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 125/158] nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 126/158] smb3: missing inode locks in punch hole Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 127/158] ocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 128/158] xen/privcmd: fix error exit of privcmd_ioctl_dm_op() Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 129/158] riscv: signal: fix missing prototype warning Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 130/158] riscv: traps: add missing prototype Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 131/158] riscv: dts: microchip: correct L2 cache interrupts Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 132/158] Revert "zram: remove double compression logic" Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 133/158] io_uring: fix issue with io_write() not always undoing sb_start_write() Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 134/158] mm/hugetlb: fix hugetlb not supporting softdirty tracking Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 135/158] Revert "md-raid: destroy the bitmap after destroying the thread" Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 136/158] md: call __md_stop_writes in md_stop Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 137/158] arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76 Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 138/158] binder_alloc: add missing mmap_lock calls when using the VMA Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 139/158] x86/nospec: Fix i386 RSB stuffing Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 140/158] drm/amdkfd: Fix isa version for the GC 10.3.7 Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 141/158] Documentation/ABI: Mention retbleed vulnerability info file for sysfs Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 142/158] blk-mq: fix io hung due to missing commit_rqs Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 143/158] perf python: Fix build when PYTHON_CONFIG is user supplied Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 144/158] perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 145/158] perf/x86/intel/ds: Fix precise store latency handling Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 146/158] perf stat: Clear evsel->reset_group for each stat run Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 147/158] arm64: fix rodata=full Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 148/158] arm64/signal: Flush FPSIMD register state when disabling streaming mode Greg Kroah-Hartman
2022-08-29 10:59 ` [PATCH 5.19 149/158] arm64/sme: Dont flush SVE register state when allocating SME storage Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 150/158] arm64/sme: Dont flush SVE register state when handling SME traps Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 151/158] scsi: ufs: core: Enable link lost interrupt Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 152/158] scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 153/158] scsi: core: Fix passthrough retry counter handling Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 154/158] riscv: dts: microchip: mpfs: fix incorrect pcie child node name Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 155/158] riscv: dts: microchip: mpfs: remove ti,fifo-depth property Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 156/158] riscv: dts: microchip: mpfs: remove bogus card-detect-delay Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 157/158] riscv: dts: microchip: mpfs: remove pci axi address translation property Greg Kroah-Hartman
2022-08-29 11:00 ` [PATCH 5.19 158/158] bpf: Dont use tnum_range on array range checking for poke descriptors Greg Kroah-Hartman
2022-08-29 18:08 ` [PATCH 5.19 000/158] 5.19.6-rc1 review Florian Fainelli
2022-08-29 21:05 ` Ron Economos
2022-08-29 22:13 ` Shuah Khan
2022-08-29 23:12 ` Zan Aziz
2022-08-30  0:54 ` Guenter Roeck
2022-08-30  2:14 ` Daniel Díaz
2022-08-30 10:37 ` Sudip Mukherjee (Codethink)
2022-09-01  9:47   ` Greg Kroah-Hartman
2022-08-30 12:04 ` Bagas Sanjaya
2022-08-30 12:12 ` Bagas Sanjaya
2022-08-30 12:30 ` Fenil Jain
2022-08-30 14:33 ` Rudi Heitbaum
2022-08-30 21:09 ` Justin Forbes
2022-08-31  5:53 ` Jiri Slaby

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=20220829105810.382846006@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=arun.ramadoss@microchip.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.