5.14.9-rc1 review
Subsystems (7)
Greg Kroah-Hartman
maintainerPATCH 161/162 usb: gadget: f_uac2: Add missing companion descriptor for feedback EP
In reply to Greg Kroah-HartmanFrom: Jack Pham <[email protected]>
commit 595091a1426a3b2625dad322f69fe569dc9d8943 upstream.
The f_uac2 function fails to enumerate when connected in SuperSpeed due to the feedback endpoint missing the companion descriptor. Add a new ss_epin_fback_desc_comp descriptor and append it behind the ss_epin_fback_desc both in the static definition of the ss_audio_desc structure as well as its dynamic construction in setup_headers().
--- drivers/usb/gadget/function/f_uac2.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
drivers/usb/gadget/function/f_uac2.c +15 -1
@@ -348,6 +348,14 @@ static struct usb_endpoint_descriptor ss .bInterval = 4, }; +static struct usb_ss_ep_comp_descriptor ss_epin_fback_desc_comp = { + .bLength =sizeof (ss_epin_fback_desc_comp), + .bDescriptorType =USB_DT_SS_ENDPOINT_COMP , + .bMaxBurst =0 , + .bmAttributes =0 , + .wBytesPerInterval =cpu_to_le16 (4 ), +}; +/* Audio Streaming IN Interface - Alt0 */ static struct usb_interface_descriptor std_as_in_if0_desc = {
@@ -527,6 +535,7 @@ static struct usb_descriptor_header *ss_ (struct usb_descriptor_header *)&ss_epout_desc_comp, (struct usb_descriptor_header *)&as_iso_out_desc, (struct usb_descriptor_header *)&ss_epin_fback_desc, + (struct usb_descriptor_header *)&ss_epin_fback_desc_comp, (struct usb_descriptor_header *)&std_as_in_if0_desc, (struct usb_descriptor_header *)&std_as_in_if1_desc,
@@ -604,6 +613,7 @@ static void setup_headers(struct f_uac2_ {struct usb_ss_ep_comp_descriptor *epout_desc_comp =NULL ;struct usb_ss_ep_comp_descriptor *epin_desc_comp =NULL ; +struct usb_ss_ep_comp_descriptor *epin_fback_desc_comp =NULL ;struct usb_endpoint_descriptor *epout_desc;struct usb_endpoint_descriptor *epin_desc;struct usb_endpoint_descriptor *epin_fback_desc;
@@ -626,6 +636,7 @@ static void setup_headers(struct f_uac2_ epout_desc_comp = &ss_epout_desc_comp; epin_desc_comp = &ss_epin_desc_comp; epin_fback_desc = &ss_epin_fback_desc; + epin_fback_desc_comp = &ss_epin_fback_desc_comp; } i =0 ;
@@ -654,8 +665,11 @@ static void setup_headers(struct f_uac2_ headers[i++] =USBDHDR (&as_iso_out_desc); -if (EPOUT_FBACK_IN_EN (opts)) +if (EPOUT_FBACK_IN_EN (opts)) { headers[i++] =USBDHDR (epin_fback_desc); +if (epin_fback_desc_comp) + headers[i++] =USBDHDR (epin_fback_desc_comp); + } }if (EPIN_EN (opts)) { headers[i++] =USBDHDR (&std_as_in_if0_desc);
Greg Kroah-Hartman
maintainerPATCH 123/162 dma-debug: prevent an error message from causing runtime problems
In reply to Greg Kroah-HartmanFrom: Hamza Mahfooz <[email protected]>
[ Upstream commit 510e1a724ab1bf38150be2c1acabb303f98d0047 ]
For some drivers, that use the DMA API. This error message can be reached several millions of times per second, causing spam to the kernel's printk buffer and bringing the CPU usage up to 100% (so, it should be rate limited). However, since there is at least one driver that is in the mainline and suffers from the error condition, it is more useful to err_printk() here instead of just rate limiting the error message (in hopes that it will make it easier for other drivers that suffer from this issue to be spotted).
--- kernel/dma/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/dma/debug.c +2 -1
@@ -567,7 +567,8 @@ static void add_dma_entry(struct dma_debug_entry *entry)pr_err ("cacheline tracking ENOMEM, dma-debug disabled\n" ); global_disable = true; }else if (rc == -EEXIST ) { -pr_err ("cacheline tracking EEXIST, overlapping mappings aren't supported\n" ); +err_printk (entry->dev, entry, +"cacheline tracking EEXIST, overlapping mappings aren't supported\n" ); } }
Signature · 1 line
2.33.0
Greg Kroah-Hartman
maintainerPATCH 130/162 amd/display: downgrade validation failure log level
In reply to Greg Kroah-HartmanFrom: Simon Ser <[email protected]>
[ Upstream commit 7bbee36d71502ab9a341505da89a017c7ae2e6b2 ]
In amdgpu_dm_atomic_check, dc_validate_global_state is called. On failure this logs a warning to the kernel journal. However warnings shouldn't be used for atomic test-only commit failures: user-space might be perfoming a lot of atomic test-only commits to find the best hardware configuration.
Downgrade the log to a regular DRM atomic message. While at it, use the new device-aware logging infrastructure.
This fixes error messages in the kernel when running gamescope [1].
[1]: https://github.com/Plagman/gamescope/issues/245
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -1
@@ -10469,7 +10469,8 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev, goto fail; status =dc_validate_global_state (dc, dm_state->context, false);if (status !=DC_OK ) { -DC_LOG_WARNING ("DC global validation failure: %s (%d)" , +drm_dbg_atomic (dev, +"DC global validation failure: %s (%d)" ,dc_status_to_str (status), status); ret = -EINVAL ; goto fail;
Signature · 1 line
2.33.0
Greg Kroah-Hartman
maintainerPATCH 128/162 nvme-rdma: destroy cm id before destroy qp to avoid use after free
In reply to Greg Kroah-HartmanFrom: Ruozhu Li <[email protected]>
[ Upstream commit 9817d763dbe15327b9b3ff4404fa6f27f927e744 ]
We should always destroy cm_id before destroy qp to avoid to get cma event after qp was destroyed, which may lead to use after free. In RDMA connection establishment error flow, don't destroy qp in cm event handler.Just report cm_error to upper level, qp will be destroy in nvme_rdma_alloc_queue() after destroy cm id.
--- drivers/nvme/host/rdma.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-)
drivers/nvme/host/rdma.c +3 -13
@@ -656,8 +656,8 @@ static void nvme_rdma_free_queue(struct nvme_rdma_queue *queue)if (!test_and_clear_bit (NVME_RDMA_Q_ALLOCATED , &queue->flags))return ; -nvme_rdma_destroy_queue_ib (queue);rdma_destroy_id (queue->cm_id); +nvme_rdma_destroy_queue_ib (queue);mutex_destroy (&queue->queue_lock); }
@@ -1815,14 +1815,10 @@ static int nvme_rdma_conn_established(struct nvme_rdma_queue *queue)for (i =0 ; i < queue->queue_size; i++) { ret =nvme_rdma_post_recv (queue, &queue->rsp_ring[i]);if (ret) - goto out_destroy_queue_ib; +return ret; }return 0 ; - -out_destroy_queue_ib: -nvme_rdma_destroy_queue_ib (queue); -return ret; } static int nvme_rdma_conn_rejected(struct nvme_rdma_queue *queue,
@@ -1916,14 +1912,10 @@ static int nvme_rdma_route_resolved(struct nvme_rdma_queue *queue)if (ret) {dev_err (ctrl->ctrl.device,"rdma_connect_locked failed (%d).\n" , ret); - goto out_destroy_queue_ib; +return ret; }return 0 ; - -out_destroy_queue_ib: -nvme_rdma_destroy_queue_ib (queue); -return ret; } static int nvme_rdma_cm_handler(struct rdma_cm_id *cm_id,
@@ -1954,8 +1946,6 @@ static int nvme_rdma_cm_handler(struct rdma_cm_id *cm_id,case RDMA_CM_EVENT_ROUTE_ERROR :case RDMA_CM_EVENT_CONNECT_ERROR :case RDMA_CM_EVENT_UNREACHABLE : -nvme_rdma_destroy_queue_ib (queue); - fallthrough;case RDMA_CM_EVENT_ADDR_ERROR :dev_dbg (queue->ctrl->ctrl.device,"CM error event %d\n" , ev->event);
Signature · 1 line
2.33.0
Greg Kroah-Hartman
maintainerPATCH 162/162 usb: gadget: f_uac2: Populate SS descriptors wBytesPerInterval
In reply to Greg Kroah-HartmanFrom: Jack Pham <[email protected]>
commit f0e8a206a2a53a919e1709c654cb65d519f7befb upstream.
For Isochronous endpoints, the SS companion descriptor's wBytesPerInterval field is required to reserve bus time in order to transmit the required payload during the service interval. If left at 0, the UAC2 function is unable to transact data on its playback or capture endpoints in SuperSpeed mode.
Since f_uac2 currently does not support any bursting this value can be exactly equal to the calculated wMaxPacketSize.
Tested with Windows 10 as a host.
--- drivers/usb/gadget/function/f_uac2.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/usb/gadget/function/f_uac2.c +3 -0
@@ -951,6 +951,9 @@ afunc_bind(struct usb_configuration *cfg agdev->out_ep_maxpsize =max_t (u16, agdev->out_ep_maxpsize,le16_to_cpu (ss_epout_desc.wMaxPacketSize)); + ss_epin_desc_comp.wBytesPerInterval = ss_epin_desc.wMaxPacketSize; + ss_epout_desc_comp.wBytesPerInterval = ss_epout_desc.wMaxPacketSize; + hs_epout_desc.bEndpointAddress = fs_epout_desc.bEndpointAddress; hs_epin_fback_desc.bEndpointAddress = fs_epin_fback_desc.bEndpointAddress; hs_epin_desc.bEndpointAddress = fs_epin_desc.bEndpointAddress;
Greg Kroah-Hartman
maintainerPATCH 127/162 nvme-multipath: fix ANA state updates when a namespace is not present
In reply to Greg Kroah-HartmanFrom: Anton Eidelman <[email protected]>
[ Upstream commit 79f528afa93918519574773ea49a444c104bc1bd ]
nvme_update_ana_state() has a deficiency that results in a failure to properly update the ana state for a namespace in the following case:
NSIDs in ctrl->namespaces: 1, 3, 4
NSIDs in desc->nsids: 1, 2, 3, 4
Loop iteration 0:
ns index = 0, n = 0, ns->head->ns_id = 1, nsid = 1, MATCH.
Loop iteration 1:
ns index = 1, n = 1, ns->head->ns_id = 3, nsid = 2, NO MATCH.
Loop iteration 2:
ns index = 2, n = 2, ns->head->ns_id = 4, nsid = 4, MATCH.Where the update to the ANA state of NSID 3 is missed. To fix this increment n and retry the update with the same ns when ns->head->ns_id is higher than nsid,
--- drivers/nvme/host/multipath.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/nvme/host/multipath.c +5 -2
@@ -583,14 +583,17 @@ static int nvme_update_ana_state(struct nvme_ctrl *ctrl,down_read (&ctrl->namespaces_rwsem);list_for_each_entry (ns, &ctrl->namespaces, list) { -unsigned nsid =le32_to_cpu (desc->nsids[n]); - +unsigned nsid; +again: + nsid =le32_to_cpu (desc->nsids[n]);if (ns->head->ns_id < nsid)continue ;if (ns->head->ns_id == nsid)nvme_update_ns_ana_state (desc, ns);if (++n == nr_nsids)break ; +if (ns->head->ns_id > nsid) + goto again; }up_read (&ctrl->namespaces_rwsem);return 0 ;
Signature · 1 line
2.33.0
Greg Kroah-Hartman
maintainerPATCH 157/162 software node: balance refcount for managed software nodes
In reply to Greg Kroah-HartmanFrom: Laurentiu Tudor <[email protected]>
commit 5aeb05b27f81269a2bf2e15eab9fc0f9a400d3a8 upstream.
software_node_notify(), on KOBJ_REMOVE drops the refcount twice on managed software nodes, thus leading to underflow errors. Balance the refcount by bumping it in the device_create_managed_software_node() function.
The error [1] was encountered after adding a .shutdown() op to our fsl-mc-bus driver.
[1]
pc : refcount_warn_saturate+0xf8/0x150 lr : refcount_warn_saturate+0xf8/0x150
sp : ffff80001009b920
x29: ffff80001009b920 x28: ffff1a2420318000 x27: 0000000000000000
x26: ffffccac15e7a038 x25: 0000000000000008 x24: ffffccac168e0030
x23: ffff1a2428a82000 x22: 0000000000080000 x21: ffff1a24287b5000
x20: 0000000000000001 x19: ffff1a24261f4400 x18: ffffffffffffffff
x17: 6f72645f726f7272 x16: 0000000000000000 x15: ffff80009009b607
x14: 0000000000000000 x13: ffffccac16602670 x12: 0000000000000a17
x11: 000000000000035d x10: ffffccac16602670 x9 : ffffccac16602670 x8 : 00000000ffffefff x7 : ffffccac1665a670 x6 : ffffccac1665a670 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 00000000ffffffff x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff1a2420318000
Call trace: refcount_warn_saturate+0xf8/0x150 kobject_put+0x10c/0x120 software_node_notify+0xd8/0x140 device_platform_notify+0x4c/0xb4 device_del+0x188/0x424 fsl_mc_device_remove+0x2c/0x4c rebofind sp.c__fsl_mc_device_remove+0x14/0x2c device_for_each_child+0x5c/0xac dprc_remove+0x9c/0xc0 fsl_mc_driver_remove+0x28/0x64 __device_release_driver+0x188/0x22c device_release_driver+0x30/0x50 bus_remove_device+0x128/0x134 device_del+0x16c/0x424 fsl_mc_bus_remove+0x8c/0x114 fsl_mc_bus_shutdown+0x14/0x20 platform_shutdown+0x28/0x40 device_shutdown+0x15c/0x330 __do_sys_reboot+0x218/0x2a0 __arm64_sys_reboot+0x28/0x34 invoke_syscall+0x48/0x114 el0_svc_common+0x40/0xdc do_el0_svc+0x2c/0x94 el0_svc+0x2c/0x54 el0t_64_sync_handler+0xa8/0x12c el0t_64_sync+0x198/0x19c ---[ end trace 32eb1c71c7d86821 ]---
--- drivers/base/swnode.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/base/swnode.c +3 -0
@@ -1113,6 +1113,9 @@ int device_create_managed_software_node(to_swnode (fwnode)->managed = true;set_secondary_fwnode (dev, fwnode); +if (device_is_registered (dev)) +software_node_notify (dev,KOBJ_ADD ); +return 0 ; }EXPORT_SYMBOL_GPL (device_create_managed_software_node);
Greg Kroah-Hartman
maintainerPATCH 129/162 sparc32: page align size in arch_dma_alloc
In reply to Greg Kroah-HartmanFrom: Andreas Larsson <[email protected]>
[ Upstream commit 59583f747664046aaae5588d56d5954fab66cce8 ]
Commit 53b7670e5735 ("sparc: factor the dma coherent mapping into helper") lost the page align for the calls to dma_make_coherent and srmmu_unmapiorange. The latter cannot handle a non page aligned len argument.
--- arch/sparc/kernel/ioport.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/sparc/kernel/ioport.c +3 -1
@@ -356,7 +356,9 @@ err_nomem:void arch_dma_free (struct device *dev,size_t size,void *cpu_addr,dma_addr_t dma_addr,unsigned long attrs) { -if (!sparc_dma_free_resource (cpu_addr,PAGE_ALIGN (size))) + size =PAGE_ALIGN (size); + +if (!sparc_dma_free_resource (cpu_addr, size))return ;dma_make_coherent (dma_addr, size);
Signature · 1 line
2.33.0
Greg Kroah-Hartman
maintainerPATCH 158/162 xen/balloon: fix balloon kthread freezing
In reply to Greg Kroah-HartmanFrom: Juergen Gross <[email protected]>
commit 96f5bd03e1be606987644b71899ea56a8d05f825 upstream.
Commit 8480ed9c2bbd56 ("xen/balloon: use a kernel thread instead a workqueue") switched the Xen balloon driver to use a kernel thread. Unfortunately the patch omitted to call try_to_freeze() or to use wait_event_freezable_timeout(), causing a system suspend to fail.
--- drivers/xen/balloon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/xen/balloon.c +2 -2
@@ -522,8 +522,8 @@ static int balloon_thread(void *unused) timeout =3600 *HZ ; credit =current_credit (); -wait_event_interruptible_timeout (balloon_thread_wq, -balloon_thread_cond (state, credit), timeout); +wait_event_freezable_timeout (balloon_thread_wq, +balloon_thread_cond (state, credit), timeout);if (kthread_should_stop ())return 0 ;
Greg Kroah-Hartman
maintainerPATCH 98/162 nvme-tcp: fix incorrect h2cdata pdu offset accounting
In reply to Greg Kroah-HartmanFrom: Sagi Grimberg <[email protected]>
[ Upstream commit e371af033c560b9dd1e861f8f0b503142bf0a06c ]
When the controller sends us multiple r2t PDUs in a single request we need to account for it correctly as our send/recv context run concurrently (i.e. we get a new r2t with r2t_offset before we updated our iterator and req->data_sent marker). This can cause wrong offsets to be sent to the controller.
To fix that, we will first know that this may happen only in the send sequence of the last page, hence we will take the r2t_offset to the h2c PDU data_offset, and in nvme_tcp_try_send_data loop, we make sure to increment the request markers also when we completed a PDU but we are expecting more r2t PDUs as we still did not send the entire data of the request.
--- drivers/nvme/host/tcp.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
drivers/nvme/host/tcp.c +10 -3
@@ -614,7 +614,7 @@ static int nvme_tcp_setup_h2c_data_pdu(struct nvme_tcp_request *req,cpu_to_le32 (data->hdr.hlen + hdgst + req->pdu_len + ddgst); data->ttag = pdu->ttag; data->command_id =nvme_cid (rq); - data->data_offset =cpu_to_le32 (req->data_sent); + data->data_offset = pdu->r2t_offset; data->data_length =cpu_to_le32 (req->pdu_len);return 0 ; }
@@ -940,7 +940,15 @@ static int nvme_tcp_try_send_data(struct nvme_tcp_request *req)nvme_tcp_ddgst_update (queue->snd_hash, page, offset, ret); -/* fully successful last write*/ +/* +* update the request iterator except for the last payload send +* in the request where we don't want to modify it as we may +* compete with the RX path completing the request. +*/ +if (req->data_sent + ret < req->data_len) +nvme_tcp_advance_req (req, ret); + +/* fully successful last send in current PDU */ if (last && ret == len) {if (queue->data_digest) { nvme_tcp_ddgst_final(queue->snd_hash,
@@ -952,7 +960,6 @@ static int nvme_tcp_try_send_data(struct nvme_tcp_request *req) }return 1 ; } -nvme_tcp_advance_req (req, ret); }return -EAGAIN ; }
Signature · 1 line
2.33.0
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.14.9 release. There are 162 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, 29 Sep 2021 17:02:05 +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/v5.x/stable-review/patch-5.14.9-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-5.14.y
and the diffstat can be found below.thanks,
greg k-h
Following commit caused the build failures on s390 on 5.10 and 5.14 branches.
Quoted 2 lines
Alexandra Winter <[email protected]>
s390/qeth: fix deadlock during failing recovery
drivers/s390/net/qeth_core_main.c: In function 'qeth_close_dev_handler':drivers/s390/net/qeth_core_main.c:83:9: error: too few arguments to function 'ccwgroup_set_offline'
83 | ccwgroup_set_offline(card->gdev);
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/s390/net/qeth_core.h:44,
from drivers/s390/net/qeth_core_main.c:46:
arch/s390/include/asm/ccwgroup.h:61:5: note: declared here
61 | int ccwgroup_set_offline(struct ccwgroup_device *gdev, bool call_gdrv);
| ^~~~~~~~~~~~~~~~~~~~make[3]: *** [scripts/Makefile.build:280:drivers/s390/net/qeth_core_main.o] Error 1
--
Linaro LKFT
https://lkft.linaro.org
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.14.9 release. There are 162 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, 29 Sep 2021 17:02:05 +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/v5.x/stable-review/patch-5.14.9-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-5.14.y
and the diffstat can be found below.thanks,
greg k-h
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels:
Signature · 1 line
Florian
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.14.9 release. There are 162 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, 29 Sep 2021 17:02:05 +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/v5.x/stable-review/patch-5.14.9-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-5.14.y
and the diffstat can be found below.thanks,
greg k-h
5.14.9-rc1 Successfully Compiled and booted on my Raspberry PI 4b (8g) (bcm2711)
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.14.9 release. There are 162 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, 29 Sep 2021 17:02:05 +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/v5.x/stable-review/patch-5.14.9-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-5.14.y
and the diffstat can be found below.thanks,
greg k-h
Compiled and booted on my test system. No dmesg regressions.
thanks,
-- Shuah
Sasha Levin
maintainerRe: [PATCH 5.14 075/162] kselftest/arm64: signal: Add SVE to the set of features we can check for
In reply to Mark BrownQuoted 10 lines · Mark Brown
Quoted 6 lines · Greg Kroah-Hartman
From: Mark Brown <[email protected]>
[ Upstream commit
d4e4dc4fab686c5f3f185272a19b83930664bef5]Allow testcases for SVE signal handling to flag the dependency and be skipped on systems without SVE support.
Unless you're backporting some test that makes use of this I'm not sure why this is stable material?
The patch right after this one wanted it :)
Signature · 2 lines
Thanks, Sasha
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.14.9 release. There are 162 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, 29 Sep 2021 17:02:05 +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/v5.x/stable-review/patch-5.14.9-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-5.14.y
and the diffstat can be found below.thanks,
greg k-h
All tests passing for Tegra ...
Test results for stable-v5.14:
10 builds: 10 pass, 0 fail
28 boots: 28 pass, 0 fail
114 tests: 114 pass, 0 failLinux version: 5.14.9-rc1-ga7a751350fb9
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
Re: [PATCH 5.14 058/162] igc: fix build errors for PTP
In reply to Greg Kroah-HartmanQuoted 54 lines · Greg Kroah-Hartman
From: Randy Dunlap <[email protected]>
[ Upstream commit
87758511075ec961486fe78d7548dd709b524433]When IGC=y and PTP_1588_CLOCK=m, the ptp_*() interface family is not available to the igc driver. Make this driver depend on
PTP_1588_CLOCK_OPTIONALso that it will build without errors.Various igc commits have used ptp_*() functions without checking that
PTP_1588_CLOCKis enabled. Fix all of these here.Fixes these build errors:
ld:
drivers/net/ethernet/intel/igc/igc_main.o: in function `igc_msix_other':
igc_main.c:(.text+0x6494): undefined reference to `ptp_clock_event'
ld: igc_main.c:(.text+0x64ef): undefined reference to `ptp_clock_event'
ld: igc_main.c:(.text+0x6559): undefined reference to `ptp_clock_event'
ld:drivers/net/ethernet/intel/igc/igc_ethtool.o: in function `igc_ethtool_get_ts_info':
igc_ethtool.c:(.text+0xc7a): undefined reference to `ptp_clock_index'
ld:drivers/net/ethernet/intel/igc/igc_ptp.o: in function `igc_ptp_feature_enable_i225':
igc_ptp.c:(.text+0x330): undefined reference to `ptp_find_pin'
ld: igc_ptp.c:(.text+0x36f): undefined reference to `ptp_find_pin'
ld:drivers/net/ethernet/intel/igc/igc_ptp.o: in function `igc_ptp_init':
igc_ptp.c:(.text+0x11cd): undefined reference to `ptp_clock_register'
ld:drivers/net/ethernet/intel/igc/igc_ptp.o: in function `igc_ptp_stop':
igc_ptp.c:(.text+0x12dd): undefined reference to `ptp_clock_unregister'
ld:drivers/platform/x86/dell/dell-wmi-privacy.o: in function `dell_privacy_wmi_probe':Fixes 64433e5bf40ab ("igc: Enable internal i225 PPS")Fixes 60dbede0c4f3d ("igc: Add support for ethtool GET_TS_INFO command")Fixes 87938851b6efb ("igc: enable auxiliary PHC functions for the i225")Fixes 5f2958052c582 ("igc: Add basic skeleton for PTP")Signed-off-by Randy Dunlap <[email protected]>Cc Ederson de Souza <[email protected]>Cc Tony Nguyen <[email protected]>Cc Vinicius Costa Gomes <[email protected]>Cc Jeff Kirsher <[email protected]>Cc "David S. Miller" <[email protected]>Cc Jakub Kicinski <[email protected]>Cc Jesse Brandeburg <[email protected]>Cc intel-wired-lan at lists.osuosl.orgSigned-off-by David S. Miller <[email protected]>Signed-off-by Sasha Levin <[email protected]>--- drivers/net/ethernet/intel/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/net/ethernet/intel/Kconfig +0
-0
drivers/net/ethernet/intel/Kconfig config IGC · line 341
Quoted 7 lines
drivers/net/ethernet/intel/Kconfig +1
-0@@ -335,6 +335,7 @@ config IGC tristate "Intel(R) Ethernet Controller I225-LM/I225-V support" default n depends on PCI + depends on PTP_1588_CLOCK_OPTIONAL help This driver supports Intel(R) Ethernet Controller I225-LM/I225-V family of adapters.
PTP_1588_CLOCK_OPTIONAL does not exist in 5.14, so this effectively disables the igc driver completely when applied to stable as-is.
Greg Kroah-Hartman
maintainerRe: [PATCH 5.14 058/162] igc: fix build errors for PTP
Quoted 49 lines · Andre Tomt
Quoted 48 lines · Greg Kroah-Hartman
From: Randy Dunlap <[email protected]>
[ Upstream commit
87758511075ec961486fe78d7548dd709b524433]When IGC=y and PTP_1588_CLOCK=m, the ptp_*() interface family is not available to the igc driver. Make this driver depend on
PTP_1588_CLOCK_OPTIONALso that it will build without errors.Various igc commits have used ptp_*() functions without checking that
PTP_1588_CLOCKis enabled. Fix all of these here.Fixes these build errors:
ld:
drivers/net/ethernet/intel/igc/igc_main.o: in function `igc_msix_other':
igc_main.c:(.text+0x6494): undefined reference to `ptp_clock_event'
ld: igc_main.c:(.text+0x64ef): undefined reference to `ptp_clock_event'
ld: igc_main.c:(.text+0x6559): undefined reference to `ptp_clock_event'
ld:drivers/net/ethernet/intel/igc/igc_ethtool.o: in function `igc_ethtool_get_ts_info':
igc_ethtool.c:(.text+0xc7a): undefined reference to `ptp_clock_index'
ld:drivers/net/ethernet/intel/igc/igc_ptp.o: in function `igc_ptp_feature_enable_i225':
igc_ptp.c:(.text+0x330): undefined reference to `ptp_find_pin'
ld: igc_ptp.c:(.text+0x36f): undefined reference to `ptp_find_pin'
ld:drivers/net/ethernet/intel/igc/igc_ptp.o: in function `igc_ptp_init':
igc_ptp.c:(.text+0x11cd): undefined reference to `ptp_clock_register'
ld:drivers/net/ethernet/intel/igc/igc_ptp.o: in function `igc_ptp_stop':
igc_ptp.c:(.text+0x12dd): undefined reference to `ptp_clock_unregister'
ld:drivers/platform/x86/dell/dell-wmi-privacy.o: in function `dell_privacy_wmi_probe':Fixes 64433e5bf40ab ("igc: Enable internal i225 PPS")Fixes 60dbede0c4f3d ("igc: Add support for ethtool GET_TS_INFO command")Fixes 87938851b6efb ("igc: enable auxiliary PHC functions for the i225")Fixes 5f2958052c582 ("igc: Add basic skeleton for PTP")Signed-off-by Randy Dunlap <[email protected]>Cc Ederson de Souza <[email protected]>Cc Tony Nguyen <[email protected]>Cc Vinicius Costa Gomes <[email protected]>Cc Jeff Kirsher <[email protected]>Cc "David S. Miller" <[email protected]>Cc Jakub Kicinski <[email protected]>Cc Jesse Brandeburg <[email protected]>Cc intel-wired-lan at lists.osuosl.orgSigned-off-by David S. Miller <[email protected]>Signed-off-by Sasha Levin <[email protected]>--- drivers/net/ethernet/intel/Kconfig | 1 + 1 file changed, 1 insertion(+)
Quoted 16 lines
drivers/net/ethernet/intel/Kconfig config IGC · line 341
Quoted 13 lines
drivers/net/ethernet/intel/Kconfig +1
-0@@ -335,6 +335,7 @@ config IGC tristate "Intel(R) Ethernet Controller I225-LM/I225-V support" default n depends on PCI + depends on PTP_1588_CLOCK_OPTIONAL help This driver supports Intel(R) Ethernet Controller I225-LM/I225-V family of adapters.
PTP_1588_CLOCK_OPTIONALdoes not exist in 5.14, so this effectively disables the igc driver completely when applied to stable as-is.
Now dropped from the queue, again :)
thanks,
greg k-h