LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [GIT PULL] arm64: fixes for -rc5
@ 2018-05-11 17:30 Will Deacon
  0 siblings, 0 replies; 24+ messages in thread
From: Will Deacon @ 2018-05-11 17:30 UTC (permalink / raw)
  To: torvalds; +Cc: catalin.marinas, linux-arm-kernel, linux-kernel

Hi Linus,

Please pull these arm64 fixes for -rc5. There's a small memblock accounting
problem when freeing the initrd and a Spectre-v2 mitigation for NVIDIA Denver
CPUs which just requires a match on the CPU ID register.

Thanks,

Will

--->8

The following changes since commit 6da6c0db5316275015e8cc2959f12a17584aeb64:

  Linux v4.17-rc3 (2018-04-29 14:17:42 -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 0583a4ef05987f7e0f3a7bdd3365e5dc36ca306d:

  arm64: capabilities: Add NVIDIA Denver CPU to bp_harden list (2018-05-09 14:28:28 +0100)

----------------------------------------------------------------
arm64 fixes:

- Mitigate Spectre-v2 for NVIDIA Denver CPUs

- Free memblocks corresponding to freed initrd area

----------------------------------------------------------------
CHANDAN VN (1):
      arm64: To remove initrd reserved area entry from memblock

David Gilhooley (2):
      arm64: Add MIDR encoding for NVIDIA CPUs
      arm64: capabilities: Add NVIDIA Denver CPU to bp_harden list

 arch/arm64/include/asm/cputype.h | 6 ++++++
 arch/arm64/kernel/cpu_errata.c   | 1 +
 arch/arm64/mm/init.c             | 4 +++-
 3 files changed, 10 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64 fixes for -rc5
  2022-09-11 11:37 [GIT PULL] arm64 " Will Deacon
@ 2022-09-11 19:36 ` pr-tracker-bot
  0 siblings, 0 replies; 24+ messages in thread
From: pr-tracker-bot @ 2022-09-11 19:36 UTC (permalink / raw)
  To: Will Deacon
  Cc: torvalds, catalin.marinas, linux-arm-kernel, linux-kernel, kernel-team

The pull request you sent on Sun, 11 Sep 2022 12:37:27 +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/087aa69a9f2b2f1aaa173f976fec94058f623a9d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64 fixes for -rc5
@ 2022-09-11 11:37 Will Deacon
  2022-09-11 19:36 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Will Deacon @ 2022-09-11 11:37 UTC (permalink / raw)
  To: torvalds; +Cc: catalin.marinas, linux-arm-kernel, linux-kernel, kernel-team

Hi Linus,

When you get a moment, please can you pull these three small arm64 fixes?
They're all related to optional architecture extensions: BTI, SME and
52-bit virtual addressing.

Summary in the tag.

Cheers,

Will

--->8

The following changes since commit 5fbc49cef91916140a305f22f7430e9a7ea0c6b4:

  arm64: mm: Reserve enough pages for the initial ID map (2022-09-01 12:02:39 +0100)

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 3fe3fd5f30720b4afd3345cc186808125e7f5848:

  arm64: mm: fix resume for 52-bit enabled builds (2022-09-10 14:46:28 +0100)

----------------------------------------------------------------
arm64 fixes for -rc5

- Disable in-kernel BTI when compiling with GCC, as it makes invalid
  assumptions about the distance between functions which has led to
  crashes when calling modules on a CPU with BTI support.

- Remove bogus TIF_SME flag management if memory allocation fails in the
  ptrace code.

- Fix the resume path when configured for 52-bit virtual addressing.

----------------------------------------------------------------
Joey Gouly (1):
      arm64: mm: fix resume for 52-bit enabled builds

Mark Brown (2):
      arm64/bti: Disable in kernel BTI when cross section thunks are broken
      arm64/ptrace: Don't clear calling process' TIF_SME on OOM

 arch/arm64/Kconfig         | 2 ++
 arch/arm64/kernel/ptrace.c | 2 --
 arch/arm64/kernel/sleep.S  | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64 fixes for -rc5
  2021-08-06 18:40 ` Linus Torvalds
@ 2021-08-09 10:52   ` Will Deacon
  0 siblings, 0 replies; 24+ messages in thread
From: Will Deacon @ 2021-08-09 10:52 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Catalin Marinas, Linux ARM, Linux Kernel Mailing List,
	Android Kernel Team, mark.rutland

Hi Linus,

[+Mark]

On Fri, Aug 06, 2021 at 11:40:33AM -0700, Linus Torvalds wrote:
> On Fri, Aug 6, 2021 at 6:53 AM Will Deacon <will@kernel.org> wrote:
> >
> > Please pull these arm64 fixes for -rc5. It's all pretty minor but the
> > main fix is sorting out how we deal with return values from 32-bit system
> > calls as audit expects error codes to be sign-extended to 64 bits
> 
> I've pulled this, but that change looks _really_ odd.

Cheers, and yes it does. We're stuck in the middle of the architecture,
the compat ABI and internal kernel expectations. More below.

> First you seem to intentionally *zero-extend* the error value when you
> actually set it in pt_regs, and then you sign-extend them when reading
> them.
> 
> So the rules seem entirely arbitrary: oen place says "upper 32 bits
> need to be clear" and another place says "upper 32 bits need to be
> sign-extended".
> 
> Why this insanity? Why not make the rule be that the upper 32 bits are
> always just sign-extended?

There are a few things which collide here:

The architecture doesn't guarantee that the upper 32-bits of a 64-bit
general purpose register are preserved across an exception return to a
32-bit task. They _might_ be left intact, but it's up to the CPU whether
you get the value you wrote or all zeroes if you read those bits after
taking an exception back to 64-bit state. Consequently, we can't
expose 64-bit registers for 32-bit tasks via ptrace() as the
resulting behaviour is going to vary based on how the hardware feels.
Maybe we could sign-extend everything on exception entry, but that would
necessitate many more syscall wrappers for compat tasks than we currently
have so we could truncate pointer arguments back down to 32 bits.

Instead, we currently handle this by (a) treating the registers of a 32-bit
task as 32 bits (hence the zero extension when writing the value in
syscall_set_return_value()) and (b) explicitly clearing the upper bits of
x0 on exception entry from a 32-bit task in case we previously leaked a
negative syscall return value in there.

The problem then is that some in-kernel users (e.g. audit and some parts of
ptrace which abstract the syscall return value away from the register state)
_do_ want to see sign-extended syscall return arguments in order to match
against error codes (see is_syscall_success()). So we end up in a situation
where we need to sign-extend the return value for those, whilst leaving the
zero-extended version in the actual pt_regs structure.

It's ugly and subtle because the sky doesn't tend to fall in if you get
it wrong. As you can see, we're still fixing it.

Will

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64 fixes for -rc5
  2021-08-06 13:53 Will Deacon
  2021-08-06 18:40 ` Linus Torvalds
@ 2021-08-06 18:48 ` pr-tracker-bot
  1 sibling, 0 replies; 24+ messages in thread
From: pr-tracker-bot @ 2021-08-06 18:48 UTC (permalink / raw)
  To: Will Deacon
  Cc: torvalds, catalin.marinas, linux-arm-kernel, linux-kernel, kernel-team

The pull request you sent on Fri, 6 Aug 2021 14:53:32 +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/73f25536f27182ae3dcf4c0b91b1280cbbac7be3

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64 fixes for -rc5
  2021-08-06 13:53 Will Deacon
@ 2021-08-06 18:40 ` Linus Torvalds
  2021-08-09 10:52   ` Will Deacon
  2021-08-06 18:48 ` pr-tracker-bot
  1 sibling, 1 reply; 24+ messages in thread
From: Linus Torvalds @ 2021-08-06 18:40 UTC (permalink / raw)
  To: Will Deacon
  Cc: Catalin Marinas, Linux ARM, Linux Kernel Mailing List,
	Android Kernel Team

On Fri, Aug 6, 2021 at 6:53 AM Will Deacon <will@kernel.org> wrote:
>
> Please pull these arm64 fixes for -rc5. It's all pretty minor but the
> main fix is sorting out how we deal with return values from 32-bit system
> calls as audit expects error codes to be sign-extended to 64 bits

I've pulled this, but that change looks _really_ odd.

First you seem to intentionally *zero-extend* the error value when you
actually set it in pt_regs, and then you sign-extend them when reading
them.

So the rules seem entirely arbitrary: oen place says "upper 32 bits
need to be clear" and another place says "upper 32 bits need to be
sign-extended".

Why this insanity? Why not make the rule be that the upper 32 bits are
always just sign-extended?

           Linus

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64 fixes for -rc5
@ 2021-08-06 13:53 Will Deacon
  2021-08-06 18:40 ` Linus Torvalds
  2021-08-06 18:48 ` pr-tracker-bot
  0 siblings, 2 replies; 24+ messages in thread
From: Will Deacon @ 2021-08-06 13:53 UTC (permalink / raw)
  To: torvalds; +Cc: catalin.marinas, linux-arm-kernel, linux-kernel, kernel-team

Hi Linus,

Please pull these arm64 fixes for -rc5. It's all pretty minor but the
main fix is sorting out how we deal with return values from 32-bit system
calls as audit expects error codes to be sign-extended to 64 bits

Brief summary in the tag.

Cheers,

Will

--->8

The following changes since commit d8a719059b9dc963aa190598778ac804ff3e6a87:

  Revert "mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge" (2021-07-21 11:28:09 +0100)

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 0c32706dac1b0a72713184246952ab0f54327c21:

  arm64: stacktrace: avoid tracing arch_stack_walk() (2021-08-03 10:39:35 +0100)

----------------------------------------------------------------
arm64 fixes for -rc5

- Fix extension/truncation of return values from 32-bit system calls

- Fix interaction between unwinding and tracing

- Fix spurious toolchain warning emitted during make

- Fix Kconfig help text for RANDOMIZE_MODULE_REGION_FULL

----------------------------------------------------------------
Barry Song (1):
      arm64: fix the doc of RANDOMIZE_MODULE_REGION_FULL

Mark Rutland (3):
      arm64: fix compat syscall return truncation
      arm64: stacktrace: fix comment
      arm64: stacktrace: avoid tracing arch_stack_walk()

Masahiro Yamada (1):
      arm64: move warning about toolchains to archprepare

 arch/arm64/Kconfig                  |  9 ++++++---
 arch/arm64/Makefile                 | 21 ++++++++++++---------
 arch/arm64/include/asm/ptrace.h     | 12 +++++++++++-
 arch/arm64/include/asm/stacktrace.h |  2 +-
 arch/arm64/include/asm/syscall.h    | 19 ++++++++++---------
 arch/arm64/kernel/kaslr.c           |  4 +++-
 arch/arm64/kernel/ptrace.c          |  2 +-
 arch/arm64/kernel/signal.c          |  3 ++-
 arch/arm64/kernel/stacktrace.c      |  2 +-
 arch/arm64/kernel/syscall.c         |  9 +++------
 10 files changed, 50 insertions(+), 33 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64: Fixes for -rc5
  2021-03-25 14:54 [GIT PULL] arm64: Fixes " Will Deacon
@ 2021-03-25 19:13 ` pr-tracker-bot
  0 siblings, 0 replies; 24+ messages in thread
From: pr-tracker-bot @ 2021-03-25 19:13 UTC (permalink / raw)
  To: Will Deacon
  Cc: torvalds, Catalin Marinas, Linux Kernel Mailing List,
	Linux ARM Kernel Mailing List, kernel-team

The pull request you sent on Thu, 25 Mar 2021 14:54:43 +0000:

> 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/43f0b562590e7ac16b74b298ab80b5fb290d02af

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64: Fixes for -rc5
@ 2021-03-25 14:54 Will Deacon
  2021-03-25 19:13 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Will Deacon @ 2021-03-25 14:54 UTC (permalink / raw)
  To: torvalds
  Cc: Catalin Marinas, Linux Kernel Mailing List,
	Linux ARM Kernel Mailing List, kernel-team

Hi Linus,

Please pull these arm64 fixes for -rc5. Minor fixes all over, ranging
from typos to tests to errata workarounds. Summary in the tag.

Cheers,

Will

--->8

The following changes since commit c8e3866836528a4ba3b0535834f03768d74f7d8e:

  perf/arm_dmc620_pmu: Fix error return code in dmc620_pmu_device_probe() (2021-03-12 11:30:31 +0000)

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 20109a859a9b514eb10c22b8a14b5704ffe93897:

  arm64: kernel: disable CNP on Carmel (2021-03-25 10:00:23 +0000)

----------------------------------------------------------------
arm64 fixes for -rc5

- Fix possible memory hotplug failure with KASLR

- Fix FFR value in SVE kselftest

- Fix backtraces reported in /proc/$pid/stack

- Disable broken CnP implementation on NVIDIA Carmel

- Typo fixes and ACPI documentation clarification

- Fix some W=1 warnings

----------------------------------------------------------------
Alex Elder (1):
      arm64: csum: cast to the proper type

Andre Przywara (1):
      kselftest/arm64: sve: Do not use non-canonical FFR register value

Bhaskar Chowdhury (1):
      arm64: cpuinfo: Fix a typo

Maninder Singh (1):
      arm64/process.c: fix Wmissing-prototypes build warnings

Mark Rutland (1):
      arm64: stacktrace: don't trace arch_stack_walk()

Pavel Tatashin (2):
      arm64: kdump: update ppos when reading elfcorehdr
      arm64: mm: correct the inside linear map range during hotplug check

Rich Wiley (1):
      arm64: kernel: disable CNP on Carmel

Tom Saeger (1):
      Documentation: arm64/acpi : clarify arm64 support of IBFT

 Documentation/arm64/acpi_object_usage.rst   | 10 +++++-----
 Documentation/arm64/silicon-errata.rst      |  3 +++
 arch/arm64/Kconfig                          | 10 ++++++++++
 arch/arm64/include/asm/checksum.h           |  2 +-
 arch/arm64/include/asm/cpucaps.h            |  3 ++-
 arch/arm64/include/asm/processor.h          |  2 ++
 arch/arm64/include/asm/thread_info.h        |  2 ++
 arch/arm64/kernel/cpu_errata.c              |  8 ++++++++
 arch/arm64/kernel/cpufeature.c              |  5 ++++-
 arch/arm64/kernel/cpuinfo.c                 |  2 +-
 arch/arm64/kernel/crash_dump.c              |  2 ++
 arch/arm64/kernel/process.c                 |  2 ++
 arch/arm64/kernel/stacktrace.c              |  9 +++++----
 arch/arm64/mm/mmu.c                         | 21 +++++++++++++++++++--
 tools/testing/selftests/arm64/fp/sve-test.S | 22 +++++++++++++++++-----
 15 files changed, 83 insertions(+), 20 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64 fixes for -rc5
  2020-07-10 14:39 [GIT PULL] arm64 fixes " Will Deacon
@ 2020-07-10 16:55 ` pr-tracker-bot
  0 siblings, 0 replies; 24+ messages in thread
From: pr-tracker-bot @ 2020-07-10 16:55 UTC (permalink / raw)
  To: Will Deacon
  Cc: torvalds, linux-arm-kernel, linux-kernel, catalin.marinas, kernel-team

The pull request you sent on Fri, 10 Jul 2020 15:39:08 +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/f4c8824cbcc64524905f83388eb1139747829756

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64 fixes for -rc5
@ 2020-07-10 14:39 Will Deacon
  2020-07-10 16:55 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Will Deacon @ 2020-07-10 14:39 UTC (permalink / raw)
  To: torvalds; +Cc: linux-arm-kernel, linux-kernel, catalin.marinas, kernel-team

Hi Linus,

Please pull this unfortunately large collection of arm64 fixes for -rc5.
Some of this is absolutely trivial, but the alternatives, vDSO and CPU
errata workaround fixes are significant. At least people are finding and
fixing these things, I suppose.

Summary in the tag.

Cheers,

Will

--->8

The following changes since commit 9b23d95c539ebc5d6d6b5d6f20d2d7922384e76e:

  arm64: Add KRYO4XX silver CPU cores to erratum list 1530923 and 1024718 (2020-07-03 16:39:16 +0100)

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 5679b28142193a62f6af93249c0477be9f0c669b:

  arm64/alternatives: don't patch up internal branches (2020-07-09 14:57:59 +0100)

----------------------------------------------------------------
arm64 fixes for -rc5

- Fix workaround for CPU erratum #1418040 to disable the compat vDSO

- Fix OOPs when single-stepping with KGDB

- Fix memory attributes for hypervisor device mappings at EL2

- Fix memory leak in PSCI and remove useless variable assignment

- Fix up some comments and asm labels in our entry code

- Fix broken register table formatting in our generated html docs

- Fix missing NULL sentinel in CPU errata workaround list

- Fix patching of branches in alternative instruction sections

----------------------------------------------------------------
Ard Biesheuvel (1):
      arm64/alternatives: don't patch up internal branches

Florian Fainelli (1):
      arm64: Add missing sentinel to erratum_1463225

Gavin Shan (2):
      drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups()
      drivers/firmware/psci: Assign @err directly in hotplug_tests()

Kevin Hao (1):
      arm64: entry: Fix the typo in the comment of el1_dbg()

Marc Zyngier (4):
      arm64: Introduce a way to disable the 32bit vdso
      arm64: arch_timer: Allow an workaround descriptor to disable compat vdso
      arm64: arch_timer: Disable the compat vdso for cores affected by ARM64_WORKAROUND_1418040
      arm64: Rework ARM_ERRATUM_1414080 handling

Suzuki K Poulose (1):
      arm64: Documentation: Fix broken table in generated HTML

Wei Li (1):
      arm64: kgdb: Fix single-step exception handling oops

Will Deacon (2):
      KVM: arm64: Fix definition of PAGE_HYP_DEVICE
      arm64: entry: Tidy up block comments and label numbers

 Documentation/arm64/cpu-feature-registers.rst     |  2 +
 arch/arm64/include/asm/arch_timer.h               |  1 +
 arch/arm64/include/asm/pgtable-prot.h             |  2 +-
 arch/arm64/include/asm/vdso/clocksource.h         |  7 ++-
 arch/arm64/include/asm/vdso/compat_gettimeofday.h |  8 +++-
 arch/arm64/kernel/alternative.c                   | 16 +------
 arch/arm64/kernel/cpu_errata.c                    |  1 +
 arch/arm64/kernel/entry-common.c                  |  2 +-
 arch/arm64/kernel/entry.S                         | 52 ++++++++++++++---------
 arch/arm64/kernel/kgdb.c                          |  2 +-
 drivers/clocksource/arm_arch_timer.c              | 11 +++++
 drivers/firmware/psci/psci_checker.c              |  8 ++--
 12 files changed, 68 insertions(+), 44 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64 fixes for -rc5
  2020-03-06 15:12 Will Deacon
@ 2020-03-06 20:55 ` pr-tracker-bot
  0 siblings, 0 replies; 24+ messages in thread
From: pr-tracker-bot @ 2020-03-06 20:55 UTC (permalink / raw)
  To: Will Deacon
  Cc: torvalds, linux-arm-kernel, linux-kernel, kernel-team, catalin.marinas

The pull request you sent on Fri, 6 Mar 2020 15:12:20 +0000:

> 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/c20c4a084a878df35a7e394a7e646f303b505eaf

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64 fixes for -rc5
@ 2020-03-06 15:12 Will Deacon
  2020-03-06 20:55 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Will Deacon @ 2020-03-06 15:12 UTC (permalink / raw)
  To: torvalds; +Cc: linux-arm-kernel, linux-kernel, kernel-team, catalin.marinas

Hi Linus,

Here are another three arm64 fixes for 5.6. Summary in the tag, but all
pretty minor. Main thing is fixing a silly bug in the fsl_imx8_ddr PMU
driver where we would zero the counters when disabling them.

Please pull.

Will

--->8

The following changes since commit dcde237319e626d1ec3c9d8b7613032f0fd4663a:

  mm: Avoid creating virtual address aliases in brk()/mmap()/mremap() (2020-02-20 10:03:14 +0000)

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 9abd515a6e4a5c58c6eb4d04110430325eb5f5ac:

  arm64: context: Fix ASID limit in boot messages (2020-03-02 12:10:38 +0000)

----------------------------------------------------------------
arm64 fixes for -rc5

- Fix misreporting of ASID limit when KPTI is enabled

- Fix busted NULL pointer checks for GICC structure in ACPI PMU code

- Avoid nobbling the "fsl_imx8_ddr" PMU counters when disabling them

----------------------------------------------------------------
Jean-Philippe Brucker (1):
      arm64: context: Fix ASID limit in boot messages

Joakim Zhang (1):
      drivers/perf: fsl_imx8_ddr: Correct the CLEAR bit definition

luanshi (1):
      drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer

 arch/arm64/mm/context.c          | 20 +++++++++++++++-----
 drivers/perf/arm_pmu_acpi.c      |  7 ++-----
 drivers/perf/fsl_imx8_ddr_perf.c | 10 ++++++----
 3 files changed, 23 insertions(+), 14 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64: fixes for -rc5
  2019-06-14 15:02 [GIT PULL] arm64: " Will Deacon
@ 2019-06-14 16:20 ` pr-tracker-bot
  0 siblings, 0 replies; 24+ messages in thread
From: pr-tracker-bot @ 2019-06-14 16:20 UTC (permalink / raw)
  To: Will Deacon; +Cc: torvalds, linux-kernel, linux-arm-kernel, catalin.marinas

The pull request you sent on Fri, 14 Jun 2019 16:02:59 +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/72a20cee5d99d231809ee4d3d2c09a96a25451e2

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64: fixes for -rc5
@ 2019-06-14 15:02 Will Deacon
  2019-06-14 16:20 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Will Deacon @ 2019-06-14 15:02 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Here are some arm64 fixes for -rc5. The only non-trivial change (in
terms of the diffstat) is fixing our SVE ptrace API for big-endian
machines, but the majority of this is actually the addition of
much-needed comments and updates to the documentation to try to avoid
this mess biting us again in future.

There are still a couple of small things on the horizon, but nothing
major at this point.

Please pull. Thanks,

Will

--->8

The following changes since commit ebcc5928c5d925b1c8d968d9c89cdb0d0186db17:

  arm64: Silence gcc warnings about arch ABI drift (2019-06-06 13:28:45 +0100)

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 41040cf7c5f0f26c368bc5d3016fed3a9ca6dba4:

  arm64/sve: Fix missing SVE/FPSIMD endianness conversions (2019-06-13 10:07:19 +0100)

----------------------------------------------------------------
arm64 fixes for -rc5

- Fix broken SVE ptrace API when running in a big-endian configuration

- Fix performance regression due to off-by-one in TLBI range checking

- Fix build regression when using Clang

----------------------------------------------------------------
Dave Martin (1):
      arm64/sve: Fix missing SVE/FPSIMD endianness conversions

Nathan Chancellor (1):
      arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS

Will Deacon (1):
      arm64: tlbflush: Ensure start/end of address range are aligned to stride

 Documentation/arm64/sve.txt              | 16 ++++++++++++
 arch/arm64/Makefile                      |  2 +-
 arch/arm64/include/asm/tlbflush.h        |  3 +++
 arch/arm64/include/uapi/asm/kvm.h        |  7 ++++++
 arch/arm64/include/uapi/asm/ptrace.h     |  4 +++
 arch/arm64/include/uapi/asm/sigcontext.h | 14 +++++++++++
 arch/arm64/kernel/fpsimd.c               | 42 +++++++++++++++++++++++++-------
 7 files changed, 78 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64 fixes for -rc5
  2019-04-12 16:05 [GIT PULL] arm64 " Will Deacon
@ 2019-04-13 17:40 ` pr-tracker-bot
  0 siblings, 0 replies; 24+ messages in thread
From: pr-tracker-bot @ 2019-04-13 17:40 UTC (permalink / raw)
  To: Will Deacon; +Cc: torvalds, catalin.marinas, linux-arm-kernel, linux-kernel

The pull request you sent on Fri, 12 Apr 2019 17:05:15 +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/5ded88718aef7e92a9806f6ff4b89c7f2a4f1570

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64 fixes for -rc5
@ 2019-04-12 16:05 Will Deacon
  2019-04-13 17:40 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Will Deacon @ 2019-04-12 16:05 UTC (permalink / raw)
  To: torvalds; +Cc: catalin.marinas, linux-arm-kernel, linux-kernel

Hi Linus,

Please pull these three arm64 fixes for -rc5. The main thing is a fix to
our FUTEX_WAKE_OP implementation which was unbelievably broken, but did
actually work for the one scenario that GLIBC used to use.

Summary in the tag.

Thanks,

Will

--->8

The following changes since commit 15ade5d2e7775667cf191cf2f94327a4889f8b9d:

  Linux 5.1-rc4 (2019-04-07 14:09:59 -1000)

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 045afc24124d80c6998d9c770844c67912083506:

  arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value (2019-04-12 15:04:33 +0100)

----------------------------------------------------------------
arm64 fixes for -rc5

- Fix stack unwinding so we ignore user stacks

- Fix ftrace module PLT trampoline initialisation checks

- Fix terminally broken implementation of FUTEX_WAKE_OP atomics

----------------------------------------------------------------
Ard Biesheuvel (1):
      arm64/ftrace: fix inadvertent BUG() in trampoline check

Will Deacon (2):
      arm64: backtrace: Don't bother trying to unwind the userspace stack
      arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value

 arch/arm64/include/asm/futex.h  | 16 ++++++++--------
 arch/arm64/include/asm/module.h |  5 +++++
 arch/arm64/kernel/ftrace.c      |  3 +--
 arch/arm64/kernel/traps.c       | 15 +++++++++------
 4 files changed, 23 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [GIT PULL] arm64: fixes for -rc5
  2019-02-01 17:51 [GIT PULL] arm64: " Will Deacon
@ 2019-02-02  1:00 ` pr-tracker-bot
  0 siblings, 0 replies; 24+ messages in thread
From: pr-tracker-bot @ 2019-02-02  1:00 UTC (permalink / raw)
  To: Will Deacon; +Cc: torvalds, linux-kernel, linux-arm-kernel, catalin.marinas

The pull request you sent on Fri, 1 Feb 2019 17:51:41 +0000:

> 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/8b050fe42d8ad1a2219201ba6d773e5b0eff1a29

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64: fixes for -rc5
@ 2019-02-01 17:51 Will Deacon
  2019-02-02  1:00 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Will Deacon @ 2019-02-01 17:51 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Although we're still debugging a few minor arm64-specific issues in
mainline, I didn't want to hold this lot up in the meantime. We've got
an additional KASLR fix after the previous one wasn't quite complete, a
fix for a performance regression when mapping executable pages into
userspace and some fixes for kprobe blacklisting. All candidates for
stable and summarised in the tag.

Please pull. Thanks,

Will

--->8

The following changes since commit f17b5f06cb92ef2250513a1e154c47b78df07d40:

  Linux 5.0-rc4 (2019-01-27 15:18:05 -0800)

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 f7daa9c8fd191724b9ab9580a7be55cd1a67d799:

  arm64: hibernate: Clean the __hyp_text to PoC after resume (2019-02-01 14:10:02 +0000)

----------------------------------------------------------------
arm64 fixes for -rc5

- Fix module loading when KASLR is configured but disabled at runtime

- Fix accidental IPI when mapping user executable pages

- Ensure hyp-stub and KVM world switch code cannot be kprobed

----------------------------------------------------------------
Ard Biesheuvel (1):
      arm64: kaslr: ensure randomized quantities are clean also when kaslr is off

Catalin Marinas (1):
      arm64: Do not issue IPIs for user executable ptes

James Morse (3):
      arm64: kprobe: Always blacklist the KVM world-switch code
      arm64: hyp-stub: Forbid kprobing of the hyp-stub
      arm64: hibernate: Clean the __hyp_text to PoC after resume

 arch/arm64/kernel/hibernate.c      | 4 +++-
 arch/arm64/kernel/hyp-stub.S       | 2 ++
 arch/arm64/kernel/kaslr.c          | 1 +
 arch/arm64/kernel/probes/kprobes.c | 6 +++---
 arch/arm64/mm/flush.c              | 6 +++++-
 5 files changed, 14 insertions(+), 5 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64: fixes for -rc5
@ 2017-03-31 17:15 Will Deacon
  0 siblings, 0 replies; 24+ messages in thread
From: Will Deacon @ 2017-03-31 17:15 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Please pull these fixes for -rc5. The main thing is a fix for a NULL
dereference on systems that boot using spin-tables or the ACPI parking
protocol, but there are also a couple of trivial one-liners too.

We're currently debugging a page flags corruption issue under syzkaller,
but we're still some way from fixing that as it's proving fiddly to reproduce.

Thanks,

Will

--->8

The following changes since commit c02ed2e75ef4c74e41e421acb4ef1494671585e8:

  Linux 4.11-rc4 (2017-03-26 14:15:16 -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 9b3403ae56e13cdf45252f34db196a8f5f52b6ac:

  arm64: drop non-existing vdso-offsets.h from .gitignore (2017-03-30 19:29:30 +0100)

----------------------------------------------------------------
arm64 fixes:

- Fix cpu_die() NULL dereference when booting secondary CPUs using spin-table

- Remove redundant #include

- Remove obsolete .gitignore entry

----------------------------------------------------------------
Mark Salter (1):
      arm64: fix NULL dereference in have_cpu_die()

Masahiro Yamada (1):
      arm64: drop non-existing vdso-offsets.h from .gitignore

Shaokun Zhang (1):
      arm64: remove redundant header file in current.h

 arch/arm64/include/asm/current.h  | 2 --
 arch/arm64/kernel/smp.c           | 2 +-
 arch/arm64/kernel/vdso/.gitignore | 1 -
 3 files changed, 1 insertion(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64: fixes for -rc5
@ 2016-06-24 11:41 Will Deacon
  0 siblings, 0 replies; 24+ messages in thread
From: Will Deacon @ 2016-06-24 11:41 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Here are a few more arm64 fixes, but things do finally appear to be
slowing down. The main fix is avoiding hibernation in a previously
unanticipated situation where we have CPUs parked in the kernel, but
it's all good stuff.

Cheers,

Will

--->8

The following changes since commit 33688abb2802ff3a230bd2441f765477b94cc89e:

  Linux 4.7-rc4 (2016-06-19 21:30:02 -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 d74b4e4f1a6dbe27acce723e071c86a6ed154bf2:

  arm64: hibernate: Don't hibernate on systems with stuck CPUs (2016-06-22 15:48:10 +0100)

----------------------------------------------------------------
arm64 fixes:

- Fix icache/dcache sync for anonymous pages under migration
- Correct the ASID limit check
- Fix parallel builds of Image and Image.gz
- Refuse to hibernate when we have CPUs that we can't offline

----------------------------------------------------------------
James Morse (2):
      arm64: smp: Add function to determine if cpus are stuck in the kernel
      arm64: hibernate: Don't hibernate on systems with stuck CPUs

Jean-Philippe Brucker (1):
      arm64: update ASID limit

Masahiro Yamada (1):
      arm64: fix boot image dependencies to not generate invalid images

Shaokun Zhang (1):
      arm64: mm: remove page_mapping check in __sync_icache_dcache

 arch/arm64/Makefile           |  2 +-
 arch/arm64/include/asm/smp.h  | 12 ++++++++++++
 arch/arm64/kernel/hibernate.c |  6 ++++++
 arch/arm64/kernel/smp.c       | 18 ++++++++++++++++++
 arch/arm64/mm/context.c       |  9 ++++++---
 arch/arm64/mm/flush.c         |  4 ----
 6 files changed, 43 insertions(+), 8 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64: fixes for -rc5
@ 2016-02-19 16:29 Will Deacon
  0 siblings, 0 replies; 24+ messages in thread
From: Will Deacon @ 2016-02-19 16:29 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Here are some more arm64 fixes for 4.5. This has mostly come from Yang
Shi, who saw some issues under -rt that also affect mainline. The rest
of it is pretty small, but still worth having.

We've got an old issue outstanding with valid_user_regs which will
likely wait until 4.6 (since it would really benefit from some time in
-next) and another issue with kasan and idle which should be fixed next
week.

Apart from that, pretty quiet here (and still no sign of the THP issue
reported on s390...)

Will

--->8

The following changes since commit 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95:

  Linux 4.5-rc3 (2016-02-07 15:38:30 -0800)

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 52d7523d84d534c241ebac5ac89f5c0a6cb51e41:

  arm64: mm: allow the kernel to handle alignment faults on user accesses (2016-02-19 12:20:37 +0000)

----------------------------------------------------------------
arm64 fixes:

- Allow EFI stub to use strnlen(), which is required by recent libfdt

- Avoid smp_processor_id() in preempt context during unwinding

- Avoid false Kasan warnings during unwinding

- Ensure early devices are picked up by the IOMMU DMA ops

- Avoid rebuilding the kernel for the 'install' target

- Run fixup handlers for alignment faults on userspace access

----------------------------------------------------------------
EunTaik Lee (1):
      arm64: mm: allow the kernel to handle alignment faults on user accesses

Jeremy Linton (1):
      arm/arm64: crypto: assure that ECB modes don't require an IV

Marek Szyprowski (1):
      arm64: dma-mapping: fix handling of devices registered before arch_initcall

Masahiro Yamada (1):
      arm64: kbuild: make "make install" not depend on vmlinux

Thierry Reding (1):
      arm64/efi: Make strnlen() available to the EFI namespace

Will Deacon (1):
      arm64: debug: re-enable irqs before sending breakpoint SIGTRAP

Yang Shi (2):
      arm64: disable kasan when accessing frame->fp in unwind_frame
      arm64: make irq_stack_ptr more robust

 arch/arm/crypto/aes-ce-glue.c      |  4 ++--
 arch/arm64/Makefile                |  2 +-
 arch/arm64/boot/Makefile           |  4 ++--
 arch/arm64/boot/install.sh         | 14 +++++++++++
 arch/arm64/crypto/aes-glue.c       |  4 ++--
 arch/arm64/kernel/debug-monitors.c | 48 +++++++++++++++++---------------------
 arch/arm64/kernel/image.h          |  1 +
 arch/arm64/kernel/stacktrace.c     | 17 +++++++-------
 arch/arm64/kernel/traps.c          | 11 ++++++++-
 arch/arm64/lib/strnlen.S           |  2 +-
 arch/arm64/mm/dma-mapping.c        |  4 ++++
 arch/arm64/mm/fault.c              |  9 ++++++-
 12 files changed, 75 insertions(+), 45 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64: fixes for -rc5
@ 2015-10-07 14:20 Will Deacon
  0 siblings, 0 replies; 24+ messages in thread
From: Will Deacon @ 2015-10-07 14:20 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Please pull the following arm64 fixes for 4.3-rc5. They address a couple
of issues found with RT, a broken initrd message in the console log and
a simple performance fix for some MMC workloads. Headlines in the tag.

Thanks,

Will

--->8

The following changes since commit 049e6dde7e57f0054fdc49102e7ef4830c698b46:

  Linux 4.3-rc4 (2015-10-04 16:57:17 +0100)

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 62c6c61adbc623cdacf74b8f29c278e539060c48:

  arm64: replace read_lock to rcu lock in call_break_hook (2015-10-06 19:10:28 +0100)

----------------------------------------------------------------
arm64 fixes for 4.3-rc5

- A couple of locking fixes for RT kernels
- Avoid printing bogus initrd warnings when initrd isn't present
- Performance fix for random mmap file readahead
- Typo fix

----------------------------------------------------------------
Mark Rutland (1):
      arm64: Don't relocate non-existent initrd

Mark Salyzyn (1):
      arm64: readahead: fault retry breaks mmap file read random detection

Yang Shi (3):
      arm64: debug: Fix typo in debug-monitors.c
      arm64: convert patch_lock to raw lock
      arm64: replace read_lock to rcu lock in call_break_hook

 arch/arm64/kernel/debug-monitors.c | 23 ++++++++++++-----------
 arch/arm64/kernel/insn.c           |  6 +++---
 arch/arm64/kernel/setup.c          |  2 ++
 arch/arm64/mm/fault.c              |  1 +
 4 files changed, 18 insertions(+), 14 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [GIT PULL] arm64: fixes for -rc5
@ 2015-01-16 17:16 Will Deacon
  0 siblings, 0 replies; 24+ messages in thread
From: Will Deacon @ 2015-01-16 17:16 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Just a couple of stragglers for arm64 here: wiring up compat_sys_execveat,
since arch/arm/ got that at -rc4 and a revert of a patch that broke our
handling of the device-tree blob with certain memory layouts.

Please pull.

Thanks,

Will

--->8

The following changes since commit eaa27f34e91a14cdceed26ed6c6793ec1d186115:

  linux 3.19-rc4 (2015-01-11 12:44:53 -0800)

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 0145058c3d30b4319d747f64caa16a9cb15f0581:

  arm64: partially revert "ARM: 8167/1: extend the reserved memory for initrd to be page aligned" (2015-01-16 13:57:33 +0000)

----------------------------------------------------------------
arm64 fixes:
- Wire up compat_sys_execveat for compat (AArch32) tasks
- Revert 421520ba9829, as this breaks our side of the boot protocol

----------------------------------------------------------------
Catalin Marinas (1):
      arm64: partially revert "ARM: 8167/1: extend the reserved memory for initrd to be page aligned"

Will Deacon (1):
      arm64: compat: wire up compat_sys_execveat

 arch/arm64/include/asm/unistd.h   | 2 +-
 arch/arm64/include/asm/unistd32.h | 2 ++
 arch/arm64/mm/init.c              | 8 +-------
 3 files changed, 4 insertions(+), 8 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-09-11 19:37 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-11 17:30 [GIT PULL] arm64: fixes for -rc5 Will Deacon
  -- strict thread matches above, loose matches on Subject: below --
2022-09-11 11:37 [GIT PULL] arm64 " Will Deacon
2022-09-11 19:36 ` pr-tracker-bot
2021-08-06 13:53 Will Deacon
2021-08-06 18:40 ` Linus Torvalds
2021-08-09 10:52   ` Will Deacon
2021-08-06 18:48 ` pr-tracker-bot
2021-03-25 14:54 [GIT PULL] arm64: Fixes " Will Deacon
2021-03-25 19:13 ` pr-tracker-bot
2020-07-10 14:39 [GIT PULL] arm64 fixes " Will Deacon
2020-07-10 16:55 ` pr-tracker-bot
2020-03-06 15:12 Will Deacon
2020-03-06 20:55 ` pr-tracker-bot
2019-06-14 15:02 [GIT PULL] arm64: " Will Deacon
2019-06-14 16:20 ` pr-tracker-bot
2019-04-12 16:05 [GIT PULL] arm64 " Will Deacon
2019-04-13 17:40 ` pr-tracker-bot
2019-02-01 17:51 [GIT PULL] arm64: " Will Deacon
2019-02-02  1:00 ` pr-tracker-bot
2017-03-31 17:15 Will Deacon
2016-06-24 11:41 Will Deacon
2016-02-19 16:29 Will Deacon
2015-10-07 14:20 Will Deacon
2015-01-16 17:16 Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).