Re: [PATCHv2 2/3] ARM: Detect support for SDIV/UDIV from ISAR0 register

2013-04-18 Thread Uwe Kleine-König
Hello Stephen, On Mon, Mar 18, 2013 at 11:28:56AM -0700, Stephen Boyd wrote: > The ISAR0 register indicates support for the SDIV and UDIV > instructions in both the Thumb and ARM instruction set. Read the > register to detect the supported instructions and update the > elf_hwcap mask as appropriat

[PATCHv2 2/3] ARM: Detect support for SDIV/UDIV from ISAR0 register

2013-03-18 Thread Stephen Boyd
The ISAR0 register indicates support for the SDIV and UDIV instructions in both the Thumb and ARM instruction set. Read the register to detect the supported instructions and update the elf_hwcap mask as appropriate. This is better than adding more and more cpuid checks in proc-v7.S for each new cpu