All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20180717170108.5bv22bfmqbjktifs@debian>

diff --git a/a/1.txt b/N1/1.txt
index 06919ef..01340a5 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -3,11 +3,11 @@ On Tue, Jul 17, 2018 at 04:59:01PM +0100, Sudip Mukherjee wrote:
 > > On Tue, Jul 17, 2018 at 10:31:38AM -0400, Alan Stern wrote:
 > > > On Tue, 17 Jul 2018, Greg KH wrote:
 > > > 
-> > > > > From: Sudip Mukherjee <sudipm.mukherjee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
+> > > > > From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
 > > > > > Date: Tue, 10 Jul 2018 09:50:00 +0100
 > > > > > Subject: [PATCH] hacky solution to mem-corruption
 > > > > > 
-> > > > > Signed-off-by: Sudip Mukherjee <sudipm.mukherjee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
+> > > > > Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
 > > > > > ---
 > <snip>
 > > > 
@@ -56,7 +56,51 @@ has already been stopped.
 So Greg's patch did not work as the memory got corrupted on the first call
 to usb_set_interface(), whereas that patch was preventing the second call
 to usb_set_interface().
-
---
+---
 Regards
 Sudip
+
+diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
+index 467bedeb542a..8d28f120ec0a 100644
+--- a/drivers/usb/core/hcd.c
++++ b/drivers/usb/core/hcd.c
+@@ -1885,6 +1885,7 @@ void usb_hcd_flush_endpoint(struct usb_device *udev,
+ 	might_sleep();
+ 	hcd = bus_to_hcd(udev->bus);
+ 
++	pr_err("sudip: %s\n", __func__);
+ 	/* No more submits can occur */
+ 	spin_lock_irq(&hcd_urb_list_lock);
+ rescan:
+diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
+index 6996235e34a9..4f80791fdfc5 100644
+--- a/drivers/usb/host/xhci-ring.c
++++ b/drivers/usb/host/xhci-ring.c
+@@ -1450,6 +1450,7 @@ static void handle_cmd_completion(struct xhci_hcd *xhci,
+ 	case TRB_STOP_RING:
+ 		WARN_ON(slot_id != TRB_TO_SLOT_ID(
+ 				le32_to_cpu(cmd_trb->generic.field[3])));
++		pr_err("sudip: %s cmd=%p\n", __func__, cmd);
+ 		xhci_handle_cmd_stop_ep(xhci, slot_id, cmd_trb, event);
+ 		break;
+ 	case TRB_SET_DEQ:
+@@ -4009,6 +4010,7 @@ int xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd,
+ 	u32 type = TRB_TYPE(TRB_STOP_RING);
+ 	u32 trb_suspend = SUSPEND_PORT_FOR_TRB(suspend);
+ 
++	pr_err("sudip: %s cmd=%p\n", __func__, cmd);
+ 	return queue_command(xhci, cmd, 0, 0, 0,
+ 			trb_slot_id | trb_ep_index | type | trb_suspend, false);
+ }
+diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
+index db1de6113db2..3832128107ff 100644
+--- a/drivers/usb/host/xhci.c
++++ b/drivers/usb/host/xhci.c
+@@ -1516,6 +1516,7 @@ static int xhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
+ 		ep->stop_cmd_timer.expires = jiffies +
+ 			XHCI_STOP_EP_CMD_TIMEOUT * HZ;
+ 		add_timer(&ep->stop_cmd_timer);
++		pr_err("sudip: %s\n", __func__);
+ 		xhci_queue_stop_endpoint(xhci, command, urb->dev->slot_id,
+ 					 ep_index, 0);
+ 		xhci_ring_cmd_db(xhci);
diff --git a/a/2.hdr b/a/2.hdr
deleted file mode 100644
index 1cfab86..0000000
--- a/a/2.hdr
+++ /dev/null
@@ -1,2 +0,0 @@
-Content-Type: text/plain; charset=us-ascii
-Content-Disposition: attachment; filename=patch
diff --git a/a/2.txt b/a/2.txt
deleted file mode 100644
index f6d7e26..0000000
--- a/a/2.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
-index 467bedeb542a..8d28f120ec0a 100644
---- a/drivers/usb/core/hcd.c
-+++ b/drivers/usb/core/hcd.c
-@@ -1885,6 +1885,7 @@ void usb_hcd_flush_endpoint(struct usb_device *udev,
- 	might_sleep();
- 	hcd = bus_to_hcd(udev->bus);
- 
-+	pr_err("sudip: %s\n", __func__);
- 	/* No more submits can occur */
- 	spin_lock_irq(&hcd_urb_list_lock);
- rescan:
-diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
-index 6996235e34a9..4f80791fdfc5 100644
---- a/drivers/usb/host/xhci-ring.c
-+++ b/drivers/usb/host/xhci-ring.c
-@@ -1450,6 +1450,7 @@ static void handle_cmd_completion(struct xhci_hcd *xhci,
- 	case TRB_STOP_RING:
- 		WARN_ON(slot_id != TRB_TO_SLOT_ID(
- 				le32_to_cpu(cmd_trb->generic.field[3])));
-+		pr_err("sudip: %s cmd=%p\n", __func__, cmd);
- 		xhci_handle_cmd_stop_ep(xhci, slot_id, cmd_trb, event);
- 		break;
- 	case TRB_SET_DEQ:
-@@ -4009,6 +4010,7 @@ int xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd,
- 	u32 type = TRB_TYPE(TRB_STOP_RING);
- 	u32 trb_suspend = SUSPEND_PORT_FOR_TRB(suspend);
- 
-+	pr_err("sudip: %s cmd=%p\n", __func__, cmd);
- 	return queue_command(xhci, cmd, 0, 0, 0,
- 			trb_slot_id | trb_ep_index | type | trb_suspend, false);
- }
-diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
-index db1de6113db2..3832128107ff 100644
---- a/drivers/usb/host/xhci.c
-+++ b/drivers/usb/host/xhci.c
-@@ -1516,6 +1516,7 @@ static int xhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
- 		ep->stop_cmd_timer.expires = jiffies +
- 			XHCI_STOP_EP_CMD_TIMEOUT * HZ;
- 		add_timer(&ep->stop_cmd_timer);
-+		pr_err("sudip: %s\n", __func__);
- 		xhci_queue_stop_endpoint(xhci, command, urb->dev->slot_id,
- 					 ep_index, 0);
- 		xhci_ring_cmd_db(xhci);
diff --git a/a/3.hdr b/a/3.hdr
deleted file mode 100644
index 4b86001..0000000
--- a/a/3.hdr
+++ /dev/null
@@ -1,4 +0,0 @@
-Content-Type: text/plain; charset="us-ascii"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-Content-Disposition: inline
diff --git a/a/3.txt b/a/3.txt
deleted file mode 100644
index 8b13789..0000000
--- a/a/3.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/a/content_digest b/N1/content_digest
index 8af9f2e..10a9579 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,32 +1,29 @@
- "ref\020180717120411.GB28592@kroah.com\0"
- "ref\0Pine.LNX.4.44L0.1807171029310.1689-100000@iolanthe.rowland.org\0"
- "ref\020180717155259.GB2416@kroah.com\0"
- "ref\020180717155901.5csifwp5ak2ixfk5@debian\0"
- "From\0Sudip Mukherjee <sudipm.mukherjee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0"
- "Subject\0Re: usb HC busted?\0"
+ "From\0Sudip Mukherjee <sudipm.mukherjee@gmail.com>\0"
+ "Subject\0usb HC busted?\0"
  "Date\0Tue, 17 Jul 2018 18:01:08 +0100\0"
- "To\0Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>\0"
- "Cc\0Mathias Nyman <mathias.nyman-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>"
-  Mathias Nyman <mathias.nyman-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
-  linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
-  iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
-  Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>
-  Andy Shevchenko <andy.shevchenko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
-  Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>
-  Andy Shevchenko <andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
- " lukaszx.szulc-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org\0"
- "\01:1\0"
+ "To\0Greg KH <gregkh@linuxfoundation.org>\0"
+ "Cc\0Alan Stern <stern@rowland.harvard.edu>"
+  Mathias Nyman <mathias.nyman@linux.intel.com>
+  Andy Shevchenko <andriy.shevchenko@linux.intel.com>
+  Andy Shevchenko <andy.shevchenko@gmail.com>
+  Mathias Nyman <mathias.nyman@intel.com>
+  linux-usb@vger.kernel.org
+  lukaszx.szulc@intel.com
+  Christoph Hellwig <hch@lst.de>
+  Marek Szyprowski <m.szyprowski@samsung.com>
+ " iommu@lists.linux-foundation.org\0"
+ "\00:1\0"
  "b\0"
  "On Tue, Jul 17, 2018 at 04:59:01PM +0100, Sudip Mukherjee wrote:\n"
  "> On Tue, Jul 17, 2018 at 05:52:59PM +0200, Greg KH wrote:\n"
  "> > On Tue, Jul 17, 2018 at 10:31:38AM -0400, Alan Stern wrote:\n"
  "> > > On Tue, 17 Jul 2018, Greg KH wrote:\n"
  "> > > \n"
- "> > > > > From: Sudip Mukherjee <sudipm.mukherjee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\n"
+ "> > > > > From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>\n"
  "> > > > > Date: Tue, 10 Jul 2018 09:50:00 +0100\n"
  "> > > > > Subject: [PATCH] hacky solution to mem-corruption\n"
  "> > > > > \n"
- "> > > > > Signed-off-by: Sudip Mukherjee <sudipm.mukherjee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\n"
+ "> > > > > Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>\n"
  "> > > > > ---\n"
  "> <snip>\n"
  "> > > \n"
@@ -75,13 +72,10 @@
  "So Greg's patch did not work as the memory got corrupted on the first call\n"
  "to usb_set_interface(), whereas that patch was preventing the second call\n"
  "to usb_set_interface().\n"
- "\n"
- "--\n"
+ "---\n"
  "Regards\n"
- Sudip
- "\01:2\0"
- "fn\0patch\0"
- "b\0"
+ "Sudip\n"
+ "\n"
  "diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c\n"
  "index 467bedeb542a..8d28f120ec0a 100644\n"
  "--- a/drivers/usb/core/hcd.c\n"
@@ -126,7 +120,5 @@
  " \t\txhci_queue_stop_endpoint(xhci, command, urb->dev->slot_id,\n"
  " \t\t\t\t\t ep_index, 0);\n"
  " \t\txhci_ring_cmd_db(xhci);"
- "\01:3\0"
- "b\0"
 
-ea1350625cce4d5139382d88d00f372d0eaad7ded55ea4c0373fcc3fd2a92e00
+0ea0bbdd600ee0c6e49de4b48e80ecf4dd34fa6cf53ebbf5c1cfc54c0651569b

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.