mbox series

[GIT,PULL] parisc architecture fixes for v6.2-rc1

Message ID Y6F+XbLE2B7oPY6J@p100 (mailing list archive)
State Accepted, archived
Headers show
Series [GIT,PULL] parisc architecture fixes for v6.2-rc1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.2-1

Message

Helge Deller Dec. 20, 2022, 9:20 a.m. UTC
Hi Linus,

please pull the latest updates and fixes for the parisc architecture.

There is one noteable patch, which allows the parisc kernel to use the same
MADV_xxx constants as the other architectures going forward.  With that change
only alpha has one entry left (MADV_DONTNEED is 6 vs 4 on others) which is
different.  To prevent an ABI breakage, a wrapper is included which translates
old MADV values to the new ones, so existing userspace isn't affected.
Reason for that patch is, that some applications wrongly used the standard
MADV_xxx values even on some non-x86 platforms and as such those
programs failed to run correctly on parisc (examples are qemu-user, tor
browser and boringssl).

Then the kgdb console and the LED code received some fixes, and some
0-day warnings are now gone.  Finally, the very last compile warning
which was visible during a kernel build is now fixed too (in the vDSO
code).

The majority of the patches are tagged for stable series and in summary
this patchset is quite small and drops more code than it adds.

Thanks!
Helge

----------------------------------------------------------------
The following changes since commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476:

  Linux 6.1 (2022-12-11 14:15:18 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.2-1

for you to fetch changes up to 4934fbfb3ff09b8500f63d4624ed8b41647bb822:

  parisc: Show MPE/iX model string at bootup (2022-12-19 16:08:52 +0100)

----------------------------------------------------------------
parisc architecture fixes for kernel v6.2-rc1:

Fixes:
- Fix potential null-ptr-deref in start_task()
- Fix kgdb console on serial port
- Add missing FORCE prerequisites in Makefile
- Drop PMD_SHIFT from calculation in pgtable.h

Enhancements:
- Implement a wrapper to align madvise() MADV_* constants with other
  architectures
- If machine supports running MPE/XL, show the MPE model string

Cleanups:
- Drop duplicate kgdb console code
- Indenting fixes in setup_cmdline()

----------------------------------------------------------------
Helge Deller (9):
      parisc: Fix inconsistent indenting in setup_cmdline()
      parisc: Align parisc MADV_XXX constants with all other architectures
      parisc: Drop PMD_SHIFT from calculation in pgtable.h
      parisc: Fix locking in pdc_iodc_print() firmware call
      parisc: Drop duplicate kgdb_pdc console
      parisc: Drop locking in pdc console code
      parisc: Move pdc_result struct to firmware.c
      parisc: Add missing FORCE prerequisites in Makefile
      parisc: Show MPE/iX model string at bootup

Shang XiaoJing (1):
      parisc: led: Fix potential null-ptr-deref in start_task()

 arch/parisc/include/asm/pdc.h             |  2 +-
 arch/parisc/include/asm/pgtable.h         |  4 ++--
 arch/parisc/include/uapi/asm/mman.h       | 29 ++++++++++++++--------------
 arch/parisc/kernel/firmware.c             | 32 ++++++++++++++++---------------
 arch/parisc/kernel/kgdb.c                 | 20 -------------------
 arch/parisc/kernel/pdc_cons.c             | 16 +++-------------
 arch/parisc/kernel/processor.c            |  9 +++++++--
 arch/parisc/kernel/real2.S                | 17 ++--------------
 arch/parisc/kernel/setup.c                | 26 ++++++++++++-------------
 arch/parisc/kernel/sys_parisc.c           | 28 +++++++++++++++++++++++++++
 arch/parisc/kernel/syscalls/syscall.tbl   |  2 +-
 arch/parisc/kernel/vdso32/Makefile        |  4 ++--
 arch/parisc/kernel/vdso64/Makefile        |  4 ++--
 drivers/parisc/led.c                      |  3 +++
 tools/arch/parisc/include/uapi/asm/mman.h | 12 ++++++------
 tools/perf/bench/bench.h                  | 12 ------------
 16 files changed, 100 insertions(+), 120 deletions(-)

Comments

pr-tracker-bot@kernel.org Dec. 20, 2022, 2:48 p.m. UTC | #1
The pull request you sent on Tue, 20 Dec 2022 10:20:29 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.2-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/35f79d0e2c98ff6ecb9b5fc33113158dc7f7353c

Thank you!