Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp803729lqc; Fri, 8 Mar 2024 12:05:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXtXLTJ832kVrtDY9eySc/TW8mw5+EHAygQYlLafo3tY5caVOn2alEJhsJIhOUGsBXNO/ewpm50OHfTVLjXrBqtIoNdO4S8McMHoMRkGg== X-Google-Smtp-Source: AGHT+IFoGv3nFl6ebCLciiiRfa8jp7i9TV1L7BWvuqA32VUau/NQLXuYFPb4Szt4KJY04sExY93N X-Received: by 2002:a17:902:b78b:b0:1dd:4064:9f2a with SMTP id e11-20020a170902b78b00b001dd40649f2amr110285pls.38.1709928319253; Fri, 08 Mar 2024 12:05:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709928319; cv=pass; d=google.com; s=arc-20160816; b=1IFKzyKqct52G9nvEoT+VHgNhlBniMyjaeosTc15WfocCLkGLecnfy0uzzP6AnKXch VPeiWSRL0uF2vMnYFeXqEzvL79aNkG/BwPimmGZ8HJCUKdAT0N0o77uvGNgFYmIEEPZr uaB7Isflxn+//65vXU1sCoGzKr2OvNqZ2INxCQt0cp4RX0vK3UFPQxWlRaoupvbXYSa9 hPse+vbDIGZnVS8NaDO2jM0NE5bxRTMh/46WoV3o2k6ALac1t8eL2WnEsux+aD//Nw4P FhjnonW+qw6IylKZiwog5e2ivrN0Ft+GRpI3FJBWfbOukv6r+6MdS0+6ZLh5ZjQOL4Sb CfYg== 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=Bz7WFKATpeRUEMd+kK/nmA2pOOoQq0OLYoXU7B2XQAk=; fh=3cbvRyDb7XIlZ2ZLMt0wWxLLV/tYpbhflcys0Ej/aFU=; b=ynouajB50z5xlsMApPdNYnjfPzSAXo12uWbcMxRh5AMfOBREXRsAAx20mGWZgrN72m ui3xPpszfDqvzzqhlHgStJ6Du9md7Dj7bAUxTzKn2bqbrMDQ1HFRKde73EzmFg1J9d+J abMu713jrvqk/txNuBPW20gHLjI0Do6SIKoOOgW/3ermihdJiNZVZtcGVJrLW/kI6Vvw tilMWE4LXjhip0VocUhYC1CRpLUuJhI2mibjJl0CWhn1pmBgSCjcPutxjVV1q2Tx0Vkc D9oUBVWYDYae0ixBdfkm1rineX+wVqZvk3eZR1r3IkK6yLnFY9TW37cKvw3PdAtdiJU+ THMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=OkWhs91G; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-97530-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97530-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id lk16-20020a17090308d000b001dca82b0316si102315plb.0.2024.03.08.12.05.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 12:05:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97530-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=OkWhs91G; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-97530-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97530-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8CA18B21332 for ; Fri, 8 Mar 2024 20:05:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C4CF5B5CF; Fri, 8 Mar 2024 20:05:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="OkWhs91G" Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) (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 88A045A7B6; Fri, 8 Mar 2024 20:05:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.231.106.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709928305; cv=none; b=OFJYLW3j+03Z2li+Tq5PbpOwYHs/9kiqrJ9w6AOmgznbCYa1v3doMYQVeXBybPqmy5nuAYxmAsAmCdlG0t68SwJWyktmFnTluQe6MD1aUBKZT0KxhTu1omGCUoSSqurDZ6VKl5hkGq0o9P3dJ4Ztuabb60erOnzBcP/mGqChNNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709928305; c=relaxed/simple; bh=hTdDW/QPVrtJ0hv0pJwoncMwRgnDZcmT72YWj8/pWaM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bCr6k/WfEpmXnDeA2exc2vGcCLWZQ7tm8h0DulS6cWnSFZHlJTVtffDy+PeuOCnmAVkIiO/v0dUfpzD6nhmzF+vDe6MZc5nJDg9xmHa7dcRoBRa47vSpWJ37a4faBLVrk3iu3ID8KOJKB+8TfwU5avmiGa5sxKX6p3UtMf25+KM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com; spf=pass smtp.mailfrom=gaisler.com; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b=OkWhs91G; arc=none smtp.client-ip=94.231.106.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gaisler.com Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4TrxwY64p8z684f; Fri, 8 Mar 2024 21:05:01 +0100 (CET) Received: from [10.10.15.2] (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by smtp.simply.com (Simply.com) with ESMTPSA id 4TrxwL2MFcz6849; Fri, 8 Mar 2024 21:04:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1709928301; bh=Bz7WFKATpeRUEMd+kK/nmA2pOOoQq0OLYoXU7B2XQAk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=OkWhs91GDEt0Zv4LTotdE8GdTAx1QI86pbrgCwpaJuXQg9qbBz93m1RFHzbV6axOE dlJ5xZnAQawP4Sk1UQ/76QeEb0SOu9rgpxABL92ergvCGK5PF2aE0qyJQjQ9sWZaVT k3redQSwjdQb4WVOyDOkwKEcydyFsLaoQlWeycSA= Message-ID: <8123d73f-1e65-4e3b-870d-044df0d38c76@gaisler.com> Date: Fri, 8 Mar 2024 21:04:49 +0100 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 v2 6/7] sparc32: Fix parport build with sparc32 Content-Language: en-US To: sam@ravnborg.org, "Maciej W. Rozycki" , sparclinux@vger.kernel.org, Randy Dunlap Cc: Miquel Raynal , linux-parport@lists.infradead.org, "David S. Miller" , Arnd Bergmann , linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@ravnborg.org> <20240224-sam-fix-sparc32-all-builds-v2-6-1f186603c5c4@ravnborg.org> From: Andreas Larsson In-Reply-To: <20240224-sam-fix-sparc32-all-builds-v2-6-1f186603c5c4@ravnborg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-02-24 18:42, 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+ > --- > 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 Picking this up to my for-next Thanks, Andreas