<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/gpu/drm/nouveau/nvkm/subdev/mmu, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/gpu/drm/nouveau/nvkm/subdev/mmu?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/gpu/drm/nouveau/nvkm/subdev/mmu?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-06-21T20:02:52Z</updated>
<entry>
<title>drm/nouveau/mmu: drop unexpected word "the" in the comments</title>
<updated>2022-06-21T20:02:52Z</updated>
<author>
<name>Jiang Jian</name>
<email>jiangjian@cdjrlc.com</email>
</author>
<published>2022-06-21T13:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7c021558929f7c80ed07e83a91d0905c31e8cd9a'/>
<id>urn:sha1:7c021558929f7c80ed07e83a91d0905c31e8cd9a</id>
<content type='text'>
there is an unexpected word "the" in the comments that need to be dropped

file: drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
line: 1051
 * have the the deepest nesting of page tables.
changed to
 * have the deepest nesting of page tables.

Signed-off-by: Jiang Jian &lt;jiangjian@cdjrlc.com&gt;
Signed-off-by: Lyude Paul &lt;lyude@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220621133920.8112-1-jiangjian@cdjrlc.com
</content>
</entry>
<entry>
<title>drm/nouveau/mmu: fix typo in comment</title>
<updated>2022-05-23T19:55:16Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@inria.fr</email>
</author>
<published>2022-05-21T11:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e4f21d1436519fec3e181082c8e1c3fb00ec08a7'/>
<id>urn:sha1:e4f21d1436519fec3e181082c8e1c3fb00ec08a7</id>
<content type='text'>
Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@inria.fr&gt;
Reviewed-by: Lyude Paul &lt;lyude@redhat.com&gt;
[also fix double space]
Signed-off-by: Lyude Paul &lt;lyude@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220521111145.81697-57-Julia.Lawall@inria.fr
</content>
</entry>
<entry>
<title>drm/nouveau/mmu/gp100: remove unused variable</title>
<updated>2021-10-12T17:50:44Z</updated>
<author>
<name>Karol Herbst</name>
<email>kherbst@redhat.com</email>
</author>
<published>2021-10-12T13:33:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=381ba6a6baf104b572379c6b2deab884555104d4'/>
<id>urn:sha1:381ba6a6baf104b572379c6b2deab884555104d4</id>
<content type='text'>
Fixes a compilation issue introduced because I forgot to test with WERROR
enabled.

Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Cc: DRI &lt;dri-devel@lists.freedesktop.org&gt;
Cc: nouveau@lists.freedesktop.org
Fixes: 404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")
Acked-by: Adam Jackson &lt;ajax@redhat.com&gt;
Reviewed-by: Lyude Paul &lt;lyude@redhat.com&gt;
Signed-off-by: Karol Herbst &lt;kherbst@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20211012133334.1737918-1-kherbst@redhat.com
</content>
</entry>
<entry>
<title>drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.</title>
<updated>2021-10-11T11:06:49Z</updated>
<author>
<name>Luo penghao</name>
<email>luo.penghao@zte.com.cn</email>
</author>
<published>2021-08-21T02:14:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=404046cf48050167bc068bd12fdd2cbce61022c3'/>
<id>urn:sha1:404046cf48050167bc068bd12fdd2cbce61022c3</id>
<content type='text'>
In order to keep the code style consistency of the whole file,
the 'inst' assignments should be deleted.

The clang_analyzer complains as follows:

drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:499:8: warning:
Although the value storedto 'inst' is used in the enclosing expression,
the value is never actually read from 'inst'.

Karol: Removed unneeded brackets.

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: Luo penghao &lt;luo.penghao@zte.com.cn&gt;
Reviewed-by: Karol Herbst &lt;kherbst@redhat.com&gt;
Signed-off-by: Karol Herbst &lt;kherbst@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210821021447.27097-1-luo.penghao@zte.com.cn
</content>
</entry>
<entry>
<title>drm/nouveau/mmu: drop unneeded assignment in the nvkm_uvmm_mthd_page()</title>
<updated>2021-10-11T11:06:49Z</updated>
<author>
<name>Luo penghao</name>
<email>luo.penghao@zte.com.cn</email>
</author>
<published>2021-08-21T02:11:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6363185938106f462e293fe4ded485911a9eb08f'/>
<id>urn:sha1:6363185938106f462e293fe4ded485911a9eb08f</id>
<content type='text'>
In order to keep the code style consistency of the whole file,
the 'ret' assignments should be deleted.

The clang_analyzer complains as follows:

drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c:317:8:warning:
Although the value storedto 'ret' is used in the enclosing expression,
the value is never actually read from 'ret'.

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: Luo penghao &lt;luo.penghao@zte.com.cn&gt;
Reviewed-by: Karol Herbst &lt;kherbst@redhat.com&gt;
Signed-off-by: Karol Herbst &lt;kherbst@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210821021106.27010-1-luo.penghao@zte.com.cn
</content>
</entry>
<entry>
<title>drm/nouveau: rip out nvkm_client.super</title>
<updated>2021-08-18T09:00:15Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2021-03-04T09:53:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=59f216cf04d973b4316761cbf3e7cb9556715b7a'/>
<id>urn:sha1:59f216cf04d973b4316761cbf3e7cb9556715b7a</id>
<content type='text'>
No longer required now that userspace can't touch anything that might
need it, and should fix DRM MM operations racing with each other, and
the random hangs/crashes that come with that.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Reviewed-by: Lyude Paul &lt;lyude@redhat.com&gt;
</content>
</entry>
<entry>
<title>nouveau/svm: implement atomic SVM access</title>
<updated>2021-07-01T18:06:04Z</updated>
<author>
<name>Alistair Popple</name>
<email>apopple@nvidia.com</email>
</author>
<published>2021-07-01T01:54:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8f187163eb890d6d2a53f7efea2b6963fe9526e2'/>
<id>urn:sha1:8f187163eb890d6d2a53f7efea2b6963fe9526e2</id>
<content type='text'>
Some NVIDIA GPUs do not support direct atomic access to system memory via
PCIe.  Instead this must be emulated by granting the GPU exclusive access
to the memory.  This is achieved by replacing CPU page table entries with
special swap entries that fault on userspace access.

The driver then grants the GPU permission to update the page undergoing
atomic access via the GPU page tables.  When CPU access to the page is
required a CPU fault is raised which calls into the device driver via MMU
notifiers to revoke the atomic access.  The original page table entries
are then restored allowing CPU access to proceed.

Link: https://lkml.kernel.org/r/20210616105937.23201-11-apopple@nvidia.com
Signed-off-by: Alistair Popple &lt;apopple@nvidia.com&gt;
Reviewed-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Hugh Dickins &lt;hughd@google.com&gt;
Cc: Jason Gunthorpe &lt;jgg@nvidia.com&gt;
Cc: John Hubbard &lt;jhubbard@nvidia.com&gt;
Cc: "Matthew Wilcox (Oracle)" &lt;willy@infradead.org&gt;
Cc: Peter Xu &lt;peterx@redhat.com&gt;
Cc: Ralph Campbell &lt;rcampbell@nvidia.com&gt;
Cc: Shakeel Butt &lt;shakeelb@google.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/mmu: index engref by subdev type</title>
<updated>2021-02-11T01:49:54Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2021-02-06T11:43:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=353108a49fc8464a6ce23ff3724662910ace7687'/>
<id>urn:sha1:353108a49fc8464a6ce23ff3724662910ace7687</id>
<content type='text'>
None of the chipsets we use this on have instanced engines, so this is fine.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Reviewed-by: Lyude Paul &lt;lyude@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/mmu: switch to instanced constructor</title>
<updated>2021-02-11T01:49:54Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2020-12-04T02:34:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6dd123ba8a8be762c294cee293783345ed6dfec5'/>
<id>urn:sha1:6dd123ba8a8be762c294cee293783345ed6dfec5</id>
<content type='text'>
Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Reviewed-by: Lyude Paul &lt;lyude@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/subdev: store full subdev name in struct</title>
<updated>2021-02-11T00:14:26Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2020-07-25T05:19:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9c28abb7db540a9c1f4dedaaf547503adfc87394'/>
<id>urn:sha1:9c28abb7db540a9c1f4dedaaf547503adfc87394</id>
<content type='text'>
Much easier to store this to avoid having to reconstruct a string for a
specific subdev, taking into account whether it's instanced or not.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Reviewed-by: Lyude Paul &lt;lyude@redhat.com&gt;
</content>
</entry>
</feed>
