From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [Linux-fbdev-devel] Re: [PATCH] fbdev: Fix IO access in rivafb Date: Tue, 09 Nov 2004 08:52:01 +1100 Message-ID: <1099950722.10262.166.camel@gaston> References: <200411080521.iA85LbG6025914@hera.kernel.org> <1099893447.10262.154.camel@gaston> <200411081706.55261.adaplas@hotpop.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200411081706.55261.adaplas@hotpop.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: , Linux Kernel list , Andrew Morton , Linus Torvalds On Mon, 2004-11-08 at 17:06 +0800, Antonino A. Daplas wrote: > > How about this patch? This is almost the original macro in riva_hw.h, > with the __force annotation. I don't like it neither. It lacks barriers. the rivafb driver notoriously lacks barriers, except in a few places where it was so bad that it actually broke all the time, where we added some. This originates from the X "nv" driver written by Mark Vojkovich who didn't want to hear about barriers for perfs reasons I think. Ben.