Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-16 Thread Prakash, Sathya
, May 16, 2013 10:50 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU Hi Sathya, To your question, no. Most of memory region reserved as EfiRuntimeServicesData will NOT be reported in RMRR table. VT-d spec: " BIOS allo

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-16 Thread Tao Yuan
Hi Sathya, To your question, no. Most of memory region reserved as EfiRuntimeServicesData will NOT be reported in RMRR table. VT-d spec: " BIOS allocated reserved memory ranges that may be DMA targets. BIOS may report each such reserved memory region through the RMRR structures, along with t

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-16 Thread Andrew Fish
>> Thanks >> Sathya >> >> From: Kinney, Michael D [mailto:michael.d.kin...@intel.com] >> Sent: Wednesday, May 15, 2013 7:05 PM >> To: edk2-devel@lists.sourceforge.net; Kinney, Michael D >> Subject: Re: [edk2] Memory reserved using EfiRuntimeServicesData a

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-16 Thread Andrew Fish
orySpaceAttributes? > > > Thanks > Sathya > > From: Kinney, Michael D [mailto:michael.d.kin...@intel.com] > Sent: Wednesday, May 15, 2013 7:05 PM > To: edk2-devel@lists.sourceforge.net; Kinney, Michael D > Subject: Re: [edk2] Memory reserved using EfiRuntimeServicesData

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-16 Thread Prakash, Sathya
From: Kinney, Michael D [mailto:michael.d.kin...@intel.com] Sent: Wednesday, May 15, 2013 7:05 PM To: edk2-devel@lists.sourceforge.net; Kinney, Michael D Subject: Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU Sathya, In general, this technique can be problematic. UEFI Drivers are

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-15 Thread Kinney, Michael D
Fish [mailto:af...@apple.com] Sent: Wednesday, May 15, 2013 4:15 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU Did you mark the memory region as EFI_MEMORY_RUNTIME. This should force the OS to give you a kernel virtual address

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-15 Thread Andrew Fish
ress is reserved > (from memory map) and faults the access from my OS driver. > > Thanks > Sathya > > From: Chip Ueltschey [mailto:chipj...@gmail.com] > Sent: Wednesday, May 15, 2013 4:16 PM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] Memory reserved

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-15 Thread Prakash, Sathya
address is reserved (from memory map) and faults the access from my OS driver. Thanks Sathya From: Chip Ueltschey [mailto:chipj...@gmail.com] Sent: Wednesday, May 15, 2013 4:16 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU Sathya

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-15 Thread Chip Ueltschey
t; Thanks > Sathya > > -Original Message- > From: Prakash, Sathya [mailto:sathya.prak...@lsi.com] > Sent: Tuesday, May 14, 2013 10:17 AM > To: edk2-devel@lists.sourceforge.net > Subject: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU > > Folks, > We all

Re: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-14 Thread Prakash, Sathya
[mailto:sathya.prak...@lsi.com] Sent: Tuesday, May 14, 2013 10:17 AM To: edk2-devel@lists.sourceforge.net Subject: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU Folks, We allocate some host memory as EfiRuntimeServicesData and utilize the memory in host driver for a certain purpose

[edk2] Memory reserved using EfiRuntimeServicesData and IOMMU

2013-05-14 Thread Prakash, Sathya
Folks, We allocate some host memory as EfiRuntimeServicesData and utilize the memory in host driver for a certain purpose. This works fine with normal cases, but will it work with IOMMU?. I see the IOMMU module in linux needs to know about the reserved regions through RMRR address table to map t