Pull USB fixes from Greg KH: "Here are a number of small USB driver fixes for 5.11-rc3. Include in here are: - USB gadget driver fixes for reported issues - new usb-serial driver ids - dma from stack bugfixes - typec bugfixes - dwc3 bugfixes - xhci driver bugfixes - other small misc usb driver bugfixes All of these have been in linux-next with no reported issues" * tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (35 commits) usb: dwc3: gadget: Clear wait flag on dequeue usb: typec: Send uevent for num_altmodes update usb: typec: Fix copy paste error for NVIDIA alt-mode description usb: gadget: enable super speed plus kcov, usb: hide in_serving_softirq checks in __usb_hcd_giveback_urb usb: uas: Add PNY USB Portable SSD to unusual_uas usb: gadget: configfs: Preserve function ordering after bind failure usb: gadget: select CONFIG_CRC32 usb: gadget: core: change the comment for usb_gadget_connect usb: gadget: configfs: Fix use-after-free issue with udc_name usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup usb: usbip: vhci_hcd: protect shift size USB: usblp: fix DMA to stack USB: serial: iuu_phoenix: fix DMA from stack USB: serial: option: add LongSung M5710 module support USB: serial: option: add Quectel EM160R-GL USB: Gadget: dummy-hcd: Fix shift-out-of-bounds bug usb: gadget: f_uac2: reset wMaxPacketSize usb: dwc3: ulpi: Fix USB2.0 HS/FS/LS PHY suspend regression usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one ...
Showing the changes to include/linux (1 of 33 files). Show all
Unified · Split
| @@ -52,6 +52,25 @@ static inline void kcov_remote_start_usb(u64 id) · 51 unmodified lines | |||
| 52 | kcov_remote_start(kcov_remote_handle(KCOV_SUBSYSTEM_USB, id)); | 52 | kcov_remote_start(kcov_remote_handle(KCOV_SUBSYSTEM_USB, id)); |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | /* | ||
| 56 | * The softirq flavor of kcov_remote_*() functions is introduced as a temporary | ||
| 57 | * work around for kcov's lack of nested remote coverage sections support in | ||
| 58 | * task context. Adding suport for nested sections is tracked in: | ||
| 59 | * https://bugzilla.kernel.org/show_bug.cgi?id=210337 | ||
| 60 | */ | ||
| 61 | |||
| 62 | static inline void kcov_remote_start_usb_softirq(u64 id) | ||
| 63 | { | ||
| 64 | if (in_serving_softirq()) | ||
| 65 | kcov_remote_start_usb(id); | ||
| 66 | } | ||
| 67 | |||
| 68 | static inline void kcov_remote_stop_softirq(void) | ||
| 69 | { | ||
| 70 | if (in_serving_softirq()) | ||
| 71 | kcov_remote_stop(); | ||
| 72 | } | ||
| 73 | |||
| 55 | #else | 74 | #else |
| 56 | 75 | ||
| 57 | static inline void kcov_task_init(struct task_struct *t) {} | 76 | static inline void kcov_task_init(struct task_struct *t) {} |
| @@ -66,6 +85,8 @@ static inline u64 kcov_common_handle(void) · 8 unmodified lines | |||
| 66 | } | 85 | } |
| 67 | static inline void kcov_remote_start_common(u64 id) {} | 86 | static inline void kcov_remote_start_common(u64 id) {} |
| 68 | static inline void kcov_remote_start_usb(u64 id) {} | 87 | static inline void kcov_remote_start_usb(u64 id) {} |
| 88 | static inline void kcov_remote_start_usb_softirq(u64 id) {} | ||
| 89 | static inline void kcov_remote_stop_softirq(void) {} | ||
| 69 | 90 | ||
| 70 | #endif /* CONFIG_KCOV */ | 91 | #endif /* CONFIG_KCOV */ |
| 71 | #endif /* _LINUX_KCOV_H */ | 92 | #endif /* _LINUX_KCOV_H */ |