Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp171795rbb; Fri, 23 Feb 2024 16:34:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+Xodi2SttUNQB7T4U0JQPkwl1POGVih/5YMAc4JoJCCjfOfTwFDGvXmgjaJ40Y6HRAH4AI6TxG8GlXYkszCyfcQWIzNb7/HiqaCg1Cw== X-Google-Smtp-Source: AGHT+IGaimEiP7OV+uE9NFdMIJh4gXhUhBCrz7yFlpfqxAVADJUGC2N4/1IGa9fRLzYBIoXVHRfr X-Received: by 2002:a25:6913:0:b0:dc6:bbbc:80e4 with SMTP id e19-20020a256913000000b00dc6bbbc80e4mr1400067ybc.4.1708734875588; Fri, 23 Feb 2024 16:34:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708734875; cv=pass; d=google.com; s=arc-20160816; b=Pufclu76B4zWL72l7OLaKk0Yuzu9RqW/p5z42IEHqGexrVacfX7W0d9gFJTZjr8h06 wBw9feHFYNGoccqS3xHV9BAw9vjtRrbgsxUwFHnj6gwLep/7E8CiLacT7A0AwEvT2pcz 14X9vduSYS37kIZOuJvhDQKdjm+cZi6tGic1Hhdh3FWNb9GJX8H1+3CA4Ii0d0hs9jse m+u03aw3OjG7uhTZgseu0Zo0+ViWXm8yOkxHk9m2grfaKCcUgUDU2JlF0Uq0vXyzHb3c 2TgRukGOFFhCsLIy80fp6ucVcXXIR+XMNBP4cbUBZthenfBKgYvKvJK8aTPNT7PZorNY a0PQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+78lHf6wE1V3WvNZO4eC3Ft1qvYeNcUsJdGOhWgLsHc=; fh=wQWvIBCRqHqCDzc8XZ3KeVjIaG5QrHUIJ/RY6y1iVYE=; b=0Zi25tiPdm1V7aucw+2wYv11NqqX3sOoSp/SfjsWHiueqXaNXNRXj4mxtNtzisk+/9 szGGN7jmLwc70firBiiIpUDWm2CvR1qdaa/Q2uhcj9l6KFLuFpJUT9NYgf+E5Wf2WNEX w8MsTu+l1gGHVOWj36D7uW0+mWjW0072lKXiLLVpPq/8twrq0/8LAl9+ltFz3/EBqTsz ZC/HWhK5jfxTM2CLFPCZGtRfcOMDgYQKfe25BEKMlti7LG1Q1k7It3qfcM2OjhAgHqkQ 7qjZIqByU+3z2RAeWo2wiQThV0dJ8dMBexDMrIACpmvo6O1HyWcA42E8O7yOKrLMeO94 cppQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="w///kqWz"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-79369-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79369-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c7-20020ac87dc7000000b0042c4c5c2ce9si114141qte.390.2024.02.23.16.34.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 16:34:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79369-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="w///kqWz"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-79369-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79369-linux.lists.archive=gmail.com@vger.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 56DE71C2518B for ; Sat, 24 Feb 2024 00:34:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6AE7E17F5; Sat, 24 Feb 2024 00:34:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="w///kqWz" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 326A4A59; Sat, 24 Feb 2024 00:34:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708734868; cv=none; b=mmeeH/MgJBzoz2lcVZ8cf/T1xXy+5n5Mw48NLUdZNqxSEm1p7xFcH00m2e9Upxpa1UyUq9wAUUAumd/Wg74l0dUqRi1eMqQZsnulD7mgH2NPpq7u2GLDW8iPtTIiZelbM8nehuSaLOP627NYnijg2cUQkoIIqnSlunR5oBNuwb0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708734868; c=relaxed/simple; bh=NyZC7DMt9AaOWyzhLHalvlIineDokNGezKhcwMO0G0U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mlPcIVXDfXO5oH7Ux09nUbxu22DjiBiqIx5MRJt/hZIZrU/qCuBEtuqtf3i6K/X/n2zK9BTI46Ej+JaQTqInO6YsZ6Epe4PD6VQiXo6cDorzOUL854eT17oYF5z8K/rqOCE5+D2Jw3Dz0hwqR17jvDqczDWEnCfJbw5hS/LcmgA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=w///kqWz; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=+78lHf6wE1V3WvNZO4eC3Ft1qvYeNcUsJdGOhWgLsHc=; b=w///kqWz7t4I9I5u3Ax8UN47Qh tgOJUr6O1eUMIuIJyXxuKnQ1ziqZslIU5GaIqI/djIYeEoc9mQbf7LXRKOiSxjtAYWedd9hcKe3SH 1K0KR6TbPzUF83VqncPipDwAbRGOcCRjqmRDk/HljYzvcNJlQw07wtI1WPtDb7hXXLb7FhETQDZ8W ljzsvIkmN78gxdV9CZiR+1qKEuPLXAJwB+3fYdYJkHWILyCD2KhryCvZJHcQPR4dOWZA+Zd+jixyJ Fm6aN6pkq92EtpPu2yJkY9yOhSaIjaW/BASxRGJ/LPODLcFICL59hJpdRHRGLAuKbvCc+s7LDvcWM 9LY+68mA==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdfzl-0000000BhS0-0u0z; Sat, 24 Feb 2024 00:34:25 +0000 Message-ID: <874c4cbb-d904-4aa3-9c87-cb3d639d3661@infradead.org> Date: Fri, 23 Feb 2024 16:34:24 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 6/6] sparc32: Fix parport build with sparc32 Content-Language: en-US To: sam@ravnborg.org, Miquel Raynal , "Maciej W. Rozycki" Cc: sparclinux@vger.kernel.org, linux-parport@lists.infradead.org, "David S. Miller" , Andreas Larsson , Arnd Bergmann , linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20240223-sam-fix-sparc32-all-builds-v1-0-5c60fd5c9250@ravnborg.org> <20240223-sam-fix-sparc32-all-builds-v1-6-5c60fd5c9250@ravnborg.org> From: Randy Dunlap In-Reply-To: <20240223-sam-fix-sparc32-all-builds-v1-6-5c60fd5c9250@ravnborg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/23/24 11:36, Sam Ravnborg via B4 Relay wrote: > From: Sam Ravnborg > > include/asm/parport.h is sparc64 specific. > Rename it to parport_64.h and use the generic version for sparc32. > > This fixed all{mod,yes}config build errors like: > > parport_pc.c:(.text):undefined-reference-to-ebus_dma_enable > parport_pc.c:(.text):undefined-reference-to-ebus_dma_irq_enable > parport_pc.c:(.text):undefined-reference-to-ebus_dma_register > > The errors occur as the sparc32 build references sparc64 symbols. > > Signed-off-by: Sam Ravnborg > Cc: "David S. Miller" > Cc: Andreas Larsson > Cc: Randy Dunlap > Cc: Maciej W. Rozycki > Closes: https://lore.kernel.org/r/20230406160548.25721-1-rdunlap@infradead.org/ > Fixes: 66bcd06099bb ("parport_pc: Also enable driver for PCI systems") > Cc: stable@vger.kernel.org # v5.18+ Acked-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested Thanks. > --- > arch/sparc/include/asm/parport.h | 259 +----------------------------------- > arch/sparc/include/asm/parport_64.h | 256 +++++++++++++++++++++++++++++++++++ > 2 files changed, 263 insertions(+), 252 deletions(-) > -- #Randy