[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B38882C.7060903@knaff.lu>
Date: Mon, 28 Dec 2009 11:27:56 +0100
From: Alain Knaff <alain@...ff.lu>
To: Andi Kleen <andi@...stfloor.org>
CC: Arjan van de Ven <arjan@...radead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Mark Hounschell <markh@...pro.net>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>,
"dmarkh@....rr.com" <dmarkh@....rr.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"fdutils@...tils.linux.lu" <fdutils@...tils.linux.lu>,
"Li, Shaohua" <shaohua.li@...el.com>, Ingo Molnar <mingo@...e.hu>,
morgan@...sics.ucla.edu
Subject: Re: [Fdutils] DMA cache consistency bug introduced in 2.6.28
Andi Kleen wrote:
>> disable_hlt/enable_hlt was only needed to work around a bug on TM4000
>> (Texas Instrument) Laptops which were popular around 1994 / 1995.
>
> I don't think we can fully drop support for these systems.
>
> Did they have an unique PCI ID or something else that could be tested
> for?
Floppy controllers are not PCI devices and thus have no PCI id
unfortunately... :-(
> Perhaps it could be just a white list like dmi_year > 1995 to disable.
>
> Depending on how often floppies are still used this might save
> non trivial amounts of power on newer systems :)
Removing these calls will indeed save a *tiny* amount of power by
allowing the CPU to go into halt during DMA transfer. But the main
argument should be simplification.
> Anyways it would be probably good to convert this to the new infrastructure,
> and remove the old hooks, but the interrupt-context issue would
> need to be fixed first.
>
> -Andi
Well, at least for testing whether it fixes the new problem (DMA cache
issue), it's useful to know that these calls can be safely removed on
almost all of today's machines. That way, we will know whether this
refactoring will be worth the effort.
Regards,
Alain
--
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