Skip to contentSkip to conversation

p2m: p2m_mmio_direct set RW permissions

RFC PATCH Elena Ufimtseva 2 participants 2 messages Jan 22, 2015 – Jan 23, 2015

lore
Share & tools
lore
#0 lore raw
Quoted 19 lines · ----- [email protected] wrote:
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 22.01.15 at 16:18, <[email protected]> wrote:
Quoted 2 lines · ----- [email protected] wrote:
Quoted 2 lines
Quoted 1 line
Quoted 1 line · On 22.01.15 at 12:37, <[email protected]> wrote:

I don't think we are setting proper IOMMU entries for this

regions

Quoted 4 lines
Quoted 4 lines

at

Quoted 1 line

all with the current PVH Dom0 code. IMHO instead of just adding

IOMMU

Quoted 1 line

entries for every MMIO region we should just add IOMMU entries

for

Quoted 6 lines
Quoted 4 lines

the

Quoted 1 line

RMRR regions.

Yes, RMRR regions should certainly be put there as r/w entries.

How it will help in cases like this when this regions are not

reported as

Quoted 1 line

RMRRs in ACPI?

Quoted 7 lines

It won't help - I was merely commenting on Roger's statement.

Quoted 1 line

Also, pv dom0 has no such problem.

Even with "iommu=dom0-strict"?

Jan

Even with iommu=dom0-strict pv dom0 boots just fine.

Elena

#1 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 22.01.15 at 16:43, <[email protected]> wrote:
Quoted 4 lines · ----- [email protected] wrote:
Quoted 2 lines
Quoted 1 line
Quoted 1 line · On 22.01.15 at 16:18, <[email protected]> wrote:

Also, pv dom0 has no such problem.

Even with "iommu=dom0-strict"?

Even with iommu=dom0-strict pv dom0 boots just fine.

Sorry, this wasn't the right (or better, the only) one. Could you try again with "iommu_inclusive_mapping=0" (which really ought to be the default - Kevin, Yang, hint hint)?

Jan