Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261285AbVCHECC (ORCPT ); Mon, 7 Mar 2005 23:02:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261271AbVCHECC (ORCPT ); Mon, 7 Mar 2005 23:02:02 -0500 Received: from gate.crashing.org ([63.228.1.57]:41383 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S261326AbVCHD7N (ORCPT ); Mon, 7 Mar 2005 22:59:13 -0500 Subject: [PATCH] (#2) radeonfb: PLL access workaround From: Benjamin Herrenschmidt To: Linux Kernel list Cc: Alessandro Suardi , Andrew Morton , Dave Airlie In-Reply-To: <1110243597.13594.224.camel@gaston> References: <1110243597.13594.224.camel@gaston> Content-Type: text/plain Date: Tue, 08 Mar 2005 14:54:53 +1100 Message-Id: <1110254093.13607.244.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 11625 Lines: 350 On Tue, 2005-03-08 at 11:59 +1100, Benjamin Herrenschmidt wrote: > Hi ! > > So you remember all those weird lockups at boot that happened in late > 2.6.11-rc with radeonfb. I posted a "workaround" which just moved code > around a bit and it appeared to work. I finally got some real infos > about the problem from ATI, and it seems my "workaround" is not very > safe and there are other potential issues realted to HW bugs when > accessing the PLL registers. > > This patch implements all of these workarounds (and puts back the code > where it was before my previous fix). > > Please test and let me know if it works. If it's fine, then it should go > to -mm, and eventually after a while, to a 2.6.11.x update. > > Signed-off-by: Benjamin Herrenschmidt Here's a new one adding a missing bit.. Index: linux-work/drivers/video/aty/radeonfb.h =================================================================== --- linux-work.orig/drivers/video/aty/radeonfb.h 2005-03-08 11:30:37.000000000 +1100 +++ linux-work/drivers/video/aty/radeonfb.h 2005-03-08 14:49:24.000000000 +1100 @@ -22,11 +22,6 @@ #include