[PATCH] powerpc: Add workaround for MPICs with broken register reads
Milton Miller
miltonm at bga.com
Fri Sep 7 00:55:21 EST 2007
On Wed Sep 5 12:44:17 EST 2007, Olof Johansson wrote:
> diff --git a/arch/powerpc/platforms/Kconfig
> b/arch/powerpc/platforms/Kconfig
> index 041df77..b9f1efa 100644
> --- a/arch/powerpc/platforms/Kconfig
> +++ b/arch/powerpc/platforms/Kconfig
> @@ -137,6 +137,10 @@ config MPIC_U3_HT_IRQS
> depends on PPC_MAPLE
> default y
>
> +config MPIC_BROKEN_REGREAD
> + bool
> + depends on PPC_PASEMI
> +
> config IBMVIO
> depends on PPC_PSERIES || PPC_ISERIES
> bool
> diff --git a/arch/powerpc/platforms/pasemi/Kconfig
> b/arch/powerpc/platforms/pasemi/Kconfig
> index 95cd90f..117d90a 100644
> --- a/arch/powerpc/platforms/pasemi/Kconfig
> +++ b/arch/powerpc/platforms/pasemi/Kconfig
> @@ -5,6 +5,7 @@ config PPC_PASEMI
> select MPIC
> select PPC_UDBG_16550
> select PPC_NATIVE
> + select MPIC_BROKEN_REGREAD
> help
> This option enables support for PA Semi's PWRficient line
> of SoC processors, including PA6T-1682M
Since you are using select (and not default y), instead of the depends
on PPC_PASEMI how about adding a short description of what the config
does as help text, in case some future mpic has a similar bug?
milton
More information about the Linuxppc-dev
mailing list