[coreboot] [PATCH] v3 Resource allocator to v2

Myles Watson mylesgw at gmail.com
Fri May 29 00:09:08 CEST 2009


On Wed, May 27, 2009 at 4:25 PM, Myles Watson <mylesgw at gmail.com> wrote:
> On Fri, May 22, 2009 at 4:17 PM, Myles Watson <mylesgw at gmail.com> wrote:
>> This patch series makes v2 more similar to v3.  It splits resource
>> allocation into read, compute, allocate.  There is no more mutual recursion.
>>
>> They go in this order:
>> 1. white.diff
>> 2. read_first.diff
>> 3. domain_resources.diff
   3.a domain_functions.diff
   3.b reserved_regions.diff
>> 4. constraint.diff
>> 5. compute_allocate.diff

I've added reserved regions for the IOAPICs and flash parts, and
removed duplicate pci_domain_read_resources and pci_domain_scan_bus
functions.

I know I've missed some southbridges.  The ones I did were the ones
that already had reserved regions because it was simpler to figure
those out.  If you don't see your southbridge in this list, you could
add it or let me know what you think should be reserved.

      grep Index patches/reserved_regions.diff
Index: cbv2/src/southbridge/amd/sb600/sb600_lpc.c
Index: cbv2/src/southbridge/broadcom/bcm5785/bcm5785_lpc.c
Index: cbv2/src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c
Index: cbv2/src/southbridge/intel/esb6300/esb6300_lpc.c
Index: cbv2/src/southbridge/intel/i3100/i3100_lpc.c
Index: cbv2/src/southbridge/intel/i82801dbm/i82801dbm_lpc.c
Index: cbv2/src/southbridge/intel/i82801xx/i82801xx_lpc.c
Index: cbv2/src/southbridge/sis/sis966/sis966_lpc.c
Index: cbv2/src/southbridge/intel/i82801ca/i82801ca_lpc.c
Index: cbv2/src/southbridge/intel/i82801er/i82801er_lpc.c
Index: cbv2/src/southbridge/intel/i82371eb/i82371eb_isa.c

Here's the rest from the earlier patch.
        grep Index patches/domain_resources.diff | grep south
Index: cbv2/src/southbridge/intel/i82371eb/i82371eb_isa.c
Index: cbv2/src/southbridge/amd/amd8111/amd8111_lpc.c
Index: cbv2/src/southbridge/intel/i82801gx/i82801gx_lpc.c
Index: cbv2/src/southbridge/nvidia/ck804/ck804_lpc.c
Index: cbv2/src/southbridge/nvidia/mcp55/mcp55_lpc.c
Index: cbv2/src/southbridge/nvidia/ck804/ck804_pci.c
Index: cbv2/src/southbridge/nvidia/mcp55/mcp55_pci.c

Signed-off-by: Myles Watson <mylesgw at gmail.com>

Thanks,
Myles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: domain_resources.diff
Type: text/x-patch
Size: 32954 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090528/09afb755/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: domain_functions.diff
Type: text/x-patch
Size: 43130 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090528/09afb755/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reserved_regions.diff
Type: text/x-patch
Size: 13951 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090528/09afb755/attachment-0002.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compute_allocate.diff
Type: text/x-patch
Size: 18829 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090528/09afb755/attachment-0003.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: white.diff
Type: text/x-patch
Size: 70514 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090528/09afb755/attachment-0004.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read_first.diff
Type: text/x-patch
Size: 11520 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090528/09afb755/attachment-0005.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: constraint.diff
Type: text/x-patch
Size: 7362 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090528/09afb755/attachment-0006.diff>


More information about the coreboot mailing list