-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 375288 b: refs/heads/master c: 3644bc2 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
May 10, 2013
1 parent
94d5d3b
commit 0379a1b
Showing
4,152 changed files
with
239,677 additions
and
99,356 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: c5ddd2024a87353f73068732cfd38d3dfec22e87 | ||
refs/heads/master: 3644bc2ec7655a249612ea500e2be1c13052c4c2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
What: /sys/block/<disk>/bcache/unregister | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
A write to this file causes the backing device or cache to be | ||
unregistered. If a backing device had dirty data in the cache, | ||
writeback mode is automatically disabled and all dirty data is | ||
flushed before the device is unregistered. Caches unregister | ||
all associated backing devices before unregistering themselves. | ||
|
||
What: /sys/block/<disk>/bcache/clear_stats | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
Writing to this file resets all the statistics for the device. | ||
|
||
What: /sys/block/<disk>/bcache/cache | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For a backing device that has cache, a symlink to | ||
the bcache/ dir of that cache. | ||
|
||
What: /sys/block/<disk>/bcache/cache_hits | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For backing devices: integer number of full cache hits, | ||
counted per bio. A partial cache hit counts as a miss. | ||
|
||
What: /sys/block/<disk>/bcache/cache_misses | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For backing devices: integer number of cache misses. | ||
|
||
What: /sys/block/<disk>/bcache/cache_hit_ratio | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For backing devices: cache hits as a percentage. | ||
|
||
What: /sys/block/<disk>/bcache/sequential_cutoff | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For backing devices: Threshold past which sequential IO will | ||
skip the cache. Read and written as bytes in human readable | ||
units (i.e. echo 10M > sequntial_cutoff). | ||
|
||
What: /sys/block/<disk>/bcache/bypassed | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
Sum of all reads and writes that have bypassed the cache (due | ||
to the sequential cutoff). Expressed as bytes in human | ||
readable units. | ||
|
||
What: /sys/block/<disk>/bcache/writeback | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For backing devices: When on, writeback caching is enabled and | ||
writes will be buffered in the cache. When off, caching is in | ||
writethrough mode; reads and writes will be added to the | ||
cache but no write buffering will take place. | ||
|
||
What: /sys/block/<disk>/bcache/writeback_running | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For backing devices: when off, dirty data will not be written | ||
from the cache to the backing device. The cache will still be | ||
used to buffer writes until it is mostly full, at which point | ||
writes transparently revert to writethrough mode. Intended only | ||
for benchmarking/testing. | ||
|
||
What: /sys/block/<disk>/bcache/writeback_delay | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For backing devices: In writeback mode, when dirty data is | ||
written to the cache and the cache held no dirty data for that | ||
backing device, writeback from cache to backing device starts | ||
after this delay, expressed as an integer number of seconds. | ||
|
||
What: /sys/block/<disk>/bcache/writeback_percent | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For backing devices: If nonzero, writeback from cache to | ||
backing device only takes place when more than this percentage | ||
of the cache is used, allowing more write coalescing to take | ||
place and reducing total number of writes sent to the backing | ||
device. Integer between 0 and 40. | ||
|
||
What: /sys/block/<disk>/bcache/synchronous | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For a cache, a boolean that allows synchronous mode to be | ||
switched on and off. In synchronous mode all writes are ordered | ||
such that the cache can reliably recover from unclean shutdown; | ||
if disabled bcache will not generally wait for writes to | ||
complete but if the cache is not shut down cleanly all data | ||
will be discarded from the cache. Should not be turned off with | ||
writeback caching enabled. | ||
|
||
What: /sys/block/<disk>/bcache/discard | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For a cache, a boolean allowing discard/TRIM to be turned off | ||
or back on if the device supports it. | ||
|
||
What: /sys/block/<disk>/bcache/bucket_size | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For a cache, bucket size in human readable units, as set at | ||
cache creation time; should match the erase block size of the | ||
SSD for optimal performance. | ||
|
||
What: /sys/block/<disk>/bcache/nbuckets | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For a cache, the number of usable buckets. | ||
|
||
What: /sys/block/<disk>/bcache/tree_depth | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For a cache, height of the btree excluding leaf nodes (i.e. a | ||
one node tree will have a depth of 0). | ||
|
||
What: /sys/block/<disk>/bcache/btree_cache_size | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
Number of btree buckets/nodes that are currently cached in | ||
memory; cache dynamically grows and shrinks in response to | ||
memory pressure from the rest of the system. | ||
|
||
What: /sys/block/<disk>/bcache/written | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For a cache, total amount of data in human readable units | ||
written to the cache, excluding all metadata. | ||
|
||
What: /sys/block/<disk>/bcache/btree_written | ||
Date: November 2010 | ||
Contact: Kent Overstreet <kent.overstreet@gmail.com> | ||
Description: | ||
For a cache, sum of all btree writes in human readable units. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
1600x1200.S: EDID data set for standard 1600x1200 60 Hz monitor | ||
Copyright (C) 2013 Carsten Emde <C.Emde@osadl.org> | ||
This program is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License | ||
as published by the Free Software Foundation; either version 2 | ||
of the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
*/ | ||
|
||
/* EDID */ | ||
#define VERSION 1 | ||
#define REVISION 3 | ||
|
||
/* Display */ | ||
#define CLOCK 162000 /* kHz */ | ||
#define XPIX 1600 | ||
#define YPIX 1200 | ||
#define XY_RATIO XY_RATIO_4_3 | ||
#define XBLANK 560 | ||
#define YBLANK 50 | ||
#define XOFFSET 64 | ||
#define XPULSE 192 | ||
#define YOFFSET (63+1) | ||
#define YPULSE (63+3) | ||
#define DPI 72 | ||
#define VFREQ 60 /* Hz */ | ||
#define TIMING_NAME "Linux UXGA" | ||
#define ESTABLISHED_TIMINGS_BITS 0x00 /* none */ | ||
#define HSYNC_POL 1 | ||
#define VSYNC_POL 1 | ||
#define CRC 0x9d | ||
|
||
#include "edid.S" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.