Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 12 Nov 2001 16:17:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 12 Nov 2001 16:17:00 -0500 Received: from gw.lowendale.com.au ([203.26.242.120]:4968 "EHLO marina.lowendale.com.au") by vger.kernel.org with ESMTP id ; Mon, 12 Nov 2001 16:16:28 -0500 Date: Tue, 13 Nov 2001 08:27:00 +1100 (EST) From: Neale Banks To: Jeronimo Pellegrini cc: Nils Philippsen , vojtech@suse.cz, linux-kernel@vger.kernel.org Subject: Re: [PATCH] VIA timer fix was removed? In-Reply-To: <20011112170026.A7310@socrates> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="449546482-696495751-1005600420=:3768" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --449546482-696495751-1005600420=:3768 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 12 Nov 2001, Jeronimo Pellegrini wrote: > > I have seen IBM machines (Netfinity 6000R) where this code got triggered > > even though they didn't have VIA chipsets/timers. Seems to have caused > > some problems there and I removed the code (in the custom kernel running > > on those machines). > > #ifdefs and a question in config, maybe? Or a boot-time option to disable this fix? Attached (untested) patch against 21.2.20 (which still has the $SUBJECT code) should implement timer=no-via686a option to disable this. Hopefully I'll get it tested in the next day or two. Regards, Neale. --449546482-696495751-1005600420=:3768 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="2.2.20-time.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="2.2.20-time.diff" LS0tIGxpbnV4LTIuMi4yMC1vcmlnL2FyY2gvaTM4Ni9rZXJuZWwvdGltZS5j CU1vbiBNYXIgMjYgMDI6Mzc6MzAgMjAwMQ0KKysrIGxpbnV4LTIuMi4yMC1u dGIv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DQorDQorc3RhdGljIGlu dCBfX2luaXQgdGltZXJfc2V0dXAoY2hhciAqc3RyKQ0KK3sNCisJaW50CWlu dmVydDsNCisNCisJd2hpbGUgKChzdHIgIT0gTlVMTCkgJiYgKCpzdHIgIT0g J1wwJykpIHsNCisJCWludmVydCA9IChzdHJuY21wKHN0ciwgIm5vLSIsIDMp ID09IDApOw0KKwkJaWYgKGludmVydCkNCisJCQlzdHIgKz0gMzsNCisJCWlm IChzdHJuY21wKHN0ciwgInZpYTY4NmEiLCA3KSA9PSAwKSB7DQorCQkJdmlh Njg2YV9oYWNrcyA9ICFpbnZlcnQ7DQorCQkJaWYgKGludmVydCkNCisJCQkJ cHJpbnRrKEtFUk5fSU5GTyAidGltZXI6IFZJQTY4NmEgd29ya2Fyb3VuZCBk aXNhYmxlZC5cbiIpOw0KKwkJfQ0KKwkJc3RyID0gc3RyY2hyKHN0ciwgJywn KTsNCisJCWlmIChzdHIgIT0gTlVMTCkNCisJCQlzdHIgKz0gc3Ryc3BuKHN0 ciwgIiwgXHQiKTsNCisJfQ0KKwlyZXR1cm4gMTsNCit9DQorDQorX19zZXR1 cCgidGltZXI9IiwgdGltZXJfc2V0dXApOw0K --449546482-696495751-1005600420=:3768-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/