Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp430184lqz; Sat, 30 Mar 2024 02:58:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXRsYERLVec/RwJ8nNDTdJK07fd3uzgb2H5iuan1Nh2KMfYH8jEDv1i2Ut8fuErPspEajULyvhpqDuvwhmX2K/kdw6/P6GICDSogNhbyg== X-Google-Smtp-Source: AGHT+IGh1B8S0W+6R84F8kBi9OAdD2/oGeQlbATdTbXUWG0gsaX+WcugpqIgwcPedK453S83J0KS X-Received: by 2002:a50:d5ca:0:b0:56c:2f3a:13a7 with SMTP id g10-20020a50d5ca000000b0056c2f3a13a7mr2662033edj.25.1711792701966; Sat, 30 Mar 2024 02:58:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711792701; cv=pass; d=google.com; s=arc-20160816; b=RLXrhpo7vIFRItHjrxPNrUwzFF7kuhyWMrelzexjygJKmiOgGNXvYXyFE3cs5Sm00S z8AMAOO+XV3LIiZaikPSlhOKVDyK3IvCGhad1giFJJwhR5c3DoC4ZSl2vB8cE+11Ukof coHlEw7BSl7b7+PrMXzH5uS0dNibb8eZAfopW6twV5WHxvWNVEFlBHu+R4BD0ZSY9Kfr uJHUyluUtQ0gZdf55QmxMEqUpQ56QYwb6M/pqTVJrlmZrJB9hed6Hs7ZH7uuGg3onwhT Y1cH6vzjyydN/gBePTVeb3gvIP8nFhuWqmHJAiIk/fj1UcHtyZ6hPeMriSw05CoS0i/v A3BQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=/RI3dqqe0AJtJidB5DBUIqe3oc4cU8QRX8zTVO+G7S4=; fh=C8vlBT4U08sd/cuPhULA0bxdkRzFKKA1DH9H8O/i1m4=; b=gZQpDYF40L/qOKmWHEsQeUnEcp+sW7c1WkhcLcmcP9ncwEIDAY7lN3VnQmY/28PVZc P2KlSwnVtSuR8Akah9kZfDdTVsdh9T9J4A0Y03/f0nZ3h33YfoAQT7NRV8cWMnas/TJl 9eRs25bRA2Ksd4q8uR5b0q6USkIWGEtLIrtA+Hnw/2IrRF/95WFzF+y8lIDa28JrIGRT 0j/xvu8KgOKC19Fn1gbYZU7ghHFlYCSel+KCEETGz59MNzcZ45GbZBjOug3gtFYeDpYf bQBLWtjbKrdmtHQIUu9+ZoCaMYyhHYZQCwS1Auf8hsCdLnyMonILUVwzlwBpqfK1wBLz fjoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JhF/qfMG"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y8-20020a056402358800b0056c19a9e0e6si1639837edc.282.2024.03.30.02.58.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 02:58:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JhF/qfMG"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B07C41F222BC for ; Sat, 30 Mar 2024 09:58:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14C742AE8C; Sat, 30 Mar 2024 09:57:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JhF/qfMG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14E381EB5A; Sat, 30 Mar 2024 09:57:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711792677; cv=none; b=UBroF+nQKze7k5kkZdy+nsVtLKS7OwGg42paDCoR4ReIxsGcQAYz6/7FkDw/O0ayTSfreTBbXv3REuPJeZabDcTIk3guOML7miPFKJ7Avx0G5RNPTgQUz5WJNU5v5vmmgSr2x3AC4X6uf9hxBC7he20ETy+aIrbOdhEQunRs7wo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711792677; c=relaxed/simple; bh=eDnRUPngHqoQZ7G0b6cjOURT4uhlTvBwqKCHkp86dUI=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=QfauZKJJH+s1+v0RjTZV41bZp5+jTw2RjxC3cvG4cVS7IQD4ORfx8ITsf2U3AIN+A0PyQTdQXSap+O9opTBP2UEPuVyBqm6hubyWjJ/V32hcYyrD3Eo1oCSN+aUAYIsDcgJ+mY8KvTJb9SPi4R9vUcXgivBUlTYi2bXqJOcyX5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JhF/qfMG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id DBA97C433C7; Sat, 30 Mar 2024 09:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711792676; bh=eDnRUPngHqoQZ7G0b6cjOURT4uhlTvBwqKCHkp86dUI=; h=From:Subject:Date:To:Cc:Reply-To:From; b=JhF/qfMGRF2vRF9lE7VZ9fXM8H87R6irghexmiTHRAAyGdBzRAuQ8CNW4iyOk2XnV JXXDTzTq82CQ4xQR/1ykWZFZ6dzSPyxI9Zbt3Z2QR5OM273vEmxIcvdxd84mnkxZml HZR+FhYjZXYqQNZz1pt5oB0sxaKFLTJOteIPMRFxCRnwjth13nwPioeLluXmFA2/W2 JXNRe76Guf5Y1v1pBfxlUsCeBGeau2f+bwyhvdxnSNTqjVNLA2J+gAAtTjLCSxBQVO 3bkGe8UtsPK0VoWih9WUqyrD7jTFd3v1LeSyrZ00mguL96ztYSYQqiS6/cUry3MMS+ 0ZQo7ntmGqIMA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCFE5CD11DD; Sat, 30 Mar 2024 09:57:56 +0000 (UTC) From: Sam Ravnborg via B4 Relay Subject: [PATCH 00/10] sparc64: Fix CPU online bug and warning fixes Date: Sat, 30 Mar 2024 10:57:36 +0100 Message-Id: <20240330-sparc64-warnings-v1-0-37201023ee2f@ravnborg.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIABHiB2YC/x3MQQqAIBBA0avErBNMTaqrRAuzsWZjMQMVRHdPW r7F/w8IMqHAUD3AeJLQnguauoK4hbyioqUYjDZOW9MrOQJH79QVOFNeRXnfxdhrTK2doWQHY6L 7X47T+35CLiOJYgAAAA== To: Andreas Larsson , "David S. Miller" , sparclinux@vger.kernel.org Cc: Nick Bowler , linux-kernel@vger.kernel.org, Arnd Bergmann , Sam Ravnborg , Atish Patra , stable@vger.kernel.org, Bob Picco , Vijay Kumar X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711792675; l=2071; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=eDnRUPngHqoQZ7G0b6cjOURT4uhlTvBwqKCHkp86dUI=; b=XbiHaZ/tYJDLA+a14/hq+RNLsBlpQeOA1+rEeZk7TbiaKPXwytF49GTZiGF68WZIeOwb02V/RLnH CJVACzeFBQ/ioYueEX2mS2PTVVtDyJVb3DKSvYn8mxZNLwri6H+R X-Developer-Key: i=sam@ravnborg.org; a=ed25519; pk=R0+pqV7BRYOAeOIGkyOrSNke7arx5y3LkEuNi37YEyU= X-Endpoint-Received: by B4 Relay for sam@ravnborg.org/20230107 with auth_id=22 X-Original-From: Sam Ravnborg Reply-To: sam@ravnborg.org Nick Bowler reported that sparc64 failed to bring all his CPU's online, and that turned out to be an easy fix. The sparc64 build was rather noisy with a lot of warnings which had irritated me enough to go ahead and fix them. With this set of patches my arch/sparc/ is almost warning free for all{no,yes,mod}config + defconfig builds. There is one warning about "clone3 not implemented", which I have ignored. The warning fixes hides the fact that sparc64 is not yet y2038 prepared, and it would be preferable if someone knowledgeable would fix this poperly. All fixes looks like 6.9 material to me. Sam --- Sam Ravnborg (10): sparc64: Fix prototype warning for init_vdso_image sparc64: Fix prototype warnings in traps_64.c sparc64: Fix prototype warning for vmemmap_free sparc64: Fix prototype warning for alloc_irqstack_bootmem sparc64: Fix prototype warning for uprobe_trap sparc64: Fix prototype warning for dma_4v_iotsb_bind sparc64: Fix prototype warnings in adi_64.c sparc64: Fix prototype warning for sched_clock sparc64: Fix number of online CPUs sparc64: Fix prototype warnings for vdso arch/sparc/include/asm/smp_64.h | 2 -- arch/sparc/include/asm/vdso.h | 10 ++++++++++ arch/sparc/kernel/adi_64.c | 14 +++++++------- arch/sparc/kernel/kernel.h | 4 ++++ arch/sparc/kernel/pci_sun4v.c | 6 +++--- arch/sparc/kernel/prom_64.c | 4 +++- arch/sparc/kernel/setup_64.c | 3 +-- arch/sparc/kernel/smp_64.c | 14 -------------- arch/sparc/kernel/time_64.c | 1 + arch/sparc/kernel/traps_64.c | 10 +++++----- arch/sparc/kernel/uprobes.c | 2 ++ arch/sparc/mm/init_64.c | 5 ----- arch/sparc/vdso/vclock_gettime.c | 1 + arch/sparc/vdso/vma.c | 5 +++-- 14 files changed, 40 insertions(+), 41 deletions(-) --- base-commit: 84b76d05828a1909e20d0f66553b876b801f98c8 change-id: 20240329-sparc64-warnings-668cc90ef53b Best regards, -- Sam Ravnborg