RE: [patch 0/4] gpu/drm, x86, PAT: Add PAT support for io_mapping_*interface

From: Pallipadi, Venkatesh
Date: Wed Feb 25 2009 - 09:05:54 EST




>-----Original Message-----
>From: Ingo Molnar [mailto:mingo@xxxxxxx]
>Sent: Wednesday, February 25, 2009 4:09 AM
>To: Pallipadi, Venkatesh; Linus Torvalds
>Cc: Dave Airlie; Jesse Barnes; Eric Anholt; Thomas Gleixner; H
>Peter Anvin; Keith Packard; linux-kernel@xxxxxxxxxxxxxxx
>Subject: Re: [patch 0/4] gpu/drm, x86, PAT: Add PAT support
>for io_mapping_* interface
>
>
>* Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> wrote:
>
>> io_mapping_create_wc(), io_mapping_free() and associated
>map/unmap routines
>> are relatively new set of APIs for drivers, that change memory type.
>>
>> Currently, these interfaces hardcode WC type on x86 and does
>not go through
>> "PAT enforcement". This patchset adds PAT support for this interface.
>>
>> Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx>
>> Signed-off-by: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
>
>hm, the patches look sane and clean and mostly factor out
>existing code and checks and apply them to the io_mapping_*()
>interfaces - so it's something worth having for .29.
>
>But it's all rather awfully late in the cycle and ioremap type
>of bugs typically have 1-2 rc's of latency to be fully
>discovered.
>
>They will probably fix a few regressions and are easy to revert,
>plus they affect the one driver whose authors wrote these
>facilities:
>
> drivers/gpu/drm/i915/i915_dma.c
> drivers/gpu/drm/i915/i915_gem.c
>
>so maybe we should try it as it's all a clear step forward. I'll
>give them a spin in tip:x86/urgent. Dunno.
>

Actual PAT support (patch 3 and 4) can probably wait until .30. As
there is only one user of this interface. Patch 1 and 2 are more in
bugfix category and probably considered for .29.

Thanks,
Venki--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/