linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Miscellaneous fixes to host1x
@ 2013-05-17 11:49 Arto Merilainen
  2013-05-17 11:49 ` [PATCH 2/6] gpu: host1x: Fix syncpoint wait return value Arto Merilainen
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Arto Merilainen @ 2013-05-17 11:49 UTC (permalink / raw)
  To: thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB,
	airlied-cv59FeDIM0c, linux-tegra-u79uwXL29TY76Z2rM5mHXA
  Cc: tbergstrom-DDmLM1+adcrQT0dZR+AlfA,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arto Merilainen

This patch series fixes two issues in the host1x driver: First, the
command buffer validation routine had vulnerabilities that were not
detected in earlier testing. Second, the return codes of some
functions were misleading or completely missing. This caused the
driver to give wrong return codes also to the userspace.

The series is based on top of 3.10rc1. I have tested the patch series
on cardhu by running host1x and gr2d test cases (available at [0]).
I would appreciate any help in testing/reviewing these patches.

[0] https://gitorious.org/linux-host1x/libdrm-host1x

Arto Merilainen (5):
  gpu: host1x: Fix syncpoint wait return value
  gpu: host1x: Fix memory access in syncpt request
  gpu: host1x: Fix client_managed type
  gpu: host1x: Rework CPU syncpoint increment
  drm/tegra: Fix syncpoint increment return code

Terje Bergstrom (1):
  gpu: host1x: Fixes to host1x firewall

 drivers/gpu/host1x/dev.h          |    8 +--
 drivers/gpu/host1x/drm/drm.c      |    3 +-
 drivers/gpu/host1x/drm/gr2d.c     |    2 +-
 drivers/gpu/host1x/hw/cdma_hw.c   |    2 +-
 drivers/gpu/host1x/hw/syncpt_hw.c |   12 ++--
 drivers/gpu/host1x/job.c          |  120 ++++++++++++++++---------------------
 drivers/gpu/host1x/syncpt.c       |   29 +++------
 drivers/gpu/host1x/syncpt.h       |   13 ++--
 8 files changed, 79 insertions(+), 110 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-06-12 11:00 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17 11:49 [PATCH 0/6] Miscellaneous fixes to host1x Arto Merilainen
2013-05-17 11:49 ` [PATCH 2/6] gpu: host1x: Fix syncpoint wait return value Arto Merilainen
     [not found]   ` <1368791388-31441-3-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-26 10:12     ` Thierry Reding
2013-05-27  6:55       ` Arto Merilainen
     [not found]         ` <51A30372.6080907-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-28 10:39           ` Thierry Reding
2013-05-28 19:12             ` Keith Packard
     [not found]               ` <86y5ay6hrn.fsf-07MG1JmyPZaz9DMzp4kqnw@public.gmane.org>
2013-06-11 10:48                 ` Thierry Reding
2013-06-11 11:00                   ` Daniel Vetter
2013-06-11 11:43                     ` Terje Bergström
2013-06-11 12:09                       ` Daniel Vetter
     [not found]                         ` <CAKMK7uGRW4uqsSaDEehTZwknZH+mNEgyKB6-4TgfgUOaTOcoLA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-11 18:19                           ` Thierry Reding
2013-06-12 10:28                         ` Terje Bergström
2013-06-12 11:00                           ` Daniel Vetter
     [not found] ` <1368791388-31441-1-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-17 11:49   ` [PATCH 1/6] gpu: host1x: Fixes to host1x firewall Arto Merilainen
     [not found]     ` <1368791388-31441-2-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-26 10:02       ` Thierry Reding
2013-05-27  6:22         ` Arto Merilainen
2013-05-17 11:49   ` [PATCH 3/6] gpu: host1x: Fix memory access in syncpt request Arto Merilainen
     [not found]     ` <1368791388-31441-4-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-26 10:15       ` Thierry Reding
2013-05-27  6:56         ` Arto Merilainen
2013-05-17 11:49   ` [PATCH 4/6] gpu: host1x: Fix client_managed type Arto Merilainen
     [not found]     ` <1368791388-31441-5-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-26 10:17       ` Thierry Reding
2013-05-17 11:49 ` [PATCH 5/6] gpu: host1x: Rework CPU syncpoint increment Arto Merilainen
     [not found]   ` <1368791388-31441-6-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-26 10:24     ` Thierry Reding
2013-05-17 11:49 ` [PATCH 6/6] drm/tegra: Fix syncpoint increment return code Arto Merilainen
     [not found]   ` <1368791388-31441-7-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-26 10:26     ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).