diff for duplicates of <20061107171143.GU27140@parisc-linux.org> diff --git a/a/1.txt b/N1/1.txt index ced568b..58b9de0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,17 +1,18 @@ On Wed, Nov 08, 2006 at 12:57:03AM +0800, Jeff Chua wrote: > 2) this fails ... -> +> = + > e0000000-efffffff : 0000:00:02.0 > f0000000-ffffffff : PCI MMCONFIG 0 > fed00000-fed003ff : HPET 0 Heh, no kidding ... - num_buses = pci_mmcfg_config[i].end_bus_number - + num_buses =3D pci_mmcfg_config[i].end_bus_number - pci_mmcfg_config[i].start_bus_number + 1; - res->start = pci_mmcfg_config[i].base_address; - res->end = res->start + (num_buses << 20) - 1; - res->flags = IORESOURCE_MEM | IORESOURCE_BUSY; + res->start =3D pci_mmcfg_config[i].base_address; + res->end =3D res->start + (num_buses << 20) - 1; + res->flags =3D IORESOURCE_MEM | IORESOURCE_BUSY; insert_resource(&iomem_resource, res); So if we have 256 busses assigned, then we request 256MB and, well, @@ -19,5 +20,6 @@ there's no room for anyone else. This code was added by Andi in commit de09bddb9d6f96785be470c832b881e6d72d589f Hopefully he'll have a good idea how to restrict it. Given your "working" -resource map, it seems like it should be limited to 16MB (and thus 16 busses). +resource map, it seems like it should be limited to 16MB (and thus 16 busse= +s). But how to figure that out? diff --git a/a/content_digest b/N1/content_digest index d37e75a..d970eb0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -35,18 +35,19 @@ "b\0" "On Wed, Nov 08, 2006 at 12:57:03AM +0800, Jeff Chua wrote:\n" "> 2) this fails ...\n" - "> \n" + "> =\n" + "\n" "> e0000000-efffffff : 0000:00:02.0\n" "> f0000000-ffffffff : PCI MMCONFIG 0\n" "> fed00000-fed003ff : HPET 0\n" "\n" "Heh, no kidding ...\n" "\n" - " num_buses = pci_mmcfg_config[i].end_bus_number -\n" + " num_buses =3D pci_mmcfg_config[i].end_bus_number -\n" " pci_mmcfg_config[i].start_bus_number + 1;\n" - " res->start = pci_mmcfg_config[i].base_address;\n" - " res->end = res->start + (num_buses << 20) - 1;\n" - " res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;\n" + " res->start =3D pci_mmcfg_config[i].base_address;\n" + " res->end =3D res->start + (num_buses << 20) - 1;\n" + " res->flags =3D IORESOURCE_MEM | IORESOURCE_BUSY;\n" " insert_resource(&iomem_resource, res);\n" "\n" "So if we have 256 busses assigned, then we request 256MB and, well,\n" @@ -54,7 +55,8 @@ "de09bddb9d6f96785be470c832b881e6d72d589f\n" "\n" "Hopefully he'll have a good idea how to restrict it. Given your \"working\"\n" - "resource map, it seems like it should be limited to 16MB (and thus 16 busses).\n" + "resource map, it seems like it should be limited to 16MB (and thus 16 busse=\n" + "s).\n" But how to figure that out? -ea1bdc60c5ae397f02669600bb92b207899bd6dd98ed109ee2d9e5623e0a10c7 +5005566d13c41c50cf45cc1fb9e09144e49fec15a1a49d018b6305d9b16a7045
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.