Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503886 - sys-kernel/gentoo-sources-3.4.82 - backport direct firmware loading support
Summary: sys-kernel/gentoo-sources-3.4.82 - backport direct firmware loading support
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://lkml.org/lkml/2013/12/2/281
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-08 17:55 UTC by Andreas Sturmlechner
Modified: 2014-08-31 09:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
genpatches-3.4-62.experimental.tar.xz (genpatches-3.4-62.experimental.tar.xz,31.86 KB, application/x-xz-compressed-tar)
2014-03-08 17:55 UTC, Andreas Sturmlechner
Details
genpatches-3.4-62.experimental.tar.xz (genpatches-3.4-62.experimental.tar.xz,33.71 KB, application/x-xz-compressed-tar)
2014-03-08 18:44 UTC, Andreas Sturmlechner
Details
3.4.83-backport_direct_firmware_loading.patch (3.4.83-backport_direct_firmware_loading.patch,41.00 KB, patch)
2014-03-16 14:47 UTC, Andreas Sturmlechner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2014-03-08 17:55:52 UTC
Created attachment 372090 [details]
genpatches-3.4-62.experimental.tar.xz

This patchset basically contains files generated from 
kernel/git/torvalds/linux.git
by issuing the following command:

git format-patch --full-diff a36cf844c543c6193445a7b1492d16e5a8cf376e..v3.13-rc8 drivers/base/firmware_class.c

excluding commits:
3dadecce20603aa380023c65e6f55f108fd5e952	(unrelated vfs commit)

modifying commits:
875979368eb4cfecff9f0e97625b90cc6009269d	(merge conflict)
08da2012e0bb0f3f1422cce3f76c36a90da366b5	(merge conflict)

including commits:
10bd4c7572b6c6eb97f1c15dedd2d36c63907f91	(Documentation/firmware_class/README)
f8d5b9e9e5372f0deb7bc1ab1088a9b60b0a793d	(part of 3.13 stable-queue)


All this to backport request_firmware_direct() and subsequent fixes from >=3.7 into 3.4, to be able to disable deprecated firmware-loader in sys-fs/udev. Despite the tarball containing 40+ commits, backporting is rather easy (as documented above) because all of them mostly only touch firmware_class.c. This bumps firmware_class.c basically to the state of 3.13.6+.

I still depend on kernel 3.4 despite all efforts to bisect various regressions in later versions. This enables me to continue using it in the future should firmware-loader finally be dropped from udev upstream at some point.

Attaching genpatches-3.4-62.experimental.tar.xz that makes use of experimental IUSE when added to gentoo-sources-3.4.82.ebuild.
Comment 1 Andreas Sturmlechner gentoo-dev 2014-03-08 18:44:00 UTC
Created attachment 372100 [details]
genpatches-3.4-62.experimental.tar.xz

Sorry, previous tarball was the wrong one, for some reason the range up to 3.13_rc8 doesn't include the most relevant patch. Now this one actually contains all files as advertised above, plus one additional commit to clear a warning.
Comment 2 Andreas Sturmlechner gentoo-dev 2014-03-16 14:47:40 UTC
Created attachment 372806 [details, diff]
3.4.83-backport_direct_firmware_loading.patch

Another version of the backport, based on firmware loading of 3.10.33 sources. All in one, 1/5th size, perhaps more reasonable.
Comment 3 Andreas Sturmlechner gentoo-dev 2014-08-31 09:13:31 UTC
breaks PM_SUSPEND, patch to fix this is getting too heavy to carry on.