[GIT PULL] USB driver fixes for 6.4-rc5

From: Greg KH
Date: Sun Jun 04 2023 - 04:03:39 EST


The following changes since commit 7877cb91f1081754a1487c144d85dc0d2e2e7fc4:

Linux 6.4-rc4 (2023-05-28 07:49:00 -0400)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.4-rc5

for you to fetch changes up to fcfe84236ec0974fe92f0578d1d58ed805c4b70f:

usb: typec: tps6598x: Fix broken polling mode after system suspend/resume (2023-05-30 15:29:41 +0100)

----------------------------------------------------------------
USB fixes for 6.4-rc5

Here are some USB driver and core fixes for 6.4-rc5. Most of these are
tiny driver fixes, including:
- udc driver bugfix
- f_fs gadget driver bugfix
- cdns3 driver bugfix
- typec bugfixes

But the "big" thing in here is a fix yet-again for how the USB buffers
are handled from userspace when dealing with DMA issues. The changes
were discussed a lot, and tested a lot, on the list, and acked by the
relevant mm maintainers and have been in linux-next all this past week
with no reported problems.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Dan Carpenter (1):
usb: gadget: udc: fix NULL dereference in remove()

Frank Li (1):
usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM

Marek Vasut (1):
dt-bindings: usb: snps,dwc3: Fix "snps,hsphy_interface" type

Roger Quadros (1):
usb: typec: tps6598x: Fix broken polling mode after system suspend/resume

Ruihan Li (4):
usb: usbfs: Enforce page requirements for mmap
usb: usbfs: Use consistent mmap functions
mm: page_table_check: Make it dependent on EXCLUSIVE_SYSTEM_RAM
mm: page_table_check: Ensure user pages are not slab pages

Uttkarsh Aggarwal (1):
usb: gadget: f_fs: Add unbind event before functionfs_unbind

.../devicetree/bindings/usb/snps,dwc3.yaml | 2 +-
Documentation/mm/page_table_check.rst | 19 ++++++++++
drivers/usb/cdns3/cdns3-gadget.c | 13 +++++++
drivers/usb/core/buffer.c | 41 ++++++++++++++++++++++
drivers/usb/core/devio.c | 20 +++++++----
drivers/usb/gadget/function/f_fs.c | 2 +-
drivers/usb/gadget/udc/amd5536udc_pci.c | 3 ++
drivers/usb/typec/tipd/core.c | 2 +-
include/linux/page-flags.h | 6 ++++
include/linux/usb/hcd.h | 5 +++
mm/Kconfig.debug | 1 +
mm/page_table_check.c | 6 ++++
12 files changed, 111 insertions(+), 9 deletions(-)