Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1211195lqo; Sat, 11 May 2024 12:17:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpNVhcRZlR8akJ/T9fBhzHMxykeKDKnvEDdo9geo4eKj6CNJB9drRYeW8Jv3oFMR8imNsazBZbxBuzswT7Z3V8ykL31AGi73tNs3aa1w== X-Google-Smtp-Source: AGHT+IEfoO1p1axo0bLCnKWVBSqQeK1t4Am75pus0VCljoqNM/gWWuDsWV/IQFKypKs7Kn2HbzZr X-Received: by 2002:a17:902:e805:b0:1e4:31e9:83ba with SMTP id d9443c01a7336-1ef43c0f8cdmr81999365ad.1.1715455055040; Sat, 11 May 2024 12:17:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715455055; cv=pass; d=google.com; s=arc-20160816; b=raWHCvCsefJN8TJsGenMtqL2CNMVHFE5gKW6tKc5Sn94o6la3i5P57b+Zd2pYlMgUR lPGy58fk3fDHtYexFOv3szJ3i/lqvGwdJ/P+WGl5twAAM5rIyIqi9IzDTz58AIVKP9KC s8wn+Vr52d+ckU+mX6VOAzT9RJDzeqkJATSedyk13O7kuAJv0jc9r/6iS9L8P6el0lp0 eyFYx8zLE5Bz/D9xZtiI+5GTDWW2UurBFL4hrp1v2O9dmEsP8Ml9VKUNSTJZmTxPY4Er qemwoYFLgZnsSRqZxXaopkZ6elbZ0YjxBoJPTafb12uGq7hhDjoD7peKt6a/2r6RreOE 568g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=/qsLf4VyQiTTpz6DhDtJ1peDkW4zFePWWc+PeQrEzp4=; fh=iavadByEOFZQ+bZ9ERRzplOQ+BVjn61Grf3VAfI3iks=; b=dZfNou/VDv8cAkKRUqp/p+EmfWWUSMJjxAdc/vfdQymQDBN+RDAWFnDCEw5GqUYsNK JV+w19xhmKbhwmBqc233RjVJAui6AFcVFCcNOPSYlc6wHJpeKZFOfIw1rg9iqyAXIBPz lggSTi4wnPl5s1fhukpW7ZiTpD4vV0gVj1L18KD1qXnptwW728BhC7ATIj+E4wZOPNxn 7n2I/rB0Uh0k1ZoNaq++/d2e20CVNzp6uhESPdr9BqErswozvlFyDQooT28rmJdfdox/ KagRxzz6g0kuQB8UfiJY6mFRnSGcT7Uq9dusE3e1QP9t7JHjK2OfBrwTHlI8FrHlIXQ3 Z6sg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=artur-rojek.eu); spf=pass (google.com: domain of linux-kernel+bounces-176692-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176692-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0b9cfb9csi61734415ad.89.2024.05.11.12.17.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 12:17:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176692-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=artur-rojek.eu); spf=pass (google.com: domain of linux-kernel+bounces-176692-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176692-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 A0386282287 for ; Sat, 11 May 2024 19:17:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E6641CD39; Sat, 11 May 2024 19:17:29 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 6EAD41B974; Sat, 11 May 2024 19:17:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715455048; cv=none; b=SxLcG+lbBsdq4wkdnjv84uNHvUEKTt8N0+RaGzXF8pl1Ug8VIlRmI9ty39w2KD6OnI0VxbfgZZB5hc5pRiwbC/U7NU9JzrgaZ3TI+zYBjcHTbx1YajcxjsSLbeaGHOe4zKza4nQZRgh6U9SxxHbGhOP5dcsxNb3NvZtSkTtY7tc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715455048; c=relaxed/simple; bh=o38WDiwjHTrWZ5SJmgAhXw6gq1MwIlG3qU3F0nw8CDY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EE1HC4AT7ylYmeAPjtIYbaAl/kPzjOXuK/A/M5sLdJmX3bmzy93SSSwdw87mWbKzupaioFfXwoDRp7UjbRR+AahGR9k14twI9bWBTccYCQPzFxoTXg3tgTqO8y6ARaZmhb5s89prpyjbiUjiaFv+5AbaBciVvVfOEY0Dl/ZpWBk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=artur-rojek.eu; spf=pass smtp.mailfrom=artur-rojek.eu; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=artur-rojek.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=artur-rojek.eu Received: by mail.gandi.net (Postfix) with ESMTPSA id E2640E0004; Sat, 11 May 2024 19:17:14 +0000 (UTC) From: Artur Rojek To: Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Paul Cercueil Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Artur Rojek Subject: [PATCH 0/1] Fix Dreamcast GAPS PCI bridge Date: Sat, 11 May 2024 21:16:13 +0200 Message-ID: <20240511191614.68561-1-contact@artur-rojek.eu> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: contact@artur-rojek.eu Hi all, this patch fixes the G2-to-PCI bridge found in the SEGA Dreamcast hardware, by setting the appropriate IOPORT base offset. While being just a simple change, it's notable to mention that, when combined with the DMAC fixes from e82e47584847, it allows Linux to boot on the SEGA Dreamcast again, probably for the first time in a long while. Artur Rojek (1): sh: dreamcast: Fix GAPS PCI bridge addressing arch/sh/Kconfig | 3 ++- arch/sh/boards/mach-dreamcast/setup.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) -- 2.45.0