Loading drivers/usb/gadget/Kconfig +12 −0 Original line number Diff line number Diff line Loading @@ -237,6 +237,18 @@ config USB_F_CDEV config USB_F_GSI tristate config USB_F_FS_IPC_LOGGING bool "Enable IPC logging for FunctionFS" depends on QGKI default IPC_LOGGING help Enables additional debug messages in FunctionFS driver to be output via IPC Logging mechanism. This can be useful when troubleshooting transfer stalls or other general failures and determine if the issue is in the kernel gadget or the userspace client. Separate IPC log contexts are created for each function instance at mount time. # this first set of drivers all depend on bulk-capable hardware. config USB_CONFIGFS Loading drivers/usb/gadget/function/f_fs.c +309 −22 File changed.Preview size limit exceeded, changes collapsed. Show changes drivers/usb/gadget/function/u_fs.h +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include <linux/mutex.h> #include <linux/workqueue.h> #include <linux/refcount.h> #include <linux/ipc_logging.h> #ifdef VERBOSE_DEBUG #ifndef pr_vdebug Loading Loading @@ -285,6 +286,9 @@ struct ffs_data { * destroyed by ffs_epfiles_destroy(). */ struct ffs_epfile *epfiles; #ifdef CONFIG_USB_F_FS_IPC_LOGGING void *ipc_log; #endif }; Loading Loading
drivers/usb/gadget/Kconfig +12 −0 Original line number Diff line number Diff line Loading @@ -237,6 +237,18 @@ config USB_F_CDEV config USB_F_GSI tristate config USB_F_FS_IPC_LOGGING bool "Enable IPC logging for FunctionFS" depends on QGKI default IPC_LOGGING help Enables additional debug messages in FunctionFS driver to be output via IPC Logging mechanism. This can be useful when troubleshooting transfer stalls or other general failures and determine if the issue is in the kernel gadget or the userspace client. Separate IPC log contexts are created for each function instance at mount time. # this first set of drivers all depend on bulk-capable hardware. config USB_CONFIGFS Loading
drivers/usb/gadget/function/f_fs.c +309 −22 File changed.Preview size limit exceeded, changes collapsed. Show changes
drivers/usb/gadget/function/u_fs.h +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include <linux/mutex.h> #include <linux/workqueue.h> #include <linux/refcount.h> #include <linux/ipc_logging.h> #ifdef VERBOSE_DEBUG #ifndef pr_vdebug Loading Loading @@ -285,6 +286,9 @@ struct ffs_data { * destroyed by ffs_epfiles_destroy(). */ struct ffs_epfile *epfiles; #ifdef CONFIG_USB_F_FS_IPC_LOGGING void *ipc_log; #endif }; Loading