Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp213795rbb; Fri, 23 Feb 2024 19:02:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbqaykfM80D1bwjITmB6QR8OeE2/sARwknFTrK+wscpn/58YU+z06DqV39l917JOAas+5oAomfP9IDwD4qwqPZSfs1H2LlBF7gSB1rUA== X-Google-Smtp-Source: AGHT+IGeKRhJ0qFtECpmmQ5k2vAgaYWXkDrca+iZs8VLTBkhnrkqN8nKglbRem/fB7wsDyJncZQx X-Received: by 2002:a17:903:2305:b0:1db:f1e2:84f4 with SMTP id d5-20020a170903230500b001dbf1e284f4mr2010662plh.38.1708743751469; Fri, 23 Feb 2024 19:02:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708743751; cv=pass; d=google.com; s=arc-20160816; b=bjEQctTS99rQsislkNj3E3NH1lcq/GxQ+5XhHogaNKk/s8mz+jBgFT6XXvDRPDpblg LvUKeD79mJ7z83Kf6ka5qEavDy0Tp31IclAO4lsVhvLTtejrTF24V1nom17gfEeIaLNl apJhSCWtXGK5HtMjIpXkyLGgauRQE18h8nm2x8jVTSgHr9nHtyoe88Bfj3IkDl3D6ADt tZnplWWLM7ZK/o10a71z0uBTh/1DH5ACYOYYdHgnR94bDZFiPa5hHHKJ1kRrmgh8Df5W or6cFJfKpol1yqDwmdK9goCxNmhe+VN7HMZUj8uNRCPcUsGd6NsfYCHScihufijY3aKT Qrpg== 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=P4/6ylE3qdbzfyOWCc+Vv4fERzTofh2EIKIzNCifGOM=; fh=N8W787otoUxwnxtqcaud2hqLHqpwdNHco94I3+9+RRQ=; b=dcn22sQZMX+9S8+hNWP9SJJoINfkMsW5HMJjpGOxFK0tS7/oB/ZKVDOsHIdTX1fV/Q ZUXu+ZMwLxPL3kyex63ea/6YWyXXRG4zJZB86L994A/OxO2DfllqqttSY5CAzgvh/Hse FLah1kywXIXieZJfIxktBMUrJDI6CGaOwHx1XOGfK3tGpmL0k3ljzAUPS2omsAG9r1cI LTkuAk8esVFxaW5g0p1dqnDBlAuqAIpidz1XYwtNAvnC7BPwZgG5FdcTaaMpAXxdmwv1 2RktK57T/PSshHmrZ4XXDH9EOXoCasOUJhPbM4m3JQV2rR2ggSWHW69Bsy/Y4/gK4xkp mAKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-79452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79452-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b9-20020a170902650900b001db6f2bec7csi190396plk.236.2024.02.23.19.02.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 19:02:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-79452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79452-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2AAD7284579 for ; Sat, 24 Feb 2024 03:02:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A0E5125C3; Sat, 24 Feb 2024 03:02:25 +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 09827DF56; Sat, 24 Feb 2024 03:02:21 +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=1708743744; cv=none; b=fcz9Nx5pcZ5o5pm7vqQDJ1m8oGejM7fMkgkGsCjPW9TgauBUgBK1ryB7acWwtCElsf/Ce/hZnn/GPVTJ8wcoJThmHPrVawv1Otd8hns4LHamwla0A+LQepfIOAoBHX23hahejMd7EXb/1seIYQgx5XcwAeiCwR6XBOypfqY+r4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708743744; c=relaxed/simple; bh=42qckR7sEklLzyLtRQ2dN5IEexo3aslIAHZ9vNape+s=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=M+agRVYs/hSWmlj6K520Mej0SNLnLuOO1udU4LuSKg2m6I+AbGkQI3TbQEEcESkPr8nBkS6AqdJPRRH2YDyaWtRG9AheGbCTlIyPt1HuSG8uKf/uK5dvDWhR08GF0mhhJcMnzU1Iz2gGWqIHfSMtzbdM0cDBa/CFr0LCvUbsT5U= 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 5618992009C; Sat, 24 Feb 2024 04:02:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 4721892009B; Sat, 24 Feb 2024 03:02:20 +0000 (GMT) Date: Sat, 24 Feb 2024 03:02:20 +0000 (GMT) From: "Maciej W. Rozycki" To: Sam Ravnborg cc: Miquel Raynal , sparclinux@vger.kernel.org, linux-parport@lists.infradead.org, "David S. Miller" , Andreas Larsson , Randy Dunlap , Arnd Bergmann , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 6/6] sparc32: Fix parport build with sparc32 In-Reply-To: <20240223-sam-fix-sparc32-all-builds-v1-6-5c60fd5c9250@ravnborg.org> Message-ID: References: <20240223-sam-fix-sparc32-all-builds-v1-0-5c60fd5c9250@ravnborg.org> <20240223-sam-fix-sparc32-all-builds-v1-6-5c60fd5c9250@ravnborg.org> 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, 23 Feb 2024, Sam Ravnborg via B4 Relay 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+ > --- LGTM, it relies on SPARC never to enable ISA. Reviewed-by: Maciej W. Rozycki Tested-by: Maciej W. Rozycki # build-tested The other changes in this patch series address issues that do not appear with my ad-hoc SPARC test configuration, so I have no immediate way to verify them. Maciej