<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers, branch v4.1.24</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.1.24</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.1.24'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-05-10T16:17:33+00:00</updated>
<entry>
<title>x86 EDAC, sb_edac.c: Repair damage introduced when "fixing" channel address</title>
<updated>2016-05-10T16:17:33+00:00</updated>
<author>
<name>Tony Luck</name>
<email>tony.luck@intel.com</email>
</author>
<published>2016-04-14T17:21:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8e8ad4a07714556769f0bc5496b69c63b0fc902d'/>
<id>urn:sha1:8e8ad4a07714556769f0bc5496b69c63b0fc902d</id>
<content type='text'>
[ Upstream commit ff15e95c82768d589957dbb17d7eb7dba7904659 ]

In commit:

  eb1af3b71f9d ("Fix computation of channel address")

I switched the "sck_way" variable from holding the log2 value read
from the h/w to instead be the actual number. Unfortunately it
is needed in log2 form when used to shift the address.

Tested-by: Patrick Geary &lt;patrickg@supermicro.com&gt;
Signed-off-by: Tony Luck &lt;tony.luck@intel.com&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
Cc: Aristeu Rozanski &lt;arozansk@redhat.com&gt;
Cc: Borislav Petkov &lt;bp@alien8.de&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: linux-edac@vger.kernel.org
Cc: stable@vger.kernel.org
Fixes: eb1af3b71f9d ("Fix computation of channel address")
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon: forbid mapping of userptr bo through radeon device file</title>
<updated>2016-05-10T16:17:32+00:00</updated>
<author>
<name>Jérôme Glisse</name>
<email>jglisse@redhat.com</email>
</author>
<published>2016-04-19T13:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2719d3c05d4c93054e7c5838cc5b1906f72b465e'/>
<id>urn:sha1:2719d3c05d4c93054e7c5838cc5b1906f72b465e</id>
<content type='text'>
[ Upstream commit b5dcec693f87cb8475f2291c0075b2422addd3d6 ]

Allowing userptr bo which are basicly a list of page from some vma
(so either anonymous page or file backed page) would lead to serious
corruption of kernel structures and counters (because we overwrite
the page-&gt;mapping field when mapping buffer).

This will already block if the buffer was populated before anyone does
try to mmap it because then TTM_PAGE_FLAG_SG would be set in in the
ttm_tt flags. But that flag is check before ttm_tt_populate in the ttm
vm fault handler.

So to be safe just add a check to verify_access() callback.

Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Jérôme Glisse &lt;jglisse@redhat.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>drm/dp/mst: Validate port in drm_dp_payload_send_msg()</title>
<updated>2016-05-10T16:17:32+00:00</updated>
<author>
<name>cpaul@redhat.com</name>
<email>cpaul@redhat.com</email>
</author>
<published>2016-04-04T23:58:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8361444613b869bd65386042f5c217469adb0952'/>
<id>urn:sha1:8361444613b869bd65386042f5c217469adb0952</id>
<content type='text'>
[ Upstream commit deba0a2af9592b2022a0bce7b085a318b53ce1db ]

With the joys of things running concurrently, there's always a chance
that the port we get passed in drm_dp_payload_send_msg() isn't actually
valid anymore. Because of this, we need to make sure we validate the
reference to the port before we use it otherwise we risk running into
various race conditions. For instance, on the Dell MST monitor I have
here for testing, hotplugging it enough times causes us to kernel panic:

[drm:intel_mst_enable_dp] 1
[drm:drm_dp_update_payload_part2] payload 0 1
[drm:intel_get_hpd_pins] hotplug event received, stat 0x00200000, dig 0x10101011, pins 0x00000020
[drm:intel_hpd_irq_handler] digital hpd port B - short
[drm:intel_dp_hpd_pulse] got hpd irq on port B - short
[drm:intel_dp_check_mst_status] got esi 00 10 00
[drm:drm_dp_update_payload_part2] payload 1 1
general protection fault: 0000 [#1] SMP
…
Call Trace:
 [&lt;ffffffffa012b632&gt;] drm_dp_update_payload_part2+0xc2/0x130 [drm_kms_helper]
 [&lt;ffffffffa032ef08&gt;] intel_mst_enable_dp+0xf8/0x180 [i915]
 [&lt;ffffffffa0310dbd&gt;] haswell_crtc_enable+0x3ed/0x8c0 [i915]
 [&lt;ffffffffa030c84d&gt;] intel_atomic_commit+0x5ad/0x1590 [i915]
 [&lt;ffffffffa01db877&gt;] ? drm_atomic_set_crtc_for_connector+0x57/0xe0 [drm]
 [&lt;ffffffffa01dc4e7&gt;] drm_atomic_commit+0x37/0x60 [drm]
 [&lt;ffffffffa0130a3a&gt;] drm_atomic_helper_set_config+0x7a/0xb0 [drm_kms_helper]
 [&lt;ffffffffa01cc482&gt;] drm_mode_set_config_internal+0x62/0x100 [drm]
 [&lt;ffffffffa01d02ad&gt;] drm_mode_setcrtc+0x3cd/0x4e0 [drm]
 [&lt;ffffffffa01c18e3&gt;] drm_ioctl+0x143/0x510 [drm]
 [&lt;ffffffffa01cfee0&gt;] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
 [&lt;ffffffff810f79a7&gt;] ? hrtimer_start_range_ns+0x1b7/0x3a0
 [&lt;ffffffff81212962&gt;] do_vfs_ioctl+0x92/0x570
 [&lt;ffffffff81590852&gt;] ? __sys_recvmsg+0x42/0x80
 [&lt;ffffffff81212eb9&gt;] SyS_ioctl+0x79/0x90
 [&lt;ffffffff816b4e32&gt;] entry_SYSCALL_64_fastpath+0x1a/0xa4
RIP  [&lt;ffffffffa012b026&gt;] drm_dp_payload_send_msg+0x146/0x1f0 [drm_kms_helper]

Which occurs because of the hotplug event shown in the log, which ends
up causing DRM's dp helpers to drop the port we're updating the payload
on and panic.

CC: stable@vger.kernel.org
Signed-off-by: Lyude &lt;cpaul@redhat.com&gt;
Reviewed-by: David Airlie &lt;airlied@linux.ie&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: f_fs: Fix use-after-free</title>
<updated>2016-05-10T16:17:31+00:00</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2016-04-14T15:01:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0763ce11708553fc7b2124f184ce2e4bb0cb186d'/>
<id>urn:sha1:0763ce11708553fc7b2124f184ce2e4bb0cb186d</id>
<content type='text'>
[ Upstream commit 38740a5b87d53ceb89eb2c970150f6e94e00373a ]

When using asynchronous read or write operations on the USB endpoints the
issuer of the IO request is notified by calling the ki_complete() callback
of the submitted kiocb when the URB has been completed.

Calling this ki_complete() callback will free kiocb. Make sure that the
structure is no longer accessed beyond that point, otherwise undefined
behaviour might occur.

Fixes: 2e4c7553cd6f ("usb: gadget: f_fs: add aio support")
Cc: &lt;stable@vger.kernel.org&gt; # v3.15+
Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Felipe Balbi &lt;felipe.balbi@linux.intel.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>Revert "drm/radeon: disable runtime pm on PX laptops without dGPU power control"</title>
<updated>2016-05-10T16:17:30+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2016-04-18T15:19:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=18e7c4b1a1b62cacc92e2373a14db6d1d177712a'/>
<id>urn:sha1:18e7c4b1a1b62cacc92e2373a14db6d1d177712a</id>
<content type='text'>
[ Upstream commit bfaddd9fc8ac048b99475f000dbef6f08297417f ]

This reverts commit e64c952efb8e0c15ae82cec8e455ab4910690ef1.

ATPX is the ACPI method for controlling AMD PowerXpress laptops.
There are flags to indicate which methods are supported.  If
the dGPU power down flag is not supported, the driver needs to
implement the dGPU power down manually.  We had previously
always forced the driver to assume the ATPX dGPU power down
was present, but this causes problems on boards where it is
not, leading to GPU hangs when attempting to power down the
dGPU.  Manual dGPU power down is not currently supported in
the Linux driver.  Some laptops indicate that the ATPX
dGPU power down method is not present, but it actually
apparently is.  I'm not sure if this is a bios bug and it should
be set or if there is a reason it was unset and the method should
not be used.  This is not an issue on other OSes since both the
ATPX and the manual driver power down methods are supported.

This is apparently fairly widespread, so just revert for now.

bugs:
https://bugzilla.kernel.org/show_bug.cgi?id=115321
https://bugzilla.kernel.org/show_bug.cgi?id=116581
https://bugzilla.kernel.org/show_bug.cgi?id=116251

Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon: add a quirk for a XFX R9 270X</title>
<updated>2016-05-10T16:17:30+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2016-04-14T18:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=13865e4edd08ca07a9ba83c7dee081585ba13f3c'/>
<id>urn:sha1:13865e4edd08ca07a9ba83c7dee081585ba13f3c</id>
<content type='text'>
[ Upstream commit bcb31eba4a4ea356fd61cbd5dec5511c3883f57e ]

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=76490

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon: add another R7 370 quirk</title>
<updated>2016-05-10T16:17:30+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2016-03-28T14:16:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9df249b47f59ba60b2e92a83ad75666e8e8bc4a2'/>
<id>urn:sha1:9df249b47f59ba60b2e92a83ad75666e8e8bc4a2</id>
<content type='text'>
[ Upstream commit a64663d9870364bd2a2df62bf0d3a9fbe5ea62a8 ]

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=115291

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon: add quirk for ASUS R7 370</title>
<updated>2016-05-10T16:17:29+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2015-10-02T20:12:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e388075f63d81be966dc967dc0e0332531f91b82'/>
<id>urn:sha1:e388075f63d81be966dc967dc0e0332531f91b82</id>
<content type='text'>
[ Upstream commit 2b02ec79004388a8c65e227bc289ed891b5ac8c6 ]

Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=92260

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>drm/radeon: add quirk for MSI R7 370</title>
<updated>2016-05-10T16:17:29+00:00</updated>
<author>
<name>Maxim Sheviakov</name>
<email>mrader3940@yandex.ru</email>
</author>
<published>2015-09-23T21:10:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=95a5fa7da14d5296105307dba58a84d47f6ce7df'/>
<id>urn:sha1:95a5fa7da14d5296105307dba58a84d47f6ce7df</id>
<content type='text'>
[ Upstream commit e78654799135a788a941bacad3452fbd7083e518 ]

Just adds the quirk for MSI R7 370 Armor 2X
Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=91294

Signed-off-by: Maxim Sheviakov &lt;mrader3940@yandex.ru&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>drm/i915: Use fw_domains_put_with_fifo() on HSW</title>
<updated>2016-05-08T12:09:02+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2016-04-14T11:39:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b34e6a486eb70ba92192c877b2904ede0a792679'/>
<id>urn:sha1:b34e6a486eb70ba92192c877b2904ede0a792679</id>
<content type='text'>
[ Upstream commit 31318a922395ec9e78d6e2ddf70779355afc7594 ]

HSW still has the wake FIFO, so let's check it.

Cc: Mika Kuoppala &lt;mika.kuoppala@linux.intel.com&gt;
Cc: Deepak S &lt;deepak.s@linux.intel.com&gt;
Fixes: 05a2fb157e44 ("drm/i915: Consolidate forcewake code")
Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1460633942-24013-1-git-send-email-ville.syrjala@linux.intel.com
Cc: stable@vger.kernel.org
Reviewed-by: Mika Kuoppala &lt;mika.kuoppala@intel.com&gt;
(cherry picked from commit 3d7d0c85e41afb5a05e98b3a8a72c38357f02594)
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
</feed>
