mbox series

[00/12] Convert WAR defines to config options

Message ID 20200824163257.44533-1-tsbogend@alpha.franken.de (mailing list archive)
Headers show
Series Convert WAR defines to config options | expand

Message

Thomas Bogendoerfer Aug. 24, 2020, 4:32 p.m. UTC
This patches convert workaround (WAR) defines into config options and
gets rid of mach-*/war.h files.

Thomas Bogendoerfer (12):
  MIPS: Convert R4600_V1_INDEX_ICACHEOP into a config option
  MIPS: Convert R4600_V1_HIT_CACHEOP into a config option
  MIPS: Convert R4600_V2_HIT_CACHEOP into a config option
  MIPS: Remove MIPS4K_ICACHE_REFILL_WAR and MIPS_CACHE_SYNC_WAR
  MIPS: Convert TX49XX_ICACHE_INDEX_INV into a config option
  MIPS: Convert ICACHE_REFILLS_WORKAROUND_WAR into a config option
  MIPS: Convert R10000_LLSC_WAR info a config option
  MIPS: Convert MIPS34K_MISSED_ITLB_WAR into a config option
  MIPS: Replace SIBYTE_1956_WAR by CONFIG_SB1_PASS_2_WORKAROUNDS
  MIPS: Get rid of BCM1250_M3_WAR
  MIPS: Get rid of CAVIUM_OCTEON_DCACHE_PREFETCH_WAR
  MIPS: Remove mach-*/war.h

 arch/mips/Kconfig                              |  80 +++++++++++++
 arch/mips/cavium-octeon/setup.c                |   2 +-
 arch/mips/include/asm/futex.h                  |   4 +-
 arch/mips/include/asm/llsc.h                   |   2 +-
 arch/mips/include/asm/local.h                  |   4 +-
 arch/mips/include/asm/mach-cavium-octeon/war.h |  27 -----
 arch/mips/include/asm/mach-generic/war.h       |  23 ----
 arch/mips/include/asm/mach-ip22/war.h          |  27 -----
 arch/mips/include/asm/mach-ip27/war.h          |  23 ----
 arch/mips/include/asm/mach-ip28/war.h          |  23 ----
 arch/mips/include/asm/mach-ip30/war.h          |  24 ----
 arch/mips/include/asm/mach-ip32/war.h          |  23 ----
 arch/mips/include/asm/mach-malta/war.h         |  23 ----
 arch/mips/include/asm/mach-rc32434/war.h       |  23 ----
 arch/mips/include/asm/mach-rm/war.h            |  27 -----
 arch/mips/include/asm/mach-sibyte/war.h        |  38 -------
 arch/mips/include/asm/mach-tx49xx/war.h        |  23 ----
 arch/mips/include/asm/mipsregs.h               |   4 +-
 arch/mips/include/asm/war.h                    | 150 -------------------------
 arch/mips/kernel/signal.c                      |   8 +-
 arch/mips/kernel/syscall.c                     |   2 +-
 arch/mips/mm/c-r4k.c                           |  17 +--
 arch/mips/mm/page.c                            |  16 ++-
 arch/mips/mm/tlbex.c                           |   8 +-
 arch/mips/mm/uasm.c                            |   2 +-
 drivers/tty/serial/sb1250-duart.c              |   9 +-
 26 files changed, 127 insertions(+), 485 deletions(-)
 delete mode 100644 arch/mips/include/asm/mach-cavium-octeon/war.h
 delete mode 100644 arch/mips/include/asm/mach-generic/war.h
 delete mode 100644 arch/mips/include/asm/mach-ip22/war.h
 delete mode 100644 arch/mips/include/asm/mach-ip27/war.h
 delete mode 100644 arch/mips/include/asm/mach-ip28/war.h
 delete mode 100644 arch/mips/include/asm/mach-ip30/war.h
 delete mode 100644 arch/mips/include/asm/mach-ip32/war.h
 delete mode 100644 arch/mips/include/asm/mach-malta/war.h
 delete mode 100644 arch/mips/include/asm/mach-rc32434/war.h
 delete mode 100644 arch/mips/include/asm/mach-rm/war.h
 delete mode 100644 arch/mips/include/asm/mach-sibyte/war.h
 delete mode 100644 arch/mips/include/asm/mach-tx49xx/war.h

Comments

Florian Fainelli Aug. 24, 2020, 5:10 p.m. UTC | #1
On 8/24/20 9:32 AM, Thomas Bogendoerfer wrote:
> This patches convert workaround (WAR) defines into config options and
> gets rid of mach-*/war.h files.

Most (all but octeon?) of those platforms are not particularly popular
or widespread, but is not this going to make it harder for distributions
and people doing CI by having an explosion in the number of
configurations to test?
Thomas Bogendoerfer Aug. 24, 2020, 5:28 p.m. UTC | #2
On Mon, Aug 24, 2020 at 10:10:07AM -0700, Florian Fainelli wrote:
> On 8/24/20 9:32 AM, Thomas Bogendoerfer wrote:
> > This patches convert workaround (WAR) defines into config options and
> > gets rid of mach-*/war.h files.
> 
> Most (all but octeon?) of those platforms are not particularly popular
> or widespread, but is not this going to make it harder for distributions
> and people doing CI by having an explosion in the number of
> configurations to test?

all options are only selected by arch/mips/Kconfig, so nothing should
change for any CI.

Thomas.
Florian Fainelli Aug. 24, 2020, 8:37 p.m. UTC | #3
On 8/24/20 10:28 AM, Thomas Bogendoerfer wrote:
> On Mon, Aug 24, 2020 at 10:10:07AM -0700, Florian Fainelli wrote:
>> On 8/24/20 9:32 AM, Thomas Bogendoerfer wrote:
>>> This patches convert workaround (WAR) defines into config options and
>>> gets rid of mach-*/war.h files.
>>
>> Most (all but octeon?) of those platforms are not particularly popular
>> or widespread, but is not this going to make it harder for distributions
>> and people doing CI by having an explosion in the number of
>> configurations to test?
> 
> all options are only selected by arch/mips/Kconfig, so nothing should
> change for any CI.

OK, had missed that part, thanks.
Thomas Bogendoerfer Sept. 9, 2020, 12:10 p.m. UTC | #4
On Mon, Aug 24, 2020 at 06:32:42PM +0200, Thomas Bogendoerfer wrote:
> This patches convert workaround (WAR) defines into config options and
> gets rid of mach-*/war.h files.
> 
> Thomas Bogendoerfer (12):
>   MIPS: Convert R4600_V1_INDEX_ICACHEOP into a config option
>   MIPS: Convert R4600_V1_HIT_CACHEOP into a config option
>   MIPS: Convert R4600_V2_HIT_CACHEOP into a config option
>   MIPS: Remove MIPS4K_ICACHE_REFILL_WAR and MIPS_CACHE_SYNC_WAR
>   MIPS: Convert TX49XX_ICACHE_INDEX_INV into a config option
>   MIPS: Convert ICACHE_REFILLS_WORKAROUND_WAR into a config option
>   MIPS: Convert R10000_LLSC_WAR info a config option
>   MIPS: Convert MIPS34K_MISSED_ITLB_WAR into a config option
>   MIPS: Replace SIBYTE_1956_WAR by CONFIG_SB1_PASS_2_WORKAROUNDS
>   MIPS: Get rid of BCM1250_M3_WAR
>   MIPS: Get rid of CAVIUM_OCTEON_DCACHE_PREFETCH_WAR
>   MIPS: Remove mach-*/war.h
> 
>  arch/mips/Kconfig                              |  80 +++++++++++++
>  arch/mips/cavium-octeon/setup.c                |   2 +-
>  arch/mips/include/asm/futex.h                  |   4 +-
>  arch/mips/include/asm/llsc.h                   |   2 +-
>  arch/mips/include/asm/local.h                  |   4 +-
>  arch/mips/include/asm/mach-cavium-octeon/war.h |  27 -----
>  arch/mips/include/asm/mach-generic/war.h       |  23 ----
>  arch/mips/include/asm/mach-ip22/war.h          |  27 -----
>  arch/mips/include/asm/mach-ip27/war.h          |  23 ----
>  arch/mips/include/asm/mach-ip28/war.h          |  23 ----
>  arch/mips/include/asm/mach-ip30/war.h          |  24 ----
>  arch/mips/include/asm/mach-ip32/war.h          |  23 ----
>  arch/mips/include/asm/mach-malta/war.h         |  23 ----
>  arch/mips/include/asm/mach-rc32434/war.h       |  23 ----
>  arch/mips/include/asm/mach-rm/war.h            |  27 -----
>  arch/mips/include/asm/mach-sibyte/war.h        |  38 -------
>  arch/mips/include/asm/mach-tx49xx/war.h        |  23 ----
>  arch/mips/include/asm/mipsregs.h               |   4 +-
>  arch/mips/include/asm/war.h                    | 150 -------------------------
>  arch/mips/kernel/signal.c                      |   8 +-
>  arch/mips/kernel/syscall.c                     |   2 +-
>  arch/mips/mm/c-r4k.c                           |  17 +--
>  arch/mips/mm/page.c                            |  16 ++-
>  arch/mips/mm/tlbex.c                           |   8 +-
>  arch/mips/mm/uasm.c                            |   2 +-
>  drivers/tty/serial/sb1250-duart.c              |   9 +-
>  26 files changed, 127 insertions(+), 485 deletions(-)
>  delete mode 100644 arch/mips/include/asm/mach-cavium-octeon/war.h
>  delete mode 100644 arch/mips/include/asm/mach-generic/war.h
>  delete mode 100644 arch/mips/include/asm/mach-ip22/war.h
>  delete mode 100644 arch/mips/include/asm/mach-ip27/war.h
>  delete mode 100644 arch/mips/include/asm/mach-ip28/war.h
>  delete mode 100644 arch/mips/include/asm/mach-ip30/war.h
>  delete mode 100644 arch/mips/include/asm/mach-ip32/war.h
>  delete mode 100644 arch/mips/include/asm/mach-malta/war.h
>  delete mode 100644 arch/mips/include/asm/mach-rc32434/war.h
>  delete mode 100644 arch/mips/include/asm/mach-rm/war.h
>  delete mode 100644 arch/mips/include/asm/mach-sibyte/war.h
>  delete mode 100644 arch/mips/include/asm/mach-tx49xx/war.h

series applied to mips-next.

Thomas.