<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/char/agp/generic.c, branch linux-3.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-04-12T16:56:21Z</updated>
<entry>
<title>agp: Use u32 __iomem annotation to silence sparse warning.</title>
<updated>2012-04-12T16:56:21Z</updated>
<author>
<name>Santosh Nayak</name>
</author>
<published>2012-04-05T06:01:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae85226ebe474c9ecfc257191edca184b70ffbc2'/>
<id>urn:sha1:ae85226ebe474c9ecfc257191edca184b70ffbc2</id>
<content type='text'>
Replace "void *" by "u32 __iomem *" to silence sparse warning.

Signed-off-by: Santosh Nayak &lt;santoshprasadnayak@gmail.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>agp: Remove 'break' after 'return' statement.</title>
<updated>2012-04-12T16:56:17Z</updated>
<author>
<name>Santosh Nayak</name>
</author>
<published>2012-04-05T06:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=971ca4717830c03a50e1ad9993c85601a0496de7'/>
<id>urn:sha1:971ca4717830c03a50e1ad9993c85601a0496de7</id>
<content type='text'>
'break' is unnecessary after 'return' statement.
Remove all such 'break' as clean up.

Signed-off-by: Santosh Nayak &lt;santoshprasadnayak@gmail.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>agp: Fix multi-line warning message whitespace</title>
<updated>2012-01-06T09:32:02Z</updated>
<author>
<name>Tormod Volden</name>
</author>
<published>2012-01-05T23:16:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e11d0b87cde80745afe4712a19cd37bca9924a5b'/>
<id>urn:sha1:e11d0b87cde80745afe4712a19cd37bca9924a5b</id>
<content type='text'>
Signed-off-by: Tormod Volden &lt;debian.tormod@gmail.com&gt;
Reviewed-by: Corbin Simpson &lt;MostAwesomeDude@gmail.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>agp: fix arbitrary kernel memory writes</title>
<updated>2011-04-21T02:16:55Z</updated>
<author>
<name>Vasiliy Kulikov</name>
</author>
<published>2011-04-14T16:55:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=194b3da873fd334ef183806db751473512af29ce'/>
<id>urn:sha1:194b3da873fd334ef183806db751473512af29ce</id>
<content type='text'>
pg_start is copied from userspace on AGPIOC_BIND and AGPIOC_UNBIND ioctl
cmds of agp_ioctl() and passed to agpioc_bind_wrap().  As said in the
comment, (pg_start + mem-&gt;page_count) may wrap in case of AGPIOC_BIND,
and it is not checked at all in case of AGPIOC_UNBIND.  As a result, user
with sufficient privileges (usually "video" group) may generate either
local DoS or privilege escalation.

Signed-off-by: Vasiliy Kulikov &lt;segoon@openwall.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>agp: fix OOM and buffer overflow</title>
<updated>2011-04-21T01:51:04Z</updated>
<author>
<name>Vasiliy Kulikov</name>
</author>
<published>2011-04-14T16:55:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b522f02184b413955f3bc952e3776ce41edc6355'/>
<id>urn:sha1:b522f02184b413955f3bc952e3776ce41edc6355</id>
<content type='text'>
page_count is copied from userspace.  agp_allocate_memory() tries to
check whether this number is too big, but doesn't take into account the
wrap case.  Also agp_create_user_memory() doesn't check whether
alloc_size is calculated from num_agp_pages variable without overflow.
This may lead to allocation of too small buffer with following buffer
overflow.

Another problem in agp code is not addressed in the patch - kernel memory
exhaustion (AGPIOC_RESERVE and AGPIOC_ALLOCATE ioctls).  It is not checked
whether requested pid is a pid of the caller (no check in agpioc_reserve_wrap()).
Each allocation is limited to 16KB, though, there is no per-process limit.
This might lead to OOM situation, which is not even solved in case of the
caller death by OOM killer - the memory is allocated for another (faked) process.

Signed-off-by: Vasiliy Kulikov &lt;segoon@openwall.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>agp: kill agp_rebind_memory</title>
<updated>2010-11-23T20:14:46Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2010-11-05T21:27:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb16b67b5cb33b7d6732e0c416d29d933eea13ce'/>
<id>urn:sha1:cb16b67b5cb33b7d6732e0c416d29d933eea13ce</id>
<content type='text'>
Its only user, intel-gtt.c is now gone.

Cc: Dave Airlie &lt;airlied@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>agp: kill agp_flush_chipset and corresponding ioctl</title>
<updated>2010-11-23T20:14:45Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2010-11-05T17:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f050a8abbda0efcd597c6b1825e3b9ce4d613383'/>
<id>urn:sha1:f050a8abbda0efcd597c6b1825e3b9ce4d613383</id>
<content type='text'>
The intel drm calls the chipset functions now directly. Userspace
never called the corresponding ioctl, hence it can be killed, too.

Cc: Dave Airlie &lt;airlied@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>Merge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6</title>
<updated>2010-10-27T01:57:59Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-10-27T01:57:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c48c43e422c1404fd72c57d1d21a6f6d01e18900'/>
<id>urn:sha1:c48c43e422c1404fd72c57d1d21a6f6d01e18900</id>
<content type='text'>
* 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (476 commits)
  vmwgfx: Implement a proper GMR eviction mechanism
  drm/radeon/kms: fix r6xx/7xx 1D tiling CS checker v2
  drm/radeon/kms: properly compute group_size on 6xx/7xx
  drm/radeon/kms: fix 2D tile height alignment in the r600 CS checker
  drm/radeon/kms/evergreen: set the clear state to the blit state
  drm/radeon/kms: don't poll dac load detect.
  gpu: Add Intel GMA500(Poulsbo) Stub Driver
  drm/radeon/kms: MC vram map needs to be &gt;= pci aperture size
  drm/radeon/kms: implement display watermark support for evergreen
  drm/radeon/kms/evergreen: add some additional safe regs v2
  drm/radeon/r600: fix tiling issues in CS checker.
  drm/i915: Move gpu_write_list to per-ring
  drm/i915: Invalidate the to-ring, flush the old-ring when updating domains
  drm/i915/ringbuffer: Write the value passed in to the tail register
  agp/intel: Restore valid PTE bit for Sandybridge after bdd3072
  drm/i915: Fix flushing regression from 9af90d19f
  drm/i915/sdvo: Remove unused encoding member
  i915: enable AVI infoframe for intel_hdmi.c [v4]
  drm/i915: Fix current fb blocking for page flip
  drm/i915: IS_IRONLAKE is synonymous with gen == 5
  ...

Fix up conflicts in
 - drivers/gpu/drm/i915/{i915_gem.c, i915/intel_overlay.c}: due to the
   new simplified stack-based kmap_atomic() interface
 - drivers/gpu/drm/vmwgfx/vmwgfx_drv.c: added .llseek entry due to BKL
   removal cleanups.
</content>
</entry>
<entry>
<title>agp: kill agp_(unmap|map)_memory</title>
<updated>2010-09-21T10:39:52Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2010-09-12T09:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aaa62591199162e6496b4f47cac4f5923bc571d1'/>
<id>urn:sha1:aaa62591199162e6496b4f47cac4f5923bc571d1</id>
<content type='text'>
DMA remapping was only used by the intel-gtt driver. With that
code now folded into the driver, kill the agp generic support for
it.

Cc: Dave Airlie &lt;airlied@linux.ie&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
</content>
</entry>
<entry>
<title>AGP: Warn when GATT memory cannot be set to UC</title>
<updated>2010-09-05T12:28:34Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2010-09-03T16:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b13fe6a6e9986dbc079cbb05090be75edbffa5d'/>
<id>urn:sha1:1b13fe6a6e9986dbc079cbb05090be75edbffa5d</id>
<content type='text'>
This is one of those paranoid checks which should at least tell
us that something is about to go haywire after we've disabled
GART table walk probes which is done by default now on AMD.

Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
Cc: Dave Airlie &lt;airlied@redhat.com&gt;
Cc: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
LKML-Reference: &lt;1283531981-7495-4-git-send-email-bp@amd64.org&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
