From mboxrd@z Thu Jan 1 00:00:00 1970 From: batouzo Subject: Re: [drm] [radeon] [3.1.4] slub memory corruption in drm_vblank_cleanup Date: Wed, 14 Dec 2011 18:49:03 +0100 Message-ID: References: <20111213233157.GD2339@homer.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by gabe.freedesktop.org (Postfix) with ESMTP id 253419EB38 for ; Wed, 14 Dec 2011 09:49:18 -0800 (PST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rasx9-0000iw-Qo for dri-devel@lists.freedesktop.org; Wed, 14 Dec 2011 18:49:15 +0100 Received: from ip-1-141.gemini.net.pl ([193.25.1.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Dec 2011 18:49:15 +0100 Received: from batouzo by ip-1-141.gemini.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Dec 2011 18:49:15 +0100 In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On 12/14/2011 06:40 PM, Alex Deucher wrote: > On Wed, Dec 14, 2011 at 12:27 PM, batouzo wrote: > AMD develops and releases the ucode images. No source is available. > >> >> This means that entire firmeware of GFX card is flashed on bootup? >> Btw this is a form of virus protection you could say (or anyway such >> firmware is volatile and lost on reboot?) > > The ucode is volatile and is lost on reboot. The different ucode > images are used for different things. The PFP and ME ucode images > provide the acceleration API and the RLC ucode is required to make the > interrupt controller work. On newer asics, the MC ucode is used for > the gddr5 controller on the chip and is required to link train the > memory so it will run at full speed. Thanks for explanation. I hoped using radeon and KMS I'm choosing the "good" (secure / FOSS philosophy etc) solution, but it seems to not be the case then. What should one do to have 100% opensource, maximally secure X on radeon cards? Maybe I should disable firmware to achieve this goal at cost of performance - or may disabling firmware actually introduce any security/stability problems? Would Intel build-in card be better for this use? Any particular family?