public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Robert Hancock <hancockr@shaw.ca>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] Small PCI core patch
Date: Fri, 25 Nov 2005 01:34:27 -0500	[thread overview]
Message-ID: <4386B073.3080008@pobox.com> (raw)
In-Reply-To: <43868DCC.9090101@shaw.ca>

Robert Hancock wrote:
> Jeff Garzik wrote:
> 
>> One sticking point is validation:  ensuring userspace cannot cause
>> invalid GPU microcode to be generated.  [I can just hear Al Viro
>> swearing, just thinking about creating secure compilers...]
> 
> 
> I suspect the amount of data going through is large enough that this 
> wouldn't really be practical. I think you'd have to deal with the code 
> generating GPU instructions having to be trusted and have the device 
> interface require root privileges..

All I said was "ensuring userspace cannot cause invalid GPU microcode to 
be generated."

No matter what runs with root priveleges, other graphics processes do 
not, and one must ensure that app clients cannot generate sequences 
which cause the hardware to fail.  Which is a lot more difficult, when 
the unpriveleged app clients are submitting GLSL.

	Jeff



  reply	other threads:[~2005-11-25  6:34 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5bsXq-5uy-3@gated-at.bofh.it>
     [not found] ` <5bsXq-5uy-1@gated-at.bofh.it>
     [not found]   ` <5btqF-66n-41@gated-at.bofh.it>
     [not found]     ` <5bzmg-66b-1@gated-at.bofh.it>
     [not found]       ` <5bHtG-228-23@gated-at.bofh.it>
2005-11-25  4:06         ` [RFC] Small PCI core patch Robert Hancock
2005-11-25  6:34           ` Jeff Garzik [this message]
2005-11-25 13:54           ` Alan Cox
2005-11-21 22:53 Greg KH
2005-11-21 23:01 ` Greg KH
2005-11-21 23:35   ` Benjamin Herrenschmidt
2005-11-22  0:47     ` Dave Airlie
2005-11-22  1:34       ` Alan Cox
2005-11-22  2:20         ` Jon Smirl
2005-11-22  2:36           ` Benjamin Herrenschmidt
2005-11-22  3:01             ` Jon Smirl
2005-11-22  7:41           ` Rob Landley
2005-11-22  8:44             ` Dave Airlie
2005-11-22  2:27         ` Benjamin Herrenschmidt
2005-11-22  3:23           ` Jon Smirl
2005-11-22  3:44             ` Benjamin Herrenschmidt
2005-11-22  4:11             ` Neil Brown
2005-11-22  8:07               ` Denis Vlasenko
2005-11-22 14:30                 ` Jeff Garzik
2005-11-22 16:33                   ` Rob Landley
2005-11-22 16:38                     ` Jeff Garzik
2005-11-22 10:58               ` Florian Weimer
2005-11-22 19:28               ` Adrian Bunk
2005-11-23 15:46                 ` Jesper Juhl
2005-11-24  2:11                   ` Lee Revell
2005-11-22 15:46             ` Avi Kivity
2005-11-22 15:51               ` Jeff Garzik
2005-11-22 16:14                 ` Avi Kivity
2005-11-22 16:25                   ` Jeff Garzik
2005-11-22 16:40                     ` Avi Kivity
2005-11-22 16:56                       ` Jeff Garzik
2005-11-22 17:11                         ` Avi Kivity
2005-11-22 17:37                         ` Brian Gerst
2005-11-22 17:38                           ` Jeff Garzik
2005-11-22 19:39                           ` Avi Kivity
2005-11-23 10:51                         ` Rogério Brito
2005-11-23 14:29                           ` Alan Cox
2005-11-22 18:38                       ` Alan Cox
2005-11-22 19:47                         ` Avi Kivity
2005-11-22 16:26                   ` Diego Calleja
2005-11-22 16:35                     ` Avi Kivity
2005-11-22 19:49                       ` Diego Calleja
2005-11-22 20:08                         ` Avi Kivity
2005-11-22 20:15                           ` Lee Revell
2005-11-22 20:43                           ` Diego Calleja
2005-11-22 22:00                             ` Avi Kivity
2005-11-22 22:42                       ` Jan Knutar
2005-11-22 14:07           ` Marc Koschewski
2005-11-22 22:53             ` Benjamin Herrenschmidt
2005-11-22 23:06               ` Marc Koschewski
2005-11-22 23:20                 ` Benjamin Herrenschmidt
2005-11-22 14:25           ` Alan Cox
2005-11-22  1:21     ` Greg KH
2005-11-22  1:28     ` Chris Wedgwood
2005-11-22  1:42       ` Greg KH
2005-11-22  5:50     ` Arjan van de Ven
2005-11-22 14:36       ` Jeff Garzik
2005-11-22 16:54     ` Jon Smirl
2005-11-22 20:17       ` Alan Cox
2005-11-22 21:13         ` Brian Gerst
2005-11-22 23:26           ` Alan Cox
2005-11-22 22:59       ` Benjamin Herrenschmidt
2005-11-22  6:57   ` Rob Landley
2005-11-22 18:26   ` Matthieu CASTET
2005-11-22 19:05     ` Greg KH
2005-11-22 20:15     ` Alan Cox
2005-11-23  3:26       ` Andrew James Wade
2005-11-21 23:28 ` Jeff Garzik
2005-11-21 23:30 ` Benjamin Herrenschmidt
2005-11-22 17:50 ` Greg KH
2005-11-22 22:31   ` Harald Dunkel
2005-11-22 23:40     ` Alan Cox
2005-11-23  6:06       ` Harald Dunkel
2005-11-23  6:26         ` Dave Jones
2005-11-23 11:11           ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4386B073.3080008@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox