diff for duplicates of <5B06B17C.1090809@huawei.com> diff --git a/a/content_digest b/N1/content_digest index a5415c4..c2b2409 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -7,13 +7,13 @@ "Subject\0Re: [PATCH v2 13/40] vfio: Add support for Shared Virtual Addressing\0" "Date\0Thu, 24 May 2018 20:35:08 +0800\0" "To\0Jean-Philippe Brucker <jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>" - linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org - linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org - kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org\0" + <linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org> + <linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> + <linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> + <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> + <iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org> + <kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> + " <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org>\0" "Cc\0bharatku-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org" ashok.raj-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org @@ -951,4 +951,4 @@ "\01:2\0" "b\0" -c749b6d9e0661d29a886726bf7d8067c4f938c81188635e3be7a2296c7052897 +1abea17a15e46e2bff773a96485100fcbbf1db302774087e962057f6625ab803
diff --git a/a/1.1.hdr b/a/1.1.hdr deleted file mode 100644 index d67853c..0000000 --- a/a/1.1.hdr +++ /dev/null @@ -1,2 +0,0 @@ -Content-Type: text/plain; charset="utf-8"; format=flowed -Content-Transfer-Encoding: 7bit diff --git a/a/1.2.hdr b/a/1.2.hdr deleted file mode 100644 index 94bdfd6..0000000 --- a/a/1.2.hdr +++ /dev/null @@ -1,2 +0,0 @@ -Content-Type: text/html; charset="utf-8" -Content-Transfer-Encoding: 8bit diff --git a/a/1.1.txt b/N2/1.txt similarity index 100% rename from a/1.1.txt rename to N2/1.txt diff --git a/a/1.2.bin b/N2/2.bin similarity index 93% rename from a/1.2.bin rename to N2/2.bin index 0a135af..c54a4c7 100644 --- a/a/1.2.bin +++ b/N2/2.bin @@ -8,7 +8,7 @@ <div class="moz-cite-prefix">On 2018/5/24 19:44, Jean-Philippe Brucker wrote:<br> </div> - <blockquote cite="mid:cd13f60d-b282-3804-4ca7-2d34476c597f-5wv7dgnIgG8@public.gmane.org" + <blockquote cite="mid:cd13f60d-b282-3804-4ca7-2d34476c597f@arm.com" type="cite"> <pre wrap="">Hi, @@ -17,20 +17,20 @@ On 23/05/18 10:38, Xu Zaibo wrote: <blockquote type="cite"> <blockquote type="cite"> <pre wrap="">+static int vfio_iommu_bind_group(struct vfio_iommu *iommu, -+                struct vfio_group *group, -+                struct vfio_mm *vfio_mm) ++A A A A A A A A A A A A A A A A struct vfio_group *group, ++A A A A A A A A A A A A A A A A struct vfio_mm *vfio_mm) +{ -+   int ret; -+   bool enabled_sva = false; -+   struct vfio_iommu_sva_bind_data data = { -+       .vfio_mm   = vfio_mm, -+       .iommu       = iommu, -+       .count       = 0, -+   }; ++A A A int ret; ++A A A bool enabled_sva = false; ++A A A struct vfio_iommu_sva_bind_data data = { ++A A A A A A A .vfio_mmA A A = vfio_mm, ++A A A A A A A .iommuA A A A A A A = iommu, ++A A A A A A A .countA A A A A A A = 0, ++A A A }; + -+   if (!group->sva_enabled) { -+       ret = iommu_group_for_each_dev(group->iommu_group, NULL, -+                          vfio_iommu_sva_init); ++A A A if (!group->sva_enabled) { ++A A A A A A A ret = iommu_group_for_each_dev(group->iommu_group, NULL, ++A A A A A A A A A A A A A A A A A A A A A A A A A A vfio_iommu_sva_init); </pre> </blockquote> <pre wrap="">Do we need to do *sva_init here or do anything to avoid repeated @@ -58,19 +58,19 @@ so we won't call sva_init() again, only bind(). <br> <i>@@ -551,8 +565,18 @@ int iommu_sva_device_init(struct device *dev, unsigned long features,</i><br> -      if (features & ~IOMMU_SVA_FEAT_IOPF)<br> -        return -EINVAL;<br> + A A A A A if (features & ~IOMMU_SVA_FEAT_IOPF)<br> + A A A A A A A return -EINVAL;<br> <br> - <i>+   /* If already exists, do nothing */</i><i><br> - </i><i>+   mutex_lock(&dev->iommu_param->lock);</i><i><br> - </i><i>+   if (dev->iommu_param->sva_param) {</i><i><br> - </i><i>+      mutex_unlock(&dev->iommu_param->lock);</i><i><br> - </i><i>+      return 0;</i><i><br> - </i><i>+   }</i><i><br> - </i><i>+   mutex_unlock(&dev->iommu_param->lock);</i><i><br> - </i><i> </i><i><br> - </i><i>    if (features & IOMMU_SVA_FEAT_IOPF) {</i><i><br> - </i><i>       ret = iommu_register_device_fault_handler(dev, + <i>+A A A /* If already exists, do nothingA */</i><i><br> + </i><i>+A A A mutex_lock(&dev->iommu_param->lock);</i><i><br> + </i><i>+A A A if (dev->iommu_param->sva_param) {</i><i><br> + </i><i>+A A A A A A mutex_unlock(&dev->iommu_param->lock);</i><i><br> + </i><i>+A A A A A A return 0;</i><i><br> + </i><i>+A A A }</i><i><br> + </i><i>+A A A mutex_unlock(&dev->iommu_param->lock);</i><i><br> + </i><i>A </i><i><br> + </i><i>A A A A if (features & IOMMU_SVA_FEAT_IOPF) {</i><i><br> + </i><i>A A A A A A A ret = iommu_register_device_fault_handler(dev, iommu_queue_iopf,</i><i><span lang="EN-US"><o:p></o:p></span></i><i> </i> <meta name="ProgId" content="Word.Document"> @@ -94,7 +94,7 @@ href="file:///C:%5CUsers%5CX00180%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> - <w:DrawingGridVerticalSpacing>7.8 ç£ </w:DrawingGridVerticalSpacing> + <w:DrawingGridVerticalSpacing>7.8 cGBP?</w:DrawingGridVerticalSpacing> <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery> <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery> <w:ValidateAgainstSchemas/> @@ -710,7 +710,7 @@ href="file:///C:%5CUsers%5CX00180%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C <!-- /* Font Definitions */ @font-face - {font-family:å®ä½; + {font-family:a(R)?a 1/2 ?; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; @@ -726,7 +726,7 @@ href="file:///C:%5CUsers%5CX00180%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face - {font-family:"\@å®ä½"; + {font-family:"\@a(R)?a 1/2 ?"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:???????????????????????????????; mso-font-charset:134; @@ -743,7 +743,7 @@ href="file:///C:%5CUsers%5CX00180%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman",serif; - mso-fareast-font-family:å®ä½; + mso-fareast-font-family:a(R)?a 1/2 ?; mso-fareast-theme-font:minor-fareast;} .MsoChpDefault {mso-style-type:export-only; @@ -768,7 +768,7 @@ div.WordSection1 <style> /* Style Definitions */ table.MsoNormalTable - {mso-style-name:æ®éè¡¨æ ¼; + {mso-style-name:ae?(R)e??e!?ae 1/4 ; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; @@ -792,23 +792,23 @@ div.WordSection1 </i><i><br> </i><i>@@ -621,6 +646,14 @@ int iommu_sva_device_shutdown(struct device *dev)</i><i><br> - </i><i>    if (!domain)</i><i><br> - </i><i>       return -ENODEV;</i><i><br> - </i><i> </i><i><br> - </i><i>+   /* If any other process is working on the device, shut + </i><i>A A A A if (!domain)</i><i><br> + </i><i>A A A A A A A return -ENODEV;</i><i><br> + </i><i>A </i><i><br> + </i><i>+A A A /* If any other process is working on the device, shut down does nothing. */</i><i><br> - </i><i>+   mutex_lock(&dev->iommu_param->lock);</i><i><br> - </i><i>+   if + </i><i>+A A A mutex_lock(&dev->iommu_param->lock);</i><i><br> + </i><i>+A A A if (!list_empty(&dev->iommu_param->sva_param->mm_list)) {</i><i><br> - </i><i>+      mutex_unlock(&dev->iommu_param->lock);</i><i><br> - </i><i>+      return 0;</i><i><br> - </i><i>+   }</i><i><br> - </i><i>+   mutex_unlock(&dev->iommu_param->lock);</i><i><br> + </i><i>+A A A A A A mutex_unlock(&dev->iommu_param->lock);</i><i><br> + </i><i>+A A A A A A return 0;</i><i><br> + </i><i>+A A A }</i><i><br> + </i><i>+A A A mutex_unlock(&dev->iommu_param->lock);</i><i><br> </i><i>+</i><i><br> - </i><i>    __iommu_sva_unbind_dev_all(dev);</i><i><br> - </i><i> </i><i><br> - </i><i>    mutex_lock(&dev->iommu_param->lock);</i><br> + </i><i>A A A A __iommu_sva_unbind_dev_all(dev);</i><i><br> + </i><i>A </i><i><br> + </i><i>A A A A mutex_lock(&dev->iommu_param->lock);</i><br> <br> I add the above two checkings in both *sva_init and *sva_shutdown, it is working now,<br> @@ -820,7 +820,7 @@ div.WordSection1 <br> Thanks<br> Zaibo<br> - <blockquote cite="mid:cd13f60d-b282-3804-4ca7-2d34476c597f-5wv7dgnIgG8@public.gmane.org" + <blockquote cite="mid:cd13f60d-b282-3804-4ca7-2d34476c597f@arm.com" type="cite"> <pre wrap=""> diff --git a/a/2.hdr b/N2/2.hdr index 4b86001..94bdfd6 100644 --- a/a/2.hdr +++ b/N2/2.hdr @@ -1,4 +1,2 @@ -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: inline +Content-Type: text/html; charset="utf-8" +Content-Transfer-Encoding: 8bit diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index 8b13789..0000000 --- a/a/2.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/a/content_digest b/N2/content_digest index a5415c4..a5a87e7 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,29 +2,28 @@ "ref\020180511190641.23008-14-jean-philippe.brucker@arm.com\0" "ref\05B0536A3.1000304@huawei.com\0" "ref\0cd13f60d-b282-3804-4ca7-2d34476c597f@arm.com\0" - "ref\0cd13f60d-b282-3804-4ca7-2d34476c597f-5wv7dgnIgG8@public.gmane.org\0" - "From\0Xu Zaibo <xuzaibo-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>\0" + "From\0Xu Zaibo <xuzaibo@huawei.com>\0" "Subject\0Re: [PATCH v2 13/40] vfio: Add support for Shared Virtual Addressing\0" "Date\0Thu, 24 May 2018 20:35:08 +0800\0" - "To\0Jean-Philippe Brucker <jean-philippe.brucker-5wv7dgnIgG8@public.gmane.org>" - linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org - linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org - kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org\0" - "Cc\0bharatku-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org" - ashok.raj-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org - dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org - ilias.apalodimas-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org - will.deacon-5wv7dgnIgG8@public.gmane.org - okaya-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org - rgummal-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org - rfranz-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org - liguozhu <liguozhu-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org> - " christian.koenig-5C7GfCeVMHo@public.gmane.org\0" - "\02:1.1\0" + "To\0Jean-Philippe Brucker <jean-philippe.brucker@arm.com>" + linux-arm-kernel@lists.infradead.org + linux-pci@vger.kernel.org + linux-acpi@vger.kernel.org + devicetree@vger.kernel.org + iommu@lists.linux-foundation.org + kvm@vger.kernel.org + " linux-mm@kvack.org\0" + "Cc\0will.deacon@arm.com" + okaya@codeaurora.org + liguozhu <liguozhu@hisilicon.com> + ashok.raj@intel.com + bharatku@xilinx.com + rfranz@cavium.com + rgummal@xilinx.com + dwmw2@infradead.org + ilias.apalodimas@linaro.org + " christian.koenig@amd.com\0" + "\01:1\0" "b\0" "\n" "\n" @@ -113,7 +112,7 @@ ">\n" "> .\n" > - "\02:1.2\0" + "\01:2\0" "b\0" "<html>\n" " <head>\n" @@ -125,7 +124,7 @@ " <div class=\"moz-cite-prefix\">On 2018/5/24 19:44, Jean-Philippe\n" " Brucker wrote:<br>\n" " </div>\n" - " <blockquote cite=\"mid:cd13f60d-b282-3804-4ca7-2d34476c597f-5wv7dgnIgG8@public.gmane.org\"\n" + " <blockquote cite=\"mid:cd13f60d-b282-3804-4ca7-2d34476c597f@arm.com\"\n" " type=\"cite\">\n" " <pre wrap=\"\">Hi,\n" "\n" @@ -134,20 +133,20 @@ " <blockquote type=\"cite\">\n" " <blockquote type=\"cite\">\n" " <pre wrap=\"\">+static int vfio_iommu_bind_group(struct vfio_iommu *iommu,\n" - "+\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240 struct vfio_group *group,\n" - "+\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240 struct vfio_mm *vfio_mm)\n" + "+A A A A A A A A A A A A A A A A struct vfio_group *group,\n" + "+A A A A A A A A A A A A A A A A struct vfio_mm *vfio_mm)\n" "+{\n" - "+\302\240\302\240\302\240 int ret;\n" - "+\302\240\302\240\302\240 bool enabled_sva = false;\n" - "+\302\240\302\240\302\240 struct vfio_iommu_sva_bind_data data = {\n" - "+\302\240\302\240\302\240\302\240\302\240\302\240\302\240 .vfio_mm\302\240\302\240\302\240 = vfio_mm,\n" - "+\302\240\302\240\302\240\302\240\302\240\302\240\302\240 .iommu\302\240\302\240\302\240\302\240\302\240\302\240\302\240 = iommu,\n" - "+\302\240\302\240\302\240\302\240\302\240\302\240\302\240 .count\302\240\302\240\302\240\302\240\302\240\302\240\302\240 = 0,\n" - "+\302\240\302\240\302\240 };\n" + "+A A A int ret;\n" + "+A A A bool enabled_sva = false;\n" + "+A A A struct vfio_iommu_sva_bind_data data = {\n" + "+A A A A A A A .vfio_mmA A A = vfio_mm,\n" + "+A A A A A A A .iommuA A A A A A A = iommu,\n" + "+A A A A A A A .countA A A A A A A = 0,\n" + "+A A A };\n" "+\n" - "+\302\240\302\240\302\240 if (!group->sva_enabled) {\n" - "+\302\240\302\240\302\240\302\240\302\240\302\240\302\240 ret = iommu_group_for_each_dev(group->iommu_group, NULL,\n" - "+\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240 vfio_iommu_sva_init);\n" + "+A A A if (!group->sva_enabled) {\n" + "+A A A A A A A ret = iommu_group_for_each_dev(group->iommu_group, NULL,\n" + "+A A A A A A A A A A A A A A A A A A A A A A A A A A vfio_iommu_sva_init);\n" "</pre>\n" " </blockquote>\n" " <pre wrap=\"\">Do we need to do *sva_init here or do anything to avoid repeated\n" @@ -175,19 +174,19 @@ " <br>\n" " <i>@@ -551,8 +565,18 @@ int iommu_sva_device_init(struct device\n" " *dev, unsigned long features,</i><br>\n" - " \302\240\302\240\302\240\302\240\302\240 if (features & ~IOMMU_SVA_FEAT_IOPF)<br>\n" - " \302\240\302\240\302\240\302\240 \302\240\302\240\302\240 return -EINVAL;<br>\n" + " A A A A A if (features & ~IOMMU_SVA_FEAT_IOPF)<br>\n" + " A A A A A A A return -EINVAL;<br>\n" " <br>\n" - " <i>+\302\240\302\240\302\240 /* If already exists, do nothing\302\240 */</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 mutex_lock(&dev->iommu_param->lock);</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 if (dev->iommu_param->sva_param) {</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 \302\240\302\240\302\240 mutex_unlock(&dev->iommu_param->lock);</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 \302\240\302\240\302\240 return 0;</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 }</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 mutex_unlock(&dev->iommu_param->lock);</i><i><br>\n" - " </i><i>\302\240</i><i><br>\n" - " </i><i>\302\240\302\240\302\240\302\240 if (features & IOMMU_SVA_FEAT_IOPF) {</i><i><br>\n" - " </i><i>\302\240\302\240\302\240\302\240 \302\240\302\240\302\240 ret = iommu_register_device_fault_handler(dev,\n" + " <i>+A A A /* If already exists, do nothingA */</i><i><br>\n" + " </i><i>+A A A mutex_lock(&dev->iommu_param->lock);</i><i><br>\n" + " </i><i>+A A A if (dev->iommu_param->sva_param) {</i><i><br>\n" + " </i><i>+A A A A A A mutex_unlock(&dev->iommu_param->lock);</i><i><br>\n" + " </i><i>+A A A A A A return 0;</i><i><br>\n" + " </i><i>+A A A }</i><i><br>\n" + " </i><i>+A A A mutex_unlock(&dev->iommu_param->lock);</i><i><br>\n" + " </i><i>A </i><i><br>\n" + " </i><i>A A A A if (features & IOMMU_SVA_FEAT_IOPF) {</i><i><br>\n" + " </i><i>A A A A A A A ret = iommu_register_device_fault_handler(dev,\n" " iommu_queue_iopf,</i><i><span lang=\"EN-US\"><o:p></o:p></span></i><i>\n" " </i>\n" " <meta name=\"ProgId\" content=\"Word.Document\">\n" @@ -211,7 +210,7 @@ " <w:TrackMoves/>\n" " <w:TrackFormatting/>\n" " <w:PunctuationKerning/>\n" - " <w:DrawingGridVerticalSpacing>7.8 \347\243\205</w:DrawingGridVerticalSpacing>\n" + " <w:DrawingGridVerticalSpacing>7.8 cGBP?</w:DrawingGridVerticalSpacing>\n" " <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>\n" " <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>\n" " <w:ValidateAgainstSchemas/>\n" @@ -827,7 +826,7 @@ "<!--\n" " /* Font Definitions */\n" " @font-face\n" - "\t{font-family:\345\256\213\344\275\223;\n" + "\t{font-family:a(R)?a 1/2 ?;\n" "\tpanose-1:2 1 6 0 3 1 1 1 1 1;\n" "\tmso-font-alt:SimSun;\n" "\tmso-font-charset:134;\n" @@ -843,7 +842,7 @@ "\tmso-font-pitch:variable;\n" "\tmso-font-signature:-1610611985 1107304683 0 0 159 0;}\n" "@font-face\n" - "\t{font-family:\"\\@\345\256\213\344\275\223\";\n" + "\t{font-family:\"\\@a(R)?a 1/2 ?\";\n" "\tpanose-1:2 1 6 0 3 1 1 1 1 1;\n" "\tmso-font-alt:???????????????????????????????;\n" "\tmso-font-charset:134;\n" @@ -860,7 +859,7 @@ "\tmso-pagination:widow-orphan;\n" "\tfont-size:12.0pt;\n" "\tfont-family:\"Times New Roman\",serif;\n" - "\tmso-fareast-font-family:\345\256\213\344\275\223;\n" + "\tmso-fareast-font-family:a(R)?a 1/2 ?;\n" "\tmso-fareast-theme-font:minor-fareast;}\n" ".MsoChpDefault\n" "\t{mso-style-type:export-only;\n" @@ -885,7 +884,7 @@ "<style>\n" " /* Style Definitions */\n" " table.MsoNormalTable\n" - "\t{mso-style-name:\346\231\256\351\200\232\350\241\250\346\240\274;\n" + "\t{mso-style-name:ae?(R)e??e!?ae 1/4 ;\n" "\tmso-tstyle-rowband-size:0;\n" "\tmso-tstyle-colband-size:0;\n" "\tmso-style-noshow:yes;\n" @@ -909,23 +908,23 @@ " </i><i><br>\n" " </i><i>@@ -621,6 +646,14 @@ int iommu_sva_device_shutdown(struct\n" " device *dev)</i><i><br>\n" - " </i><i>\302\240\302\240\302\240\302\240 if (!domain)</i><i><br>\n" - " </i><i>\302\240\302\240\302\240\302\240 \302\240\302\240\302\240 return -ENODEV;</i><i><br>\n" - " </i><i>\302\240</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 /* If any other process is working on the device, shut\n" + " </i><i>A A A A if (!domain)</i><i><br>\n" + " </i><i>A A A A A A A return -ENODEV;</i><i><br>\n" + " </i><i>A </i><i><br>\n" + " </i><i>+A A A /* If any other process is working on the device, shut\n" " down does nothing. */</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 mutex_lock(&dev->iommu_param->lock);</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 if\n" + " </i><i>+A A A mutex_lock(&dev->iommu_param->lock);</i><i><br>\n" + " </i><i>+A A A if\n" " (!list_empty(&dev->iommu_param->sva_param->mm_list))\n" " {</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 \302\240\302\240\302\240 mutex_unlock(&dev->iommu_param->lock);</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 \302\240\302\240\302\240 return 0;</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 }</i><i><br>\n" - " </i><i>+\302\240\302\240\302\240 mutex_unlock(&dev->iommu_param->lock);</i><i><br>\n" + " </i><i>+A A A A A A mutex_unlock(&dev->iommu_param->lock);</i><i><br>\n" + " </i><i>+A A A A A A return 0;</i><i><br>\n" + " </i><i>+A A A }</i><i><br>\n" + " </i><i>+A A A mutex_unlock(&dev->iommu_param->lock);</i><i><br>\n" " </i><i>+</i><i><br>\n" - " </i><i>\302\240\302\240\302\240\302\240 __iommu_sva_unbind_dev_all(dev);</i><i><br>\n" - " </i><i>\302\240</i><i><br>\n" - " </i><i>\302\240\302\240\302\240\302\240 mutex_lock(&dev->iommu_param->lock);</i><br>\n" + " </i><i>A A A A __iommu_sva_unbind_dev_all(dev);</i><i><br>\n" + " </i><i>A </i><i><br>\n" + " </i><i>A A A A mutex_lock(&dev->iommu_param->lock);</i><br>\n" " <br>\n" " I add the above two checkings in both *sva_init and *sva_shutdown,\n" " it is working now,<br>\n" @@ -937,7 +936,7 @@ " <br>\n" " Thanks<br>\n" " Zaibo<br>\n" - " <blockquote cite=\"mid:cd13f60d-b282-3804-4ca7-2d34476c597f-5wv7dgnIgG8@public.gmane.org\"\n" + " <blockquote cite=\"mid:cd13f60d-b282-3804-4ca7-2d34476c597f@arm.com\"\n" " type=\"cite\">\n" " <pre wrap=\"\">\n" "\n" @@ -948,7 +947,5 @@ " <br>\n" " </body>\n" "</html>\n" - "\01:2\0" - "b\0" -c749b6d9e0661d29a886726bf7d8067c4f938c81188635e3be7a2296c7052897 +92e7b06941c42da70b92e4bceff9cbd1da875ee558a54f3571431c87799ad5c4
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.