From: Ben Widawsky Subject: Read/Write IOCTL compromise Date: Fri, 1 Apr 2011 16:54:47 -0700 Message-ID: <1301702089-25644-1-git-send-email-ben@bwidawsk.net> References: <1301621965-23185-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 45B619E793 for ; Fri, 1 Apr 2011 16:56:53 -0700 (PDT) Received: from localhost.localdomain (unknown [67.208.96.87]) by cloud01.chad-versace.us (Postfix) with ESMTPSA id 8352A1D408B for ; Fri, 1 Apr 2011 23:57:35 +0000 (UTC) In-Reply-To: <1301621965-23185-1-git-send-email-ben@bwidawsk.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org This patch does the 1 register read/write at a time, with a rsvd field for more ambitious stuff later. In locking, it does the safe mutex_lock/unlock. We can always modify this later if we see a need. So if this isn't okay by everyone, let's get down to the minimum number of changes required to get this accepted so I can move on to the tools, and then get back to the debug stuff. Ben