<div dir="ltr">Siyuan, did you reserved <span style="font-size:12.8000001907349px">0xFEDC2000 - 0xFEDC2FFF in ASL file? what you've done in your code is to reserve this MMIO area in E820 table, OS will not take this area, but it's not enough for ACPI.</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Here is a sample to reserve MMIO area in asl file.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">     </span>// TPM Area (0xfed40000-0xfed44fff)</span></div><div><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">        </span>DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed,</span></div><div><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">                      </span>Cacheable, ReadWrite,</span></div><div><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">                      </span>0x00000000, 0xfed40000, 0xfed44fff, 0x00000000,</span></div><div><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">                    </span>0x00005000,,, TPMR) </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 6, 2015 at 12:31 PM, WANG Siyuan <span dir="ltr"><<a href="mailto:wangsiyuanbuaa@gmail.com" target="_blank">wangsiyuanbuaa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><div>I have a question about acpi resource.</div><div><br></div><div>My device need the resource:</div><div>    Name(_CRS, ResourceTemplate() {</div><div>      IRQ(Edge, ActiveHigh, Exclusive) {3}</div><div>      Memory32Fixed(ReadWrite, 0xFEDC2000, 0x1000)</div><div>    })</div><div>In Win8's device manager, I got error "This device cannot find enough free resources that it can use."</div><div><br></div><div>I reserve resource (0xFEDC2000 - 0xFEDC2FFF) using flag resource->flags = IORESOURCE_MEM | IORESOURCE_RESERVE | IORESOURCE_FIXED | IORESOURCE_STORED |  IORESOURCE_ASSIGNED; I still got this error.</div><div><br></div><div>I have 2 questions:</div><div>1) Do I need to reserve MMIO for (0xFEDC2000 - 0xFEDC2FFF)?<br></div><div>2) Do I need to do some thing for IRQ(Edge, ActiveHigh, Exclusive) {3}?</div><div><br></div><div>Any replay is appreciated!</div><div><div><br>Yours sincerely,<br>WANG Siyuan</div></div>
</div></div>
<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br></blockquote></div><br></div>