From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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.lore.kernel.org (Postfix) with ESMTPS id B67BAC433EF for ; Tue, 19 Jul 2022 07:46:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3tlvnCdCiOpsmiPjLPiUuXwkhjeSYHnI6Cv1arZ7ubg=; b=2y+f2E6ogZpYHM qjtfqncrLKmzSvA+jUiTBi6LPuDVDe3N5UKYKtRv+ExGsl0Zm59h1kB1pKMaCkmURpqIrMXDGsa8A pxyzqI6rN6YhGhCa5uEjpiZR5bdqyTIFs0kdYwiPc0U8c6XgIRZrycq59Zr6A3D0WnrkPCatzyE2g dt22r1h6oXQNYTplHnBF/JvnfcIAer/iSnCNDiB9UXQyFNb+vXsda+xz3DVfdi8Pg7XziHkHaYqNW xPq3VdrzaGd+9AbPterBsVxHeNzas0UDMaMcqfuYdueYxCV4uA7ikaIaAyzAqedIunoIYlqUc4RCh oinlXIRlYd73pcJiB/XA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDhwB-0062q8-0o; Tue, 19 Jul 2022 07:46:35 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDhvx-0062jr-P0; Tue, 19 Jul 2022 07:46:24 +0000 Received: from mail-yw1-f169.google.com ([209.85.128.169]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N8XHV-1nRdX60aYb-014Soz; Tue, 19 Jul 2022 09:46:17 +0200 Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-31c89653790so131734347b3.13; Tue, 19 Jul 2022 00:46:15 -0700 (PDT) X-Gm-Message-State: AJIora8yI/t1hSJ/OxZ7EpQfcerTRveEuwA7lKB2yqYLI8EWo4Zwz4HN TnLtJVrLNCU0PPJPsK/x3yDWHat2fN1w078RvKg= X-Google-Smtp-Source: AGRyM1uMUiVIGFjzA5TwWJRveS7h+exlQBS7bP6K2zksjYwuZuF4ih7u9nFVzpOHSizyHdxkqT+sJR2F1c3sqVPvIcs= X-Received: by 2002:a81:1914:0:b0:31c:e12a:f33a with SMTP id 20-20020a811914000000b0031ce12af33amr34887188ywz.209.1658216774978; Tue, 19 Jul 2022 00:46:14 -0700 (PDT) MIME-Version: 1.0 References: <20220717033453.2896843-1-shorne@gmail.com> <20220717033453.2896843-3-shorne@gmail.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 19 Jul 2022 09:45:58 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] asm-generic: Add new pci.h and use it To: Stafford Horne Cc: Arnd Bergmann , Christoph Hellwig , LKML , Catalin Marinas , Will Deacon , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , Richard Weinberger , Anton Ivanov , Johannes Berg , Bjorn Helgaas , Linux ARM , linux-csky@vger.kernel.org, linux-riscv , linux-um , linux-pci , linux-arch X-Provags-ID: V03:K1:7giq/taAA80iDrRGeytiiycaOr+J7mwbln189QJA9Qxq3gFQWEC 5gGUSjlIu6CChqNtO/DirykqQztIS9O2xl+ga8P10jgKyVApL9o6UWlani3z7xrIYtkjiJ3 OcFb+Y0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RM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220719_004622_151997_23BD9B1D X-CRM114-Status: GOOD ( 13.75 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, Jul 19, 2022 at 1:19 AM Stafford Horne wrote: > On Mon, Jul 18, 2022, 3:56 PM Arnd Bergmann wrote: >> >> As mentioned before, it would be even better to just remove it >> entirely from everything except x86, and enclose the four >> references in an explicit "#ifdef X86_32". The variable declaration >> only exists because drivers/pci/quirks.c is compiled on all >> architecture, but the individual quirk is only active based on >> the PCI device ID of certain early PCI-ISA bridges. > > > Ok, I was thinking of that route but once I saw the pci device IDs I > wasn't so sure it was limited to x86. I'll go ahead with that approach. Ok, thanks! I checked all the PCI IDs yesterday, and I'm fairly sure they are x86 specific. While some related products are general-purpose PCI-ISA bridges that have shown up on mips or arm boards, the ones listed here should all be safe. Arnd _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv