RE: [PATCH][i386] HPET setup, duplicate HPET_T0_CMP needed for some platforms

From: Pallipadi, Venkatesh
Date: Mon Feb 07 2005 - 15:46:40 EST



>-----Original Message-----
>From: linux-kernel-owner@xxxxxxxxxxxxxxx
>[mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of
>Giuseppe Bilotta
>Sent: Sunday, February 06, 2005 7:59 AM
>To: linux-kernel@xxxxxxxxxxxxxxx
>Subject: Re: [PATCH][i386] HPET setup, duplicate HPET_T0_CMP
>needed for some platforms
>
>Venkatesh Pallipadi wrote:
>> + /*
>> + * Some systems seems to need two writes to HPET_T0_CMP,
>> + * to get interrupts working
>> + */
>> + hpet_writel(tick, HPET_T0_CMP);
>> hpet_writel(tick, HPET_T0_CMP);
>
>Is it known which platforms require two, and which ones require
>one write? Is it cost-effective to #if CONFIG_ the second
>write?

Additional write should not be performace critical, as this code is
called
only once, during boot up (and again during system suspend-resume).

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/