6.1.36-rc1 review
Subsystems (2)
Greg Kroah-Hartman
maintainerPATCH 159/170 i2c: mchp-pci1xxxx: Avoid cast to incompatible function type
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
Greg Kroah-Hartman
maintainerPATCH 160/170 ARM: dts: Fix erroneous ADS touchscreen polarities
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
@@ -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
@@ -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 = <®_3p3v>; ti,x-min = /bits/ 16 <0>; ti,x-max = /bits/ 16 <4095>;
arch/arm/boot/dts/imx7d-sdb.dts +1 -1
@@ -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
@@ -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
@@ -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
@@ -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 = <®_vcc3>; pinctrl-names = "default"; pinctrl-0 = <&tsc2048_pins>;
arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi +1 -1
@@ -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
@@ -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
@@ -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
@@ -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
Greg Kroah-Hartman
maintainerPATCH 161/170 null_blk: Fix: memory release when memory_backed=1
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
Greg Kroah-Hartman
maintainerPATCH 162/170 drm/exynos: vidi: fix a wrong error return
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
Greg Kroah-Hartman
maintainerPATCH 163/170 drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
Greg Kroah-Hartman
maintainerPATCH 164/170 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
Greg Kroah-Hartman
maintainerPATCH 165/170 vhost_vdpa: tell vqs about the negotiated
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
Greg Kroah-Hartman
maintainerPATCH 166/170 vhost_net: revert upend_idx only on retriable error
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
Greg Kroah-Hartman
maintainerPATCH 167/170 KVM: arm64: Restore GICv2-on-GICv3 functionality
In reply to Greg Kroah-HartmanFrom: 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 *kif (!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);
Greg Kroah-Hartman
maintainerPATCH 141/170 nvme: double KA polling frequency to avoid KATO with TBKAS on
In reply to Greg Kroah-HartmanFrom: Uday Shankar <[email protected]>
[ Upstream commit ea4d453b9ec9ea279c39744cd0ecb47ef48ede35 ]
With TBKAS on, the completion of one command can defer sending a keep alive for up to twice the delay between successive runs of nvme_keep_alive_work. The current delay of KATO / 2 thus makes it possible for one command to defer sending a keep alive for up to KATO, which can result in the controller detecting a KATO. The following trace demonstrates the issue, taking KATO = 8 for simplicity:
1. t = 0: run nvme_keep_alive_work, no keep-alive sent
2. t = ε: I/O completion seen, set comp_seen = true
3. t = 4: run nvme_keep_alive_work, see comp_seen == true, skip sending keep-alive, set comp_seen = false
4. t = 8: run nvme_keep_alive_work, see comp_seen == false, send a keep-alive command.
Here, there is a delay of 8 - ε between receiving a command completion and sending the next command. With ε small, the controller is likely to detect a keep alive timeout.
Fix this by running nvme_keep_alive_work with a delay of KATO / 4 whenever TBKAS is on. Going through the above trace now gives us a worst-case delay of 4 - ε, which is in line with the recommendation of sending a command every KATO / 2 in the NVMe specification.
--- drivers/nvme/host/core.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
drivers/nvme/host/core.c +17 -1
@@ -1198,9 +1198,25 @@ EXPORT_SYMBOL_NS_GPL(nvme_execute_passthru_rq, NVME_TARGET_PASSTHRU);* The host should send Keep Alive commands at half of the Keep Alive Timeout * accounting for transport roundtrip times [..]. */ +static unsigned long nvme_keep_alive_work_period (struct nvme_ctrl *ctrl) +{ +unsigned long delay = ctrl->kato *HZ /2 ; + +/* +* When using Traffic Based Keep Alive, we need to run +* nvme_keep_alive_work at twice the normal frequency, as one +* command completion can postpone sending a keep alive command +* by up to twice the delay between runs. +*/ +if (ctrl->ctratt &NVME_CTRL_ATTR_TBKAS ) + delay /=2 ; +return delay; +} +static void nvme_queue_keep_alive_work (struct nvme_ctrl *ctrl) { -queue_delayed_work (nvme_wq, &ctrl->ka_work, ctrl->kato *HZ /2 ); +queue_delayed_work (nvme_wq, &ctrl->ka_work, +nvme_keep_alive_work_period (ctrl)); } static enum rq_end_io_ret nvme_keep_alive_end_io(struct request *rq,
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 142/170 nvme: check IO start time when deciding to defer KA
In reply to Greg Kroah-HartmanFrom: Uday Shankar <[email protected]>
[ Upstream commit 774a9636514764ddc0d072ae0d1d1c01a47e6ddd ]
When a command completes, we set a flag which will skip sending a keep alive at the next run of nvme_keep_alive_work when TBKAS is on. However, if the command was submitted long ago, it's possible that the controller may have also restarted its keep alive timer (as a result of receiving the command) long ago. The following trace demonstrates the issue, assuming TBKAS is on and KATO = 8 for simplicity:
1. t = 0: submit I/O commands A, B, C, D, E
2. t = 0.5: commands A, B, C, D, E reach controller, restart its keep alive timer
3. t = 1: A completes
4. t = 2: run nvme_keep_alive_work, see recent completion, do nothing
5. t = 3: B completes
6. t = 4: run nvme_keep_alive_work, see recent completion, do nothing
7. t = 5: C completes
8. t = 6: run nvme_keep_alive_work, see recent completion, do nothing
9. t = 7: D completes
10. t = 8: run nvme_keep_alive_work, see recent completion, do nothing
11. t = 9: E completes
At this point, 8.5 seconds have passed without restarting the controller's keep alive timer, so the controller will detect a keep alive timeout.
Fix this by checking the IO start time when deciding to defer sending a keep alive command. Only set comp_seen if the command started after the most recent run of nvme_keep_alive_work. With this change, the completions of B, C, and D will not set comp_seen and the run of nvme_keep_alive_work at t = 4 will send a keep alive.
--- drivers/nvme/host/core.c | 14 +++++++++++++- drivers/nvme/host/nvme.h | 1 + 2 files changed, 14 insertions(+), 1 deletion(-)
drivers/nvme/host/core.c +13 -1
@@ -395,7 +395,16 @@ void nvme_complete_rq(struct request *req)trace_nvme_complete_rq (req);nvme_cleanup_cmd (req); -if (ctrl->kas) +/* +* Completions of long-running commands should not be able to +* defer sending of periodic keep alives, since the controller +* may have completed processing such commands a long time ago +* (arbitrarily close to command submission time). +* req->deadline - req->timeout is the command submission time +* in jiffies. +*/ +if (ctrl->kas && + req->deadline - req->timeout >= ctrl->ka_last_check_time) ctrl->comp_seen = true;switch (nvme_decide_disposition (req)) {
@@ -1235,6 +1244,7 @@ static enum rq_end_io_ret nvme_keep_alive_end_io(struct request *rq,return RQ_END_IO_NONE ; } + ctrl->ka_last_check_time = jiffies; ctrl->comp_seen = false;spin_lock_irqsave (&ctrl->lock, flags); if (ctrl->state == NVME_CTRL_LIVE ||
@@ -1253,6 +1263,8 @@ static void nvme_keep_alive_work(struct work_struct *work)bool comp_seen = ctrl->comp_seen;struct request *rq; + ctrl->ka_last_check_time = jiffies; +if ((ctrl->ctratt &NVME_CTRL_ATTR_TBKAS ) && comp_seen) {dev_dbg (ctrl->device,"reschedule traffic based keep-alive timer\n" );
drivers/nvme/host/nvme.h +1 -0
@@ -323,6 +323,7 @@ struct nvme_ctrl {struct delayed_work ka_work;struct delayed_work failfast_work;struct nvme_command ka_cmd; +unsigned long ka_last_check_time;struct work_struct fw_act_work;unsigned long events;
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 143/170 nvme: improve handling of long keep alives
In reply to Greg Kroah-HartmanFrom: Uday Shankar <[email protected]>
[ Upstream commit c7275ce6a5fd32ca9f5a6294ed89cf0523181af9 ]
Upon keep alive completion, nvme_keep_alive_work is scheduled with the same delay every time. If keep alive commands are completing slowly, this may cause a keep alive timeout. The following trace illustrates the issue, taking KATO = 8 and TBKAS off for simplicity:
1. t = 0: run nvme_keep_alive_work, send keep alive
2. t = ε: keep alive reaches controller, controller restarts its keep alive timer
3. t = 4: host receives keep alive completion, schedules nvme_keep_alive_work with delay 4
4. t = 8: run nvme_keep_alive_work, send keep alive
Here, a keep alive having RTT of 4 causes a delay of at least 8 - ε between the controller receiving successive keep alives. With ε small, the controller is likely to detect a keep alive timeout.
Fix this by calculating the RTT of the keep alive command, and adjusting the scheduling delay of the next keep alive work accordingly.
--- drivers/nvme/host/core.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
drivers/nvme/host/core.c +15 -1
@@ -1234,6 +1234,20 @@ static enum rq_end_io_ret nvme_keep_alive_end_io(struct request *rq,struct nvme_ctrl *ctrl = rq->end_io_data;unsigned long flags;bool startka = false; +unsigned long rtt = jiffies - (rq->deadline - rq->timeout); +unsigned long delay =nvme_keep_alive_work_period (ctrl); + +/* +* Subtract off the keepalive RTT so nvme_keep_alive_work runs +* at the desired frequency. +*/ +if (rtt <= delay) { + delay -= rtt; + }else { +dev_warn (ctrl->device,"long keepalive RTT (%u ms)\n" , +jiffies_to_msecs (rtt)); + delay =0 ; + }blk_mq_free_request (rq);
@@ -1252,7 +1266,7 @@ static enum rq_end_io_ret nvme_keep_alive_end_io(struct request *rq, startka = true;spin_unlock_irqrestore (&ctrl->lock, flags);if (startka) -nvme_queue_keep_alive_work (ctrl); +queue_delayed_work (nvme_wq, &ctrl->ka_work, delay);return RQ_END_IO_NONE ; }
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 144/170 Input: soc_button_array - add invalid acpi_index DMI quirk handling
In reply to Greg Kroah-HartmanFrom: Hans de Goede <[email protected]>
[ Upstream commit 20a99a291d564a559cc2fd013b4824a3bb3f1db7 ]
Some devices have a wrong entry in their button array which points to a GPIO which is required in another driver, so soc_button_array must not claim it.
A specific example of this is the Lenovo Yoga Book X90F / X90L, where the PNP0C40 home button entry points to a GPIO which is not a home button and which is required by the lenovo-yogabook driver.
Add a DMI quirk table which can specify an ACPI GPIO resource index which should be skipped; and add an entry for the Lenovo Yoga Book X90F / X90L to this new DMI quirk table.
--- drivers/input/misc/soc_button_array.c | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
drivers/input/misc/soc_button_array.c +30 -0
@@ -108,6 +108,27 @@ static const struct dmi_system_id dmi_use_low_level_irq[] = { {}/* Terminating entry */ }; +/* +* Some devices have a wrong entry which points to a GPIO which is +* required in another driver, so this driver must not claim it. +*/ +static const struct dmi_system_id dmi_invalid_acpi_index[] = { + { +/* +* Lenovo Yoga Book X90F / X90L, the PNP0C40 home button entry +* points to a GPIO which is not a home button and which is +* required by the lenovo-yogabook driver. +*/ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Intel Corporation" ), +DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"CHERRYVIEW D1 PLATFORM" ), +DMI_EXACT_MATCH (DMI_PRODUCT_VERSION ,"YETI-11" ), + }, + .driver_data = (void *)1l , + }, + {}/* Terminating entry */ +}; +/* * Get the Nth GPIO number from the ACPI object. */
@@ -137,6 +158,8 @@ soc_button_device_create(struct platform_device *pdev,struct platform_device *pd;struct gpio_keys_button *gpio_keys;struct gpio_keys_platform_data *gpio_keys_pdata; +const struct dmi_system_id *dmi_id; +int invalid_acpi_index =-1 ;int error, gpio, irq;int n_buttons =0 ;
@@ -154,10 +177,17 @@ soc_button_device_create(struct platform_device *pdev, gpio_keys = (void *)(gpio_keys_pdata +1 ); n_buttons =0 ; + dmi_id =dmi_first_match (dmi_invalid_acpi_index); +if (dmi_id) + invalid_acpi_index = (long )dmi_id->driver_data; +for (info = button_info; info->name; info++) {if (info->autorepeat != autorepeat)continue ; +if (info->acpi_index == invalid_acpi_index) +continue ; + error =soc_button_lookup_gpio (&pdev->dev, info->acpi_index, &gpio, &irq);if (error || irq <0 ) {/*
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 145/170 arm64: dts: qcom: sc7280-idp: drop incorrect dai-cells from WCD938x SDW
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit ca8fc6814844d8787e7fec61b2544a871ea8b675 ]
The WCD938x audio codec Soundwire interface part is not a DAI and does not allow sound-dai-cells:
sc7280-idp.dtb: codec@0,4: '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
--- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +0 -2
@@ -488,7 +488,6 @@ wcd_rx: codec@0,4 { compatible = "sdw20217010d00"; reg = <0 4>; - #sound-dai-cells = <1>; qcom,rx-port-mapping = <1 2 3 4 5>; }; };
@@ -499,7 +498,6 @@ wcd_tx: codec@0,3 { compatible = "sdw20217010d00"; reg = <0 3>; - #sound-dai-cells = <1>; qcom,tx-port-mapping = <1 2 3 4>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 146/170 arm64: dts: qcom: sc7280-qcard: drop incorrect dai-cells from WCD938x SDW
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit 16bd455d0897d1b8b7a9aee2ed51d75b14a34563 ]
The WCD938x audio codec Soundwire interface part is not a DAI and does not allow sound-dai-cells:
sc7280-herobrine-crd.dtb: codec@0,4: '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
--- arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi +0 -2
@@ -418,7 +418,6 @@ wcd_rx: codec@0,4 { compatible = "sdw20217010d00"; reg = <0 4>; - #sound-dai-cells = <1>; qcom,rx-port-mapping = <1 2 3 4 5>; }; };
@@ -427,7 +426,6 @@ wcd_tx: codec@0,3 { compatible = "sdw20217010d00"; reg = <0 3>; - #sound-dai-cells = <1>; qcom,tx-port-mapping = <1 2 3 4>; }; };
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 147/170 s390/cio: unregister device when the only path is gone
In reply to Greg Kroah-HartmanFrom: Vineeth Vijayan <[email protected]>
[ Upstream commit 89c0c62e947a01e7a36b54582fd9c9e346170255 ]
Currently, if the device is offline and all the channel paths are either configured or varied offline, the associated subchannel gets unregistered. Don't unregister the subchannel, instead unregister offline device.
--- drivers/s390/cio/device.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/s390/cio/device.c +4 -1
@@ -1367,6 +1367,7 @@ void ccw_device_set_notoper(struct ccw_device *cdev)enum io_sch_action {IO_SCH_UNREG ,IO_SCH_ORPH_UNREG , +IO_SCH_UNREG_CDEV ,IO_SCH_ATTACH ,IO_SCH_UNREG_ATTACH ,IO_SCH_ORPH_ATTACH ,
@@ -1399,7 +1400,7 @@ static enum io_sch_action sch_get_action(struct subchannel *sch) }if ((sch->schib.pmcw.pam & sch->opm) ==0 ) {if (ccw_device_notify (cdev,CIO_NO_PATH ) !=NOTIFY_OK ) -return IO_SCH_UNREG ; +return IO_SCH_UNREG_CDEV ;return IO_SCH_DISC ; }if (device_is_disconnected (cdev))
@@ -1461,6 +1462,7 @@ static int io_subchannel_sch_event(struct subchannel *sch, int process)case IO_SCH_ORPH_ATTACH :ccw_device_set_disconnected (cdev);break ; +case IO_SCH_UNREG_CDEV :case IO_SCH_UNREG_ATTACH :case IO_SCH_UNREG :if (!cdev)
@@ -1494,6 +1496,7 @@ static int io_subchannel_sch_event(struct subchannel *sch, int process)if (rc) goto out;break ; +case IO_SCH_UNREG_CDEV :case IO_SCH_UNREG_ATTACH :spin_lock_irqsave (sch->lock, flags);sch_set_cdev (sch,NULL );
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 138/170 nfcsim.c: Fix error checking for debugfs_create_dir
In reply to Greg Kroah-HartmanFrom: Osama Muhammad <[email protected]>
[ Upstream commit 9b9e46aa07273ceb96866b2e812b46f1ee0b8d2f ]
This patch fixes the error checking in nfcsim.c. The DebugFS kernel API is developed in
a way that the caller can safely ignore the errors that occur during the creation of DebugFS nodes.
--- drivers/nfc/nfcsim.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/nfc/nfcsim.c +0 -4
@@ -336,10 +336,6 @@ static struct dentry *nfcsim_debugfs_root;static void nfcsim_debugfs_init (void ) { nfcsim_debugfs_root =debugfs_create_dir ("nfcsim" ,NULL ); - -if (!nfcsim_debugfs_root) -pr_err ("Could not create debugfs entry\n" ); - }static void nfcsim_debugfs_remove (void )
Signature · 1 line
2.39.2
Greg Kroah-Hartman
maintainerPATCH 169/170 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
In reply to Greg Kroah-HartmanFrom: Clark Wang <[email protected]>
[ Upstream commit e69b9bc170c6d93ee375a5cbfd15f74c0fb59bdd ]
Claim clkhi and clklo as integer type to avoid possible calculation errors caused by data overflow.
--- drivers/i2c/busses/i2c-imx-lpi2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-imx-lpi2c.c +2 -2
@@ -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
Greg Kroah-Hartman
maintainerPATCH 170/170 smb: move client and server files to common directory fs/smb
In reply to Greg Kroah-HartmanFrom: 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.
Greg Kroah-Hartman
maintainerPATCH 168/170 x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys
In reply to Greg Kroah-HartmanFrom: 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
@@ -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
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.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-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
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.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-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 failLinux 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-a04Jon
Quoted 4 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.
Cheers,
Conor.
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)
Hi Greg,
Quoted 10 lines
From: Greg Kroah-Hartman <[email protected]>
Sent: Monday, June 26, 2023 7:09 PMThis 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
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.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.1.y
and the diffstat can be found below.thanks,
greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
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
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.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-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
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.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-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.