Skip to contentSkip to conversation

6.1.36-rc1 review

PATCH In review Greg Kroah-Hartman 10 participants 180 messages Jun 26, 2023 – Jun 28, 2023 Page 2 of 2

Subsystems (2)
lore
Share & tools
lore
author maintainer
#150 lore raw

PATCH 150/170 ASoC: simple-card: Add missing of_node_put() in case of error

In reply to Greg Kroah-Hartman

From: Herve Codina <[email protected]>

[ Upstream commit 8938f75a5e35c597a647c28984a0304da7a33d63 ]

In the error path, a of_node_put() for platform is missing. Just add it.

---
 sound/soc/generic/simple-card.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/generic/simple-card.c +1 -0
index feb55b66239b8..fbb682747f598 100644
@@ -416,6 +416,7 @@ static int __simple_for_each_link(struct asoc_simple_priv *priv,
 
 			if (ret < 0) {
 				of_node_put(codec);
+				of_node_put(plat);
 				of_node_put(np);
 				goto error;
 			}
Signature · 1 line
2.39.2
author maintainer
#151 lore raw

PATCH 151/170 soundwire: dmi-quirks: add new mapping for HP Spectre x360

In reply to Greg Kroah-Hartman

From: Pierre-Louis Bossart <[email protected]>

[ Upstream commit 700581ede41d029403feec935df4616309696fd7 ]

A BIOS/DMI update seems to have broken some devices, let's add a new mapping.

---
 drivers/soundwire/dmi-quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/soundwire/dmi-quirks.c +7 -0
index 58ea013fa918a..2a1096dab63d3 100644
@@ -99,6 +99,13 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
 		},
 		.driver_data = (void *)intel_tgl_bios,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+			DMI_MATCH(DMI_BOARD_NAME, "8709"),
+		},
+		.driver_data = (void *)intel_tgl_bios,
+	},
 	{
 		/* quirk used for NUC15 'Bishop County' LAPBC510 and LAPBC710 skews */
 		.matches = {
Signature · 1 line
2.39.2
author maintainer
#152 lore raw

PATCH 152/170 soundwire: qcom: add proper error paths in qcom_swrm_startup()

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 99e09b9c0ab43346c52f2787ca4e5c4b1798362e ]

Reverse actions in qcom_swrm_startup() error paths to avoid leaking stream memory and keeping runtime PM unbalanced.

---
 drivers/soundwire/qcom.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
drivers/soundwire/qcom.c +13 -4
index 21c50972047f5..b2eb3090f4b46 100644
@@ -1090,8 +1090,10 @@ static int qcom_swrm_startup(struct snd_pcm_substream *substream,
 	}
 
 	sruntime = sdw_alloc_stream(dai->name);
-	if (!sruntime)
-		return -ENOMEM;
+	if (!sruntime) {
+		ret = -ENOMEM;
+		goto err_alloc;
+	}
 
 	ctrl->sruntime[dai->id] = sruntime;
 
@@ -1101,12 +1103,19 @@ static int qcom_swrm_startup(struct snd_pcm_substream *substream,
 		if (ret < 0 && ret != -ENOTSUPP) {
 			dev_err(dai->dev, "Failed to set sdw stream on %s\n",
 				codec_dai->name);
-			sdw_release_stream(sruntime);
-			return ret;
+			goto err_set_stream;
 		}
 	}
 
 	return 0;
+
+err_set_stream:
+	sdw_release_stream(sruntime);
+err_alloc:
+	pm_runtime_mark_last_busy(ctrl->dev);
+	pm_runtime_put_autosuspend(ctrl->dev);
+
+	return ret;
 }
 
 static void qcom_swrm_shutdown(struct snd_pcm_substream *substream,
Signature · 1 line
2.39.2
author maintainer
#153 lore raw

PATCH 153/170 ASoC: nau8824: Add quirk to active-high jack-detect

In reply to Greg Kroah-Hartman

From: Edson Juliano Drosdeck <[email protected]>

[ Upstream commit e384dba03e3294ce7ea69e4da558e9bf8f0e8946 ]

Add entries for Positivo laptops: CW14Q01P, K1424G, N14ZP74G to the DMI table, so that active-high jack-detect will work properly on these laptops.

---
 sound/soc/codecs/nau8824.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
sound/soc/codecs/nau8824.c +24 -0
index 4f19fd9b65d11..5a4db8944d06a 100644
@@ -1903,6 +1903,30 @@ static const struct dmi_system_id nau8824_quirk_table[] = {
 		},
 		.driver_data = (void *)(NAU8824_MONO_SPEAKER),
 	},
+	{
+		/* Positivo CW14Q01P */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
+			DMI_MATCH(DMI_BOARD_NAME, "CW14Q01P"),
+		},
+		.driver_data = (void *)(NAU8824_JD_ACTIVE_HIGH),
+	},
+	{
+		/* Positivo K1424G */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
+			DMI_MATCH(DMI_BOARD_NAME, "K1424G"),
+		},
+		.driver_data = (void *)(NAU8824_JD_ACTIVE_HIGH),
+	},
+	{
+		/* Positivo N14ZP74G */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
+			DMI_MATCH(DMI_BOARD_NAME, "N14ZP74G"),
+		},
+		.driver_data = (void *)(NAU8824_JD_ACTIVE_HIGH),
+	},
 	{}
 };
 
Signature · 1 line
2.39.2
author maintainer
#154 lore raw

PATCH 154/170 ASoC: amd: yc: Add Thinkpad Neo14 to quirks list for acp6x

In reply to Greg Kroah-Hartman

From: Sicong Jiang <[email protected]>

[ Upstream commit 57d1e8900495cf1751cec74db16fe1a0fe47efbb ]

Thinkpad Neo14 Ryzen Edition uses Ryzen 6800H processor, and adding to quirks list for acp6x will enable internal mic.

---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
index 84b401b685f7f..c1ca3ceac5f2f 100644
@@ -171,6 +171,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "21CL"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "21EF"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
Signature · 1 line
2.39.2
author maintainer
#155 lore raw

PATCH 155/170 gfs2: Dont get stuck writing page onto itself under direct I/O

In reply to Greg Kroah-Hartman

From: Andreas Gruenbacher <[email protected]>

[ Upstream commit fa58cc888d67e640e354d8b3ceef877ea167b0cf ]

When a direct I/O write is performed, iomap_dio_rw() invalidates the part of the page cache which the write is going to before carrying out the write. In the odd case, the direct I/O write will be reading from the same page it is writing to. gfs2 carries out writes with page faults disabled, so it should have been obvious that this page invalidation can cause iomap_dio_rw() to never make any progress. Currently, gfs2 will end up in an endless retry loop in gfs2_file_direct_write() instead, though.

Break this endless loop by limiting the number of retries and falling back to buffered I/O after that.

Also simplify should_fault_in_pages() sightly and add a comment to make the above case easier to understand.

---
 fs/gfs2/file.c | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
fs/gfs2/file.c +14 -3
index 60c6fb91fb589..bc6cd5f4b1077 100644
@@ -783,9 +783,13 @@ static inline bool should_fault_in_pages(struct iov_iter *i,
 	if (!user_backed_iter(i))
 		return false;
 
+	/*
+	 * Try to fault in multiple pages initially.  When that doesn't result
+	 * in any progress, fall back to a single page.
+	 */
 	size = PAGE_SIZE;
 	offs = offset_in_page(iocb->ki_pos);
-	if (*prev_count != count || !*window_size) {
+	if (*prev_count != count) {
 		size_t nr_dirtied;
 
 		nr_dirtied = max(current->nr_dirtied_pause -
@@ -869,6 +873,7 @@ static ssize_t gfs2_file_direct_write(struct kiocb *iocb, struct iov_iter *from,
 	struct gfs2_inode *ip = GFS2_I(inode);
 	size_t prev_count = 0, window_size = 0;
 	size_t written = 0;
+	bool enough_retries;
 	ssize_t ret;
 
 	/*
@@ -912,11 +917,17 @@ static ssize_t gfs2_file_direct_write(struct kiocb *iocb, struct iov_iter *from,
 	if (ret > 0)
 		written = ret;
 
+	enough_retries = prev_count == iov_iter_count(from) &&
+			 window_size <= PAGE_SIZE;
 	if (should_fault_in_pages(from, iocb, &prev_count, &window_size)) {
 		gfs2_glock_dq(gh);
 		window_size -= fault_in_iov_iter_readable(from, window_size);
-		if (window_size)
-			goto retry;
+		if (window_size) {
+			if (!enough_retries)
+				goto retry;
+			/* fall back to buffered I/O */
+			ret = 0;
+		}
 	}
 out_unlock:
 	if (gfs2_holder_queued(gh))
Signature · 1 line
2.39.2
author maintainer
#156 lore raw

PATCH 156/170 s390/purgatory: disable branch profiling

In reply to Greg Kroah-Hartman

From: Alexander Gordeev <[email protected]>

[ Upstream commit 03c5c83b70dca3729a3eb488e668e5044bd9a5ea ]

Avoid linker error for randomly generated config file that has CONFIG_BRANCH_PROFILE_NONE enabled and make it similar to riscv, x86 and also to commit 4bf3ec384edf ("s390: disable branch profiling for vdso").

---
 arch/s390/purgatory/Makefile | 1 +
 1 file changed, 1 insertion(+)
arch/s390/purgatory/Makefile +1 -0
index d237bc6841cb8..4cbf306b8181f 100644
@@ -26,6 +26,7 @@ KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
 KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding
 KBUILD_CFLAGS += -c -MD -Os -m64 -msoft-float -fno-common
 KBUILD_CFLAGS += -fno-stack-protector
+KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
 KBUILD_CFLAGS += $(CLANG_FLAGS)
 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
 KBUILD_AFLAGS := $(filter-out -DCC_USING_EXPOLINE,$(KBUILD_AFLAGS))
Signature · 1 line
2.39.2
author maintainer
#157 lore raw

PATCH 157/170 ASoC: fsl_sai: Enable BCI bit if SAI works on synchronous mode with BYP asserted

In reply to Greg Kroah-Hartman

From: Chancel Liu <[email protected]>

[ Upstream commit 32cf0046a652116d6a216d575f3049a9ff9dd80d ]

There's an issue on SAI synchronous mode that TX/RX side can't get BCLK from RX/TX it sync with if BYP bit is asserted. It's a workaround to fix it that enable SION of IOMUX pad control and assert BCI.

For example if TX sync with RX which means both TX and RX are using clk form RX and BYP=1. TX can get BCLK only if the following two conditions are valid:
1. SION of RX BCLK IOMUX pad is set to 1
2. BCI of TX is set to 1

---
 sound/soc/fsl/fsl_sai.c | 11 +++++++++--
 sound/soc/fsl/fsl_sai.h |  1 +
 2 files changed, 10 insertions(+), 2 deletions(-)
sound/soc/fsl/fsl_sai.c +9 -2
index 6d88af5b287fe..b33104715c7ba 100644
@@ -491,14 +491,21 @@ static int fsl_sai_set_bclk(struct snd_soc_dai *dai, bool tx, u32 freq)
 	regmap_update_bits(sai->regmap, reg, FSL_SAI_CR2_MSEL_MASK,
 			   FSL_SAI_CR2_MSEL(sai->mclk_id[tx]));
 
-	if (savediv == 1)
+	if (savediv == 1) {
 		regmap_update_bits(sai->regmap, reg,
 				   FSL_SAI_CR2_DIV_MASK | FSL_SAI_CR2_BYP,
 				   FSL_SAI_CR2_BYP);
-	else
+		if (fsl_sai_dir_is_synced(sai, adir))
+			regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs),
+					   FSL_SAI_CR2_BCI, FSL_SAI_CR2_BCI);
+		else
+			regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs),
+					   FSL_SAI_CR2_BCI, 0);
+	} else {
 		regmap_update_bits(sai->regmap, reg,
 				   FSL_SAI_CR2_DIV_MASK | FSL_SAI_CR2_BYP,
 				   savediv / 2 - 1);
+	}
 
 	if (sai->soc_data->max_register >= FSL_SAI_MCTL) {
 		/* SAI is in master mode at this point, so enable MCLK */
sound/soc/fsl/fsl_sai.h +1 -0
index 697f6690068c8..c5423f81e4560 100644
@@ -116,6 +116,7 @@
 
 /* SAI Transmit and Receive Configuration 2 Register */
 #define FSL_SAI_CR2_SYNC	BIT(30)
+#define FSL_SAI_CR2_BCI		BIT(28)
 #define FSL_SAI_CR2_MSEL_MASK	(0x3 << 26)
 #define FSL_SAI_CR2_MSEL_BUS	0
 #define FSL_SAI_CR2_MSEL_MCLK1	BIT(26)
Signature · 1 line
2.39.2
author maintainer
#158 lore raw

PATCH 158/170 ALSA: hda/realtek: Add "Intel Reference board" and "NUC 13" SSID in the ALC256

In reply to Greg Kroah-Hartman

From: Sayed, Karimuddin <[email protected]>

[ Upstream commit 1a93f10c5b12bd766a537b24a50fca5373467303 ]

Add "Intel Reference boad" and "Intel NUC 13" SSID in the alc256.
Enable jack headset volume buttons

---
 sound/pci/hda/patch_realtek.c | 2 ++
 1 file changed, 2 insertions(+)
sound/pci/hda/patch_realtek.c +2 -0
index 920e44ba998a5..eb049014f87ac 100644
@@ -9594,6 +9594,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x10ec, 0x124c, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
 	SND_PCI_QUIRK(0x10ec, 0x1252, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
 	SND_PCI_QUIRK(0x10ec, 0x1254, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
+	SND_PCI_QUIRK(0x10ec, 0x12cc, "Intel Reference board", ALC225_FIXUP_HEADSET_JACK),
 	SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_HEADSET_MODE),
 	SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
 	SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen (NP930SBE-K01US)", ALC298_FIXUP_SAMSUNG_AMP),
@@ -9814,6 +9815,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
 	SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
 	SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10),
+	SND_PCI_QUIRK(0x8086, 0x3038, "Intel NUC 13", ALC225_FIXUP_HEADSET_JACK),
 	SND_PCI_QUIRK(0xf111, 0x0001, "Framework Laptop", ALC295_FIXUP_FRAMEWORK_LAPTOP_MIC_NO_PRESENCE),
 
 #if 0
Signature · 1 line
2.39.2
author maintainer
#159 lore raw

PATCH 159/170 i2c: mchp-pci1xxxx: Avoid cast to incompatible function type

In reply to Greg Kroah-Hartman

From: Simon Horman <[email protected]>

[ Upstream commit 7ebfd881abe9e0ea9557b29dab6aa28d294fabb4 ]

Rather than casting pci1xxxx_i2c_shutdown to an incompatible function type, update the type to match that expected by __devm_add_action.

Reported by clang-16 with W-1:

.../i2c-mchp-pci1xxxx.c:1159:29: error: cast from 'void (*)(struct pci1xxxx_i2c *)' to 'void (*)(void *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]

         ret = devm_add_action(dev, (void (*)(void *))pci1xxxx_i2c_shutdown, i2c);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./include/linux/device.h:251:29: note: expanded from macro 'devm_add_action'
__devm_add_action(release, action, data, #action)
^~~~~~

No functional change intended.
Compile tested only.

---
 drivers/i2c/busses/i2c-mchp-pci1xxxx.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-mchp-pci1xxxx.c +4 -2
index b21ffd6df9276..5ef136c3ecb12 100644
@@ -1118,8 +1118,10 @@ static int pci1xxxx_i2c_resume(struct device *dev)
 static DEFINE_SIMPLE_DEV_PM_OPS(pci1xxxx_i2c_pm_ops, pci1xxxx_i2c_suspend,
 			 pci1xxxx_i2c_resume);
 
-static void pci1xxxx_i2c_shutdown(struct pci1xxxx_i2c *i2c)
+static void pci1xxxx_i2c_shutdown(void *data)
 {
+	struct pci1xxxx_i2c *i2c = data;
+
 	pci1xxxx_i2c_config_padctrl(i2c, false);
 	pci1xxxx_i2c_configure_core_reg(i2c, false);
 }
@@ -1156,7 +1158,7 @@ static int pci1xxxx_i2c_probe_pci(struct pci_dev *pdev,
 	init_completion(&i2c->i2c_xfer_done);
 	pci1xxxx_i2c_init(i2c);
 
-	ret = devm_add_action(dev, (void (*)(void *))pci1xxxx_i2c_shutdown, i2c);
+	ret = devm_add_action(dev, pci1xxxx_i2c_shutdown, i2c);
 	if (ret)
 		return ret;
 
Signature · 1 line
2.39.2
author maintainer
#160 lore raw

PATCH 160/170 ARM: dts: Fix erroneous ADS touchscreen polarities

In reply to Greg Kroah-Hartman

From: Linus Walleij <[email protected]>

[ Upstream commit 4a672d500bfd6bb87092c33d5a2572c3d0a1cf83 ]

Several device tree files get the polarity of the pendown-gpios
wrong: this signal is active low. Fix up all incorrect flags, so that operating systems can rely on the flag being correctly set.

---
 arch/arm/boot/dts/am57xx-cl-som-am57x.dts          | 2 +-
 arch/arm/boot/dts/at91sam9261ek.dts                | 2 +-
 arch/arm/boot/dts/imx7d-pico-hobbit.dts            | 2 +-
 arch/arm/boot/dts/imx7d-sdb.dts                    | 2 +-
 arch/arm/boot/dts/omap3-cm-t3x.dtsi                | 2 +-
 arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi | 2 +-
 arch/arm/boot/dts/omap3-lilly-a83x.dtsi            | 2 +-
 arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi    | 2 +-
 arch/arm/boot/dts/omap3-overo-common-lcd43.dtsi    | 2 +-
 arch/arm/boot/dts/omap3-pandora-common.dtsi        | 2 +-
 arch/arm/boot/dts/omap5-cm-t54.dts                 | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)
arch/arm/boot/dts/am57xx-cl-som-am57x.dts +1 -1
index 2fc9a5d5e0c0d..625b9b311b49d 100644
@@ -527,7 +527,7 @@
 
 		interrupt-parent = <&gpio1>;
 		interrupts = <31 0>;
-		pendown-gpio = <&gpio1 31 0>;
+		pendown-gpio = <&gpio1 31 GPIO_ACTIVE_LOW>;
 
 
 		ti,x-min = /bits/ 16 <0x0>;
arch/arm/boot/dts/at91sam9261ek.dts +1 -1
index 88869ca874d1a..045cb253f23a6 100644
@@ -156,7 +156,7 @@
 					compatible = "ti,ads7843";
 					interrupts-extended = <&pioC 2 IRQ_TYPE_EDGE_BOTH>;
 					spi-max-frequency = <3000000>;
-					pendown-gpio = <&pioC 2 GPIO_ACTIVE_HIGH>;
+					pendown-gpio = <&pioC 2 GPIO_ACTIVE_LOW>;
 
 					ti,x-min = /bits/ 16 <150>;
 					ti,x-max = /bits/ 16 <3830>;
arch/arm/boot/dts/imx7d-pico-hobbit.dts +1 -1
index d917dc4f2f227..6ad39dca70096 100644
@@ -64,7 +64,7 @@
 		interrupt-parent = <&gpio2>;
 		interrupts = <7 0>;
 		spi-max-frequency = <1000000>;
-		pendown-gpio = <&gpio2 7 0>;
+		pendown-gpio = <&gpio2 7 GPIO_ACTIVE_LOW>;
 		vcc-supply = <&reg_3p3v>;
 		ti,x-min = /bits/ 16 <0>;
 		ti,x-max = /bits/ 16 <4095>;
arch/arm/boot/dts/imx7d-sdb.dts +1 -1
index f483bc0afe5ea..234e5fc647b22 100644
@@ -205,7 +205,7 @@
 		pinctrl-0 = <&pinctrl_tsc2046_pendown>;
 		interrupt-parent = <&gpio2>;
 		interrupts = <29 0>;
-		pendown-gpio = <&gpio2 29 GPIO_ACTIVE_HIGH>;
+		pendown-gpio = <&gpio2 29 GPIO_ACTIVE_LOW>;
 		touchscreen-max-pressure = <255>;
 		wakeup-source;
 	};
arch/arm/boot/dts/omap3-cm-t3x.dtsi +1 -1
index e61b8a2bfb7de..51baedf1603bd 100644
@@ -227,7 +227,7 @@
 
 		interrupt-parent = <&gpio2>;
 		interrupts = <25 0>;		/* gpio_57 */
-		pendown-gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
+		pendown-gpio = <&gpio2 25 GPIO_ACTIVE_LOW>;
 
 		ti,x-min = /bits/ 16 <0x0>;
 		ti,x-max = /bits/ 16 <0x0fff>;
arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi +1 -1
index 3decc2d78a6ca..a7f99ae0c1fe9 100644
@@ -54,7 +54,7 @@
 
 		interrupt-parent = <&gpio1>;
 		interrupts = <27 0>;		/* gpio_27 */
-		pendown-gpio = <&gpio1 27 GPIO_ACTIVE_HIGH>;
+		pendown-gpio = <&gpio1 27 GPIO_ACTIVE_LOW>;
 
 		ti,x-min = /bits/ 16 <0x0>;
 		ti,x-max = /bits/ 16 <0x0fff>;
arch/arm/boot/dts/omap3-lilly-a83x.dtsi +1 -1
index c595afe4181d7..d310b5c7bac36 100644
@@ -311,7 +311,7 @@
 		interrupt-parent = <&gpio1>;
 		interrupts = <8 0>;   /* boot6 / gpio_8 */
 		spi-max-frequency = <1000000>;
-		pendown-gpio = <&gpio1 8 GPIO_ACTIVE_HIGH>;
+		pendown-gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
 		vcc-supply = <&reg_vcc3>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&tsc2048_pins>;
arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi +1 -1
index 1d6e88f99eb31..c3570acc35fad 100644
@@ -149,7 +149,7 @@
 
 		interrupt-parent = <&gpio4>;
 		interrupts = <18 0>;			/* gpio_114 */
-		pendown-gpio = <&gpio4 18 GPIO_ACTIVE_HIGH>;
+		pendown-gpio = <&gpio4 18 GPIO_ACTIVE_LOW>;
 
 		ti,x-min = /bits/ 16 <0x0>;
 		ti,x-max = /bits/ 16 <0x0fff>;
arch/arm/boot/dts/omap3-overo-common-lcd43.dtsi +1 -1
index 7e30f9d45790e..d95a0e130058c 100644
@@ -160,7 +160,7 @@
 
 		interrupt-parent = <&gpio4>;
 		interrupts = <18 0>;			/* gpio_114 */
-		pendown-gpio = <&gpio4 18 GPIO_ACTIVE_HIGH>;
+		pendown-gpio = <&gpio4 18 GPIO_ACTIVE_LOW>;
 
 		ti,x-min = /bits/ 16 <0x0>;
 		ti,x-max = /bits/ 16 <0x0fff>;
arch/arm/boot/dts/omap3-pandora-common.dtsi +1 -1
index 559853764487f..4c3b6bab179cc 100644
@@ -651,7 +651,7 @@
 		pinctrl-0 = <&penirq_pins>;
 		interrupt-parent = <&gpio3>;
 		interrupts = <30 IRQ_TYPE_NONE>;	/* GPIO_94 */
-		pendown-gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
+		pendown-gpio = <&gpio3 30 GPIO_ACTIVE_LOW>;
 		vcc-supply = <&vaux4>;
 
 		ti,x-min = /bits/ 16 <0>;
arch/arm/boot/dts/omap5-cm-t54.dts +1 -1
index ca759b7b8a580..e62ea8b6d53fd 100644
@@ -354,7 +354,7 @@
 
 		interrupt-parent = <&gpio1>;
 		interrupts = <15 0>;			/* gpio1_wk15 */
-		pendown-gpio = <&gpio1 15 GPIO_ACTIVE_HIGH>;
+		pendown-gpio = <&gpio1 15 GPIO_ACTIVE_LOW>;
 
 
 		ti,x-min = /bits/ 16 <0x0>;
Signature · 1 line
2.39.2
author maintainer
#161 lore raw

PATCH 161/170 null_blk: Fix: memory release when memory_backed=1

In reply to Greg Kroah-Hartman

From: Nitesh Shetty <[email protected]>

[ Upstream commit 8cfb98196cceec35416041c6b91212d2b99392e4 ]

Memory/pages are not freed, when unloading nullblk driver.

Steps to reproduce issue
1.free -h
total used free shared buff/cache available

Mem:    7.8Gi       260Mi       7.1Gi       3.0Mi       395Mi       7.3Gi
Swap:      0B          0B          0B
  2.modprobe null_blk memory_backed=1
  3.dd if=/dev/urandom of=/dev/nullb0 oflag=direct bs=1M count=1000
  4.modprobe -r null_blk
  5.free -h
        total        used        free      shared  buff/cache   available
Mem:    7.8Gi       1.2Gi       6.1Gi       3.0Mi       398Mi       6.3Gi
Swap:      0B          0B          0B
---
 drivers/block/null_blk/main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/block/null_blk/main.c +1 -0
index c45d09a9a9421..e8cb914223cdf 100644
@@ -2194,6 +2194,7 @@ static void null_destroy_dev(struct nullb *nullb)
 	struct nullb_device *dev = nullb->dev;
 
 	null_del_dev(nullb);
+	null_free_device_storage(dev, false);
 	null_free_dev(dev);
 }
 
Signature · 1 line
2.39.2
author maintainer
#162 lore raw

PATCH 162/170 drm/exynos: vidi: fix a wrong error return

In reply to Greg Kroah-Hartman

From: Inki Dae <[email protected]>

[ Upstream commit 4a059559809fd1ddbf16f847c4d2237309c08edf ]

Fix a wrong error return by dropping an error return.

When vidi driver is remvoed, if ctx->raw_edid isn't same as fake_edid_info then only what we have to is to free ctx->raw_edid so that driver removing can work correctly - it's not an error case.

---
 drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_vidi.c +0 -2
index 4d56c8c799c5a..f5e1adfcaa514 100644
@@ -469,8 +469,6 @@ static int vidi_remove(struct platform_device *pdev)
 	if (ctx->raw_edid != (struct edid *)fake_edid_info) {
 		kfree(ctx->raw_edid);
 		ctx->raw_edid = NULL;
-
-		return -EINVAL;
 	}
 
 	component_del(&pdev->dev, &vidi_component_ops);
Signature · 1 line
2.39.2
author maintainer
#163 lore raw

PATCH 163/170 drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl

In reply to Greg Kroah-Hartman

From: Min Li <[email protected]>

[ Upstream commit 48bfd02569f5db49cc033f259e66d57aa6efc9a3 ]

If it is async, runqueue_node is freed in g2d_runqueue_worker on another worker thread. So in extreme cases, if g2d_runqueue_worker runs first, and then executes the following if statement, there will be use-after-free.

---
 drivers/gpu/drm/exynos/exynos_drm_g2d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_g2d.c +1 -1
index 471fd6c8135f2..27613abeed961 100644
@@ -1335,7 +1335,7 @@ int exynos_g2d_exec_ioctl(struct drm_device *drm_dev, void *data,
 	/* Let the runqueue know that there is work to do. */
 	queue_work(g2d->g2d_workq, &g2d->runqueue_work);
 
-	if (runqueue_node->async)
+	if (req->async)
 		goto out;
 
 	wait_for_completion(&runqueue_node->complete);
Signature · 1 line
2.39.2
author maintainer
#164 lore raw

PATCH 164/170 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl

In reply to Greg Kroah-Hartman

From: Min Li <[email protected]>

[ Upstream commit 982b173a6c6d9472730c3116051977e05d17c8c5 ]

Userspace can race to free the gobj(robj converted from), robj should not be accessed again after drm_gem_object_put, otherwith it will result in use-after-free.

---
 drivers/gpu/drm/radeon/radeon_gem.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/radeon/radeon_gem.c +1 -3
index 261fcbae88d78..75d79c3110389 100644
@@ -459,7 +459,6 @@ int radeon_gem_set_domain_ioctl(struct drm_device *dev, void *data,
 	struct radeon_device *rdev = dev->dev_private;
 	struct drm_radeon_gem_set_domain *args = data;
 	struct drm_gem_object *gobj;
-	struct radeon_bo *robj;
 	int r;
 
 	/* for now if someone requests domain CPU -
@@ -472,13 +471,12 @@ int radeon_gem_set_domain_ioctl(struct drm_device *dev, void *data,
 		up_read(&rdev->exclusive_lock);
 		return -ENOENT;
 	}
-	robj = gem_to_radeon_bo(gobj);
 
 	r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain);
 
 	drm_gem_object_put(gobj);
 	up_read(&rdev->exclusive_lock);
-	r = radeon_gem_handle_lockup(robj->rdev, r);
+	r = radeon_gem_handle_lockup(rdev, r);
 	return r;
 }
 
Signature · 1 line
2.39.2
author maintainer
#165 lore raw

PATCH 165/170 vhost_vdpa: tell vqs about the negotiated

In reply to Greg Kroah-Hartman

From: Shannon Nelson <[email protected]>

[ Upstream commit 376daf317753ccb6b1ecbdece66018f7f6313a7f ]

As is done in the net, iscsi, and vsock vhost support, let the vdpa vqs know about the features that have been negotiated. This allows vhost to more safely make decisions based on the features, such as when using PACKED vs split queues.

Message-Id: <[email protected]>

---
 drivers/vhost/vdpa.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)
drivers/vhost/vdpa.c +13 -0
index d591f77961aa8..31a156669a531 100644
@@ -377,7 +377,10 @@ static long vhost_vdpa_set_features(struct vhost_vdpa *v, u64 __user *featurep)
 {
 	struct vdpa_device *vdpa = v->vdpa;
 	const struct vdpa_config_ops *ops = vdpa->config;
+	struct vhost_dev *d = &v->vdev;
+	u64 actual_features;
 	u64 features;
+	int i;
 
 	/*
 	 * It's not allowed to change the features after they have
@@ -392,6 +395,16 @@ static long vhost_vdpa_set_features(struct vhost_vdpa *v, u64 __user *featurep)
 	if (vdpa_set_features(vdpa, features))
 		return -EINVAL;
 
+	/* let the vqs know what has been configured */
+	actual_features = ops->get_driver_features(vdpa);
+	for (i = 0; i < d->nvqs; ++i) {
+		struct vhost_virtqueue *vq = d->vqs[i];
+
+		mutex_lock(&vq->mutex);
+		vq->acked_features = actual_features;
+		mutex_unlock(&vq->mutex);
+	}
+
 	return 0;
 }
 
Signature · 1 line
2.39.2
author maintainer
#166 lore raw

PATCH 166/170 vhost_net: revert upend_idx only on retriable error

In reply to Greg Kroah-Hartman

From: Andrey Smetanin <[email protected]>

[ Upstream commit 1f5d2e3bab16369d5d4b4020a25db4ab1f4f082c ]

Fix possible virtqueue used buffers leak and corresponding stuck in case of temporary -EIO from sendmsg() which is produced by tun driver while backend device is not up.

In case of no-retriable error and zcopy do not revert upend_idx to pass packet data (that is update used_idx in corresponding vhost_zerocopy_signal_used()) as if packet data has been transferred successfully.

v2: set vq->heads[ubuf->desc].len equal to VHOST_DMA_DONE_LEN in case of fake successful transmit.

Message-Id: <[email protected]>

---
 drivers/vhost/net.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
drivers/vhost/net.c +8 -3
index 4c538b30fd76d..4418192ab8aaa 100644
@@ -934,13 +934,18 @@ static void handle_tx_zerocopy(struct vhost_net *net, struct socket *sock)
 
 		err = sock->ops->sendmsg(sock, &msg, len);
 		if (unlikely(err < 0)) {
+			bool retry = err == -EAGAIN || err == -ENOMEM || err == -ENOBUFS;
+
 			if (zcopy_used) {
 				if (vq->heads[ubuf->desc].len == VHOST_DMA_IN_PROGRESS)
 					vhost_net_ubuf_put(ubufs);
-				nvq->upend_idx = ((unsigned)nvq->upend_idx - 1)
-					% UIO_MAXIOV;
+				if (retry)
+					nvq->upend_idx = ((unsigned)nvq->upend_idx - 1)
+						% UIO_MAXIOV;
+				else
+					vq->heads[ubuf->desc].len = VHOST_DMA_DONE_LEN;
 			}
-			if (err == -EAGAIN || err == -ENOMEM || err == -ENOBUFS) {
+			if (retry) {
 				vhost_discard_vq_desc(vq, 1);
 				vhost_net_enable_vq(net, vq);
 				break;
Signature · 1 line
2.39.2
author maintainer
#167 lore raw

PATCH 167/170 KVM: arm64: Restore GICv2-on-GICv3 functionality

In reply to Greg Kroah-Hartman

From: Marc Zyngier <[email protected]>

commit 1caa71a7a600f7781ce05ef1e84701c459653663 upstream.

When reworking the vgic locking, the vgic distributor registration got simplified, which was a very good cleanup. But just a tad too radical, as we now register the *native* vgic only, ignoring the GICv2-on-GICv3 that allows pre-historic VMs (or so I thought) to run.

As it turns out, QEMU still defaults to GICv2 in some cases, and this breaks Nathan's setup!

Fix it by propagating the *requested* vgic type rather than the host's version.

---
 arch/arm64/kvm/vgic/vgic-init.c |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
arch/arm64/kvm/vgic/vgic-init.c +7 -4
@@ -446,6 +446,7 @@ int vgic_lazy_init(struct kvm *kvm)
 int kvm_vgic_map_resources(struct kvm *kvm)
 {
 	struct vgic_dist *dist = &kvm->arch.vgic;
+	enum vgic_type type;
 	gpa_t dist_base;
 	int ret = 0;
 
@@ -460,10 +461,13 @@ int kvm_vgic_map_resources(struct kvm *k
 	if (!irqchip_in_kernel(kvm))
 		goto out;
 
-	if (dist->vgic_model == KVM_DEV_TYPE_ARM_VGIC_V2)
+	if (dist->vgic_model == KVM_DEV_TYPE_ARM_VGIC_V2) {
 		ret = vgic_v2_map_resources(kvm);
-	else
+		type = VGIC_V2;
+	} else {
 		ret = vgic_v3_map_resources(kvm);
+		type = VGIC_V3;
+	}
 
 	if (ret) {
 		__kvm_vgic_destroy(kvm);
@@ -473,8 +477,7 @@ int kvm_vgic_map_resources(struct kvm *k
 	dist_base = dist->vgic_dist_base;
 	mutex_unlock(&kvm->arch.config_lock);
 
-	ret = vgic_register_dist_iodev(kvm, dist_base,
-				       kvm_vgic_global_state.type);
+	ret = vgic_register_dist_iodev(kvm, dist_base, type);
 	if (ret) {
 		kvm_err("Unable to register VGIC dist MMIO regions\n");
 		kvm_vgic_destroy(kvm);
author maintainer
#168 lore raw

PATCH 168/170 x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys

In reply to Greg Kroah-Hartman

From: Dheeraj Kumar Srivastava <[email protected]>

[ Upstream commit 85d38d5810e285d5aec7fb5283107d1da70c12a9 ]

When booting with "intremap=off" and "x2apic_phys" on the kernel command line, the physical x2APIC driver ends up being used even when x2APIC mode is disabled ("intremap=off" disables x2APIC mode). This happens because the first compound condition check in x2apic_phys_probe() is false due to x2apic_mode == 0 and so the following one returns true after default_acpi_madt_oem_check() having already selected the physical x2APIC driver.

This results in the following panic:

kernel BUG at arch/x86/kernel/apic/io_apic.c:2409! invalid opcode: 0000 [#1] PREEMPT SMP NOPTI

   CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.4.0-rc2-ver4.1rc2 #2
   Hardware name: Dell Inc. PowerEdge R6515/07PXPY, BIOS 2.3.6 07/06/2021
   RIP: 0010:setup_IO_APIC+0x9c/0xaf0
   Call Trace:
    <TASK>
    ? native_read_msr
    apic_intr_mode_init
    x86_late_time_init
    start_kernel
    x86_64_start_reservations
    x86_64_start_kernel
    secondary_startup_64_no_verify
    </TASK>

which is:

setup_IO_APIC:
apic_printk(APIC_VERBOSE, "ENABLING IO-APIC IRQs\n"); for_each_ioapic(ioapic)
BUG_ON(mp_irqdomain_create(ioapic));

Return 0 to denote that x2APIC has not been enabled when probing the physical x2APIC driver.

[ bp: Massage commit message heavily. ]

---
 arch/x86/kernel/apic/x2apic_phys.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
arch/x86/kernel/apic/x2apic_phys.c +4 -1
index 6bde05a86b4ed..896bc41cb2ba7 100644
@@ -97,7 +97,10 @@ static void init_x2apic_ldr(void)
 
 static int x2apic_phys_probe(void)
 {
-	if (x2apic_mode && (x2apic_phys || x2apic_fadt_phys()))
+	if (!x2apic_mode)
+		return 0;
+
+	if (x2apic_phys || x2apic_fadt_phys())
 		return 1;
 
 	return apic == &apic_x2apic_phys;
Signature · 1 line
2.39.2
author maintainer
#169 lore raw

PATCH 169/170 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle

In reply to Greg Kroah-Hartman

From: Clark Wang <[email protected]>

[ Upstream commit e69b9bc170c6d93ee375a5cbfd15f74c0fb59bdd ]

Claim clkhi and clklo as integer type to avoid possible calculation errors caused by data overflow.

Fixes a55fa9d0e42e ("i2c: imx-lpi2c: add low power i2c bus driver")
---
 drivers/i2c/busses/i2c-imx-lpi2c.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-imx-lpi2c.c +2 -2
index a49b14d52a986..ff12018bc2060 100644
@@ -201,8 +201,8 @@ static void lpi2c_imx_stop(struct lpi2c_imx_struct *lpi2c_imx)
 /* CLKLO = I2C_CLK_RATIO * CLKHI, SETHOLD = CLKHI, DATAVD = CLKHI/2 */
 static int lpi2c_imx_config(struct lpi2c_imx_struct *lpi2c_imx)
 {
-	u8 prescale, filt, sethold, clkhi, clklo, datavd;
-	unsigned int clk_rate, clk_cycle;
+	u8 prescale, filt, sethold, datavd;
+	unsigned int clk_rate, clk_cycle, clkhi, clklo;
 	enum lpi2c_imx_pincfg pincfg;
 	unsigned int temp;
 
Signature · 1 line
2.39.2
author maintainer
#170 lore raw

PATCH 170/170 smb: move client and server files to common directory fs/smb

In reply to Greg Kroah-Hartman

From: Steve French <[email protected]>

commit 38c8a9a52082579090e34c033d439ed2cd1a462d upstream.

Move CIFS/SMB3 related client and server files (cifs.ko and ksmbd.ko and helper modules) to new fs/smb subdirectory:

fs/cifs --> fs/smb/client
fs/ksmbd --> fs/smb/server
fs/smbfs_common --> fs/smb/common

[ added to stable trees to handle the directory change to handle the
future stable patches due to the constant churn in this filesystem at the moment - gregkh ]

---
 MAINTAINERS                                           |  8 ++++----
 fs/Kconfig                                            |  9 +--------
 fs/Makefile                                           |  4 +---
 fs/smb/Kconfig                                        | 11 +++++++++++
 fs/smb/Makefile                                       |  5 +++++
 fs/{cifs => smb/client}/Kconfig                       |  0
 fs/{cifs => smb/client}/Makefile                      |  0
 fs/{cifs => smb/client}/asn1.c                        |  0
 fs/{cifs => smb/client}/cached_dir.c                  |  0
 fs/{cifs => smb/client}/cached_dir.h                  |  0
 fs/{cifs => smb/client}/cifs_debug.c                  |  0
 fs/{cifs => smb/client}/cifs_debug.h                  |  0
 fs/{cifs => smb/client}/cifs_dfs_ref.c                |  0
 fs/{cifs => smb/client}/cifs_fs_sb.h                  |  0
 fs/{cifs => smb/client}/cifs_ioctl.h                  |  0
 fs/{cifs => smb/client}/cifs_spnego.c                 |  0
 fs/{cifs => smb/client}/cifs_spnego.h                 |  0
 fs/{cifs => smb/client}/cifs_spnego_negtokeninit.asn1 |  0
 fs/{cifs => smb/client}/cifs_swn.c                    |  0
 fs/{cifs => smb/client}/cifs_swn.h                    |  0
 fs/{cifs => smb/client}/cifs_unicode.c                |  0
 fs/{cifs => smb/client}/cifs_unicode.h                |  0
 fs/{cifs => smb/client}/cifs_uniupr.h                 |  0
 fs/{cifs => smb/client}/cifsacl.c                     |  0
 fs/{cifs => smb/client}/cifsacl.h                     |  0
 fs/{cifs => smb/client}/cifsencrypt.c                 |  2 +-
 fs/{cifs => smb/client}/cifsfs.c                      |  0
 fs/{cifs => smb/client}/cifsfs.h                      |  0
 fs/{cifs => smb/client}/cifsglob.h                    |  2 +-
 fs/{cifs => smb/client}/cifspdu.h                     |  2 +-
 fs/{cifs => smb/client}/cifsproto.h                   |  0
 fs/{cifs => smb/client}/cifsroot.c                    |  0
 fs/{cifs => smb/client}/cifssmb.c                     |  0
 fs/{cifs => smb/client}/connect.c                     |  0
 fs/{cifs => smb/client}/dfs_cache.c                   |  0
 fs/{cifs => smb/client}/dfs_cache.h                   |  0
 fs/{cifs => smb/client}/dir.c                         |  0
 fs/{cifs => smb/client}/dns_resolve.c                 |  0
 fs/{cifs => smb/client}/dns_resolve.h                 |  0
 fs/{cifs => smb/client}/export.c                      |  0
 fs/{cifs => smb/client}/file.c                        |  0
 fs/{cifs => smb/client}/fs_context.c                  |  0
 fs/{cifs => smb/client}/fs_context.h                  |  0
 fs/{cifs => smb/client}/fscache.c                     |  0
 fs/{cifs => smb/client}/fscache.h                     |  0
 fs/{cifs => smb/client}/inode.c                       |  0
 fs/{cifs => smb/client}/ioctl.c                       |  0
 fs/{cifs => smb/client}/link.c                        |  0
 fs/{cifs => smb/client}/misc.c                        |  0
 fs/{cifs => smb/client}/netlink.c                     |  0
 fs/{cifs => smb/client}/netlink.h                     |  0
 fs/{cifs => smb/client}/netmisc.c                     |  0
 fs/{cifs => smb/client}/nterr.c                       |  0
 fs/{cifs => smb/client}/nterr.h                       |  0
 fs/{cifs => smb/client}/ntlmssp.h                     |  0
 fs/{cifs => smb/client}/readdir.c                     |  0
 fs/{cifs => smb/client}/rfc1002pdu.h                  |  0
 fs/{cifs => smb/client}/sess.c                        |  0
 fs/{cifs => smb/client}/smb1ops.c                     |  0
 fs/{cifs => smb/client}/smb2file.c                    |  0
 fs/{cifs => smb/client}/smb2glob.h                    |  0
 fs/{cifs => smb/client}/smb2inode.c                   |  0
 fs/{cifs => smb/client}/smb2maperror.c                |  0
 fs/{cifs => smb/client}/smb2misc.c                    |  0
 fs/{cifs => smb/client}/smb2ops.c                     |  0
 fs/{cifs => smb/client}/smb2pdu.c                     |  0
 fs/{cifs => smb/client}/smb2pdu.h                     |  0
 fs/{cifs => smb/client}/smb2proto.h                   |  0
 fs/{cifs => smb/client}/smb2status.h                  |  0
 fs/{cifs => smb/client}/smb2transport.c               |  0
 fs/{cifs => smb/client}/smbdirect.c                   |  0
 fs/{cifs => smb/client}/smbdirect.h                   |  0
 fs/{cifs => smb/client}/smbencrypt.c                  |  2 +-
 fs/{cifs => smb/client}/smberr.h                      |  0
 fs/{cifs => smb/client}/trace.c                       |  0
 fs/{cifs => smb/client}/trace.h                       |  0
 fs/{cifs => smb/client}/transport.c                   |  0
 fs/{cifs => smb/client}/unc.c                         |  0
 fs/{cifs => smb/client}/winucase.c                    |  0
 fs/{cifs => smb/client}/xattr.c                       |  0
 fs/{smbfs_common => smb/common}/Makefile              |  4 ++--
 fs/{smbfs_common => smb/common}/arc4.h                |  0
 fs/{smbfs_common => smb/common}/cifs_arc4.c           |  0
 fs/{smbfs_common => smb/common}/cifs_md4.c            |  0
 fs/{smbfs_common => smb/common}/md4.h                 |  0
 fs/{smbfs_common => smb/common}/smb2pdu.h             |  0
 fs/{smbfs_common => smb/common}/smbfsctl.h            |  0
 fs/{ksmbd => smb/server}/Kconfig                      |  0
 fs/{ksmbd => smb/server}/Makefile                     |  0
 fs/{ksmbd => smb/server}/asn1.c                       |  0
 fs/{ksmbd => smb/server}/asn1.h                       |  0
 fs/{ksmbd => smb/server}/auth.c                       |  2 +-
 fs/{ksmbd => smb/server}/auth.h                       |  0
 fs/{ksmbd => smb/server}/connection.c                 |  0
 fs/{ksmbd => smb/server}/connection.h                 |  0
 fs/{ksmbd => smb/server}/crypto_ctx.c                 |  0
 fs/{ksmbd => smb/server}/crypto_ctx.h                 |  0
 fs/{ksmbd => smb/server}/glob.h                       |  0
 fs/{ksmbd => smb/server}/ksmbd_netlink.h              |  0
 .../server}/ksmbd_spnego_negtokeninit.asn1            |  0
 .../server}/ksmbd_spnego_negtokentarg.asn1            |  0
 fs/{ksmbd => smb/server}/ksmbd_work.c                 |  0
 fs/{ksmbd => smb/server}/ksmbd_work.h                 |  0
 fs/{ksmbd => smb/server}/mgmt/ksmbd_ida.c             |  0
 fs/{ksmbd => smb/server}/mgmt/ksmbd_ida.h             |  0
 fs/{ksmbd => smb/server}/mgmt/share_config.c          |  0
 fs/{ksmbd => smb/server}/mgmt/share_config.h          |  0
 fs/{ksmbd => smb/server}/mgmt/tree_connect.c          |  0
 fs/{ksmbd => smb/server}/mgmt/tree_connect.h          |  0
 fs/{ksmbd => smb/server}/mgmt/user_config.c           |  0
 fs/{ksmbd => smb/server}/mgmt/user_config.h           |  0
 fs/{ksmbd => smb/server}/mgmt/user_session.c          |  0
 fs/{ksmbd => smb/server}/mgmt/user_session.h          |  0
 fs/{ksmbd => smb/server}/misc.c                       |  0
 fs/{ksmbd => smb/server}/misc.h                       |  0
 fs/{ksmbd => smb/server}/ndr.c                        |  0
 fs/{ksmbd => smb/server}/ndr.h                        |  0
 fs/{ksmbd => smb/server}/nterr.h                      |  0
 fs/{ksmbd => smb/server}/ntlmssp.h                    |  0
 fs/{ksmbd => smb/server}/oplock.c                     |  0
 fs/{ksmbd => smb/server}/oplock.h                     |  0
 fs/{ksmbd => smb/server}/server.c                     |  0
 fs/{ksmbd => smb/server}/server.h                     |  0
 fs/{ksmbd => smb/server}/smb2misc.c                   |  0
 fs/{ksmbd => smb/server}/smb2ops.c                    |  0
 fs/{ksmbd => smb/server}/smb2pdu.c                    |  0
 fs/{ksmbd => smb/server}/smb2pdu.h                    |  0
 fs/{ksmbd => smb/server}/smb_common.c                 |  0
 fs/{ksmbd => smb/server}/smb_common.h                 |  2 +-
 fs/{ksmbd => smb/server}/smbacl.c                     |  0
 fs/{ksmbd => smb/server}/smbacl.h                     |  0
 fs/{ksmbd => smb/server}/smbfsctl.h                   |  0
 fs/{ksmbd => smb/server}/smbstatus.h                  |  0
 fs/{ksmbd => smb/server}/transport_ipc.c              |  0
 fs/{ksmbd => smb/server}/transport_ipc.h              |  0
 fs/{ksmbd => smb/server}/transport_rdma.c             |  0
 fs/{ksmbd => smb/server}/transport_rdma.h             |  0
 fs/{ksmbd => smb/server}/transport_tcp.c              |  0
 fs/{ksmbd => smb/server}/transport_tcp.h              |  0
 fs/{ksmbd => smb/server}/unicode.c                    |  0
 fs/{ksmbd => smb/server}/unicode.h                    |  0
 fs/{ksmbd => smb/server}/uniupr.h                     |  0
 fs/{ksmbd => smb/server}/vfs.c                        |  0
 fs/{ksmbd => smb/server}/vfs.h                        |  0
 fs/{ksmbd => smb/server}/vfs_cache.c                  |  0
 fs/{ksmbd => smb/server}/vfs_cache.h                  |  0
 fs/{ksmbd => smb/server}/xattr.h                      |  0
 MAINTAINERS                                  |    8 
 fs/Kconfig                                   |    9 
 fs/Makefile                                  |    4 
 fs/cifs/Kconfig                              |  203 
 fs/cifs/Makefile                             |   34 
 fs/cifs/asn1.c                               |   63 
 fs/cifs/cached_dir.c                         |  606 -
 fs/cifs/cached_dir.h                         |   80 
 fs/cifs/cifs_debug.c                         | 1067 ---
 fs/cifs/cifs_debug.h                         |  160 
 fs/cifs/cifs_dfs_ref.c                       |  374 -
 fs/cifs/cifs_fs_sb.h                         |   76 
 fs/cifs/cifs_ioctl.h                         |  126 
 fs/cifs/cifs_spnego.c                        |  236 
 fs/cifs/cifs_spnego.h                        |   36 
 fs/cifs/cifs_spnego_negtokeninit.asn1        |   40 
 fs/cifs/cifs_swn.c                           |  674 --
 fs/cifs/cifs_swn.h                           |   52 
 fs/cifs/cifs_unicode.c                       |  632 -
 fs/cifs/cifs_unicode.h                       |  404 -
 fs/cifs/cifs_uniupr.h                        |  239 
 fs/cifs/cifsacl.c                            | 1672 -----
 fs/cifs/cifsacl.h                            |  199 
 fs/cifs/cifsencrypt.c                        |  733 --
 fs/cifs/cifsfs.c                             | 1857 -----
 fs/cifs/cifsfs.h                             |  161 
 fs/cifs/cifsglob.h                           | 2208 ------
 fs/cifs/cifspdu.h                            | 2730 --------
 fs/cifs/cifsproto.h                          |  696 --
 fs/cifs/cifsroot.c                           |   94 
 fs/cifs/cifssmb.c                            | 5873 ------------------
 fs/cifs/connect.c                            | 4754 --------------
 fs/cifs/dfs_cache.c                          | 1690 -----
 fs/cifs/dfs_cache.h                          |   97 
 fs/cifs/dir.c                                |  867 --
 fs/cifs/dns_resolve.c                        |   89 
 fs/cifs/dns_resolve.h                        |   18 
 fs/cifs/export.c                             |   54 
 fs/cifs/file.c                               | 5290 ----------------
 fs/cifs/fs_context.c                         | 1773 -----
 fs/cifs/fs_context.h                         |  293 
 fs/cifs/fscache.c                            |  253 
 fs/cifs/fscache.h                            |  148 
 fs/cifs/inode.c                              | 3093 ---------
 fs/cifs/ioctl.c                              |  526 -
 fs/cifs/link.c                               |  650 --
 fs/cifs/misc.c                               | 1434 ----
 fs/cifs/netlink.c                            |   90 
 fs/cifs/netlink.h                            |   16 
 fs/cifs/netmisc.c                            | 1021 ---
 fs/cifs/nterr.c                              |  674 --
 fs/cifs/nterr.h                              |  551 -
 fs/cifs/ntlmssp.h                            |  157 
 fs/cifs/readdir.c                            | 1237 ---
 fs/cifs/rfc1002pdu.h                         |   61 
 fs/cifs/sess.c                               | 1858 -----
 fs/cifs/smb1ops.c                            | 1276 ---
 fs/cifs/smb2file.c                           |  371 -
 fs/cifs/smb2glob.h                           |   44 
 fs/cifs/smb2inode.c                          |  799 --
 fs/cifs/smb2maperror.c                       | 2481 -------
 fs/cifs/smb2misc.c                           |  944 --
 fs/cifs/smb2ops.c                            | 5805 -----------------
 fs/cifs/smb2pdu.c                            | 5722 -----------------
 fs/cifs/smb2pdu.h                            |  434 -
 fs/cifs/smb2proto.h                          |  284 
 fs/cifs/smb2status.h                         | 1769 -----
 fs/cifs/smb2transport.c                      |  934 --
 fs/cifs/smbdirect.c                          | 2494 -------
 fs/cifs/smbdirect.h                          |  320 
 fs/cifs/smbencrypt.c                         |   91 
 fs/cifs/smberr.h                             |  171 
 fs/cifs/trace.c                              |    8 
 fs/cifs/trace.h                              | 1070 ---
 fs/cifs/transport.c                          | 1807 -----
 fs/cifs/unc.c                                |   69 
 fs/cifs/winucase.c                           |  649 --
 fs/cifs/xattr.c                              |  555 -
 fs/ksmbd/Kconfig                             |   68 
 fs/ksmbd/Makefile                            |   20 
 fs/ksmbd/asn1.c                              |  239 
 fs/ksmbd/asn1.h                              |   21 
 fs/ksmbd/auth.c                              | 1206 ---
 fs/ksmbd/auth.h                              |   71 
 fs/ksmbd/connection.c                        |  485 -
 fs/ksmbd/connection.h                        |  231 
 fs/ksmbd/crypto_ctx.c                        |  266 
 fs/ksmbd/crypto_ctx.h                        |   66 
 fs/ksmbd/glob.h                              |   49 
 fs/ksmbd/ksmbd_netlink.h                     |  412 -
 fs/ksmbd/ksmbd_spnego_negtokeninit.asn1      |   31 
 fs/ksmbd/ksmbd_spnego_negtokentarg.asn1      |   19 
 fs/ksmbd/ksmbd_work.c                        |   79 
 fs/ksmbd/ksmbd_work.h                        |  117 
 fs/ksmbd/mgmt/ksmbd_ida.c                    |   46 
 fs/ksmbd/mgmt/ksmbd_ida.h                    |   34 
 fs/ksmbd/mgmt/share_config.c                 |  234 
 fs/ksmbd/mgmt/share_config.h                 |   82 
 fs/ksmbd/mgmt/tree_connect.c                 |  147 
 fs/ksmbd/mgmt/tree_connect.h                 |   61 
 fs/ksmbd/mgmt/user_config.c                  |   79 
 fs/ksmbd/mgmt/user_config.h                  |   68 
 fs/ksmbd/mgmt/user_session.c                 |  400 -
 fs/ksmbd/mgmt/user_session.h                 |  103 
 fs/ksmbd/misc.c                              |  381 -
 fs/ksmbd/misc.h                              |   37 
 fs/ksmbd/ndr.c                               |  514 -
 fs/ksmbd/ndr.h                               |   22 
 fs/ksmbd/nterr.h                             |  543 -
 fs/ksmbd/ntlmssp.h                           |  169 
 fs/ksmbd/oplock.c                            | 1722 -----
 fs/ksmbd/oplock.h                            |  127 
 fs/ksmbd/server.c                            |  646 -
 fs/ksmbd/server.h                            |   71 
 fs/ksmbd/smb2misc.c                          |  454 -
 fs/ksmbd/smb2ops.c                           |  314 
 fs/ksmbd/smb2pdu.c                           | 8727 ---------------------------
 fs/ksmbd/smb2pdu.h                           |  536 -
 fs/ksmbd/smb_common.c                        |  797 --
 fs/ksmbd/smb_common.h                        |  468 -
 fs/ksmbd/smbacl.c                            | 1436 ----
 fs/ksmbd/smbacl.h                            |  238 
 fs/ksmbd/smbfsctl.h                          |   91 
 fs/ksmbd/smbstatus.h                         | 1822 -----
 fs/ksmbd/transport_ipc.c                     |  884 --
 fs/ksmbd/transport_ipc.h                     |   47 
 fs/ksmbd/transport_rdma.c                    | 2273 -------
 fs/ksmbd/transport_rdma.h                    |   69 
 fs/ksmbd/transport_tcp.c                     |  649 --
 fs/ksmbd/transport_tcp.h                     |   13 
 fs/ksmbd/unicode.c                           |  384 -
 fs/ksmbd/unicode.h                           |  358 -
 fs/ksmbd/uniupr.h                            |  268 
 fs/ksmbd/vfs.c                               | 1911 -----
 fs/ksmbd/vfs.h                               |  167 
 fs/ksmbd/vfs_cache.c                         |  708 --
 fs/ksmbd/vfs_cache.h                         |  166 
 fs/ksmbd/xattr.h                             |  122 
 fs/smb/Kconfig                               |   11 
 fs/smb/Makefile                              |    5 
 fs/smb/client/Kconfig                        |  203 
 fs/smb/client/Makefile                       |   34 
 fs/smb/client/asn1.c                         |   63 
 fs/smb/client/cached_dir.c                   |  606 +
 fs/smb/client/cached_dir.h                   |   80 
 fs/smb/client/cifs_debug.c                   | 1067 +++
 fs/smb/client/cifs_debug.h                   |  160 
 fs/smb/client/cifs_dfs_ref.c                 |  374 +
 fs/smb/client/cifs_fs_sb.h                   |   76 
 fs/smb/client/cifs_ioctl.h                   |  126 
 fs/smb/client/cifs_spnego.c                  |  236 
 fs/smb/client/cifs_spnego.h                  |   36 
 fs/smb/client/cifs_spnego_negtokeninit.asn1  |   40 
 fs/smb/client/cifs_swn.c                     |  674 ++
 fs/smb/client/cifs_swn.h                     |   52 
 fs/smb/client/cifs_unicode.c                 |  632 +
 fs/smb/client/cifs_unicode.h                 |  404 +
 fs/smb/client/cifs_uniupr.h                  |  239 
 fs/smb/client/cifsacl.c                      | 1672 +++++
 fs/smb/client/cifsacl.h                      |  199 
 fs/smb/client/cifsencrypt.c                  |  733 ++
 fs/smb/client/cifsfs.c                       | 1857 +++++
 fs/smb/client/cifsfs.h                       |  161 
 fs/smb/client/cifsglob.h                     | 2208 ++++++
 fs/smb/client/cifspdu.h                      | 2730 ++++++++
 fs/smb/client/cifsproto.h                    |  696 ++
 fs/smb/client/cifsroot.c                     |   94 
 fs/smb/client/cifssmb.c                      | 5873 ++++++++++++++++++
 fs/smb/client/connect.c                      | 4754 ++++++++++++++
 fs/smb/client/dfs_cache.c                    | 1690 +++++
 fs/smb/client/dfs_cache.h                    |   97 
 fs/smb/client/dir.c                          |  867 ++
 fs/smb/client/dns_resolve.c                  |   89 
 fs/smb/client/dns_resolve.h                  |   18 
 fs/smb/client/export.c                       |   54 
 fs/smb/client/file.c                         | 5290 ++++++++++++++++
 fs/smb/client/fs_context.c                   | 1773 +++++
 fs/smb/client/fs_context.h                   |  293 
 fs/smb/client/fscache.c                      |  253 
 fs/smb/client/fscache.h                      |  148 
 fs/smb/client/inode.c                        | 3093 +++++++++
 fs/smb/client/ioctl.c                        |  526 +
 fs/smb/client/link.c                         |  650 ++
 fs/smb/client/misc.c                         | 1434 ++++
 fs/smb/client/netlink.c                      |   90 
 fs/smb/client/netlink.h                      |   16 
 fs/smb/client/netmisc.c                      | 1021 +++
 fs/smb/client/nterr.c                        |  674 ++
 fs/smb/client/nterr.h                        |  551 +
 fs/smb/client/ntlmssp.h                      |  157 
 fs/smb/client/readdir.c                      | 1237 +++
 fs/smb/client/rfc1002pdu.h                   |   61 
 fs/smb/client/sess.c                         | 1858 +++++
 fs/smb/client/smb1ops.c                      | 1276 +++
 fs/smb/client/smb2file.c                     |  371 +
 fs/smb/client/smb2glob.h                     |   44 
 fs/smb/client/smb2inode.c                    |  799 ++
 fs/smb/client/smb2maperror.c                 | 2481 +++++++
 fs/smb/client/smb2misc.c                     |  944 ++
 fs/smb/client/smb2ops.c                      | 5805 +++++++++++++++++
 fs/smb/client/smb2pdu.c                      | 5722 +++++++++++++++++
 fs/smb/client/smb2pdu.h                      |  434 +
 fs/smb/client/smb2proto.h                    |  284 
 fs/smb/client/smb2status.h                   | 1769 +++++
 fs/smb/client/smb2transport.c                |  934 ++
 fs/smb/client/smbdirect.c                    | 2494 +++++++
 fs/smb/client/smbdirect.h                    |  320 
 fs/smb/client/smbencrypt.c                   |   91 
 fs/smb/client/smberr.h                       |  171 
 fs/smb/client/trace.c                        |    8 
 fs/smb/client/trace.h                        | 1070 +++
 fs/smb/client/transport.c                    | 1807 +++++
 fs/smb/client/unc.c                          |   69 
 fs/smb/client/winucase.c                     |  649 ++
 fs/smb/client/xattr.c                        |  555 +
 fs/smb/common/Makefile                       |    7 
 fs/smb/common/arc4.h                         |   23 
 fs/smb/common/cifs_arc4.c                    |   74 
 fs/smb/common/cifs_md4.c                     |  197 
 fs/smb/common/md4.h                          |   27 
 fs/smb/common/smb2pdu.h                      | 1702 +++++
 fs/smb/common/smbfsctl.h                     |  170 
 fs/smb/server/Kconfig                        |   68 
 fs/smb/server/Makefile                       |   20 
 fs/smb/server/asn1.c                         |  239 
 fs/smb/server/asn1.h                         |   21 
 fs/smb/server/auth.c                         | 1206 +++
 fs/smb/server/auth.h                         |   71 
 fs/smb/server/connection.c                   |  485 +
 fs/smb/server/connection.h                   |  231 
 fs/smb/server/crypto_ctx.c                   |  266 
 fs/smb/server/crypto_ctx.h                   |   66 
 fs/smb/server/glob.h                         |   49 
 fs/smb/server/ksmbd_netlink.h                |  412 +
 fs/smb/server/ksmbd_spnego_negtokeninit.asn1 |   31 
 fs/smb/server/ksmbd_spnego_negtokentarg.asn1 |   19 
 fs/smb/server/ksmbd_work.c                   |   79 
 fs/smb/server/ksmbd_work.h                   |  117 
 fs/smb/server/mgmt/ksmbd_ida.c               |   46 
 fs/smb/server/mgmt/ksmbd_ida.h               |   34 
 fs/smb/server/mgmt/share_config.c            |  234 
 fs/smb/server/mgmt/share_config.h            |   82 
 fs/smb/server/mgmt/tree_connect.c            |  147 
 fs/smb/server/mgmt/tree_connect.h            |   61 
 fs/smb/server/mgmt/user_config.c             |   79 
 fs/smb/server/mgmt/user_config.h             |   68 
 fs/smb/server/mgmt/user_session.c            |  400 +
 fs/smb/server/mgmt/user_session.h            |  103 
 fs/smb/server/misc.c                         |  381 +
 fs/smb/server/misc.h                         |   37 
 fs/smb/server/ndr.c                          |  514 +
 fs/smb/server/ndr.h                          |   22 
 fs/smb/server/nterr.h                        |  543 +
 fs/smb/server/ntlmssp.h                      |  169 
 fs/smb/server/oplock.c                       | 1722 +++++
 fs/smb/server/oplock.h                       |  127 
 fs/smb/server/server.c                       |  646 +
 fs/smb/server/server.h                       |   71 
 fs/smb/server/smb2misc.c                     |  454 +
 fs/smb/server/smb2ops.c                      |  314 
 fs/smb/server/smb2pdu.c                      | 8727 +++++++++++++++++++++++++++
 fs/smb/server/smb2pdu.h                      |  536 +
 fs/smb/server/smb_common.c                   |  797 ++
 fs/smb/server/smb_common.h                   |  468 +
 fs/smb/server/smbacl.c                       | 1436 ++++
 fs/smb/server/smbacl.h                       |  238 
 fs/smb/server/smbfsctl.h                     |   91 
 fs/smb/server/smbstatus.h                    | 1822 +++++
 fs/smb/server/transport_ipc.c                |  884 ++
 fs/smb/server/transport_ipc.h                |   47 
 fs/smb/server/transport_rdma.c               | 2273 +++++++
 fs/smb/server/transport_rdma.h               |   69 
 fs/smb/server/transport_tcp.c                |  649 ++
 fs/smb/server/transport_tcp.h                |   13 
 fs/smb/server/unicode.c                      |  384 +
 fs/smb/server/unicode.h                      |  358 +
 fs/smb/server/uniupr.h                       |  268 
 fs/smb/server/vfs.c                          | 1911 +++++
 fs/smb/server/vfs.h                          |  167 
 fs/smb/server/vfs_cache.c                    |  708 ++
 fs/smb/server/vfs_cache.h                    |  166 
 fs/smb/server/xattr.h                        |  122 
 fs/smbfs_common/Makefile                     |    7 
 fs/smbfs_common/arc4.h                       |   23 
 fs/smbfs_common/cifs_arc4.c                  |   74 
 fs/smbfs_common/cifs_md4.c                   |  197 
 fs/smbfs_common/md4.h                        |   27 
 fs/smbfs_common/smb2pdu.h                    | 1702 -----
 fs/smbfs_common/smbfsctl.h                   |  170 
 289 files changed, 110106 insertions(+), 110099 deletions(-)
 create mode 100644 fs/smb/Kconfig
 create mode 100644 fs/smb/Makefile
 rename fs/{cifs => smb/client}/Kconfig (100%)
 rename fs/{cifs => smb/client}/Makefile (100%)
 rename fs/{cifs => smb/client}/asn1.c (100%)
 rename fs/{cifs => smb/client}/cached_dir.c (100%)
 rename fs/{cifs => smb/client}/cached_dir.h (100%)
 rename fs/{cifs => smb/client}/cifs_debug.c (100%)
 rename fs/{cifs => smb/client}/cifs_debug.h (100%)
 rename fs/{cifs => smb/client}/cifs_dfs_ref.c (100%)
 rename fs/{cifs => smb/client}/cifs_fs_sb.h (100%)
 rename fs/{cifs => smb/client}/cifs_ioctl.h (100%)
 rename fs/{cifs => smb/client}/cifs_spnego.c (100%)
 rename fs/{cifs => smb/client}/cifs_spnego.h (100%)
 rename fs/{cifs => smb/client}/cifs_spnego_negtokeninit.asn1 (100%)
 rename fs/{cifs => smb/client}/cifs_swn.c (100%)
 rename fs/{cifs => smb/client}/cifs_swn.h (100%)
 rename fs/{cifs => smb/client}/cifs_unicode.c (100%)
 rename fs/{cifs => smb/client}/cifs_unicode.h (100%)
 rename fs/{cifs => smb/client}/cifs_uniupr.h (100%)
 rename fs/{cifs => smb/client}/cifsacl.c (100%)
 rename fs/{cifs => smb/client}/cifsacl.h (100%)
 rename fs/{cifs => smb/client}/cifsencrypt.c (99%)
 rename fs/{cifs => smb/client}/cifsfs.c (100%)
 rename fs/{cifs => smb/client}/cifsfs.h (100%)
 rename fs/{cifs => smb/client}/cifsglob.h (99%)
 rename fs/{cifs => smb/client}/cifspdu.h (99%)
 rename fs/{cifs => smb/client}/cifsproto.h (100%)
 rename fs/{cifs => smb/client}/cifsroot.c (100%)
 rename fs/{cifs => smb/client}/cifssmb.c (100%)
 rename fs/{cifs => smb/client}/connect.c (100%)
 rename fs/{cifs => smb/client}/dfs_cache.c (100%)
 rename fs/{cifs => smb/client}/dfs_cache.h (100%)
 rename fs/{cifs => smb/client}/dir.c (100%)
 rename fs/{cifs => smb/client}/dns_resolve.c (100%)
 rename fs/{cifs => smb/client}/dns_resolve.h (100%)
 rename fs/{cifs => smb/client}/export.c (100%)
 rename fs/{cifs => smb/client}/file.c (100%)
 rename fs/{cifs => smb/client}/fs_context.c (100%)
 rename fs/{cifs => smb/client}/fs_context.h (100%)
 rename fs/{cifs => smb/client}/fscache.c (100%)
 rename fs/{cifs => smb/client}/fscache.h (100%)
 rename fs/{cifs => smb/client}/inode.c (100%)
 rename fs/{cifs => smb/client}/ioctl.c (100%)
 rename fs/{cifs => smb/client}/link.c (100%)
 rename fs/{cifs => smb/client}/misc.c (100%)
 rename fs/{cifs => smb/client}/netlink.c (100%)
 rename fs/{cifs => smb/client}/netlink.h (100%)
 rename fs/{cifs => smb/client}/netmisc.c (100%)
 rename fs/{cifs => smb/client}/nterr.c (100%)
 rename fs/{cifs => smb/client}/nterr.h (100%)
 rename fs/{cifs => smb/client}/ntlmssp.h (100%)
 rename fs/{cifs => smb/client}/readdir.c (100%)
 rename fs/{cifs => smb/client}/rfc1002pdu.h (100%)
 rename fs/{cifs => smb/client}/sess.c (100%)
 rename fs/{cifs => smb/client}/smb1ops.c (100%)
 rename fs/{cifs => smb/client}/smb2file.c (100%)
 rename fs/{cifs => smb/client}/smb2glob.h (100%)
 rename fs/{cifs => smb/client}/smb2inode.c (100%)
 rename fs/{cifs => smb/client}/smb2maperror.c (100%)
 rename fs/{cifs => smb/client}/smb2misc.c (100%)
 rename fs/{cifs => smb/client}/smb2ops.c (100%)
 rename fs/{cifs => smb/client}/smb2pdu.c (100%)
 rename fs/{cifs => smb/client}/smb2pdu.h (100%)
 rename fs/{cifs => smb/client}/smb2proto.h (100%)
 rename fs/{cifs => smb/client}/smb2status.h (100%)
 rename fs/{cifs => smb/client}/smb2transport.c (100%)
 rename fs/{cifs => smb/client}/smbdirect.c (100%)
 rename fs/{cifs => smb/client}/smbdirect.h (100%)
 rename fs/{cifs => smb/client}/smbencrypt.c (98%)
 rename fs/{cifs => smb/client}/smberr.h (100%)
 rename fs/{cifs => smb/client}/trace.c (100%)
 rename fs/{cifs => smb/client}/trace.h (100%)
 rename fs/{cifs => smb/client}/transport.c (100%)
 rename fs/{cifs => smb/client}/unc.c (100%)
 rename fs/{cifs => smb/client}/winucase.c (100%)
 rename fs/{cifs => smb/client}/xattr.c (100%)
 rename fs/{smbfs_common => smb/common}/Makefile (59%)
 rename fs/{smbfs_common => smb/common}/arc4.h (100%)
 rename fs/{smbfs_common => smb/common}/cifs_arc4.c (100%)
 rename fs/{smbfs_common => smb/common}/cifs_md4.c (100%)
 rename fs/{smbfs_common => smb/common}/md4.h (100%)
 rename fs/{smbfs_common => smb/common}/smb2pdu.h (100%)
 rename fs/{smbfs_common => smb/common}/smbfsctl.h (100%)
 rename fs/{ksmbd => smb/server}/Kconfig (100%)
 rename fs/{ksmbd => smb/server}/Makefile (100%)
 rename fs/{ksmbd => smb/server}/asn1.c (100%)
 rename fs/{ksmbd => smb/server}/asn1.h (100%)
 rename fs/{ksmbd => smb/server}/auth.c (99%)
 rename fs/{ksmbd => smb/server}/auth.h (100%)
 rename fs/{ksmbd => smb/server}/connection.c (100%)
 rename fs/{ksmbd => smb/server}/connection.h (100%)
 rename fs/{ksmbd => smb/server}/crypto_ctx.c (100%)
 rename fs/{ksmbd => smb/server}/crypto_ctx.h (100%)
 rename fs/{ksmbd => smb/server}/glob.h (100%)
 rename fs/{ksmbd => smb/server}/ksmbd_netlink.h (100%)
 rename fs/{ksmbd => smb/server}/ksmbd_spnego_negtokeninit.asn1 (100%)
 rename fs/{ksmbd => smb/server}/ksmbd_spnego_negtokentarg.asn1 (100%)
 rename fs/{ksmbd => smb/server}/ksmbd_work.c (100%)
 rename fs/{ksmbd => smb/server}/ksmbd_work.h (100%)
 rename fs/{ksmbd => smb/server}/mgmt/ksmbd_ida.c (100%)
 rename fs/{ksmbd => smb/server}/mgmt/ksmbd_ida.h (100%)
 rename fs/{ksmbd => smb/server}/mgmt/share_config.c (100%)
 rename fs/{ksmbd => smb/server}/mgmt/share_config.h (100%)
 rename fs/{ksmbd => smb/server}/mgmt/tree_connect.c (100%)
 rename fs/{ksmbd => smb/server}/mgmt/tree_connect.h (100%)
 rename fs/{ksmbd => smb/server}/mgmt/user_config.c (100%)
 rename fs/{ksmbd => smb/server}/mgmt/user_config.h (100%)
 rename fs/{ksmbd => smb/server}/mgmt/user_session.c (100%)
 rename fs/{ksmbd => smb/server}/mgmt/user_session.h (100%)
 rename fs/{ksmbd => smb/server}/misc.c (100%)
 rename fs/{ksmbd => smb/server}/misc.h (100%)
 rename fs/{ksmbd => smb/server}/ndr.c (100%)
 rename fs/{ksmbd => smb/server}/ndr.h (100%)
 rename fs/{ksmbd => smb/server}/nterr.h (100%)
 rename fs/{ksmbd => smb/server}/ntlmssp.h (100%)
 rename fs/{ksmbd => smb/server}/oplock.c (100%)
 rename fs/{ksmbd => smb/server}/oplock.h (100%)
 rename fs/{ksmbd => smb/server}/server.c (100%)
 rename fs/{ksmbd => smb/server}/server.h (100%)
 rename fs/{ksmbd => smb/server}/smb2misc.c (100%)
 rename fs/{ksmbd => smb/server}/smb2ops.c (100%)
 rename fs/{ksmbd => smb/server}/smb2pdu.c (100%)
 rename fs/{ksmbd => smb/server}/smb2pdu.h (100%)
 rename fs/{ksmbd => smb/server}/smb_common.c (100%)
 rename fs/{ksmbd => smb/server}/smb_common.h (99%)
 rename fs/{ksmbd => smb/server}/smbacl.c (100%)
 rename fs/{ksmbd => smb/server}/smbacl.h (100%)
 rename fs/{ksmbd => smb/server}/smbfsctl.h (100%)
 rename fs/{ksmbd => smb/server}/smbstatus.h (100%)
 rename fs/{ksmbd => smb/server}/transport_ipc.c (100%)
 rename fs/{ksmbd => smb/server}/transport_ipc.h (100%)
 rename fs/{ksmbd => smb/server}/transport_rdma.c (100%)
 rename fs/{ksmbd => smb/server}/transport_rdma.h (100%)
 rename fs/{ksmbd => smb/server}/transport_tcp.c (100%)
 rename fs/{ksmbd => smb/server}/transport_tcp.h (100%)
 rename fs/{ksmbd => smb/server}/unicode.c (100%)
 rename fs/{ksmbd => smb/server}/unicode.h (100%)
 rename fs/{ksmbd => smb/server}/uniupr.h (100%)
 rename fs/{ksmbd => smb/server}/vfs.c (100%)
 rename fs/{ksmbd => smb/server}/vfs.h (100%)
 rename fs/{ksmbd => smb/server}/vfs_cache.c (100%)
 rename fs/{ksmbd => smb/server}/vfs_cache.h (100%)
 rename fs/{ksmbd => smb/server}/xattr.h (100%)
MAINTAINERS +4 -4
@@ -5183,8 +5183,8 @@ S:	Supported
 W:	https://wiki.samba.org/index.php/LinuxCIFS
 T:	git git://git.samba.org/sfrench/cifs-2.6.git
 F:	Documentation/admin-guide/cifs/
-F:	fs/cifs/
-F:	fs/smbfs_common/
+F:	fs/smb/client/
+F:	fs/smb/common/
 F:	include/uapi/linux/cifs
 
 COMPACTPCI HOTPLUG CORE
@@ -11168,8 +11168,8 @@ L:	[email protected]
 S:	Maintained
 T:	git git://git.samba.org/ksmbd.git
 F:	Documentation/filesystems/cifs/ksmbd.rst
-F:	fs/ksmbd/
-F:	fs/smbfs_common/
+F:	fs/smb/common/
+F:	fs/smb/server/
 
 KERNEL UNIT TESTING FRAMEWORK (KUnit)
 M:	Brendan Higgins <[email protected]>
fs/Kconfig +1 -8
@@ -371,14 +371,7 @@ config NFS_V4_2_SSC_HELPER
 source "net/sunrpc/Kconfig"
 source "fs/ceph/Kconfig"
 
-source "fs/cifs/Kconfig"
-source "fs/ksmbd/Kconfig"
-
-config SMBFS_COMMON
-	tristate
-	default y if CIFS=y || SMB_SERVER=y
-	default m if CIFS=m || SMB_SERVER=m
-
+source "fs/smb/Kconfig"
 source "fs/coda/Kconfig"
 source "fs/afs/Kconfig"
 source "fs/9p/Kconfig"
fs/Makefile +1 -3
@@ -94,9 +94,7 @@ obj-$(CONFIG_LOCKD)		+= lockd/
 obj-$(CONFIG_NLS)		+= nls/
 obj-y				+= unicode/
 obj-$(CONFIG_SYSV_FS)		+= sysv/
-obj-$(CONFIG_SMBFS_COMMON)	+= smbfs_common/
-obj-$(CONFIG_CIFS)		+= cifs/
-obj-$(CONFIG_SMB_SERVER)	+= ksmbd/
+obj-$(CONFIG_SMBFS)		+= smb/
 obj-$(CONFIG_HPFS_FS)		+= hpfs/
 obj-$(CONFIG_NTFS_FS)		+= ntfs/
 obj-$(CONFIG_NTFS3_FS)		+= ntfs3/
fs/cifs/Kconfig deleted +0 -203

203 lines not on this page · raw message

fs/cifs/Makefile deleted +0 -34
@@ -1,34 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for Linux CIFS/SMB2/SMB3 VFS client
-#
-ccflags-y += -I$(src)		# needed for trace events
-obj-$(CONFIG_CIFS) += cifs.o
-
-cifs-y := trace.o cifsfs.o cifs_debug.o connect.o dir.o file.o \
-	  inode.o link.o misc.o netmisc.o smbencrypt.o transport.o \
-	  cached_dir.o cifs_unicode.o nterr.o cifsencrypt.o \
-	  readdir.o ioctl.o sess.o export.o unc.o winucase.o \
-	  smb2ops.o smb2maperror.o smb2transport.o \
-	  smb2misc.o smb2pdu.o smb2inode.o smb2file.o cifsacl.o fs_context.o \
-	  dns_resolve.o cifs_spnego_negtokeninit.asn1.o asn1.o
-
-$(obj)/asn1.o: $(obj)/cifs_spnego_negtokeninit.asn1.h
-
-$(obj)/cifs_spnego_negtokeninit.asn1.o: $(obj)/cifs_spnego_negtokeninit.asn1.c $(obj)/cifs_spnego_negtokeninit.asn1.h
-
-cifs-$(CONFIG_CIFS_XATTR) += xattr.o
-
-cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o
-
-cifs-$(CONFIG_CIFS_DFS_UPCALL) += cifs_dfs_ref.o dfs_cache.o
-
-cifs-$(CONFIG_CIFS_SWN_UPCALL) += netlink.o cifs_swn.o
-
-cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o
-
-cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o
-
-cifs-$(CONFIG_CIFS_ROOT) += cifsroot.o
-
-cifs-$(CONFIG_CIFS_ALLOW_INSECURE_LEGACY) += smb1ops.o cifssmb.o
fs/cifs/asn1.c deleted +0 -63

63 lines not on this page · raw message

fs/cifs/cached_dir.c deleted +0 -606

606 lines not on this page · raw message

fs/cifs/cached_dir.h deleted +0 -80

80 lines not on this page · raw message

fs/cifs/cifs_debug.c deleted +0 -1067

1,067 lines not on this page · raw message

fs/cifs/cifs_debug.h deleted +0 -160

160 lines not on this page · raw message

fs/cifs/cifs_dfs_ref.c deleted +0 -374

374 lines not on this page · raw message

fs/cifs/cifs_fs_sb.h deleted +0 -76

76 lines not on this page · raw message

fs/cifs/cifs_ioctl.h deleted +0 -126

126 lines not on this page · raw message

fs/cifs/cifs_spnego.c deleted +0 -236

166 lines not on this page · raw message

fs/cifs/cifs_spnego.h deleted +0 -36

Lines of this file are not shown. View the raw message.

fs/cifs/cifs_spnego_negtokeninit.asn1 deleted +0 -40

Lines of this file are not shown. View the raw message.

fs/cifs/cifs_swn.c deleted +0 -674

674 lines not on this page · raw message

fs/cifs/cifs_swn.h deleted +0 -52

52 lines not on this page · raw message

fs/cifs/cifs_unicode.c deleted +0 -632

632 lines not on this page · raw message

fs/cifs/cifs_unicode.h deleted +0 -404

404 lines not on this page · raw message

fs/cifs/cifs_uniupr.h deleted +0 -239

239 lines not on this page · raw message

fs/cifs/cifsacl.c deleted +0 -1672

1,672 lines not on this page · raw message

fs/cifs/cifsacl.h deleted +0 -199

199 lines not on this page · raw message

fs/cifs/cifsencrypt.c deleted +0 -733

733 lines not on this page · raw message

fs/cifs/cifsfs.c deleted +0 -1857

1,857 lines not on this page · raw message

fs/cifs/cifsfs.h deleted +0 -161

161 lines not on this page · raw message

fs/cifs/cifsglob.h deleted +0 -2208

2,208 lines not on this page · raw message

fs/cifs/cifspdu.h deleted +0 -2730

2,730 lines not on this page · raw message

fs/cifs/cifsproto.h deleted +0 -696

696 lines not on this page · raw message

fs/cifs/cifsroot.c deleted +0 -94

94 lines not on this page · raw message

fs/cifs/cifssmb.c deleted +0 -5873

5,873 lines not on this page · raw message

fs/cifs/connect.c deleted +0 -4754

4,754 lines not on this page · raw message

fs/cifs/dfs_cache.c deleted +0 -1690

1,690 lines not on this page · raw message

fs/cifs/dfs_cache.h deleted +0 -97

97 lines not on this page · raw message

fs/cifs/dir.c deleted +0 -867

867 lines not on this page · raw message

fs/cifs/dns_resolve.c deleted +0 -89

89 lines not on this page · raw message

fs/cifs/dns_resolve.h deleted +0 -18

Lines of this file are not shown. View the raw message.

fs/cifs/export.c deleted +0 -54

54 lines not on this page · raw message

fs/cifs/file.c deleted +0 -5290

5,290 lines not on this page · raw message

fs/cifs/fs_context.c deleted +0 -1773

1,773 lines not on this page · raw message

fs/cifs/fs_context.h deleted +0 -293

293 lines not on this page · raw message

fs/cifs/fscache.c deleted +0 -253

253 lines not on this page · raw message

fs/cifs/fscache.h deleted +0 -148

148 lines not on this page · raw message

fs/cifs/inode.c deleted +0 -3093

3,093 lines not on this page · raw message

fs/cifs/ioctl.c deleted +0 -526

526 lines not on this page · raw message

fs/cifs/link.c deleted +0 -650

650 lines not on this page · raw message

fs/cifs/misc.c deleted +0 -1434

1,434 lines not on this page · raw message

fs/cifs/netlink.c deleted +0 -90

90 lines not on this page · raw message

fs/cifs/netlink.h deleted +0 -16

Lines of this file are not shown. View the raw message.

fs/cifs/netmisc.c deleted +0 -1021

1,021 lines not on this page · raw message

fs/cifs/nterr.c deleted +0 -674

674 lines not on this page · raw message

fs/cifs/nterr.h deleted +0 -551

551 lines not on this page · raw message

fs/cifs/ntlmssp.h deleted +0 -157

157 lines not on this page · raw message

fs/cifs/readdir.c deleted +0 -1237

1,237 lines not on this page · raw message

fs/cifs/rfc1002pdu.h deleted +0 -61

61 lines not on this page · raw message

fs/cifs/sess.c deleted +0 -1858

1,858 lines not on this page · raw message

fs/cifs/smb1ops.c deleted +0 -1276

1,276 lines not on this page · raw message

fs/cifs/smb2file.c deleted +0 -371

371 lines not on this page · raw message

fs/cifs/smb2glob.h deleted +0 -44

44 lines not on this page · raw message

fs/cifs/smb2inode.c deleted +0 -799

799 lines not on this page · raw message

fs/cifs/smb2maperror.c deleted +0 -2481

2,481 lines not on this page · raw message

fs/cifs/smb2misc.c deleted +0 -944

944 lines not on this page · raw message

fs/cifs/smb2ops.c deleted +0 -5805

5,805 lines not on this page · raw message

fs/cifs/smb2pdu.c deleted +0 -5722

5,722 lines not on this page · raw message

fs/cifs/smb2pdu.h deleted +0 -434

434 lines not on this page · raw message

fs/cifs/smb2proto.h deleted +0 -284

284 lines not on this page · raw message

fs/cifs/smb2status.h deleted +0 -1769

1,769 lines not on this page · raw message

fs/cifs/smb2transport.c deleted +0 -934

934 lines not on this page · raw message

fs/cifs/smbdirect.c deleted +0 -2494

2,494 lines not on this page · raw message

fs/cifs/smbdirect.h deleted +0 -320

320 lines not on this page · raw message

fs/cifs/smbencrypt.c deleted +0 -91

91 lines not on this page · raw message

fs/cifs/smberr.h deleted +0 -171

171 lines not on this page · raw message

fs/cifs/trace.c deleted +0 -8

Lines of this file are not shown. View the raw message.

fs/cifs/trace.h deleted +0 -1070

1,070 lines not on this page · raw message

fs/cifs/transport.c deleted +0 -1807

1,807 lines not on this page · raw message

fs/cifs/unc.c deleted +0 -69

69 lines not on this page · raw message

fs/cifs/winucase.c deleted +0 -649

649 lines not on this page · raw message

fs/cifs/xattr.c deleted +0 -555

555 lines not on this page · raw message

fs/ksmbd/Kconfig deleted +0 -68

68 lines not on this page · raw message

fs/ksmbd/Makefile deleted +0 -20

Lines of this file are not shown. View the raw message.

fs/ksmbd/asn1.c deleted +0 -239

239 lines not on this page · raw message

fs/ksmbd/asn1.h deleted +0 -21

Lines of this file are not shown. View the raw message.

fs/ksmbd/auth.c deleted +0 -1206

1,206 lines not on this page · raw message

fs/ksmbd/auth.h deleted +0 -71

71 lines not on this page · raw message

fs/ksmbd/connection.c deleted +0 -485

485 lines not on this page · raw message

fs/ksmbd/connection.h deleted +0 -231

231 lines not on this page · raw message

fs/ksmbd/crypto_ctx.c deleted +0 -266

266 lines not on this page · raw message

fs/ksmbd/crypto_ctx.h deleted +0 -66

66 lines not on this page · raw message

fs/ksmbd/glob.h deleted +0 -49

49 lines not on this page · raw message

fs/ksmbd/ksmbd_netlink.h deleted +0 -412

412 lines not on this page · raw message

fs/ksmbd/ksmbd_spnego_negtokeninit.asn1 deleted +0 -31

Lines of this file are not shown. View the raw message.

fs/ksmbd/ksmbd_spnego_negtokentarg.asn1 deleted +0 -19

Lines of this file are not shown. View the raw message.

fs/ksmbd/ksmbd_work.c deleted +0 -79

79 lines not on this page · raw message

fs/ksmbd/ksmbd_work.h deleted +0 -117

117 lines not on this page · raw message

fs/ksmbd/mgmt/ksmbd_ida.c deleted +0 -46

46 lines not on this page · raw message

fs/ksmbd/mgmt/ksmbd_ida.h deleted +0 -34

Lines of this file are not shown. View the raw message.

fs/ksmbd/mgmt/share_config.c deleted +0 -234

234 lines not on this page · raw message

fs/ksmbd/mgmt/share_config.h deleted +0 -82

82 lines not on this page · raw message

fs/ksmbd/mgmt/tree_connect.c deleted +0 -147

147 lines not on this page · raw message

fs/ksmbd/mgmt/tree_connect.h deleted +0 -61

61 lines not on this page · raw message

fs/ksmbd/mgmt/user_config.c deleted +0 -79

79 lines not on this page · raw message

fs/ksmbd/mgmt/user_config.h deleted +0 -68

68 lines not on this page · raw message

fs/ksmbd/mgmt/user_session.c deleted +0 -400

400 lines not on this page · raw message

fs/ksmbd/mgmt/user_session.h deleted +0 -103

103 lines not on this page · raw message

fs/ksmbd/misc.c deleted +0 -381

381 lines not on this page · raw message

fs/ksmbd/misc.h deleted +0 -37

Lines of this file are not shown. View the raw message.

fs/ksmbd/ndr.c deleted +0 -514

514 lines not on this page · raw message

fs/ksmbd/ndr.h deleted +0 -22

Lines of this file are not shown. View the raw message.

fs/ksmbd/nterr.h deleted +0 -543

543 lines not on this page · raw message

fs/ksmbd/ntlmssp.h deleted +0 -169

169 lines not on this page · raw message

fs/ksmbd/oplock.c deleted +0 -1722

1,722 lines not on this page · raw message

fs/ksmbd/oplock.h deleted +0 -127

127 lines not on this page · raw message

fs/ksmbd/server.c deleted +0 -646

646 lines not on this page · raw message

fs/ksmbd/server.h deleted +0 -71

71 lines not on this page · raw message

fs/ksmbd/smb2misc.c deleted +0 -454

454 lines not on this page · raw message

fs/ksmbd/smb2ops.c deleted +0 -314

314 lines not on this page · raw message

fs/ksmbd/smb2pdu.c deleted +0 -8727

8,727 lines not on this page · raw message

fs/ksmbd/smb2pdu.h deleted +0 -536

536 lines not on this page · raw message

fs/ksmbd/smb_common.c deleted +0 -797

797 lines not on this page · raw message

fs/ksmbd/smb_common.h deleted +0 -468

468 lines not on this page · raw message

fs/ksmbd/smbacl.c deleted +0 -1436

1,436 lines not on this page · raw message

fs/ksmbd/smbacl.h deleted +0 -238

238 lines not on this page · raw message

fs/ksmbd/smbfsctl.h deleted +0 -91

91 lines not on this page · raw message

fs/ksmbd/smbstatus.h deleted +0 -1822

1,822 lines not on this page · raw message

fs/ksmbd/transport_ipc.c deleted +0 -884

884 lines not on this page · raw message

fs/ksmbd/transport_ipc.h deleted +0 -47

47 lines not on this page · raw message

fs/ksmbd/transport_rdma.c deleted +0 -2273

2,273 lines not on this page · raw message

fs/ksmbd/transport_rdma.h deleted +0 -69

69 lines not on this page · raw message

fs/ksmbd/transport_tcp.c deleted +0 -649

649 lines not on this page · raw message

fs/ksmbd/transport_tcp.h deleted +0 -13

Lines of this file are not shown. View the raw message.

fs/ksmbd/unicode.c deleted +0 -384

384 lines not on this page · raw message

fs/ksmbd/unicode.h deleted +0 -358

358 lines not on this page · raw message

fs/ksmbd/uniupr.h deleted +0 -268

268 lines not on this page · raw message

fs/ksmbd/vfs.c deleted +0 -1911

1,911 lines not on this page · raw message

fs/ksmbd/vfs.h deleted +0 -167

167 lines not on this page · raw message

fs/ksmbd/vfs_cache.c deleted +0 -708

708 lines not on this page · raw message

fs/ksmbd/vfs_cache.h deleted +0 -166

166 lines not on this page · raw message

fs/ksmbd/xattr.h deleted +0 -122

122 lines not on this page · raw message

fs/smb/Kconfig new file +11 -0

Lines of this file are not shown. View the raw message.

fs/smb/Makefile new file +5 -0

Lines of this file are not shown. View the raw message.

fs/smb/client/Kconfig new file +203 -0

203 lines not on this page · raw message

fs/smb/client/Makefile new file +34 -0

Lines of this file are not shown. View the raw message.

fs/smb/client/asn1.c new file +63 -0

63 lines not on this page · raw message

fs/smb/client/cached_dir.c new file +606 -0

606 lines not on this page · raw message

fs/smb/client/cached_dir.h new file +80 -0

80 lines not on this page · raw message

fs/smb/client/cifs_debug.c new file +1067 -0

1,067 lines not on this page · raw message

fs/smb/client/cifs_debug.h new file +160 -0

160 lines not on this page · raw message

fs/smb/client/cifs_dfs_ref.c new file +374 -0

374 lines not on this page · raw message

fs/smb/client/cifs_fs_sb.h new file +76 -0

76 lines not on this page · raw message

fs/smb/client/cifs_ioctl.h new file +126 -0

126 lines not on this page · raw message

fs/smb/client/cifs_spnego.c new file +236 -0

236 lines not on this page · raw message

fs/smb/client/cifs_spnego.h new file +36 -0

Lines of this file are not shown. View the raw message.

fs/smb/client/cifs_spnego_negtokeninit.asn1 new file +40 -0

Lines of this file are not shown. View the raw message.

fs/smb/client/cifs_swn.c new file +674 -0

674 lines not on this page · raw message

fs/smb/client/cifs_swn.h new file +52 -0

52 lines not on this page · raw message

fs/smb/client/cifs_unicode.c new file +632 -0

632 lines not on this page · raw message

fs/smb/client/cifs_unicode.h new file +404 -0

404 lines not on this page · raw message

fs/smb/client/cifs_uniupr.h new file +239 -0

239 lines not on this page · raw message

fs/smb/client/cifsacl.c new file +1672 -0

1,672 lines not on this page · raw message

fs/smb/client/cifsacl.h new file +199 -0

199 lines not on this page · raw message

fs/smb/client/cifsencrypt.c new file +733 -0

733 lines not on this page · raw message

fs/smb/client/cifsfs.c new file +1857 -0

1,857 lines not on this page · raw message

fs/smb/client/cifsfs.h new file +161 -0

161 lines not on this page · raw message

fs/smb/client/cifsglob.h new file +2208 -0

2,208 lines not on this page · raw message

fs/smb/client/cifspdu.h new file +2730 -0

2,730 lines not on this page · raw message

fs/smb/client/cifsproto.h new file +696 -0

696 lines not on this page · raw message

fs/smb/client/cifsroot.c new file +94 -0

94 lines not on this page · raw message

fs/smb/client/cifssmb.c new file +5873 -0

5,873 lines not on this page · raw message

fs/smb/client/connect.c new file +4754 -0

4,754 lines not on this page · raw message

fs/smb/client/dfs_cache.c new file +1690 -0

1,690 lines not on this page · raw message

fs/smb/client/dfs_cache.h new file +97 -0

97 lines not on this page · raw message

fs/smb/client/dir.c new file +867 -0

867 lines not on this page · raw message

fs/smb/client/dns_resolve.c new file +89 -0

89 lines not on this page · raw message

fs/smb/client/dns_resolve.h new file +18 -0

Lines of this file are not shown. View the raw message.

fs/smb/client/export.c new file +54 -0

54 lines not on this page · raw message

fs/smb/client/file.c new file +5290 -0

5,290 lines not on this page · raw message

fs/smb/client/fs_context.c new file +1773 -0

1,773 lines not on this page · raw message

fs/smb/client/fs_context.h new file +293 -0

293 lines not on this page · raw message

fs/smb/client/fscache.c new file +253 -0

253 lines not on this page · raw message

fs/smb/client/fscache.h new file +148 -0

148 lines not on this page · raw message

fs/smb/client/inode.c new file +3093 -0

3,093 lines not on this page · raw message

fs/smb/client/ioctl.c new file +526 -0

526 lines not on this page · raw message

fs/smb/client/link.c new file +650 -0

650 lines not on this page · raw message

fs/smb/client/misc.c new file +1434 -0

1,434 lines not on this page · raw message

fs/smb/client/netlink.c new file +90 -0

90 lines not on this page · raw message

fs/smb/client/netlink.h new file +16 -0

Lines of this file are not shown. View the raw message.

fs/smb/client/netmisc.c new file +1021 -0

1,021 lines not on this page · raw message

fs/smb/client/nterr.c new file +674 -0

674 lines not on this page · raw message

fs/smb/client/nterr.h new file +551 -0

551 lines not on this page · raw message

fs/smb/client/ntlmssp.h new file +157 -0

157 lines not on this page · raw message

fs/smb/client/readdir.c new file +1237 -0

1,237 lines not on this page · raw message

fs/smb/client/rfc1002pdu.h new file +61 -0

61 lines not on this page · raw message

fs/smb/client/sess.c new file +1858 -0

1,858 lines not on this page · raw message

fs/smb/client/smb1ops.c new file +1276 -0

1,276 lines not on this page · raw message

fs/smb/client/smb2file.c new file +371 -0

371 lines not on this page · raw message

fs/smb/client/smb2glob.h new file +44 -0

44 lines not on this page · raw message

fs/smb/client/smb2inode.c new file +799 -0

799 lines not on this page · raw message

fs/smb/client/smb2maperror.c new file +2481 -0

2,481 lines not on this page · raw message

fs/smb/client/smb2misc.c new file +944 -0

944 lines not on this page · raw message

fs/smb/client/smb2ops.c new file +5805 -0

5,805 lines not on this page · raw message

fs/smb/client/smb2pdu.c new file +5722 -0

5,722 lines not on this page · raw message

fs/smb/client/smb2pdu.h new file +434 -0

434 lines not on this page · raw message

fs/smb/client/smb2proto.h new file +284 -0

284 lines not on this page · raw message

fs/smb/client/smb2status.h new file +1769 -0

1,769 lines not on this page · raw message

fs/smb/client/smb2transport.c new file +934 -0

934 lines not on this page · raw message

fs/smb/client/smbdirect.c new file +2494 -0

2,494 lines not on this page · raw message

fs/smb/client/smbdirect.h new file +320 -0

320 lines not on this page · raw message

fs/smb/client/smbencrypt.c new file +91 -0

91 lines not on this page · raw message

fs/smb/client/smberr.h new file +171 -0

171 lines not on this page · raw message

fs/smb/client/trace.c new file +8 -0

Lines of this file are not shown. View the raw message.

fs/smb/client/trace.h new file +1070 -0

1,070 lines not on this page · raw message

fs/smb/client/transport.c new file +1807 -0

1,807 lines not on this page · raw message

fs/smb/client/unc.c new file +69 -0

69 lines not on this page · raw message

fs/smb/client/winucase.c new file +649 -0

649 lines not on this page · raw message

fs/smb/client/xattr.c new file +555 -0

555 lines not on this page · raw message

fs/smb/common/Makefile new file +7 -0

Lines of this file are not shown. View the raw message.

fs/smb/common/arc4.h new file +23 -0

Lines of this file are not shown. View the raw message.

fs/smb/common/cifs_arc4.c new file +74 -0

74 lines not on this page · raw message

fs/smb/common/cifs_md4.c new file +197 -0

197 lines not on this page · raw message

fs/smb/common/md4.h new file +27 -0

Lines of this file are not shown. View the raw message.

fs/smb/common/smb2pdu.h new file +1702 -0

1,702 lines not on this page · raw message

fs/smb/common/smbfsctl.h new file +170 -0

170 lines not on this page · raw message

fs/smb/server/Kconfig new file +68 -0

68 lines not on this page · raw message

fs/smb/server/Makefile new file +20 -0

Lines of this file are not shown. View the raw message.

fs/smb/server/asn1.c new file +239 -0

239 lines not on this page · raw message

fs/smb/server/asn1.h new file +21 -0

Lines of this file are not shown. View the raw message.

fs/smb/server/auth.c new file +1206 -0

1,206 lines not on this page · raw message

fs/smb/server/auth.h new file +71 -0

71 lines not on this page · raw message

fs/smb/server/connection.c new file +485 -0

485 lines not on this page · raw message

fs/smb/server/connection.h new file +231 -0

231 lines not on this page · raw message

fs/smb/server/crypto_ctx.c new file +266 -0

266 lines not on this page · raw message

fs/smb/server/crypto_ctx.h new file +66 -0

66 lines not on this page · raw message

fs/smb/server/glob.h new file +49 -0

49 lines not on this page · raw message

fs/smb/server/ksmbd_netlink.h new file +412 -0

412 lines not on this page · raw message

fs/smb/server/ksmbd_spnego_negtokeninit.asn1 new file +31 -0

Lines of this file are not shown. View the raw message.

fs/smb/server/ksmbd_spnego_negtokentarg.asn1 new file +19 -0

Lines of this file are not shown. View the raw message.

fs/smb/server/ksmbd_work.c new file +79 -0

79 lines not on this page · raw message

fs/smb/server/ksmbd_work.h new file +117 -0

117 lines not on this page · raw message

fs/smb/server/mgmt/ksmbd_ida.c new file +46 -0

46 lines not on this page · raw message

fs/smb/server/mgmt/ksmbd_ida.h new file +34 -0

Lines of this file are not shown. View the raw message.

fs/smb/server/mgmt/share_config.c new file +234 -0

234 lines not on this page · raw message

fs/smb/server/mgmt/share_config.h new file +82 -0

82 lines not on this page · raw message

fs/smb/server/mgmt/tree_connect.c new file +147 -0

147 lines not on this page · raw message

fs/smb/server/mgmt/tree_connect.h new file +61 -0

61 lines not on this page · raw message

fs/smb/server/mgmt/user_config.c new file +79 -0

79 lines not on this page · raw message

fs/smb/server/mgmt/user_config.h new file +68 -0

68 lines not on this page · raw message

fs/smb/server/mgmt/user_session.c new file +400 -0

400 lines not on this page · raw message

fs/smb/server/mgmt/user_session.h new file +103 -0

103 lines not on this page · raw message

fs/smb/server/misc.c new file +381 -0

381 lines not on this page · raw message

fs/smb/server/misc.h new file +37 -0

Lines of this file are not shown. View the raw message.

fs/smb/server/ndr.c new file +514 -0

514 lines not on this page · raw message

fs/smb/server/ndr.h new file +22 -0

Lines of this file are not shown. View the raw message.

fs/smb/server/nterr.h new file +543 -0

543 lines not on this page · raw message

fs/smb/server/ntlmssp.h new file +169 -0

169 lines not on this page · raw message

fs/smb/server/oplock.c new file +1722 -0

1,722 lines not on this page · raw message

fs/smb/server/oplock.h new file +127 -0

127 lines not on this page · raw message

fs/smb/server/server.c new file +646 -0

646 lines not on this page · raw message

fs/smb/server/server.h new file +71 -0

71 lines not on this page · raw message

fs/smb/server/smb2misc.c new file +454 -0

454 lines not on this page · raw message

fs/smb/server/smb2ops.c new file +314 -0

314 lines not on this page · raw message

fs/smb/server/smb2pdu.c new file +8727 -0

8,727 lines not on this page · raw message

fs/smb/server/smb2pdu.h new file +536 -0

536 lines not on this page · raw message

fs/smb/server/smb_common.c new file +797 -0

797 lines not on this page · raw message

fs/smb/server/smb_common.h new file +468 -0

468 lines not on this page · raw message

fs/smb/server/smbacl.c new file +1436 -0

1,436 lines not on this page · raw message

fs/smb/server/smbacl.h new file +238 -0

238 lines not on this page · raw message

fs/smb/server/smbfsctl.h new file +91 -0

91 lines not on this page · raw message

fs/smb/server/smbstatus.h new file +1822 -0

1,822 lines not on this page · raw message

fs/smb/server/transport_ipc.c new file +884 -0

884 lines not on this page · raw message

fs/smb/server/transport_ipc.h new file +47 -0

47 lines not on this page · raw message

fs/smb/server/transport_rdma.c new file +2273 -0

2,273 lines not on this page · raw message

fs/smb/server/transport_rdma.h new file +69 -0

69 lines not on this page · raw message

fs/smb/server/transport_tcp.c new file +649 -0

649 lines not on this page · raw message

fs/smb/server/transport_tcp.h new file +13 -0

Lines of this file are not shown. View the raw message.

fs/smb/server/unicode.c new file +384 -0

384 lines not on this page · raw message

fs/smb/server/unicode.h new file +358 -0

358 lines not on this page · raw message

fs/smb/server/uniupr.h new file +268 -0

268 lines not on this page · raw message

fs/smb/server/vfs.c new file +1911 -0

1,911 lines not on this page · raw message

fs/smb/server/vfs.h new file +167 -0

167 lines not on this page · raw message

fs/smb/server/vfs_cache.c new file +708 -0

708 lines not on this page · raw message

fs/smb/server/vfs_cache.h new file +166 -0

166 lines not on this page · raw message

fs/smb/server/xattr.h new file +122 -0

122 lines not on this page · raw message

fs/smbfs_common/Makefile deleted +0 -7

Lines of this file are not shown. View the raw message.

fs/smbfs_common/arc4.h deleted +0 -23

Lines of this file are not shown. View the raw message.

fs/smbfs_common/cifs_arc4.c deleted +0 -74

74 lines not on this page · raw message

fs/smbfs_common/cifs_md4.c deleted +0 -197

197 lines not on this page · raw message

fs/smbfs_common/md4.h deleted +0 -27

Lines of this file are not shown. View the raw message.

fs/smbfs_common/smb2pdu.h deleted +0 -1702

1,702 lines not on this page · raw message

fs/smbfs_common/smbfsctl.h deleted +0 -170

170 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

Tested-by on the v1 series
#171 lore raw
In reply to Greg Kroah-Hartman

Hi Greg

Quoted 10 lines · Greg Kroah-Hartman

This is the start of the stable review cycle for the 6.1.36 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 28 Jun 2023 18:07:23 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

Quoted 9 lines
        https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.36-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

thanks,

greg k-h

6.1.36-rc1 tested.

Build successfully completed.
Boot successfully completed.
No dmesg regressions.
Video output normal.
Sound output normal.

Lenovo ThinkPad X1 Carbon Gen10(Intel i7-1260P(x86_64), arch linux)

Thanks

maintainer Tested-by on the v1 series
#172 lore raw
In reply to Greg Kroah-Hartman
Quoted 9 lines · Greg Kroah-Hartman

This is the start of the stable review cycle for the 6.1.36 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 28 Jun 2023 18:07:23 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

Quoted 8 lines
	https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.36-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

thanks,

greg k-h

All tests passing for Tegra ...

Test results for stable-v6.1:

    11 builds:	11 pass, 0 fail
    28 boots:	28 pass, 0 fail
    130 tests:	130 pass, 0 fail

Linux version: 6.1.36-rc1-g8c805fb9757e
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,

                tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
                tegra20-ventana, tegra210-p2371-2180,
                tegra210-p3450-0000, tegra30-cardhu-a04

Jon

Tested-by on the v1 series
#174 lore raw
In reply to Greg Kroah-Hartman
Quoted 7 lines · Greg Kroah-Hartman

This is the start of the stable review cycle for the 6.1.36 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 28 Jun 2023 18:07:23 +0000. Anything received after that time might be too late.

Hi Greg

6.1.36-rc1

compiles, boots and runs here on x86_64
(AMD Ryzen 5 PRO 4650G, Slackware64-15.0)

Tested-by on the v1 series
#175 lore raw
In reply to Greg Kroah-Hartman

Hi Greg,

Quoted 10 lines

From: Greg Kroah-Hartman <[email protected]>
Sent: Monday, June 26, 2023 7:09 PM

This is the start of the stable review cycle for the 6.1.36 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 28 Jun 2023 18:07:23 +0000. Anything received after that time might be too late.

Thank you for the release!

CIP configurations built and booted okay with Linux 6.1.36-rc1 (8c805fb9757e):
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/pipelines/912373292
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/commits/linux-6.1.y

Kind regards, Chris

Tested-by on the v1 series
#176 lore raw
In reply to Greg Kroah-Hartman
Quoted 9 lines · Greg Kroah-Hartman

This is the start of the stable review cycle for the 6.1.36 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 28 Jun 2023 18:07:23 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

Quoted 8 lines
	https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.36-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

thanks,

greg k-h

Built and booted successfully on RISC-V RV64 (HiFive Unmatched).

Tested-by on the v1 series
#177 lore raw
In reply to Greg Kroah-Hartman
Quoted 8 lines · Greg Kroah-Hartman

This is the start of the stable review cycle for the 6.1.36 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 28 Jun 2023 18:07:23 +0000. Anything received after that time might be too late.

Build results:

	total: 155 pass: 155 fail: 0
Qemu test results:
	total: 519 pass: 519 fail: 0

Guenter

Tested-by Linux Kernel Functional Testing on the v1 series
#178 lore raw
In reply to Greg Kroah-Hartman
Quoted 10 lines · Greg Kroah-Hartman

This is the start of the stable review cycle for the 6.1.36 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 28 Jun 2023 18:07:23 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

Quoted 8 lines
        https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.36-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

thanks,

greg k-h

Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.

## Build
* kernel: 6.1.36-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-6.1.y
* git commit: 8c805fb9757e69c239188ee683605520ff73b913
* git describe: v6.1.35-171-g8c805fb9757e
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.35-171-g8c805fb9757e

## Test Regressions (compared to v6.1.35)

## Metric Regressions (compared to v6.1.35)

## Test Fixes (compared to v6.1.35)

## Metric Fixes (compared to v6.1.35)

## Test result summary
total: 166130, pass: 132599, fail: 3459, skip: 29913, xfail: 159

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 151 total, 150 passed, 1 failed
* arm64: 57 total, 56 passed, 1 failed
* i386: 41 total, 38 passed, 3 failed
* mips: 30 total, 28 passed, 2 failed
* parisc: 4 total, 4 passed, 0 failed
* powerpc: 38 total, 36 passed, 2 failed
* riscv: 16 total, 15 passed, 1 failed
* s390: 16 total, 16 passed, 0 failed
* sh: 14 total, 12 passed, 2 failed
* sparc: 8 total, 8 passed, 0 failed
* x86_64: 46 total, 46 passed, 0 failed

## Test suites summary
* boot
* fwts
* kselftest-android
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-drivers-dma-buf
* kselftest-efivarfs
* kselftest-exec
* kselftest-filesystems
* kselftest-filesystems-binderfs
* kselftest-firmware
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-ir
* kselftest-kcmp
* kselftest-kexec
* kselftest-kvm
* kselftest-lib
* kselftest-livepatch
* kselftest-membarrier
* kselftest-memfd
* kselftest-memory-hotplug
* kselftest-mincore
* kselftest-mount
* kselftest-mqueue
* kselftest-net
* kselftest-net-forwarding
* kselftest-net-mptcp
* kselftest-netfilter
* kselftest-nsfs
* kselftest-openat2
* kselftest-pid_namespace
* kselftest-pidfd
* kselftest-proc
* kselftest-pstore
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-splice
* kselftest-static_keys
* kselftest-sync
* kselftest-sysctl
* kselftest-tc-testing
* kselftest-timens
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user
* kselftest-user_events
* kselftest-vDSO
* kselftest-watchdog
* kselftest-x86
* kselftest-zram
* kunit
* kvm-unit-tests
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-fsx
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-smoke
* ltp-syscalls
* ltp-tracing
* network-basic-tests
* perf
* rcutorture
* v4l2-compliance
* vdso

--
Linaro LKFT
https://lkft.linaro.org

Tested-by on the v1 series
#179 lore raw
In reply to Greg Kroah-Hartman
Quoted 10 lines

This is the start of the stable review cycle for the 6.1.36 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Wed, 28 Jun 2023 18:07:23 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

Quoted 9 lines
        https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.36-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

thanks,

greg k-h

Compiled and booted on my x86_64 and ARM64 test systems. No errors or regressions.

Thanks.