lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YwTsX8zR7x09qWP5@p100>
Date:   Tue, 23 Aug 2022 17:03:59 +0200
From:   Helge Deller <deller@....de>
To:     Linus Torvalds <torvalds@...ux-foundation.org>,
        linux-kernel@...r.kernel.org, linux-parisc@...r.kernel.org,
        James Bottomley <James.Bottomley@...senpartnership.com>,
        John David Anglin <dave.anglin@...l.net>
Subject: [GIT PULL] parisc architecture fixes and updates for v6.0-rc3

Hi Linus,

please pull the next set of patches for the parisc architecture for 6.0-rc2.

Some interesting background to the current patchset:

It turned out that the fldw instruction (which loads a 32-bit word from memory
into one half of a FP register) failed on unaligned addresses and even trashed
some other random FP register instead. It's a trivial one-liner fix in the
exception handler but this failure dates back to the very beginnings of the
parisc-port. It's strange that it was never noticed before.

Another patch fixes an annoyance noticed by Randy Dunlap. Running "make
ARCH=parisc64 randconfig" always returned a 32-bit config, although one would
expect a 64-bit config.  Masahiro Yamada suggested to mimik sparc Kconfig code,
which fixed the issue nicely. This allowed to drop some compiler build checks
too.

Third, it's possible to build an optimized 32-bit kernel for PA8X00 (64-bit)
CPUs, which then wouldn't start on 32-bit-only (PA1.x) machines. I've added a
bootup check which prevents that and which prints a message to the console.
This can be tested with qemu, which currently only supports 32-bit emulation.

The other patches are usual clean-up stuff like added return value checks and
typo fixes in comments.

Thanks,
Helge

-----

The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

  Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.0-2

for you to fetch changes up to 591d2108f3abc4db9f9073cae37cf3591fd250d6:

  parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines (2022-08-22 11:09:17 +0200)

----------------------------------------------------------------
parisc architecture fixes and updates for kernel v6.0-rc3:

* Fix emulation of fldw instruction on unaligned addresses
* Fix "make ARCH=parisc64 randconfig" to return a 64-bit config
* Prevent boot if trying to boot a 32-bit kernel compiled for PA8X00
  CPUs on 32-bit only machines
* ccio-dma: Handle kmalloc failure in ccio_init_resources()

----------------------------------------------------------------
Helge Deller (4):
      parisc: Fix exception handler for fldw and fstw instructions
      parisc: Make CONFIG_64BIT available for ARCH=parisc64 only
      Revert "parisc: Show error if wrong 32/64-bit compiler is being used"
      parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines

Jason Wang (1):
      parisc: ccio-dma: Fix typo in comment

Li Qiong (1):
      parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()

Wolfram Sang (1):
      parisc: led: Move from strlcpy with unused retval to strscpy

 arch/parisc/Kconfig              | 21 ++++++--------------
 arch/parisc/include/asm/bitops.h |  8 --------
 arch/parisc/kernel/head.S        | 43 +++++++++++++++++++++++++++++++++++++++-
 arch/parisc/kernel/unaligned.c   |  2 +-
 drivers/parisc/ccio-dma.c        | 13 ++++++++----
 drivers/parisc/led.c             |  2 +-
 6 files changed, 59 insertions(+), 30 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ