Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3812922rwa; Tue, 23 Aug 2022 10:30:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR6UDsnoCSEX6epYYMEQu1LEcEhhco9tOz4cw57undl8NkgOZJl3SokUhZ7Edy3cbKV1Q/Zg X-Received: by 2002:a17:907:6e17:b0:73d:8d0a:f450 with SMTP id sd23-20020a1709076e1700b0073d8d0af450mr425292ejc.452.1661275831564; Tue, 23 Aug 2022 10:30:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661275831; cv=none; d=google.com; s=arc-20160816; b=iUzjLEXlSdFyrqdiz+hGIkKaW8k5wtEa64Rydwo/4EDAlAA++QfSFNj9mIJycpr0i1 CG7xT/tSszMduYDH3AGkztlmZZUP2TzSf8l+6FdXnJfpEvGAepQG6FIn/OQdS7cNjXU3 o9ftRgswEpTW77em38OXzr7hXV15WCsdenbrem641EaXUC5Z4uczwXPRo4BNt9FxbUmC O3RfHDYri+UNCL8EA+HDbUNMDzWf4eVHTxFWa+5ibbTnpDVimR1NgC5/P6tAIV1zIyts iDGrbo7yPQyqQbmJtDQhSAH0vBv3L8l4fATuM6q40TQo9rZiYTWtZ0QhZcWQCHMB5Lb7 rIww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=csPENKNXUS2Jc820cpRMMKFtbIJvbQE/hSy4BEpLuUg=; b=WxhAOdSozcovPJtqAIp5uG8+2wqs65XqJEdwd4aUcoIi1JrNJH9c8e/GLj4rjame75 7Me/S6vkzjMJZy4pmT1XX2qL98bGdgyeU9WuEpnIxSIYtT4MH3+QD+Ej2GGMz4c5L0GO FMV23XoovdFHvt/hg90OqTwpbA/LISsqemBoefOSbXFzZyrd92Gac6cBV8rVhcn021el h3Y9/I9dTitce9hh4TnYbGmu94U5H6oimIVWKOEFijUmBXRQZ1Xr7/nADKeYjRCiV2R7 PvP4MNvBnwPnwf7XJKYC44rS6pMdjs4/jp2t1xoicH6F/UZN3sVmF4uIICeGQGgMmgKz haxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="EwsWS/sR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb8-20020a0564020d0800b00445e42af4ddsi3239402edb.388.2022.08.23.10.30.05; Tue, 23 Aug 2022 10:30:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="EwsWS/sR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229952AbiHWR12 (ORCPT + 99 others); Tue, 23 Aug 2022 13:27:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236191AbiHWRZ4 (ORCPT ); Tue, 23 Aug 2022 13:25:56 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62A01BCCF3; Tue, 23 Aug 2022 08:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661267042; bh=7bJP14sFItK6YJZyN6IGs69JI9dSphEw3bIjj5uY7Js=; h=X-UI-Sender-Class:Date:From:To:Subject; b=EwsWS/sRoKg/7FY7tpMg5Ys1QxcY3SuUeoG0+Z+rZ32Hf0ErkPXZocs8Es7sgbpxc LL6h1ZCFA+iit0Zbazh+iGSDw7AKLadw4PdSG5fWPTQD3qa4Xs0xz41JT6Q3m8OCFp 9Wec7KEBDg7Il4ge4X9yl1HkqhrXL2MT1JiSC7eM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from p100 ([92.116.140.137]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mr9G2-1pCCGK15NO-00oBkR; Tue, 23 Aug 2022 17:04:02 +0200 Date: Tue, 23 Aug 2022 17:03:59 +0200 From: Helge Deller To: Linus Torvalds , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [GIT PULL] parisc architecture fixes and updates for v6.0-rc3 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Provags-ID: V03:K1:bFY2MFMKeDDjoBohbmha6DvTZHUNu3OimL202WcU5RYkE1Qisma pseYFOi/y1NY5VFsaOLOqZZAzsWHXL3M0t0fSEXClucsjtAqV84jno7ckWSn/G9iilhUXJv ijvQcVX2IXLThQlZGrmssL4KwfdenjXDHoQXX2vqcnrsBmHT0tX4IvZ0Qwj03L6EP5Fpcgx +nmb8iGppC4rmaa8CArAg== X-UI-Out-Filterresults: notjunk:1;V03:K0:oe//FWAw0tc=:FHJeuJGPFgj/98+MgPtevy 9lzKmzQePeuJm94DMf24zZz5iXcn5k99L5g2MAko6DHUZMg0RFU9h/eeyR6SAiLTXSVWsNaDY UVfdejflIJCXWi5vQz4d4yo/XNKl4ZDKBhSRqQCLUzFBWOkF+UNdMw056rg8KXruD/HbO5/Ad FWHGHZnbSBfv6WQl2vPytIIwTxpfuEOEqHrdqEpfnQJM2Ez0KEFbun+K/n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ASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)