mbox series

[GIT,PULL] arm64: Second round of fixes for -rc2

Message ID 20190524174357.GC9120@fuggles.cambridge.arm.com (mailing list archive)
State Mainlined, archived
Commit edbcf50eb8aea5f81ae6d83bb969cb0bc02805a1
Headers show
Series [GIT,PULL] arm64: Second round of fixes for -rc2 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes

Message

Will Deacon May 24, 2019, 5:43 p.m. UTC
Hi Linus,

As promised, here's the second round of arm64 fixes for -rc2, based on
-rc1. Details in the tag. The ACPI/IORT build fix is pretty big in the
diffstat, but it's really just the result of code movement to ensure
that the functions are guarded correctly when !CONFIG_IOMMU_SUPPORT.

Please pull.

Cheers,

Will

--->8

The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

  Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes

for you to fetch changes up to edbcf50eb8aea5f81ae6d83bb969cb0bc02805a1:

  arm64: insn: Add BUILD_BUG_ON() for invalid masks (2019-05-24 14:58:30 +0100)

----------------------------------------------------------------
Second round of arm64 fixes for -rc2

- Fix incorrect LDADD instruction encoding in our disassembly macros

- Disable the broken ARM64_PSEUDO_NMI support for now

- Add workaround for Cortex-A76 CPU erratum #1463225

- Handle Cortex-A76/Neoverse-N1 erratum #1418040 w/ existing workaround

- Fix IORT build failure if IOMMU_SUPPORT=n

- Fix place-relative module relocation range checking and its
  interaction with KASLR

----------------------------------------------------------------
Ard Biesheuvel (2):
      arm64/kernel: kaslr: reduce module randomization range to 2 GB
      arm64/module: deal with ambiguity in PRELxx relocation ranges

Jean-Philippe Brucker (2):
      arm64: insn: Fix ldadd instruction encoding
      arm64: insn: Add BUILD_BUG_ON() for invalid masks

Lorenzo Pieralisi (1):
      ACPI/IORT: Fix build error when IOMMU_SUPPORT is disabled

Marc Zyngier (1):
      arm64: Handle erratum 1418040 as a superset of erratum 1188873

Will Deacon (3):
      arm64: Remove useless message during oops
      arm64: errata: Add workaround for Cortex-A76 erratum #1463225
      arm64: Kconfig: Make ARM64_PSEUDO_NMI depend on BROKEN for now

 Documentation/arm64/silicon-errata.txt |   9 +-
 arch/arm64/Kconfig                     |  26 +++-
 arch/arm64/include/asm/cpucaps.h       |   5 +-
 arch/arm64/include/asm/insn.h          |  18 ++-
 arch/arm64/kernel/cpu_errata.c         |  48 +++++--
 arch/arm64/kernel/entry.S              |   4 +-
 arch/arm64/kernel/kaslr.c              |   6 +-
 arch/arm64/kernel/module.c             |  18 ++-
 arch/arm64/kernel/syscall.c            |  31 +++++
 arch/arm64/kernel/traps.c              |   4 -
 arch/arm64/mm/fault.c                  |  33 +++++
 drivers/acpi/arm64/iort.c              | 238 +++++++++++++++++----------------
 12 files changed, 284 insertions(+), 156 deletions(-)

Comments

Linus Torvalds May 24, 2019, 6:14 p.m. UTC | #1
Only tangentially relevant to this pull request:

On Fri, May 24, 2019 at 10:44 AM Will Deacon <will.deacon@arm.com> wrote:
>
> - Add workaround for Cortex-A76 CPU erratum #1463225
> - Handle Cortex-A76/Neoverse-N1 erratum #1418040 w/ existing workaround

could you perhaps talk to somebody inside ARM about making the errata
documentation publicly available?

I'm not sure why it seems to want an account at arm.com, and as a
result some pretty fundamental development tools ("let me google
that") don't work.

                 Linus
Will Deacon May 24, 2019, 6:19 p.m. UTC | #2
On Fri, May 24, 2019 at 11:14:02AM -0700, Linus Torvalds wrote:
> Only tangentially relevant to this pull request:
> 
> On Fri, May 24, 2019 at 10:44 AM Will Deacon <will.deacon@arm.com> wrote:
> >
> > - Add workaround for Cortex-A76 CPU erratum #1463225
> > - Handle Cortex-A76/Neoverse-N1 erratum #1418040 w/ existing workaround
> 
> could you perhaps talk to somebody inside ARM about making the errata
> documentation publicly available?
> 
> I'm not sure why it seems to want an account at arm.com, and as a
> result some pretty fundamental development tools ("let me google
> that") don't work.

We recently removed a whole bunch of click-through/registration things
for our documentation, so I'm surprised that it's still the case for
the errata document (but it does appear to be).

I'll see if this can be fixed. After all, we end up descibing the thing
in the Kconfig text anyway...

Cheers,

Will
pr-tracker-bot@kernel.org May 24, 2019, 6:20 p.m. UTC | #3
The pull request you sent on Fri, 24 May 2019 18:43:57 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0a72ef89901409847036664c23ba6eee7cf08e0e

Thank you!
Will Deacon Aug. 20, 2019, 9:37 a.m. UTC | #4
On Fri, May 24, 2019 at 11:14:02AM -0700, Linus Torvalds wrote:
> Only tangentially relevant to this pull request:
> 
> On Fri, May 24, 2019 at 10:44 AM Will Deacon <will.deacon@arm.com> wrote:
> >
> > - Add workaround for Cortex-A76 CPU erratum #1463225
> > - Handle Cortex-A76/Neoverse-N1 erratum #1418040 w/ existing workaround
> 
> could you perhaps talk to somebody inside ARM about making the errata
> documentation publicly available?
> 
> I'm not sure why it seems to want an account at arm.com, and as a
> result some pretty fundamental development tools ("let me google
> that") don't work.

Thanks to the tech comms folks at Arm, this should now be available and
work is ongoing to open up more of the documentation too.

For example, the A76 SDEN is here:

	https://static.docs.arm.com/sden885749/d/Arm_Cortex-A76_MP052_Software_Developer_Errata_Notice_v16.0.pdf

and if you hammer "cortex a76 1463225" into google, then it shows up
after the Linux hits.

Will
Linus Torvalds Aug. 20, 2019, 6:18 p.m. UTC | #5
On Tue, Aug 20, 2019 at 2:37 AM Will Deacon <will.deacon@arm.com> wrote:
>
> Thanks to the tech comms folks at Arm, this should now be available and
> work is ongoing to open up more of the documentation too.

Thanks.

> For example, the A76 SDEN is here:
>
>         https://static.docs.arm.com/sden885749/d/Arm_Cortex-A76_MP052_Software_Developer_Errata_Notice_v16.0.pdf
>
> and if you hammer "cortex a76 1463225" into google, then it shows up
> after the Linux hits.

Yeah, I have long since given up on trying to keep track of everything
going on, which is why "google finds it" is important to me. And I
verified that yes, now google finds the ARM errata ;)

Lovely,

             Linus