Displaying 20 results from an estimated 21 matches for "vmw_surface_dirty".
2023 Sep 22
1
[PATCH 8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
...counted_by
attribute. Flexible array members annotated with __counted_by can have
their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
(for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family
functions).
As found with Coccinelle[1], add __counted_by for struct vmw_surface_dirty.
[1] https://github.com/kees/kernel-tools/blob/trunk/coccinelle/examples/counted_by.cocci
Cc: Zack Rusin <zackr at vmware.com>
Cc: VMware Graphics Reviewers <linux-graphics-maintainer at vmware.com>
Cc: David Airlie <airlied at gmail.com>
Cc: Daniel Vetter <daniel at ffwll.ch...
2023 Sep 22
1
[PATCH 8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
...counted_by
attribute. Flexible array members annotated with __counted_by can have
their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
(for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family
functions).
As found with Coccinelle[1], add __counted_by for struct vmw_surface_dirty.
[1] https://github.com/kees/kernel-tools/blob/trunk/coccinelle/examples/counted_by.cocci
Cc: Zack Rusin <zackr at vmware.com>
Cc: VMware Graphics Reviewers <linux-graphics-maintainer at vmware.com>
Cc: David Airlie <airlied at gmail.com>
Cc: Daniel Vetter <daniel at ffwll.ch...
2023 Sep 22
1
[PATCH 8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
...counted_by
attribute. Flexible array members annotated with __counted_by can have
their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
(for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family
functions).
As found with Coccinelle[1], add __counted_by for struct vmw_surface_dirty.
[1] https://github.com/kees/kernel-tools/blob/trunk/coccinelle/examples/counted_by.cocci
Cc: Zack Rusin <zackr at vmware.com>
Cc: VMware Graphics Reviewers <linux-graphics-maintainer at vmware.com>
Cc: David Airlie <airlied at gmail.com>
Cc: Daniel Vetter <daniel at ffwll.ch...
2023 Sep 22
14
[PATCH 0/9] drm: Annotate structs with __counted_by
...h __counted_by
drm/msm/dpu: Annotate struct dpu_hw_intr with __counted_by
drm/nouveau/pm: Annotate struct nvkm_perfdom with __counted_by
drm/vc4: Annotate struct vc4_perfmon with __counted_by
drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
drm/v3d: Annotate struct v3d_perfmon with __counted_by
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +-
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.h | 2 +-
drivers/gpu/drm/i915/selftests/i915_request.c | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_in...
2023 Sep 22
14
[PATCH 0/9] drm: Annotate structs with __counted_by
...h __counted_by
drm/msm/dpu: Annotate struct dpu_hw_intr with __counted_by
drm/nouveau/pm: Annotate struct nvkm_perfdom with __counted_by
drm/vc4: Annotate struct vc4_perfmon with __counted_by
drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
drm/v3d: Annotate struct v3d_perfmon with __counted_by
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +-
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.h | 2 +-
drivers/gpu/drm/i915/selftests/i915_request.c | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_in...
2023 Sep 22
14
[PATCH 0/9] drm: Annotate structs with __counted_by
...h __counted_by
drm/msm/dpu: Annotate struct dpu_hw_intr with __counted_by
drm/nouveau/pm: Annotate struct nvkm_perfdom with __counted_by
drm/vc4: Annotate struct vc4_perfmon with __counted_by
drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
drm/v3d: Annotate struct v3d_perfmon with __counted_by
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +-
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.h | 2 +-
drivers/gpu/drm/i915/selftests/i915_request.c | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_in...
2023 Sep 29
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...kernel.org/kees/c/188aeb08bfaa
[6/9] drm/vc4: Annotate struct vc4_perfmon with __counted_by
https://git.kernel.org/kees/c/59a54dc896c3
[7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
https://git.kernel.org/kees/c/5cd476de33af
[8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
https://git.kernel.org/kees/c/b426f2e5356a
[9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
https://git.kernel.org/kees/c/dc662fa1b0e4
Take care,
--
Kees Cook
2023 Sep 29
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...kernel.org/kees/c/188aeb08bfaa
[6/9] drm/vc4: Annotate struct vc4_perfmon with __counted_by
https://git.kernel.org/kees/c/59a54dc896c3
[7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
https://git.kernel.org/kees/c/5cd476de33af
[8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
https://git.kernel.org/kees/c/b426f2e5356a
[9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
https://git.kernel.org/kees/c/dc662fa1b0e4
Take care,
--
Kees Cook
2023 Sep 29
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...kernel.org/kees/c/188aeb08bfaa
[6/9] drm/vc4: Annotate struct vc4_perfmon with __counted_by
https://git.kernel.org/kees/c/59a54dc896c3
[7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
https://git.kernel.org/kees/c/5cd476de33af
[8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
https://git.kernel.org/kees/c/b426f2e5356a
[9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
https://git.kernel.org/kees/c/dc662fa1b0e4
Take care,
--
Kees Cook
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...faa
> [6/9] drm/vc4: Annotate struct vc4_perfmon with __counted_by
> https://git.kernel.org/kees/c/59a54dc896c3
> [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> https://git.kernel.org/kees/c/5cd476de33af
> [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> https://git.kernel.org/kees/c/b426f2e5356a
> [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> https://git.kernel.org/kees/c/dc662fa1b0e4
>
> Take care,
>
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...faa
> [6/9] drm/vc4: Annotate struct vc4_perfmon with __counted_by
> https://git.kernel.org/kees/c/59a54dc896c3
> [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> https://git.kernel.org/kees/c/5cd476de33af
> [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> https://git.kernel.org/kees/c/b426f2e5356a
> [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> https://git.kernel.org/kees/c/dc662fa1b0e4
>
> Take care,
>
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...faa
> [6/9] drm/vc4: Annotate struct vc4_perfmon with __counted_by
> https://git.kernel.org/kees/c/59a54dc896c3
> [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> https://git.kernel.org/kees/c/5cd476de33af
> [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> https://git.kernel.org/kees/c/b426f2e5356a
> [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> https://git.kernel.org/kees/c/dc662fa1b0e4
>
> Take care,
>
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...c4: Annotate struct vc4_perfmon with __counted_by
> > https://git.kernel.org/kees/c/59a54dc896c3
> > [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> > https://git.kernel.org/kees/c/5cd476de33af
> > [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> > https://git.kernel.org/kees/c/b426f2e5356a
> > [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> > https://git.kernel.org/kees/c/dc662fa1b0e4
> >
> > Take care,
> >
>
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...c4: Annotate struct vc4_perfmon with __counted_by
> > https://git.kernel.org/kees/c/59a54dc896c3
> > [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> > https://git.kernel.org/kees/c/5cd476de33af
> > [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> > https://git.kernel.org/kees/c/b426f2e5356a
> > [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> > https://git.kernel.org/kees/c/dc662fa1b0e4
> >
> > Take care,
> >
>
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...c4: Annotate struct vc4_perfmon with __counted_by
> > https://git.kernel.org/kees/c/59a54dc896c3
> > [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> > https://git.kernel.org/kees/c/5cd476de33af
> > [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> > https://git.kernel.org/kees/c/b426f2e5356a
> > [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> > https://git.kernel.org/kees/c/dc662fa1b0e4
> >
> > Take care,
> >
>
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...vc4_perfmon with __counted_by
> > > https://git.kernel.org/kees/c/59a54dc896c3
> > > [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> > > https://git.kernel.org/kees/c/5cd476de33af
> > > [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> > > https://git.kernel.org/kees/c/b426f2e5356a
> > > [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> > > https://git.kernel.org/kees/c/dc662fa1b0e4
> > >
> > > Take care,
> > >
> >
--
Kees...
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...vc4_perfmon with __counted_by
> > > https://git.kernel.org/kees/c/59a54dc896c3
> > > [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> > > https://git.kernel.org/kees/c/5cd476de33af
> > > [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> > > https://git.kernel.org/kees/c/b426f2e5356a
> > > [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> > > https://git.kernel.org/kees/c/dc662fa1b0e4
> > >
> > > Take care,
> > >
> >
--
Kees...
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...vc4_perfmon with __counted_by
> > > https://git.kernel.org/kees/c/59a54dc896c3
> > > [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
> > > https://git.kernel.org/kees/c/5cd476de33af
> > > [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
> > > https://git.kernel.org/kees/c/b426f2e5356a
> > > [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
> > > https://git.kernel.org/kees/c/dc662fa1b0e4
> > >
> > > Take care,
> > >
> >
--
Kees...
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...n with __counted_by
>>>> https://git.kernel.org/kees/c/59a54dc896c3
>>>> [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
>>>> https://git.kernel.org/kees/c/5cd476de33af
>>>> [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
>>>> https://git.kernel.org/kees/c/b426f2e5356a
>>>> [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
>>>> https://git.kernel.org/kees/c/dc662fa1b0e4
>>>>
>>>> Take care,
>>>>
2023 Oct 02
1
[PATCH 0/9] drm: Annotate structs with __counted_by
...n with __counted_by
>>>> https://git.kernel.org/kees/c/59a54dc896c3
>>>> [7/9] drm/virtio: Annotate struct virtio_gpu_object_array with __counted_by
>>>> https://git.kernel.org/kees/c/5cd476de33af
>>>> [8/9] drm/vmwgfx: Annotate struct vmw_surface_dirty with __counted_by
>>>> https://git.kernel.org/kees/c/b426f2e5356a
>>>> [9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by
>>>> https://git.kernel.org/kees/c/dc662fa1b0e4
>>>>
>>>> Take care,
>>>>