From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751516AbdFFUiD (ORCPT ); Tue, 6 Jun 2017 16:38:03 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:36405 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751426AbdFFUiB (ORCPT ); Tue, 6 Jun 2017 16:38:01 -0400 Date: Tue, 06 Jun 2017 13:37:59 -0700 (PDT) X-Google-Original-Date: Tue, 06 Jun 2017 12:15:38 PDT (-0700) From: Palmer Dabbelt To: Arnd Bergmann CC: linux-kernel@vger.kernel.org CC: olof@lixom.net CC: albert@sifive.com Subject: Re: [PATCH 6/7] RISC-V: arch/riscv/kernel In-Reply-To: Message-ID: Mime-Version: 1.0 (MHng) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 06 Jun 2017 02:01:23 PDT (-0700), Arnd Bergmann wrote: > On Sat, Jun 3, 2017 at 1:56 AM, Palmer Dabbelt wrote: >> On Tue, 23 May 2017 06:35:23 PDT (-0700), Arnd Bergmann wrote: >>>> +IRQCHIP_DECLARE(riscv, "riscv,cpu-intc", riscv_intc_init); >>> If you don't care about LPC/ISA devices, then your PCI_MIN_IO >>> should also be zero instead of 0x1000 >> >> Sorry, but the only Google results for PCI_MIN_IO is this email. There don't >> appear to be any relevant references to PCI_MIN in the kernel >> >> $ git grep PCI_MIN_ >> arch/mips/include/asm/mach-loongson64/cs5536/cs5536_pci.h: ((PCI_MAX_LATENCY << 24) | (PCI_MIN_GRANT << 16) | \ >> arch/mips/include/asm/mach-loongson64/cs5536/cs5536_pci.h:#define PCI_MIN_GRANT 0x00 >> drivers/ata/pata_hpt366.c: pci_write_config_byte(dev, PCI_MIN_GNT, 0x08); >> drivers/ata/pata_hpt37x.c: pci_write_config_byte(dev, PCI_MIN_GNT, 0x08); >> drivers/ata/pata_hpt3x2n.c: pci_write_config_byte(dev, PCI_MIN_GNT, 0x08); >> drivers/ide/hpt366.c: pci_write_config_byte(dev, PCI_MIN_GNT, 0x08); >> drivers/net/fddi/skfp/h/skfbi.h:#define PCI_MIN_GNT 0x3e /* 8 bit Min_Gnt */ >> drivers/net/fddi/skfp/h/skfbi.h:/* PCI_MIN_GNT 8 bit Min_Gnt */ >> include/uapi/linux/pci_regs.h:#define PCI_MIN_GNT 0x3e /* 8 bits */ >> >> I'm afraid that I'm not sure what to do here. > > Sorry, I meant PCIBIOS_MIN_IO OK, fixed.