]>
code.ossystems Code Review - openembedded-core.git/log
Chris Larson [Fri, 10 Dec 2010 01:14:48 +0000 (20:14 -0500)]
build: use bb.process instead of os.system
(Bitbake rev:
53740977521bc81ffa37adfa7bbeb8f2a80ea165 )
build: write logfiles per task, not per function
Based on
d14f9bf6 from poky, reworked for master and other cleanup.
(Bitbake rev:
beadff2eca1eb95f0411115dd72ddb4c3c44c604 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Dec 2010 01:14:40 +0000 (20:14 -0500)]
process: add subprocess-based bits
(Bitbake rev:
c63e55564a8840083dbd8634b10fe6f76d1f1354 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 9 Dec 2010 19:05:22 +0000 (14:05 -0500)]
Rename the ui 'init' method to 'main'
As these may run the UI in a blocking fashion and then return the exit code,
'init' was an inappropriate name, and 'main' is more appropriate.
(Bitbake rev:
4d081a0ed759bd526ab01849d650bd9e8d80ddd1 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 23 Nov 2010 22:30:45 +0000 (15:30 -0700)]
cooker: use re match, not search in re_match_strings
We want to match the requested pattern at the beginning of the string,
otherwise things behave in an unintuitive manner wrt ASSUME_PROVIDED (e.g.
ASSUME_PROVIDED += "gtk+" will also assume foo-gtk+ is provided), and the user
can always use '.*gtk+' to get the old behavior.
(Bitbake rev:
5670134ab2eb573d39df3c3231677cdb1a1dfc72 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 23 Nov 2010 22:30:23 +0000 (15:30 -0700)]
taskdata: use 'any' in re_match_strings
(Bitbake rev:
e48e9a2150ee76aaf151f6d5bc9e86e6ae4de514 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 8 Dec 2010 20:08:18 +0000 (15:08 -0500)]
cooker: add shutdown/stop methods
(Bitbake rev:
fc64eff03fe1f41e59128cb3df0ef2161e24a8cb )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 8 Dec 2010 19:30:33 +0000 (14:30 -0500)]
cooker: merge cookerState and cookerAction
(Bitbake rev:
c7c8945ef7ca9465312e630b7fa5f0a87ac8b6c7 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 7 Dec 2010 18:00:22 +0000 (13:00 -0500)]
cooker: use a pool, abort on first parse error
(Bitbake rev:
9caf65e79f95fe0045e727391e974c4c1e7411ff )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 7 Dec 2010 04:58:07 +0000 (21:58 -0700)]
knotty: use enumerate for task waiting
(Bitbake rev:
89ce8df075ac8c9a5478c86405e6e6b60346a51c )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 7 Dec 2010 04:06:13 +0000 (21:06 -0700)]
knotty: shift non-interactive progress into a class
(Bitbake rev:
c3d005cbbae3d56da9926666cfb1501c2bf96ea7 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 3 Dec 2010 17:39:11 +0000 (12:39 -0500)]
Fix the <100 recipe progress fix
(Bitbake rev:
424428a764651183218f9cc93bc05496867aa5de )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 3 Dec 2010 17:15:04 +0000 (12:15 -0500)]
Error more pleasantly when trying to use python2.4
(Bitbake rev:
57402ee727c8c1d8f5017534fb0f5e0b20aaaa5b )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 2 Dec 2010 19:05:51 +0000 (12:05 -0700)]
Don't show a traceback for a python version error
(Bitbake rev:
44c325306e55336b7b416fd88b39874012a3f603 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 30 Nov 2010 20:57:36 +0000 (13:57 -0700)]
cooker: don't choke on <100 recipes to parse
(Bitbake rev:
2be5169a01e57bcfcb1f75cbd6bac3bf0f230edd )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 30 Nov 2010 15:25:13 +0000 (08:25 -0700)]
cooker: no cached in progressbar and add ETA
Rather than updating the progress bar based on the recipe being processed
(whether cached or parsed), consider only parsed recipes. This reduces the
instability in progress rate introduced by the cached entries, and allows the
ETA to be resurrected and be a bit more useful.
(Bitbake rev:
618480f7739f6ae846f67a57bee5a78efb37839d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 29 Nov 2010 15:50:19 +0000 (08:50 -0700)]
cache: change to more incremental format
(Bitbake rev:
4fe4ffbef3885887c97eebe021edc3f23feab9ea )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 29 Nov 2010 15:06:30 +0000 (08:06 -0700)]
cooker: pass back child exceptions to the server
(Bitbake rev:
0f68f8bcd0e0aa944f76f88a4a85c9bcc1e42bee )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 26 Nov 2010 21:11:06 +0000 (14:11 -0700)]
vercmp: don't choke on empty first version components
(Bitbake rev:
e75aa94e9477933c5a40021b2a8e844db54f29da )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 26 Nov 2010 17:08:05 +0000 (10:08 -0700)]
Use __file__, not sys.argv[0]
(Bitbake rev:
97e92abe49663eee189c89c1dc91fe69891faf73 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 24 Nov 2010 03:08:06 +0000 (20:08 -0700)]
cache: ensure 'pn' is included in the pkgvars
(Bitbake rev:
cefc28a2aa1e5703119dacfd885c8c159a1e47a3 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 23 Nov 2010 19:02:40 +0000 (14:02 -0500)]
knotty: drop the ETA from the progressbar for now
Currently, the progress bar is an indication of the processing of our recipes,
which includes loading the cache file, then for each recipe, either adding the
existing cached information to the CacheData or parsing the recipe from disk.
These tasks clearly take different amounts of time, so the ETA is unreliable
today. We'll resurrect this functionality after we revamp the progress
handling, fully incorporating the load of the cache file.
(Bitbake rev:
80867372dcbef91ebaf7d77a77ca871741dd3f74 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 23 Nov 2010 17:46:49 +0000 (11:46 -0600)]
cooker: ensure that the cache sync completes
Without explicitly joining the thread, it's possible for the process to end
(e.g. after a bitbake -p) and kill off the thread without waiting for it to
exit cleanly. So, register the thread join with atexit.
(Bitbake rev:
97ce57e6f860d3e6f34cc7a603ed1eeac4f423d3 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 23 Nov 2010 14:20:08 +0000 (07:20 -0700)]
cooker: get number of threads in constructor
(Bitbake rev:
e7fd259d1528f48b0812fb7b0a54dd6d5d22f4a9 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 22 Nov 2010 21:13:52 +0000 (14:13 -0700)]
cooker: don't add info for skipped recipes
(Bitbake rev:
ac596d55de4ad86e1cdc84dabfea1350dd54efd0 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 21 Nov 2010 18:59:05 +0000 (11:59 -0700)]
cooker: show progress bar before initializing the cache
This ensures that the time spent loading the cache from disk occurs with the
progress bar up. Though the progress bar stays at 0% during this period, I
think this is an improvement over the multi-second stall which occurred
previously before the progress bar came up. Ideally, we'd integrate cache
loading from disk into the progress display, but this is a first step.
(Bitbake rev:
f6d0a5c219f9deb84f702450d30d868ba6271f77 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 19:00:37 +0000 (12:00 -0700)]
cooker: save progress chunk value (total/100)
(Bitbake rev:
09333737cbeeb9875d938521ddcd519fc808bcc3 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 18:46:42 +0000 (11:46 -0700)]
cooker: stop loading the cache for -b
Previously, the cache was actually being loaded from disk twice whenever using
-b or -e -b. This also moves the bb_cache instance into the CookerParser, as
it's not needed by the cooker itself at all.
(Bitbake rev:
dd0ec2f7b18e2a9ab06c499b775670516bd06ac8 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bob Foerster [Fri, 19 Nov 2010 16:03:28 +0000 (11:03 -0500)]
cooker: don't fire unnecessary parse progress events
(Bitbake rev:
7cf7d5f14405681496fced3640a50a20ef1acac1 )
Signed-off-by: Bob Foerster <robert@erafx.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 15:03:09 +0000 (08:03 -0700)]
cache: don't add info to cache if cache is disabled
(Bitbake rev:
f12bb303f3d86a68d0b3dda1112dd654b9251704 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 05:47:36 +0000 (22:47 -0700)]
cache: sync the cache file to disk in the background
This version uses a thread rather than a process, to avoid problems with
waitpid handling. This gives slightly less overall build time reduction than
the separate process for it did (this reduces a -c compile coreutils-native by
about 3 seconds, while the process reduced it by 7 seconds), however this time
is quite insignificant relative to a typical build.
The biggest issue with non-backgrounded syncing is the perceived delay before
work begins, and this resolves that without breaking anything, or so it seems.
(Bitbake rev:
5ab6c5c7b007b8c77c751582141afc07c183d672 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 05:28:09 +0000 (22:28 -0700)]
Simplify cache syncing
Rather than adding nocache items to the cache, then copying the cache and
removing them to sync it, don't add them in the first place. Also use 'with'
for the cachefile.
(Bitbake rev:
343b6f6255ad020c39e30742175a241f0859a5a6 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 04:15:07 +0000 (21:15 -0700)]
Experimental usage of the 'progressbar' module
(Bitbake rev:
64feb03bc2accecb49033df65e0a939ef5ab5986 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 03:21:54 +0000 (20:21 -0700)]
Implement parallel parsing support
This utilizes python's multiprocessing module. The default number of threads
to be used is the same as the number of available processor cores, however,
you can manually set this with the BB_NUMBER_PARSE_THREADS variable.
(Bitbake rev:
c7b3ec819549e51e438d293969e205883fee725f )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 17 Nov 2010 04:55:19 +0000 (21:55 -0700)]
cache: don't write out the cache unnecessarily
If the only recipes's we reparsed this run were those flagged as not to be
cached, there's no point in re-saving the cache, as those items won't be
included anyway.
(Bitbake rev:
1e0c4dbcbec886a30b89f8b4bb365c3c927ef609 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 16 Nov 2010 19:58:52 +0000 (12:58 -0700)]
cache: create and use a RecipeInfo class
This class holds the particular pieces of information about a recipe which are
needed for runqueue to do its job.
By using it, I think we improve code clarity, reduce method sizes, reduce
overuse of primitive types, and prepare for parallel parsing. In addition,
this ditches the leaky abstraction whereby bb.cache attempted to hide the
difference between cached data and a full recipe parse. This was a remnant
from the way things used to be done, and the code using it had to know the
difference anyway. If we choose to reimplement caching of the full recipes,
we can do it in bb.parse, in a completely transparent way.
(Bitbake rev:
992cc252452221f5f23575e50eb67528b2838fdb )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bob Foerster [Fri, 19 Nov 2010 20:39:22 +0000 (04:39 +0800)]
Prefer xrange over range for small performance gain.
range() allocates an actual list when called. xrange() is just an iterator
and creates the next range item on demand. This provides a slight
performance increase.
In python 3, range will do what xrange does currently, but the upgrade will
be handled by the 2to3 tool.
(Bitbake rev:
73b40f06444cb877a5960b2aa66abf7dacbd88f0 )
Signed-off-by: Bob Foerster <robert@erafx.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 20 Nov 2010 23:35:14 +0000 (16:35 -0700)]
Revert "svn fetcher: warn people to switch to SRCREV"
1) too spammy
2) can be implemented in the metadata instead
This reverts commit
8da9744fcdf856abebcfbe9e3bc1b8cf07bc317b .
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 19 Nov 2010 18:06:38 +0000 (11:06 -0700)]
cache: make loadDataFull a classmethod
(Bitbake rev:
16a9d689e61c35cfca94bbecd9772eab3c5072ba )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 19 Nov 2010 15:38:51 +0000 (16:38 +0100)]
svn fetcher: warn people to switch to SRCREV
as noted by rp in
ac00ca89a4e43cd4f38ba86455079d31be78e644
(Bitbake rev:
8da9744fcdf856abebcfbe9e3bc1b8cf07bc317b )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Wed, 17 Nov 2010 14:40:51 +0000 (15:40 +0100)]
fetch: be more pythonic
no functional changes
(Bitbake rev:
e88834fb7c6821cc29c12d296f2edd51f6eb3746 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Wed, 17 Nov 2010 14:04:42 +0000 (15:04 +0100)]
fetch: use os.path.join
(Bitbake rev:
c360b01df18d90a513a3d61d395f905102e7568e )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Wed, 17 Nov 2010 13:44:40 +0000 (14:44 +0100)]
fetch: add common helper _strip_leading_slashes()
Several fetcher need a way to strip leading slashes off a local path.
This helper-function consolidates all such occurances.
(Bitbake rev:
823a02185ed109054c6c1ae366221aaed0353f24 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Wed, 17 Nov 2010 10:55:21 +0000 (11:55 +0100)]
fetch: rename suppports_srcrev to supports_srcrev
osc had it already spelled correctly?!
(Bitbake rev:
b8bb4433de7a981c6826173e926ca34705c4ac70 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 18 Nov 2010 18:14:38 +0000 (11:14 -0700)]
cache: Add debug msg for a nonexistant dep file
If a recipe depends on a file, and that file is out of date, we show a
message, but if that file was removed, we do not, until now.
(Bitbake rev:
67984ba0ac2db79874541bc031f2e3e9ff7a6c32 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 18 Nov 2010 18:14:27 +0000 (11:14 -0700)]
cache: use new style classes
(Bitbake rev:
e084430446be2544dd1a6b627088f888c37cc7f0 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 18 Nov 2010 03:27:25 +0000 (20:27 -0700)]
cache: pyflakes/pep8/pylint cleanup
(Bitbake rev:
06420ff839ffc37de3e42474b8b0e47c4608a985 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 17 Nov 2010 00:43:33 +0000 (17:43 -0700)]
cache: use set for clean, checked
(Bitbake rev:
3a776ef947e23b1a04bdd9e78a3a0c4616249b0e )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 16 Nov 2010 20:06:10 +0000 (13:06 -0700)]
cache: make use of defaultdict
(Bitbake rev:
7171019b11ad656d0edb979564941fcf92ab0a02 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 16 Nov 2010 20:01:51 +0000 (13:01 -0700)]
Pre-explode rundeps/runrecs in CacheData
(Bitbake rev:
0c8e0f3191252ccedb83c431c48e5c7d905e2717 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 18 Nov 2010 17:54:10 +0000 (10:54 -0700)]
persist_data: handle locked db for SELECT
Parallel processes interacting with the persist_data db can quite easily
explode without this.
(Bitbake rev:
b3d5432cff0ff28f4c8a5bcf10efa3e383b4fd4d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Mon, 15 Nov 2010 15:27:27 +0000 (16:27 +0100)]
BBHandler: use os.path in inherit()
(Bitbake rev:
5b85de2c71973ba490b95a5d9ab634635f395142 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Sun, 14 Nov 2010 12:08:03 +0000 (13:08 +0100)]
BBHandler: simplify supports()
(Bitbake rev:
858d704d713d15bf97053eb1374758c74b0d8874 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Sat, 13 Nov 2010 23:36:37 +0000 (00:36 +0100)]
bb.cache: only log if the respective action was taken
This avoids alot of misleading log-messages like "Removing FOO from cache"
if FOO was not in the cache and as such is not a removal candidate.
(Bitbake rev:
de34a403e206867e09410ad4925c7b9cff04fee6 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 11 Nov 2010 15:57:15 +0000 (08:57 -0700)]
bb.pysh: add Case support to format_commands
(Bitbake rev:
6e24f573a0e95068eb9237c1d264ad1148b2f690 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 11 Nov 2010 15:57:04 +0000 (08:57 -0700)]
bb.pysh: fix writing pyshtables all over the place
(Bitbake rev:
ff4753e362714a3c4c759c2fad8a9e5b8fe5bef5 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 31 Dec 2010 11:00:27 +0000 (11:00 +0000)]
Move the pysh package into the bb package
The pysh we're using is modified, and we don't want to risk it conflicting
with one from elsewhere.
(Bitbake rev:
1cbf8a9403b4b60d59bfd90a51c3e4246ab834d6 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Peter Chubb [Thu, 3 Sep 2009 17:31:40 +0000 (17:31 +0000)]
Allow mercurial fetcher to follow tip
There are occasions when developing when I want a package always to
grab the latest copy of a package. Witht eh CVS fetcher you can do
this by setting the `date' tag to `now'. This patch adds similar
functionality to the mercurial fetcher: if the revision to fetch is
`tip' then always grab from the server, and don't use the cached
tarball.
Oh, and I fixed a typo in the Class comment.
(Bitbake rev:
01b85608d8a37f8af66dfd80133e950120679079 )
Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 4 Nov 2010 15:47:11 +0000 (08:47 -0700)]
Fix GraphViz .dot output for rdepends and rrecs
Use bb.utils.explode_deps to break up the rdepends and rrecommends strings.
This fixes the same issue which was fixed by a number of patches floating
around, but uses explode_deps rather than regular expressions.
(Bitbake rev:
83cdb23f8b89453a3527a276bd0b4deb85d63deb )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 28 Oct 2010 01:16:47 +0000 (18:16 -0700)]
Make 'cache is clean' message debug
(Bitbake rev:
92637a355d55cb66de91b4314bc0e7cf1ac64ade )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Eric BENARD [Mon, 6 Sep 2010 08:51:52 +0000 (08:51 +0000)]
bitbake: lib/bb/fetch/hg: fix fetching from a mercurial repository
* without this fix, we get :
updating working directory
74 files updated, 0 files merged, 0 files removed, 0 files unresolved
abort: There is no Mercurial repository here (.hg not found)!
(Bitbake rev:
75ea005ac8fc05b2b3afca803d77a6b5f558efee )
Signed-off-by: Eric Bénard <eric@eukrea.com>
Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 21 Oct 2010 21:14:23 +0000 (14:14 -0700)]
Resurrect display of failed files
This was inadvertantly removed when trying to reduce the amount of duplicated
information the user sees when a failure occurs.
(Bitbake rev:
850d6158ea9daa58e896fd6b258d586df797dcf4 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 6 Oct 2010 02:35:23 +0000 (19:35 -0700)]
Access metadata vars as locals in python snippets
Example:
FOO = "bar"
BAR = "${@FOO + '/baz'}"
${BAR} == "bar/baz"
(Bitbake rev:
606fa1fd97cbd47a6a7ebdc7a2e6aa93a8f65cf5 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 6 Oct 2010 03:19:31 +0000 (20:19 -0700)]
Fix __getitem__ for DataSmart
Ensure it raises KeyError for a missing key, this is required to use this as a
mapping in various places, e.g. as locals in an eval.
(Bitbake rev:
8d661ce0c303e8d69f17c1d095545d5ed086d1d5 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Khem Raj [Fri, 24 Sep 2010 22:46:59 +0000 (15:46 -0700)]
fetchers: Use tar --exclude pattern to remove SCM files
This option will exclude the SCM metadata from tar files.
Tested with gcc where svn tar which used to be 156M for gcc 4.5
is now 77M
(Bitbake rev:
f264cb6d43472525ad787b0887764ea696ec52ba )
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 28 Sep 2010 15:52:32 +0000 (08:52 -0700)]
Fix syntax issue and don't include 'd' in ui_queue
(Bitbake rev:
bed8e09971dc577f5443ad3d89aa14634c54eb16 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 28 Sep 2010 15:24:55 +0000 (08:24 -0700)]
Queue up events before the UI is spawned
- Queue up any events fired to the UI before the UI exists
- At exit, check if UIs exist, and if not, flush the queue of LogRecords to
the console directly.
- When establishing a connection from the UI to the server, flush the queue of
events to the queue in the server connection, so the UI will receive them
when it begins its event loop.
(Bitbake rev:
73488aeb317ed306f2ecf99cc9d3708526a5933c )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 24 Sep 2010 14:50:26 +0000 (07:50 -0700)]
Fix another little bug with undefined var from cache
(Bitbake rev:
f29ceb22b6a79ff62287a1eb398811fd81ec5c18 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 24 Sep 2010 14:44:23 +0000 (07:44 -0700)]
bb.cache: fix bug from last commit with loading from cache
(Bitbake rev:
99c324fe7395a44da78403c615797104413503a5 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 23 Sep 2010 18:21:29 +0000 (11:21 -0700)]
Reduce bb.cache memory usage a bit
- Don't store key/value pairs when the value is None
- Delete the depends_cache when we're done with it
This reduces the memory usage after sync on initial parse by roughly 11.5% on
this machine.
(Bitbake rev:
c7eb4c989459d182fdf9c81a627d32b7ef11626b )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 12 Sep 2010 20:54:13 +0000 (13:54 -0700)]
Fix FuncFailed construction
(Bitbake rev:
085e66f9c14123ea2c0f1e34f7737cf77071f86d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 21:20:47 +0000 (14:20 -0700)]
Restore FuncFailed argument compatibility
(Bitbake rev:
c07cc08f7fd503ac3013ccc43c79198c4c3b7b29 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 20:02:04 +0000 (13:02 -0700)]
Only reference logfiles that exist
(Bitbake rev:
760f647ba044009150ee219869fc9dea171a7535 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 18:34:39 +0000 (11:34 -0700)]
Fix bitbake -k issue introduced by build exception cleanup
A SystemExit from a python function wasn't being raised as a FuncFailed, which
resulted in it not being caught by the exception handlers in the runqueue for
the worker process, which resulted in a SystemExit exit, rather than os._exit,
which causes all manner of problems when used in a forked process. This fixes
it by ensuring we raise a FuncFailed when seeing exceptions which aren't
instances of Exception.
(Bitbake rev:
dafe92fe9f387450d9f9e9ff41c99388998b7495 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 18:33:48 +0000 (11:33 -0700)]
Don't show tracebacks for SystemExit or KeyboardInterrupt
(Bitbake rev:
d71984b3934c3dd9791c3bc00f332b79a1985a05 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 18:14:54 +0000 (11:14 -0700)]
Fix exit code display for task failure
Per the python documentation, os.waitpid returns the exitcode shifted up by 8
bits, and we weren't compensating, resulting in a display of 'failed with 256'
when a worker process exits with a code of 1.
(Bitbake rev:
90c2b6cb24dc9c82f0a9aa9d23f2d1ed2e6ff301 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie [Thu, 30 Dec 2010 19:34:37 +0000 (19:34 +0000)]
FIXUP: runqueue bb.debug refs
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 01:03:40 +0000 (18:03 -0700)]
Simplify build exception handling
- Drop EventException
- Use FuncFailed as the primary function failure exception, using TaskFailed
for the event (leaving it up to the process running exec_{func,task} to
display the more detailed information available in the exception).
- Switch InvalidTask to an exception rather than an event, as that's a
critical issue.
- Reduce the number of messages shown to the user when a task fails -- they
don't need to be told it fails 12 times. Work remains in this area though.
(Bitbake rev:
06b742aae2b8013cbb269cc30554cff89e3a5667 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 00:57:51 +0000 (17:57 -0700)]
Turn Event into a new style class
(Bitbake rev:
b42221cabeb1193ade134d1d3c0318203ab8eb93 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 00:57:33 +0000 (17:57 -0700)]
Work around issue with pickling of traceback objects
(Bitbake rev:
82928613256bad92fde9f4071244a53e20fc89ee )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 10 Sep 2010 00:57:09 +0000 (17:57 -0700)]
Don't show uncaught exception message for KeyboardInterrupt
(Bitbake rev:
29634acd262b06fd14f6ef1e134346f274cf448f )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 8 Sep 2010 18:31:36 +0000 (11:31 -0700)]
Apply fix for issue where the loggers were constructed with the wrong class
(Bitbake rev:
1b21daf052c49f3126dac001712ec01ad63c5f60 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 7 Sep 2010 22:09:24 +0000 (15:09 -0700)]
Fix providerlog NameError
(Bitbake rev:
992e460f24d4da707c76d6e6d74d3684c9646279 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 4 Sep 2010 01:49:02 +0000 (18:49 -0700)]
Drop 'fn' arguments to bb.msg functions
(Bitbake rev:
8341458e3d21b45db84e46bd32f8ad270000ce3c )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 11 Aug 2010 16:47:31 +0000 (09:47 -0700)]
Add pending deprecation warnings to the bb.msg functions
(Bitbake rev:
60293a42b5500b6139bcd912bf294f862ef9936b )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 17:35:31 +0000 (10:35 -0700)]
Switch bitbake internals to use logging directly rather than bb.msg
We use a custom Logger subclass for our loggers
This logger provides:
- 'debug' method which accepts a debug level
- 'plain' method which bypasses log formatting
- 'verbose' method which is more detail than info, but less than debug
(Bitbake rev:
3b2c1fe5ca56daebb24073a9dd45723d3efd2a8d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 15:05:52 +0000 (08:05 -0700)]
Use logging in the knotty ui, and pass the log record across directly
This kills firing of Msg* events in favor of just passing along LogRecord
objects. These objects hold more than just level and message, but can also
have exception information, so the UI can decide what to do with that.
As an aside, when using the 'none' server, this results in the log messages in
the server being displayed directly via the logging module and the UI's
handler, rather than going through the server's event queue. As a result of
doing it this way, we have to override the event handlers of the base logger
when spawning a worker process, to ensure they log via events rather than
directly.
(Bitbake rev:
c23c015cf8af1868faf293b19b80a5faf7e736a5 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 9 Jun 2010 23:17:29 +0000 (16:17 -0700)]
Use the python logging module under the hood for bb.msg
(Bitbake rev:
47ca82397bc395b598c6b68b24cdee9e0d8a76d8 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
C Michael Sundius [Mon, 2 Aug 2010 21:56:11 +0000 (14:56 -0700)]
Allow %20 in a file name in the SRC_URI
(Bitbake rev:
f7c181a0f6ab0b4d33bf80a0e24a788de441f82b )
Signed-off-by: C Michael Sundius <msundius@sundius.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 16:29:55 +0000 (09:29 -0700)]
Ignore python warnings that come from places we don't care about
Only shows warnings that come from bb, oe, or <string>
(Bitbake rev:
57018687f60b222ab220dd904c4bf870780171e9 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 13 Apr 2010 01:56:25 +0000 (18:56 -0700)]
Make DataSmart inherit the MutableMapping ABC
Provide __len__, __iter__, and the getitem/setitem/delitem methods, and its
mixed in versions of keys(), values(), items(), etc will automatically behave,
making the DataSmart act more like a real mapping.
(Bitbake rev:
89b5351c656d263b0ce513cee043bc046d20a01e )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 23 Jul 2010 21:32:14 +0000 (14:32 -0700)]
Split out 'find next buildable task' into a separate generator function
It needs to be a generator, so scheduler subclasses have the option to skip
buildable tasks and return a later one.
(Bitbake rev:
a8c61e41bc6277222e4cde667ad0b24bd1597aa0 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 23 Jul 2010 20:42:54 +0000 (13:42 -0700)]
Let the RunQueueScheduler control the number of active tasks
(Bitbake rev:
1387423e747f59866fd1cb99a7d90605e668823f )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 22 Jul 2010 18:27:10 +0000 (11:27 -0700)]
Add the ability to use runqueue schedulers from the metadata
If you create a runqueue scheduler class in a python module, available in the
usual python search path, you can now make it available to bitbake via the
BB_SCHEDULERS variable, and the user can then select it as they select any
other scheduler.
Example usage:
In a test.py I placed appropriately:
import bb.runqueue
class TestScheduler(bb.runqueue.RunQueueScheduler):
name = "myscheduler"
In local.conf, to make it available and select it:
BB_SCHEDULERS = "test.TestScheduler"
BB_SCHEDULER = "myscheduler"
(Bitbake rev:
4dd38d5cfb80f9bb72bc41a629c3320b38f7314d )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Holger Hans Peter Freyther [Sat, 7 Aug 2010 14:58:47 +0000 (22:58 +0800)]
misc: Update the email address to a working one.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 6 Aug 2010 23:19:12 +0000 (16:19 -0700)]
Fix IndexError encountered when a 'depends' flag references a nonexistant task
(Bitbake rev:
4b0fd70539e73d99282fa89d47ad2d5f642ca4f4 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 6 Aug 2010 23:08:32 +0000 (16:08 -0700)]
Drop the 'ui failed to start' message, as the ui_init does more in knotty
(Bitbake rev:
39087138ffd5d427f07ecaa580a40885c5ffaff3 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 31 Mar 2010 15:59:00 +0000 (08:59 -0700)]
Make realfile optional for better_exec, using the existing fn in the code object
(Bitbake rev:
499a2d28d578cdd6df7cd30ccb79cc2b2796fb65 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bruce Ashfield [Fri, 31 Dec 2010 06:24:03 +0000 (01:24 -0500)]
linux-yocto/stable: update SRCREVs for 2.6.34.x -stable update
Paul Gortmaker maintains the upstream 2.6.34.x -longerm tree. The
yocto stable kernel tracks this tree and incorporates those nominated
changes.
This commit updates the BSP SRCREVs to the latest 2.6.34.x
merge and picks up 260 -stable commits for each BSP.
The combined diffstat between 2.6.34.7 and this update follows:
arch/alpha/kernel/err_marvel.c | 6 +-
arch/arm/kernel/entry-common.S | 2 +
arch/arm/mach-at91/at91sam9g45_devices.c | 2 +-
arch/ia64/include/asm/compat.h | 2 +-
arch/ia64/kernel/fsys.S | 30 ++-
arch/ia64/kernel/msi_ia64.c | 2 +-
arch/ia64/sn/kernel/msi_sn.c | 2 +-
arch/mips/include/asm/atomic.h | 24 +-
arch/mips/include/asm/compat.h | 2 +-
arch/mips/mti-malta/malta-pci.c | 2 +
arch/mips/nxp/pnx8550/common/pci.c | 1 +
arch/mips/nxp/pnx8550/common/setup.c | 2 +-
arch/mips/pci/ops-pmcmsp.c | 1 +
arch/mips/pci/pci-yosemite.c | 1 +
arch/parisc/include/asm/compat.h | 2 +-
arch/powerpc/include/asm/compat.h | 2 +-
arch/powerpc/kernel/head_64.S | 18 +-
arch/powerpc/kernel/ppc970-pmu.c | 2 +
arch/s390/include/asm/compat.h | 2 +-
arch/sparc/include/asm/compat.h | 2 +-
arch/sparc/include/asm/oplib_64.h | 27 +--
arch/sparc/prom/cif.S | 16 +-
arch/sparc/prom/console_64.c | 48 +++-
arch/sparc/prom/devops_64.c | 36 +++-
arch/sparc/prom/misc_64.c | 314 +++++++++++++++++++--------
arch/sparc/prom/p1275.c | 102 +---------
arch/sparc/prom/tree_64.c | 210 +++++++++++++-----
arch/um/drivers/ubd_kern.c | 9 +-
arch/x86/ia32/ia32entry.S | 22 ++-
arch/x86/include/asm/amd_iommu_proto.h | 6 +
arch/x86/include/asm/amd_iommu_types.h | 12 +
arch/x86/include/asm/compat.h | 2 +-
arch/x86/include/asm/cpufeature.h | 2 +-
arch/x86/include/asm/io.h | 1 +
arch/x86/include/asm/kvm_host.h | 24 --
arch/x86/include/asm/smp.h | 9 +-
arch/x86/include/asm/tsc.h | 2 +
arch/x86/kernel/Makefile | 2 +
arch/x86/kernel/amd_iommu.c | 4 +-
arch/x86/kernel/amd_iommu_init.c | 67 ++++--
arch/x86/kernel/apic/io_apic.c | 15 +-
arch/x86/kernel/cpu/common.c | 4 +-
arch/x86/kernel/cpu/cpu.h | 1 +
arch/x86/kernel/cpu/intel.c | 1 +
arch/x86/kernel/cpu/mcheck/mce_amd.c | 9 +-
arch/x86/kernel/cpu/mtrr/cleanup.c | 2 +-
arch/x86/kernel/crash_dump_64.c | 3 +-
arch/x86/kernel/hpet.c | 2 +-
arch/x86/kernel/olpc.c | 5 +-
arch/x86/kernel/reboot.c | 2 +-
arch/x86/kernel/smp.c | 15 +-
arch/x86/kernel/tsc.c | 38 ++++
arch/x86/kvm/paging_tmpl.h | 30 +++-
arch/x86/kvm/svm.c | 17 +-
arch/x86/kvm/vmx.c | 28 +--
arch/x86/kvm/x86.c | 2 +-
arch/x86/oprofile/nmi_int.c | 27 ++-
arch/x86/power/cpu.c | 2 +
arch/x86/xen/enlighten.c | 2 +-
arch/x86/xen/smp.c | 6 +-
block/bsg.c | 2 +-
drivers/acpi/acpica/aclocal.h | 1 +
drivers/acpi/blacklist.c | 16 ++
drivers/acpi/processor_core.c | 6 -
drivers/ata/libata-core.c | 14 +-
drivers/ata/libata-eh.c | 4 +
drivers/ata/sata_mv.c | 44 +++-
drivers/bluetooth/hci_ldisc.c | 7 +
drivers/char/agp/sis-agp.c | 8 -
drivers/char/mem.c | 3 +-
drivers/char/pcmcia/synclink_cs.c | 2 +
drivers/dma/mv_xor.c | 2 +-
drivers/gpu/drm/drm_crtc_helper.c | 4 +-
drivers/gpu/drm/i915/i915_dma.c | 12 +-
drivers/gpu/drm/i915/i915_gem.c | 1 +
drivers/gpu/drm/i915/intel_display.c | 5 +-
drivers/hwmon/f75375s.c | 6 +-
drivers/hwmon/k8temp.c | 35 +++-
drivers/i2c/busses/i2c-pca-isa.c | 12 +-
drivers/i2c/busses/i2c-pca-platform.c | 11 +-
drivers/infiniband/hw/cxgb3/iwch_cm.c | 6 +-
drivers/input/joydev.c | 3 +
drivers/input/serio/i8042.c | 2 +-
drivers/media/video/cx231xx/cx231xx-cards.c | 14 +-
drivers/media/video/v4l2-compat-ioctl32.c | 32 ++-
drivers/message/fusion/mptscsih.c | 2 +
drivers/misc/sgi-xp/xpc_uv.c | 17 ++
drivers/mmc/host/sdhci-s3c.c | 6 +-
drivers/mmc/host/tmio_mmc.c | 7 +-
drivers/mmc/host/tmio_mmc.h | 13 +-
drivers/net/atlx/atl1.c | 5 +-
drivers/net/b44.c | 4 +-
drivers/net/bonding/bond_3ad.c | 3 +
drivers/net/bonding/bond_alb.c | 3 +
drivers/net/cxgb3/cxgb3_main.c | 2 +
drivers/net/eql.c | 2 +
drivers/net/netxen/netxen_nic_init.c | 3 -
drivers/net/r8169.c | 12 +-
drivers/net/skge.c | 18 ++-
drivers/net/tun.c | 3 +-
drivers/net/usb/hso.c | 2 +
drivers/net/wireless/ath/ath5k/base.c | 11 +-
drivers/net/wireless/ath/ath9k/eeprom.h | 2 +-
drivers/net/wireless/ath/regd.h | 1 -
drivers/net/wireless/hostap/hostap_pci.c | 1 +
drivers/net/wireless/p54/eeprom.c | 4 +-
drivers/net/wireless/p54/p54usb.c | 15 ++-
drivers/net/wireless/p54/txrx.c | 2 +-
drivers/oprofile/buffer_sync.c | 27 ++-
drivers/oprofile/cpu_buffer.c | 2 -
drivers/pci/intel-iommu.c | 90 ++++----
drivers/pci/msi.c | 27 +++-
drivers/pci/quirks.c | 20 ++
drivers/power/apm_power.c | 1 +
drivers/scsi/gdth.c | 8 +
drivers/scsi/libsas/sas_ata.c | 1 +
drivers/scsi/scsi_lib.c | 3 +-
drivers/scsi/scsi_sysfs.c | 3 +-
drivers/scsi/sd.c | 15 +-
drivers/staging/hv/RingBuffer.c | 3 +-
drivers/staging/hv/StorVscApi.h | 4 +-
drivers/staging/hv/netvsc_drv.c | 3 +
drivers/staging/hv/storvsc_drv.c | 9 +-
drivers/staging/usbip/usbip_event.c | 16 +-
drivers/staging/usbip/vhci_hcd.c | 2 +
drivers/staging/vt6655/wpactl.c | 11 +-
drivers/usb/class/cdc-acm.c | 24 ++-
drivers/usb/core/file.c | 35 ++--
drivers/usb/core/hub.c | 9 +-
drivers/usb/core/message.c | 15 +-
drivers/usb/gadget/atmel_usba_udc.c | 3 +
drivers/usb/gadget/rndis.c | 10 +-
drivers/usb/host/ehci-ppc-of.c | 12 +-
drivers/usb/musb/blackfin.c | 4 +-
drivers/usb/musb/musb_gadget.c | 22 ++-
drivers/usb/musb/musb_gadget.h | 2 +
drivers/usb/musb/musb_gadget_ep0.c | 9 +
drivers/usb/serial/cp210x.c | 12 +-
drivers/usb/serial/ftdi_sio.c | 43 ++++-
drivers/usb/serial/ftdi_sio_ids.h | 51 +++++-
drivers/usb/serial/mos7720.c | 3 +
drivers/usb/serial/mos7840.c | 35 ++-
drivers/usb/serial/opticon.c | 6 +-
drivers/usb/serial/option.c | 23 ++-
drivers/video/sis/sis_main.c | 3 +
drivers/video/via/ioctl.c | 2 +
drivers/xen/events.c | 21 ++-
fs/aio.c | 3 +
fs/binfmt_misc.c | 2 +-
fs/char_dev.c | 4 +-
fs/cifs/dns_resolve.c | 2 +-
fs/cifs/dns_resolve.h | 2 +-
fs/exec.c | 14 ++
fs/ext4/dir.c | 4 +-
fs/ext4/ext4.h | 129 ++++++++++--
fs/ext4/ext4_jbd2.h | 8 +-
fs/ext4/extents.c | 140 +++++++++----
fs/ext4/file.c | 2 +-
fs/ext4/fsync.c | 33 +++-
fs/ext4/ialloc.c | 89 ++++----
fs/ext4/inode.c | 88 +++++---
fs/ext4/ioctl.c | 25 ++-
fs/ext4/mballoc.c | 108 +++++++---
fs/ext4/migrate.c | 2 +-
fs/ext4/move_extent.c | 4 +-
fs/ext4/namei.c | 12 +-
fs/ext4/super.c | 65 +++---
fs/ext4/xattr.c | 4 +-
fs/fuse/dev.c | 16 +-
fs/nfs/client.c | 2 +-
fs/notify/inotify/inotify_fsnotify.c | 3 +
fs/notify/inotify/inotify_user.c | 7 +-
fs/ocfs2/inode.c | 6 +-
fs/ocfs2/symlink.c | 2 +-
fs/partitions/ibm.c | 13 +-
fs/pipe.c | 2 +-
fs/proc/task_mmu.c | 3 +-
fs/sysfs/file.c | 2 +-
fs/xfs/linux-2.6/xfs_ioctl.c | 2 +
include/drm/drm_pciids.h | 2 +-
include/linux/compat.h | 3 +
include/linux/cpuset.h | 16 +-
include/linux/libata.h | 1 +
include/linux/mm.h | 14 +-
include/linux/mmzone.h | 13 +
include/linux/msi.h | 2 +
include/linux/pci_ids.h | 3 +
include/linux/sched.h | 5 +-
include/linux/socket.h | 2 +-
include/linux/vmstat.h | 22 ++
include/net/tcp.h | 36 +++-
kernel/compat.c | 21 ++
kernel/cpu.c | 18 +-
kernel/cpuset.c | 67 ++++--
kernel/exit.c | 5 +-
kernel/futex.c | 31 ++--
kernel/gcov/fs.c | 244 +++++++++++++++------
kernel/groups.c | 5 +-
kernel/hrtimer.c | 13 +-
kernel/sched.c | 180 +++++++---------
kernel/sched_fair.c | 106 +++++----
kernel/sched_idletask.c | 3 +-
kernel/sched_rt.c | 5 +-
kernel/sys.c | 2 +
kernel/trace/ftrace.c | 19 ++-
kernel/trace/ring_buffer.c | 2 +-
mm/bounce.c | 2 +-
mm/memory.c | 15 +-
mm/memory_hotplug.c | 16 +-
mm/mlock.c | 6 -
mm/mmap.c | 3 -
mm/mmzone.c | 21 ++
mm/page_alloc.c | 33 ++-
mm/percpu.c | 2 +-
mm/vmalloc.c | 9 +
mm/vmstat.c | 15 ++-
net/bridge/br_netfilter.c | 9 +-
net/core/ethtool.c | 4 +-
net/core/iovec.c | 5 +-
net/core/skbuff.c | 6 +-
net/core/stream.c | 8 +-
net/ipv4/ip_output.c | 19 +-
net/ipv4/route.c | 7 +-
net/ipv4/tcp.c | 41 ++--
net/ipv4/tcp_input.c | 2 +
net/ipv4/tcp_timer.c | 8 +-
net/ipv4/xfrm4_policy.c | 2 +-
net/ipv6/ip6_output.c | 18 +-
net/ipv6/route.c | 28 ++-
net/irda/af_irda.c | 4 +-
net/irda/irlan/irlan_common.c | 2 +-
net/llc/af_llc.c | 3 +-
net/phonet/pep.c | 3 +-
net/rds/page.c | 27 +--
net/rds/recv.c | 2 +-
net/rose/af_rose.c | 4 +-
net/sctp/output.c | 1 -
net/sctp/sm_make_chunk.c | 4 +-
net/sunrpc/auth_gss/auth_gss.c | 9 +-
net/sunrpc/rpc_pipe.c | 6 +-
net/unix/af_unix.c | 15 +-
net/wireless/wext-compat.c | 3 +
net/wireless/wext-core.c | 16 ++
net/wireless/wext-priv.c | 2 +-
security/keys/keyctl.c | 6 +-
security/keys/process_keys.c | 6 +-
sound/core/control.c | 5 +
sound/core/rawmidi.c | 4 +-
sound/core/seq/oss/seq_oss_init.c | 9 +-
sound/pci/hda/patch_analog.c | 1 +
sound/pci/hda/patch_realtek.c | 8 +-
sound/pci/oxygen/oxygen.c | 4 +
sound/pci/rme9652/hdsp.c | 1 +
sound/pci/rme9652/hdspm.c | 1 +
tools/perf/util/callchain.h | 1 +
255 files changed, 2861 insertions(+), 1415 deletions(-)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Saul Wold [Sun, 2 Jan 2011 09:22:42 +0000 (01:22 -0800)]
dtc: add patch to remove -Os for PPC
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Saul Wold [Sun, 2 Jan 2011 09:22:06 +0000 (01:22 -0800)]
xserver-kdrive: add DEPENDS for libdrm
Signed-off-by: Saul Wold <sgw@linux.intel.com>