Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261986AbVCHBMY (ORCPT ); Mon, 7 Mar 2005 20:12:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261942AbVCHBJq (ORCPT ); Mon, 7 Mar 2005 20:09:46 -0500 Received: from gate.crashing.org ([63.228.1.57]:36517 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S261864AbVCHBER (ORCPT ); Mon, 7 Mar 2005 20:04:17 -0500 Subject: [PATCH] radeonfb: PLL access workaround From: Benjamin Herrenschmidt To: Linux Kernel list Cc: Alessandro Suardi , Andrew Morton , Dave Airlie Content-Type: text/plain Date: Tue, 08 Mar 2005 11:59:57 +1100 Message-Id: <1110243597.13594.224.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: 10490 Lines: 326 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 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 11:52:52.000000000 +1100 @@ -22,11 +22,6 @@ #include