Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp78293lqk; Sat, 9 Mar 2024 01:07:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX6jawWYH97IWyWBTKYnL6gKLjBqCVSfp6VMza1BKqzkjENZ0Fq5ME8RpL9AWyJIn8eJgyC1GTnyB1/wO1VsTl3G5pCEwiYlRip/x0xYQ== X-Google-Smtp-Source: AGHT+IFx4rDamqeLvSeJMWbyq7KDcY40Rzup8r3pneSJ2/V3q5J2g+F4wVDDQnJI9UmtOkU0xVup X-Received: by 2002:a05:6358:5307:b0:17c:1bef:408e with SMTP id n7-20020a056358530700b0017c1bef408emr1792643rwf.24.1709975221473; Sat, 09 Mar 2024 01:07:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709975221; cv=pass; d=google.com; s=arc-20160816; b=F447y2STa+H0Yf7Ae2EvKs8yTAdkex0VzquDM2wY8Ig/MrMBp8h6IyMDCj4NBfvpjA 3354aK4sb2c7xkJZdcJnLovf79ZxhchpPFdV22gmkb9mKn088vLccDr1tx8A3m7L+Mts VmImzb3L0537UEuqHbftctO2rsJE//2ojkOKYMtbgeKWadVa4DFYmry6XKN0nHHuTHNH dLlrXiKJV6rXDb0BibAvOPmVfQ3STq2pfS2AlVCXL/1ICXoQ+phZnewraOIDgicnZmtG s1LH1CWslR3l3S2dTE3zs7m9WJQzMoG1IosuNc3aepduagZTDp76B1LnO6GQskEcUVU2 hEhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date; bh=vEnUgjgbhyE76O9l2xAeYxidrhoX8Ut60n2DjOZH6PQ=; fh=fQLZ+OvvSIvVKk/wV9JaB6mSuAdSBWzDXAwkojxaf00=; b=OaL+5ZL/RAUPqWPWdwBoVRVngEqmlqoBKjNEyx+7OLYKanigpI48jWrL3gDFfp0o49 GnRa9y3AxHkqlSBuETJLbNM6pz48KBEy5ahQqfqYuzuVSbB/xs1LDdvH1LhPx6/FJ85G PKst5dvSTmcQkCWCr22W5cYoYW/9s459LSYhu8dvkhdS255wk9xr9NmJXjAqwCQqjOkH MM71woN/nhZK6mKceJLRHxnQZNiKECn1hKVjFGWj2+sielEYLvFbjBN51jFL4axgD78G nMN1ZuiogvIxWp6K/KfxHjAk0whZszeNsQtLN96kbPKBJWIg8Jr7s9rov3yasjLEIcX0 jE4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-97826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97826-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 s3-20020a05622a018300b0042edac1f4a2si1311785qtw.369.2024.03.09.01.07.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 01:07:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97826-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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-97826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97826-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 322A11C20CDF for ; Sat, 9 Mar 2024 09:07:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B358374F9; Sat, 9 Mar 2024 09:06:53 +0000 (UTC) Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D6EF37142; Sat, 9 Mar 2024 09:06:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.133.224.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709975212; cv=none; b=UBVNbF7THMiPj7hdX4qco19BHV+2Goh68uFsaUdxyXj61AH6OixAUYjMRgE2Hr35NUZboxiLWT2noGLfn05AG27Xn/XFLGWVaLdZWObdKL5EoXCAdCOMETAacuxKFRHZuERTgs6xl6bY6XihEjSo98IE6h4zXw4m3wFP0kEWaX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709975212; c=relaxed/simple; bh=iFRdAp9jM3cl8aHzi7jFe79tLZ+9tKqQtxSZAuGYclY=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=WC23aRP7cwlIWI/ij0VUlJn1F6yP+Oa/mo3mG+Xzlxx/sgyMcCvVpXIvfAxYm6owrKWMiPXEiBXW+Gii6Pjct0ZCFLUeHmOADrrUN/krHLMYWhhVX5c0l76qaljaUDXUyqBRfsmEIOm+uLjvahiFzbt560wRZUcNJJyKSDSFhK8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk; spf=none smtp.mailfrom=orcam.me.uk; arc=none smtp.client-ip=78.133.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=orcam.me.uk Received: by angie.orcam.me.uk (Postfix, from userid 500) id 96CDD92009C; Sat, 9 Mar 2024 10:06:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 9393992009B; Sat, 9 Mar 2024 09:06:47 +0000 (GMT) Date: Sat, 9 Mar 2024 09:06:47 +0000 (GMT) From: "Maciej W. Rozycki" To: Andreas Larsson cc: sam@ravnborg.org, sparclinux@vger.kernel.org, Randy Dunlap , Miquel Raynal , linux-parport@lists.infradead.org, "David S. Miller" , Arnd Bergmann , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 6/7] sparc32: Fix parport build with sparc32 In-Reply-To: <8123d73f-1e65-4e3b-870d-044df0d38c76@gaisler.com> Message-ID: References: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@ravnborg.org> <20240224-sam-fix-sparc32-all-builds-v2-6-1f186603c5c4@ravnborg.org> <8123d73f-1e65-4e3b-870d-044df0d38c76@gaisler.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) 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=US-ASCII On Fri, 8 Mar 2024, Andreas Larsson wrote: > > 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+ > > --- > > arch/sparc/include/asm/parport.h | 259 +----------------------------------- > > arch/sparc/include/asm/parport_64.h | 256 +++++++++++++++++++++++++++++++++++ > > 2 files changed, 263 insertions(+), 252 deletions(-) > > Reviewed-by: Andreas Larsson Reviewed-by: Maciej W. Rozycki Tested-by: Maciej W. Rozycki # build-tested Maciej