lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 20 Oct 2008 14:52:07 -0700
From:	Arjan van de Ven <arjan@...radead.org>
To:	Dave Airlie <airlied@...hat.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Brandon Philips <bphilips@...e.de>, zhenyu.z.wang@...el.com,
	jbarnes@...tuousgeek.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] intel-agp: Avoid oops for G33 on 1MB stolen case

On Tue, 21 Oct 2008 07:44:46 +1000
Dave Airlie <airlied@...hat.com> wrote:
> > +				printk(KERN_WARNING PFX
> > > +				       "Warning: G33 chipset
> > > with 1MB"
> > > +					" allocated. Older X.org
> > > Intel drivers"
> > > +					" will not work.\n");
> > > +				WARN_ON(1);
> > > +			}
> > >  			gtt_entries = MB(1) - KB(size);
> > >  			break;
> > >  		case I855_GMCH_GMS_STOLEN_4M:
> > 
> > Is the bug which this patch addresses present in the 2.6.27 kernel?
> > 
> 
> I've been a bit wary about this patch, but on re-review I suppose it
> should be fine. We'll just get WARN_ONs in places we don't really want
> them, and I'm sure Arjan will come complaining about them from
> kerneloops.
> 

the patch is not so nice for this;
the printk+WARN_ON() really should be using WARN() instead; that also
allows me to filter these guys out easily if needed.

-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ