[PATCH 4.9 00/24] 4.9.306-rc1 review

Greg Kroah-Hartman posted 24 patches 4 years, 3 months ago
Documentation/hw-vuln/index.rst          |   1 +
Documentation/hw-vuln/spectre.rst        | 785 +++++++++++++++++++++++++++++++
Documentation/kernel-parameters.txt      |   8 +-
Makefile                                 |   4 +-
arch/arm/include/asm/assembler.h         |  10 +
arch/arm/include/asm/spectre.h           |  32 ++
arch/arm/kernel/Makefile                 |   2 +
arch/arm/kernel/entry-armv.S             |  79 +++-
arch/arm/kernel/entry-common.S           |  24 +
arch/arm/kernel/spectre.c                |  71 +++
arch/arm/kernel/traps.c                  |  65 ++-
arch/arm/kernel/vmlinux-xip.lds.S        |  37 +-
arch/arm/kernel/vmlinux.lds.S            |  37 +-
arch/arm/mm/Kconfig                      |  11 +
arch/arm/mm/proc-v7-bugs.c               | 198 ++++++--
arch/x86/Kconfig                         |   4 -
arch/x86/Makefile                        |   5 +-
arch/x86/include/asm/cpufeatures.h       |   2 +-
arch/x86/include/asm/nospec-branch.h     |  41 +-
arch/x86/kernel/cpu/bugs.c               | 223 ++++++---
drivers/firmware/psci.c                  |  15 +
include/linux/arm-smccc.h                |  74 +++
include/linux/bpf.h                      |  11 +
kernel/sysctl.c                          |   8 +
tools/arch/x86/include/asm/cpufeatures.h |   2 +-
25 files changed, 1596 insertions(+), 153 deletions(-)
[PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Greg Kroah-Hartman 4 years, 3 months ago
This is the start of the stable review cycle for the 4.9.306 release.
There are 24 patches in this series, all will be posted as a response
to this one.  If anyone has any issues with these being applied, please
let me know.

Responses should be made by Fri, 11 Mar 2022 15:58:48 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
	https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.306-rc1.gz
or in the git tree and branch at:
	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Linux 4.9.306-rc1

Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
    ARM: fix build error when BPF_SYSCALL is disabled

Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    ARM: include unprivileged BPF status in Spectre V2 reporting

Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    ARM: Spectre-BHB workaround

Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    ARM: use LOADADDR() to get load address of sections

Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    ARM: early traps initialisation

Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    ARM: report Spectre v2 status through sysfs

Mark Rutland <mark.rutland@arm.com>
    arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit()

Steven Price <steven.price@arm.com>
    arm/arm64: Provide a wrapper for SMCCC 1.1 calls

Josh Poimboeuf <jpoimboe@redhat.com>
    x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT

Josh Poimboeuf <jpoimboe@redhat.com>
    x86/speculation: Warn about Spectre v2 LFENCE mitigation

Kim Phillips <kim.phillips@amd.com>
    x86/speculation: Update link to AMD speculation whitepaper

Kim Phillips <kim.phillips@amd.com>
    x86/speculation: Use generic retpoline by default on AMD

Josh Poimboeuf <jpoimboe@redhat.com>
    x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting

Peter Zijlstra <peterz@infradead.org>
    Documentation/hw-vuln: Update spectre doc

Peter Zijlstra <peterz@infradead.org>
    x86/speculation: Add eIBRS + Retpoline options

Peter Zijlstra (Intel) <peterz@infradead.org>
    x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE

Peter Zijlstra <peterz@infradead.org>
    x86,bugs: Unconditionally allow spectre_v2=retpoline,amd

Borislav Petkov <bp@suse.de>
    x86/speculation: Merge one test in spectre_v2_user_select_mitigation()

Lukas Bulwahn <lukas.bulwahn@gmail.com>
    Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization

Josh Poimboeuf <jpoimboe@redhat.com>
    Documentation: Add swapgs description to the Spectre v1 documentation

Tim Chen <tim.c.chen@linux.intel.com>
    Documentation: Add section about CPU vulnerabilities for Spectre

Zhenzhong Duan <zhenzhong.duan@oracle.com>
    x86/retpoline: Remove minimal retpoline support

Zhenzhong Duan <zhenzhong.duan@oracle.com>
    x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support

Zhenzhong Duan <zhenzhong.duan@oracle.com>
    x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant


-------------

Diffstat:

 Documentation/hw-vuln/index.rst          |   1 +
 Documentation/hw-vuln/spectre.rst        | 785 +++++++++++++++++++++++++++++++
 Documentation/kernel-parameters.txt      |   8 +-
 Makefile                                 |   4 +-
 arch/arm/include/asm/assembler.h         |  10 +
 arch/arm/include/asm/spectre.h           |  32 ++
 arch/arm/kernel/Makefile                 |   2 +
 arch/arm/kernel/entry-armv.S             |  79 +++-
 arch/arm/kernel/entry-common.S           |  24 +
 arch/arm/kernel/spectre.c                |  71 +++
 arch/arm/kernel/traps.c                  |  65 ++-
 arch/arm/kernel/vmlinux-xip.lds.S        |  37 +-
 arch/arm/kernel/vmlinux.lds.S            |  37 +-
 arch/arm/mm/Kconfig                      |  11 +
 arch/arm/mm/proc-v7-bugs.c               | 198 ++++++--
 arch/x86/Kconfig                         |   4 -
 arch/x86/Makefile                        |   5 +-
 arch/x86/include/asm/cpufeatures.h       |   2 +-
 arch/x86/include/asm/nospec-branch.h     |  41 +-
 arch/x86/kernel/cpu/bugs.c               | 223 ++++++---
 drivers/firmware/psci.c                  |  15 +
 include/linux/arm-smccc.h                |  74 +++
 include/linux/bpf.h                      |  11 +
 kernel/sysctl.c                          |   8 +
 tools/arch/x86/include/asm/cpufeatures.h |   2 +-
 25 files changed, 1596 insertions(+), 153 deletions(-)
Re: [PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Florian Fainelli 4 years, 3 months ago

On 3/9/2022 7:59 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.9.306 release.
> There are 24 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Fri, 11 Mar 2022 15:58:48 +0000.
> Anything received after that time might be too late.
> 
> The whole patch series can be found in one patch at:
> 	https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.306-rc1.gz
> or in the git tree and branch at:
> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h

On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels:

Tested-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Re: [PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Pavel Machek 4 years, 3 months ago
Hi!

> This is the start of the stable review cycle for the 4.9.306 release.
> There are 24 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.

We started testing 4.9 and see same problems as other people:

https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/tree/linux-4.9.y                   

Yes, this means we'll test 4.9 going forward. There are still some
failures due to missing configs, those should get fixed soon.

Best regards,
                                                                Pavel

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Re: [PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Daniel Díaz 4 years, 3 months ago
Hello!

On 09/03/22 09:59, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.9.306 release.
> There are 24 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Fri, 11 Mar 2022 15:58:48 +0000.
> Anything received after that time might be too late.
> 
> The whole patch series can be found in one patch at:
> 	https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.306-rc1.gz
> or in the git tree and branch at:
> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h

Regressions found.

The following Arm combinations fail to build:
- arm-gcc-8-bcm2835_defconfig
- arm-gcc-8-imx_v6_v7_defconfig
- arm-gcc-8-omap2plus_defconfig
- arm-gcc-9-bcm2835_defconfig
- arm-gcc-9-imx_v6_v7_defconfig
- arm-gcc-9-omap2plus_defconfig
- arm-gcc-10-bcm2835_defconfig
- arm-gcc-10-imx_v6_v7_defconfig
- arm-gcc-10-omap2plus_defconfig
- arm-gcc-11-bcm2835_defconfig
- arm-gcc-11-imx_v6_v7_defconfig
- arm-gcc-11-omap2plus_defconfig

Messages look like this:

   /builds/linux/arch/arm/kernel/entry-common.S: Assembler messages:
   /builds/linux/arch/arm/kernel/entry-common.S:155: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/kernel/entry-common.S:164: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/kernel/entry-common.o] Error 1
   /builds/linux/arch/arm/kernel/entry-armv.S: Assembler messages:
   /builds/linux/arch/arm/kernel/entry-armv.S:1124: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/kernel/entry-armv.S:1147: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/kernel/entry-armv.S:1170: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/kernel/entry-armv.S:1193: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/kernel/entry-armv.S:1232: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/kernel/entry-armv.o] Error 1
   /builds/linux/arch/arm/mm/cache-v7.S: Assembler messages:
   /builds/linux/arch/arm/mm/cache-v7.S:63: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/mm/cache-v7.S:136: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/mm/cache-v7.S:170: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/mm/cache-v7.S:298: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/mm/cache-v7.o] Error 1
   /builds/linux/arch/arm/mm/tlb-v7.S: Assembler messages:
   /builds/linux/arch/arm/mm/tlb-v7.S:88: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/mm/tlb-v7.o] Error 1
   /builds/linux/arch/arm/mm/proc-v7-2level.S: Assembler messages:
   /builds/linux/arch/arm/mm/proc-v7-2level.S:58: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/mm/proc-v7-2level.S:60: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   /builds/linux/arch/arm/mm/proc-v7.S:61: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
   make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/mm/proc-v7.o] Error 1
   make[2]: Target '__build' not remade because of errors.


Greetings!

Daniel Díaz
daniel.diaz@linaro.org
Re: [PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Daniel Díaz 4 years, 3 months ago
Hello!

On 09/03/22 12:40, Daniel Díaz wrote:
> Hello!
> 
> On 09/03/22 09:59, Greg Kroah-Hartman wrote:
>> This is the start of the stable review cycle for the 4.9.306 release.
>> There are 24 patches in this series, all will be posted as a response
>> to this one.  If anyone has any issues with these being applied, please
>> let me know.
>>
>> Responses should be made by Fri, 11 Mar 2022 15:58:48 +0000.
>> Anything received after that time might be too late.
>>
>> The whole patch series can be found in one patch at:
>>     https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.306-rc1.gz
>> or in the git tree and branch at:
>>     git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
>> and the diffstat can be found below.
>>
>> thanks,
>>
>> greg k-h
> 
> Regressions found.
> 
> The following Arm combinations fail to build:
> - arm-gcc-8-bcm2835_defconfig
> - arm-gcc-8-imx_v6_v7_defconfig
> - arm-gcc-8-omap2plus_defconfig
> - arm-gcc-9-bcm2835_defconfig
> - arm-gcc-9-imx_v6_v7_defconfig
> - arm-gcc-9-omap2plus_defconfig
> - arm-gcc-10-bcm2835_defconfig
> - arm-gcc-10-imx_v6_v7_defconfig
> - arm-gcc-10-omap2plus_defconfig
> - arm-gcc-11-bcm2835_defconfig
> - arm-gcc-11-imx_v6_v7_defconfig
> - arm-gcc-11-omap2plus_defconfig
> 
> Messages look like this:
> 
>    /builds/linux/arch/arm/kernel/entry-common.S: Assembler messages:
>    /builds/linux/arch/arm/kernel/entry-common.S:155: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/kernel/entry-common.S:164: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/kernel/entry-common.o] Error 1
>    /builds/linux/arch/arm/kernel/entry-armv.S: Assembler messages:
>    /builds/linux/arch/arm/kernel/entry-armv.S:1124: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/kernel/entry-armv.S:1147: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/kernel/entry-armv.S:1170: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/kernel/entry-armv.S:1193: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/kernel/entry-armv.S:1232: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/kernel/entry-armv.o] Error 1
>    /builds/linux/arch/arm/mm/cache-v7.S: Assembler messages:
>    /builds/linux/arch/arm/mm/cache-v7.S:63: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/mm/cache-v7.S:136: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/mm/cache-v7.S:170: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/mm/cache-v7.S:298: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/mm/cache-v7.o] Error 1
>    /builds/linux/arch/arm/mm/tlb-v7.S: Assembler messages:
>    /builds/linux/arch/arm/mm/tlb-v7.S:88: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/mm/tlb-v7.o] Error 1
>    /builds/linux/arch/arm/mm/proc-v7-2level.S: Assembler messages:
>    /builds/linux/arch/arm/mm/proc-v7-2level.S:58: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/mm/proc-v7-2level.S:60: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    /builds/linux/arch/arm/mm/proc-v7.S:61: Error: co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: arch/arm/mm/proc-v7.o] Error 1
>    make[2]: Target '__build' not remade because of errors.

Here's what the bisection throws for this one:

# bad: [2ef7c55895217efa8183111969710960a529d3cd] Linux 4.9.306-rc1
# good: [41b13534ea8aa554d4e987650e24da5510258752] ARM: use LOADADDR() to get load address of sections
git bisect start '2ef7c55895217efa8183111969710960a529d3cd' '41b13534ea8aa554d4e987650e24da5510258752'
# bad: [fd723e642aacb60567beda736ebb062db44b8349] ARM: include unprivileged BPF status in Spectre V2 reporting
git bisect bad fd723e642aacb60567beda736ebb062db44b8349
# bad: [d0002ea56072220ddab72bb6e31a32350c01b44e] ARM: Spectre-BHB workaround
git bisect bad d0002ea56072220ddab72bb6e31a32350c01b44e
# first bad commit: [d0002ea56072220ddab72bb6e31a32350c01b44e] ARM: Spectre-BHB workaround
commit d0002ea56072220ddab72bb6e31a32350c01b44e
Author: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Date:   Thu Feb 10 16:05:45 2022 +0000
     ARM: Spectre-BHB workaround
     
     comomit b9baf5c8c5c356757f4f9d8180b5e9d234065bc3 upstream.
     
     Workaround the Spectre BHB issues for Cortex-A15, Cortex-A57,
     Cortex-A72, Cortex-A73 and Cortex-A75. We also include Brahma B15 as
     well to be safe, which is affected by Spectre V2 in the same ways as
     Cortex-A15.
     
     Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
     Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
     [changes due to lack of SYSTEM_FREEING_INITMEM - gregkh]
     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  arch/arm/include/asm/assembler.h  | 10 +++++
  arch/arm/include/asm/spectre.h    |  4 ++
  arch/arm/kernel/entry-armv.S      | 79 ++++++++++++++++++++++++++++++++++++---
  arch/arm/kernel/entry-common.S    | 24 ++++++++++++
  arch/arm/kernel/spectre.c         |  4 ++
  arch/arm/kernel/traps.c           | 38 +++++++++++++++++++
  arch/arm/kernel/vmlinux-xip.lds.S | 18 +++++++--
  arch/arm/kernel/vmlinux.lds.S     | 18 +++++++--
  arch/arm/mm/Kconfig               | 10 +++++
  arch/arm/mm/proc-v7-bugs.c        | 76 +++++++++++++++++++++++++++++++++++++
  10 files changed, 269 insertions(+), 12 deletions(-)


Reverting made the build pass.

Greetings!

Daniel Díaz
daniel.diaz@linaro.org
Re: [PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Florian Fainelli 4 years, 3 months ago

On 3/9/2022 11:18 AM, Daniel Díaz wrote:
> Hello!
> 
> On 09/03/22 12:40, Daniel Díaz wrote:
>> Hello!
>>
>> On 09/03/22 09:59, Greg Kroah-Hartman wrote:
>>> This is the start of the stable review cycle for the 4.9.306 release.
>>> There are 24 patches in this series, all will be posted as a response
>>> to this one.  If anyone has any issues with these being applied, please
>>> let me know.
>>>
>>> Responses should be made by Fri, 11 Mar 2022 15:58:48 +0000.
>>> Anything received after that time might be too late.
>>>
>>> The whole patch series can be found in one patch at:
>>>     https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.306-rc1.gz 
>>>
>>> or in the git tree and branch at:
>>>     git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git 
>>> linux-4.9.y
>>> and the diffstat can be found below.
>>>
>>> thanks,
>>>
>>> greg k-h
>>
>> Regressions found.
>>
>> The following Arm combinations fail to build:
>> - arm-gcc-8-bcm2835_defconfig
>> - arm-gcc-8-imx_v6_v7_defconfig
>> - arm-gcc-8-omap2plus_defconfig
>> - arm-gcc-9-bcm2835_defconfig
>> - arm-gcc-9-imx_v6_v7_defconfig
>> - arm-gcc-9-omap2plus_defconfig
>> - arm-gcc-10-bcm2835_defconfig
>> - arm-gcc-10-imx_v6_v7_defconfig
>> - arm-gcc-10-omap2plus_defconfig
>> - arm-gcc-11-bcm2835_defconfig
>> - arm-gcc-11-imx_v6_v7_defconfig
>> - arm-gcc-11-omap2plus_defconfig
>>
>> Messages look like this:
>>
>>    /builds/linux/arch/arm/kernel/entry-common.S: Assembler messages:
>>    /builds/linux/arch/arm/kernel/entry-common.S:155: Error: 
>> co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/kernel/entry-common.S:164: Error: 
>> co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: 
>> arch/arm/kernel/entry-common.o] Error 1
>>    /builds/linux/arch/arm/kernel/entry-armv.S: Assembler messages:
>>    /builds/linux/arch/arm/kernel/entry-armv.S:1124: Error: 
>> co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/kernel/entry-armv.S:1147: Error: 
>> co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/kernel/entry-armv.S:1170: Error: 
>> co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/kernel/entry-armv.S:1193: Error: 
>> co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/kernel/entry-armv.S:1232: Error: 
>> co-processor register expected -- `mcr p15,0,r0,c7,r5,4'
>>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: 
>> arch/arm/kernel/entry-armv.o] Error 1
>>    /builds/linux/arch/arm/mm/cache-v7.S: Assembler messages:
>>    /builds/linux/arch/arm/mm/cache-v7.S:63: Error: co-processor 
>> register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/mm/cache-v7.S:136: Error: co-processor 
>> register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/mm/cache-v7.S:170: Error: co-processor 
>> register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/mm/cache-v7.S:298: Error: co-processor 
>> register expected -- `mcr p15,0,r0,c7,r5,4'
>>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: 
>> arch/arm/mm/cache-v7.o] Error 1
>>    /builds/linux/arch/arm/mm/tlb-v7.S: Assembler messages:
>>    /builds/linux/arch/arm/mm/tlb-v7.S:88: Error: co-processor register 
>> expected -- `mcr p15,0,r0,c7,r5,4'
>>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: 
>> arch/arm/mm/tlb-v7.o] Error 1
>>    /builds/linux/arch/arm/mm/proc-v7-2level.S: Assembler messages:
>>    /builds/linux/arch/arm/mm/proc-v7-2level.S:58: Error: co-processor 
>> register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/mm/proc-v7-2level.S:60: Error: co-processor 
>> register expected -- `mcr p15,0,r0,c7,r5,4'
>>    /builds/linux/arch/arm/mm/proc-v7.S:61: Error: co-processor 
>> register expected -- `mcr p15,0,r0,c7,r5,4'
>>    make[2]: *** [/builds/linux/scripts/Makefile.build:407: 
>> arch/arm/mm/proc-v7.o] Error 1
>>    make[2]: Target '__build' not remade because of errors.
> 
> Here's what the bisection throws for this one:

Here is the fix:

https://lore.kernel.org/linux-arm-kernel/E1nS1fu-00GcNN-24@rmk-PC.armlinux.org.uk/
-- 
Florian
Re: [PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Pavel Machek 4 years, 3 months ago
Hi!

This is not breaking the build, but...

> commit d0002ea56072220ddab72bb6e31a32350c01b44e
> Author: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
> Date:   Thu Feb 10 16:05:45 2022 +0000
>     ARM: Spectre-BHB workaround

>     comomit b9baf5c8c5c356757f4f9d8180b5e9d234065bc3 upstream.

...the typo in word "commit" breaks our scripts, so we'd not mind if
it was fixed.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Re: [PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Greg Kroah-Hartman 4 years, 3 months ago
On Thu, Mar 10, 2022 at 12:41:16PM +0100, Pavel Machek wrote:
> Hi!
> 
> This is not breaking the build, but...
> 
> > commit d0002ea56072220ddab72bb6e31a32350c01b44e
> > Author: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
> > Date:   Thu Feb 10 16:05:45 2022 +0000
> >     ARM: Spectre-BHB workaround
> 
> >     comomit b9baf5c8c5c356757f4f9d8180b5e9d234065bc3 upstream.
> 
> ...the typo in word "commit" breaks our scripts, so we'd not mind if
> it was fixed.

good catch, I'll fix it up.

greg k-h
Re: [PATCH 4.9 00/24] 4.9.306-rc1 review
Posted by Shuah Khan 4 years, 3 months ago
On 3/9/22 8:59 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.9.306 release.
> There are 24 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Fri, 11 Mar 2022 15:58:48 +0000.
> Anything received after that time might be too late.
> 
> The whole patch series can be found in one patch at:
> 	https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.306-rc1.gz
> or in the git tree and branch at:
> 	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h
> 

Compiled and booted on my test system. No dmesg regressions.

Tested-by: Shuah Khan <skhan@linuxfoundation.org>

thanks,
-- Shuah