Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp504881rbb; Sat, 24 Feb 2024 09:42:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVc24EJEQ9483HBV8K7Ch+8V8VvtaMxA7A0flDXiYAJkWo1XHsK95ycz7hHw4moh+iaGu3BSuQfbledjvJgtovH+uieYXbocDt+kno31Q== X-Google-Smtp-Source: AGHT+IEPHgLGD0SOK+IwK8yTipyBzsuE+AiSbQ3EQMGoRLA9uXULkFOtWYiWXq+iNLeW2xYUusbU X-Received: by 2002:ac8:5c8d:0:b0:42e:644a:ab8f with SMTP id r13-20020ac85c8d000000b0042e644aab8fmr3223774qta.6.1708796569907; Sat, 24 Feb 2024 09:42:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708796569; cv=pass; d=google.com; s=arc-20160816; b=e3r2AJpGe2q5aHvfhDMUe4+O537zx58EuMUUMwzOxae+ifObVBoudC43KCqK+l3OSM LP7Xv5xsw5zZGuHXxUmEc/tXhkynMCsMHfRhvXmtm6q0XOeeJX5S7yo3jAuuzVHUiX7M w7n4qmYitWVgDUL1nI2YA80TZ++kn6ZzpDhDD9LqIeRkNKQzBLyH2Rw63CcP/+IyMEv2 MKTIKkKJr5wkysWZFN3s90qg/IjapmxgpN7l+EkCdknxnHpL63MIyK7ibf66nKSPvZHT RcFnuZ5/fKuc1EJlHxaAQAu4gA/AztsAbKh6W6HjPEZLX64PRgkErY4xCsTSW3NGkU5x /Rnw== 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=6fJuuIH52L4jopzd5W5K8HwANq7yx521tuBG+S+II3o=; fh=OdQDGowjVR/aZ7tyqP8rfFw4/m3+TGAiNU87sROqqEY=; b=O8heP03ccwRqdUc9Hoqs1Na9awBMtqjOfplh6lU4SEelJB5X92pB4yDPy7CdykVZS6 DL7TDwlDqs0+nkVtIlPt9DJc/Exz6tHM5N3ci7XoSh9F5N5c3H/e/or/u8RXabyx6L8u DLWe0+HfPlGR2Jz9gx/8cTFgnJCzfwUdJ4X/1G+h4QTYEDPDkEn+oWBJJKmm+mvFDaTM OhJSH7kbelyF6Dplc/YZecIwespmIVpKIkQyhhQDPRTuhGew9wfiTRAjfJMtE+pgCUO2 we1RZmWyUU2HJR51jCu0V7cVqndWGCHmx0JvJmGQl3k74WyDWuW1SCFkVoxdF3Xx0QIr YFQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p8IqT6BL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79765-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79765-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l17-20020ac84a91000000b0042e74a00c9fsi1306939qtq.427.2024.02.24.09.42.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 09:42:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79765-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p8IqT6BL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79765-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79765-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A79D41C213B4 for ; Sat, 24 Feb 2024 17:42:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 563304C619; Sat, 24 Feb 2024 17:42:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p8IqT6BL" 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 413BD47F57; Sat, 24 Feb 2024 17:42:27 +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=1708796547; cv=none; b=khUnOQNpe93V5npe2Ywi8LT13ETDXrZJG7q1zXAk7/WYVM63anT2kYYZGTpSCc7moPRXBCQfzBvlDo3I4FK3dq6rWipE83tI1sBvfKQ6R+/g4cLdwDGAgRZA2advRqAdlPzeYquIWOFfA20RlYQE1k0kE33NOHh4Z2hRjU3+IBM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708796547; c=relaxed/simple; bh=X84iKnqqvDs4FSzZwltR/vjttwT6+4gDq5uRYJRa4ms=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Viv58+MWA152MBdVTr0BdXBucfHEw5dPWZ0BTD7YakfoMaM0/UBJw//0P6M8YX/MDa5QXoGC6HP732pGCaeWrx2g2oXjXARVN01KKv250c0DKtNOH+T4aGA/h9WlBzLfS4vFIQRtecjXG54ZoCZm8GA5HbHfq8jsMzQEea0Lv8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p8IqT6BL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id D4E14C433F1; Sat, 24 Feb 2024 17:42:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708796546; bh=X84iKnqqvDs4FSzZwltR/vjttwT6+4gDq5uRYJRa4ms=; h=From:Subject:Date:To:Cc:Reply-To:From; b=p8IqT6BLWEIOd0D5rqmMDux9too1BdfvBU7WLo3/M6UkkhEkXp5eAHfwYZk3e5Kwn T7B/7D3t828ELksyKXZk2lt/J5qFMo9coZBhvkrpCcjujZFjyPL4VroK7/NpqqWQLH YGBWhZfmOohX3MwKx84PyyoVs6Rk6H38WXcdA73cN2fcf9dFePtMozsKivMAoHxOaH mC7Dq0pigLSJ16glsGsgZqKhJuOAoYXWT6dHmDwutLPC2NuxGPIbIHpgO4UVtiwnNB hx4Q+pqZx90Xsp1HXgxp9rox8DSiNBhzZbcuKosEDmREfhqLK29KRZC6S54hYWLyUX sFHxWlGVMbOUA== 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 C0AC8C5478C; Sat, 24 Feb 2024 17:42:26 +0000 (UTC) From: Sam Ravnborg via B4 Relay Subject: [PATCH v2 0/7] sparc32: build fixes for all{yes,mod}config builds Date: Sat, 24 Feb 2024 18:42:21 +0100 Message-Id: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@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=H4sIAH0q2mUC/42NQQ6CMBBFr0Jm7ZhhCiS68h6GRWkLTIJAptpoC He3cgIXf/F+ft7fIAaVEOFabKAhSZRlzsCnAtxo5yGg+MzAxBUxG4z2gb28Ma5WnWG004TdSyY fkSxVZHwTys5AFqwa8vKQ39vMo8Tnop/jK5W/9i9tKpGwdg31vnYXrummNs3dosM5B9p937//A +N+xwAAAA== To: "Maciej W. Rozycki" , sparclinux@vger.kernel.org, Andreas Larsson , Randy Dunlap Cc: Miquel Raynal , linux-parport@lists.infradead.org, "David S. Miller" , Arnd Bergmann , linux-kernel@vger.kernel.org, Sam Ravnborg , stable@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708796545; l=2881; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=X84iKnqqvDs4FSzZwltR/vjttwT6+4gDq5uRYJRa4ms=; =?utf-8?q?b=3DuVUk6SNR2PRI?= =?utf-8?q?hhlI7FiC0xyC3ybSXRI7dcnt+LpFDLsVFh7E3Dp83/IH/+KkhGiT3yKpvCsCAEaI?= grgWlLGpCRKtOo9ncpF2S37R114cBwqW8wWw68lJvmM+oKHbaQHS 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: This is a small set of patches that address build breakage with allyesconfig / allmodconfig. This solves some, but not all, build breakage. The parport fix depends on the previous patch, the rest are independent fixes. With v2 there is a extra patch that drops ZONE_DMA support. It does not fix any build failure, but a nice cleanup. Cc: Miquel Raynal To: Maciej W. Rozycki To: Cc: Cc: David S. Miller To: Andreas Larsson To: Randy Dunlap Cc: Arnd Bergmann Cc: Changes in v2: - Added r-b/tested by (thanks to Randy and Maciej) - Dropped patch for uhci-grlib.c as it is already upstream (Randy) - Added a few Fixes (Maciej) - Fixed commit message when dropping GENERIC_ISA_DMA (Maciej) - Added new patch that drop ZONE_DMA (Maciej) - Added new patch to fix section mismatch error In an allmodconfig build I see a lot of: modpost: "__udelay" [module] has no CRC! Similar for a handful of other symbols. Any hint how to get rid of them would be nice. I have tried to add the prototype to asm-prototypes.h with no luck. On top of this the link fails, but I assume this the kernel that grows too big which is no surprise. - Link to v1: https://lore.kernel.org/r/20240223-sam-fix-sparc32-all-builds-v1-0-5c60fd5c9250@ravnborg.org --- Sam Ravnborg (7): sparc32: Use generic cmpdi2/ucmpdi2 variants sparc32: Fix build with trapbase mtd: maps: sun_uflash: Declare uflash_devinit static sparc32: Do not select ZONE_DMA sparc32: Do not select GENERIC_ISA_DMA sparc32: Fix parport build with sparc32 sparc32: Fix section mismatch in leon_pci_grpci arch/sparc/Kconfig | 7 +- arch/sparc/include/asm/parport.h | 259 +----------------------------------- arch/sparc/include/asm/parport_64.h | 256 +++++++++++++++++++++++++++++++++++ arch/sparc/kernel/irq_32.c | 6 +- arch/sparc/kernel/kernel.h | 8 +- arch/sparc/kernel/kgdb_32.c | 4 +- arch/sparc/kernel/leon_pci_grpci1.c | 2 +- arch/sparc/kernel/leon_pci_grpci2.c | 2 +- arch/sparc/kernel/leon_smp.c | 6 +- arch/sparc/kernel/setup_32.c | 4 +- arch/sparc/lib/Makefile | 4 +- arch/sparc/lib/cmpdi2.c | 28 ---- arch/sparc/lib/ucmpdi2.c | 20 --- arch/sparc/mm/srmmu.c | 1 - drivers/mtd/maps/sun_uflash.c | 2 +- 15 files changed, 284 insertions(+), 325 deletions(-) --- base-commit: 626db6ee8ee1edac206610db407114aa83b53fd3 change-id: 20240223-sam-fix-sparc32-all-builds-0a0403d6e1b3 Best regards, -- Sam Ravnborg