Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
ececf97
drivers: soc: add size check
Feb 28, 2017
356f790
msm: mdss: Install sync fences after user copy
naseer Feb 1, 2017
d54fde3
Merge "msm: camera: cpp: Fixing Heap overflow in output buffer"
Mar 9, 2017
55829bc
Merge "msm: mdss: Install sync fences after user copy"
Mar 9, 2017
353093f
msm: camera: return appropriate error value EINVAL
Mar 7, 2017
48ab3fc
Merge "drivers: soc: add size check"
Mar 11, 2017
937d546
Merge "msm: camera: return appropriate error value EINVAL"
Mar 13, 2017
a0f53f8
ASoC: Add backend user count checking
Mar 2, 2017
298fc24
soc: qcom: pil: Clear elf memory on validation failure
Feb 6, 2017
a30359f
ASoC: msm: qdsp6v2: Fix out-of-bounds access in put functions
Jan 3, 2017
2d47069
msm: mdss: Check for buffer boundary condition in panel_debug_reg_write
Jun 22, 2016
b465ceb
l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
Nov 18, 2016
c4cd744
Merge "ASoC: msm: qdsp6v2: Fix out-of-bounds access in put functions"
Mar 18, 2017
477fae1
Merge "l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()"
Mar 18, 2017
2920d0b
Merge "msm: mdss: Check for buffer boundary condition in panel_debug_…
Mar 21, 2017
4978eed
Merge AU_LINUX_ANDROID_LA.BF64.1.2.3_RB1.07.01.01.258.015 on remote b…
Mar 22, 2017
91db4ca
ANDROID: ion: check for kref overflow
drosen-google Dec 6, 2016
fc6e80d
net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
edumazet Dec 2, 2016
acfab25
packet: fix race condition in packet_set_ring
ltspp-test Nov 30, 2016
c905a78
mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
aryabinin Nov 24, 2016
92a9cbc
CHROMIUM: usb: gadget: configfs: Fix KASAN use-after-free
Jan 13, 2017
63cd83b
msm: IPA: add the check on intf query
Mar 2, 2017
d930b28
usb: dwc3: Replace sscanf with kstrtou8_from_user
Feb 17, 2017
d0eb449
msm: camera: isp: fix for out of bound access array
skrajago Mar 4, 2017
390241d
input: touchscreen: synaptics: Remove fw_update sysfs entries
Feb 22, 2017
a3d3f89
input: synaptics: put offset checks under mutex.
Jan 17, 2017
1352a64
Merge "net: avoid signed overflows for SO_{SND|RCV}BUFFORCE" into LA.…
Mar 22, 2017
ee35286
Merge "packet: fix race condition in packet_set_ring" into LA.BF64.1.…
Mar 22, 2017
d791d53
Merge "mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]" into LA.…
Mar 22, 2017
c9fc15c
Merge "CHROMIUM: usb: gadget: configfs: Fix KASAN use-after-free" int…
Mar 22, 2017
6a24f3b
Merge "msm: IPA: add the check on intf query" into LA.BF64.1.2.3_rb1.11
Mar 22, 2017
2830095
Merge "usb: dwc3: Replace sscanf with kstrtou8_from_user" into LA.BF6…
Mar 22, 2017
e91c626
Merge "msm: camera: isp: fix for out of bound access array" into LA.B…
Mar 22, 2017
67ec599
Merge "input: touchscreen: synaptics: Remove fw_update sysfs entries"…
Mar 22, 2017
8a63d10
Merge "input: synaptics: put offset checks under mutex." into LA.BF64…
Mar 22, 2017
a5b72b9
android: fiq_debugger: restrict access to critical commands.
Dec 20, 2016
3590bbd
msm: mdss: fix race condition in mdp debugfs
Mar 1, 2017
34f8332
Merge "msm: mdss: fix race condition in mdp debugfs" into LA.BF64.1.2…
Mar 23, 2017
6f13b48
msm: mdss: Fix fence installation when retire fence is skipped
naseer Mar 21, 2017
db37252
soc: qcom: pil: Clear elf region on authentication failure
Feb 21, 2017
434532e
Merge "soc: qcom: pil: Clear elf region on authentication failure" in…
Mar 24, 2017
c0ed8f2
Synchronize codes for OxygenOS 3.5.8
Mar 24, 2017
5e6883d
tools: extract linux type definitions to local header
raymanfx Feb 22, 2015
9bc9012
dts: 14049: Unify
Grarak Mar 26, 2017
9eccccc
Merge tag 'LA.BF64.1.2.3-02210-8x94.0' of https://source.codeaurora.o…
Grarak Mar 28, 2017
172d117
Add defconfig
Grarak Mar 28, 2017
0dcfcc3
qcacld-2.0: Import LA.BF64.1.2.2-05240-8x94.0
Grarak Jun 3, 2016
e64eaba
Don't build modules
Grarak Mar 28, 2017
b9f1d4c
video: mdss: LiveDisplay driver
Jul 11, 2015
8780f86
video: mdss: Add new features and improve LiveDisplay
Jul 15, 2015
b2357a3
video: mdss: Cache LiveDisplay RGB settings when display off
Jul 16, 2015
2978a65
video: mdss: Fix dual-DSI issue in LiveDisplay
Jul 19, 2015
b8ca8a1
video: mdss: Implement PCC combining for LiveDisplay
Aug 7, 2015
8bd6e77
video: mdss: Simplify PCC combiner
Aug 12, 2015
5444474
video: mdss: Simplify PCC combiner even more
Aug 12, 2015
f7f80fc
block: cgroups, kconfig, build bits for BFQ-v7r8-3.10.8+
ariava Jan 27, 2014
f962eac
block: introduce the BFQ-v7r8 I/O sched for 3.10.8+
paolo-github May 9, 2013
43b976a
block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 3.10.8+
andreoli Jun 6, 2015
ba44ef4
Enable bfq and use ext4 for ext2/3
Grarak Mar 26, 2017
c7882b6
Merge tag 'for-f2fs-3.11' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Jul 2, 2013
606af7d
f2fs: remove checking dirty_exceed
Dec 10, 2014
4538c8b
f2fs: fix wrong condition check to trigger f2fs_sync_fs
Dec 10, 2014
c15ff16
f2fs: don't need to call lock_op and lock_page for abort
Dec 10, 2014
c256e12
f2fs: change atomic and volatile write policies
Dec 9, 2014
cc890be
f2fs: fix small discards not to issue redundantly
Dec 12, 2014
4fa1218
f2fs: remove unnecessary call to invalidate inmemory pages
Dec 13, 2014
257b533
f2fs: use missing the use of f2fs_kunmap_page
Dec 13, 2014
9c873f4
f2fs: readahead contiguous current summary blocks in checkpoint
chaseyu Dec 9, 2014
bef23e8
f2fs: merge two uchar variable in struct node_info to reduce memory cost
chaseyu Dec 18, 2014
5e23f14
f2fs: use ra_meta_pages to simplify readahead code in restore_node_su…
chaseyu Dec 18, 2014
4caca91
f2fs: use f2fs_io_info to clean up messy parameters during IO path
Dec 18, 2014
021de85
f2fs: add f2fs_io_tracer support
Dec 18, 2014
ea814e2
f2fs: add key functions for f2fs_io_tracer
Dec 18, 2014
4dd8d52
f2fs: activate f2fs_trace_pid
Dec 18, 2014
db3c7e4
f2fs: activate f2fs_trace_ios
Dec 18, 2014
279089d
f2fs: avoid double lock for cp_rwsem
Dec 19, 2014
923d63b
f2fs: add block count by in-place-update in stat info
Dec 23, 2014
56caef4
f2fs: fix missing cold bit during recovery
Dec 24, 2014
4ef7282
f2fs: cleanup trace event of f2fs_submit_page_{m,}bio with DECLARE_EV…
chaseyu Dec 23, 2014
f61fae9
f2fs: cleanup parameters for trace_f2fs_submit_{read_,write_,page_,pa…
chaseyu Dec 24, 2014
04e7bfa
f2fs: reuse inode_entry_slab in gc procedure for using slab more effe…
chaseyu Dec 29, 2014
dfec8a7
f2fs: clean up to remove parameter
Dec 31, 2014
09b0813
f2fs: avoid potential unnecessary codes
Dec 31, 2014
d92514b
f2fs: remove uncovered code path
Dec 31, 2014
25966ed
f2fs: align direct_io'ed data to section
Jan 6, 2015
3dbc72f
f2fs: get rid of kzalloc in __recover_inline_status
chaseyu Jan 6, 2015
af002f3
f2fs: fix wrong unlock_page call
Jan 7, 2015
83782cd
f2fs: free radix_tree_nodes used by nat_set entries
Jan 7, 2015
7169052
f2fs: add nat/sit entries into status
Jan 7, 2015
98a404a
f2fs: add spin_lock to cover radix operations in IO tracer
Jan 7, 2015
7250a01
f2fs: add f2fs_destroy_trace_ios to free radix tree
Jan 7, 2015
336aca7
f2fs: pids_lock can be static
Jan 8, 2015
b1dbd83
xfs: introduce a generic shutdown ioctl
Jan 9, 2015
0fb355c
f2fs: support fs shutdown
Jan 9, 2015
ee0c70d
f2fs: avoid infinite loop on cp_error
Jan 10, 2015
32b28b2
f2fs: fix wrong memory footprint statistics in debugfs
chaseyu Jan 10, 2015
53baf00
f2fs: update memory footprint information
Jan 11, 2015
0abf8f1
f2fs: trigger correct checkpoint during umount
Jan 15, 2015
b275e22
f2fs: do checkpoint when umount flag is not set
Jan 15, 2015
b01657d
f2fs: fix to release count of meta page in ->invalidatepage
chaseyu Jan 19, 2015
60eb4c2
f2fs: leave comment for code readability
Jan 22, 2015
8b07f05
f2fs: add F2FS_IOC_GETVERSION support
chaseyu Jan 23, 2015
7d97ab2
f2fs: use f2fs_radix_tree_insert to clean codes
chaseyu Jan 23, 2015
6831a11
f2fs: fix a bug of inheriting default ACL from parent
kinglongmee Jan 24, 2015
3feb9be
f2fs: make truncate_inline_date static
chaseyu Jan 26, 2015
54f0a3f
f2fs: clean up {in,de}create_sleep_time
chaseyu Jan 26, 2015
e2b7c68
f2fs: merge flags in struct f2fs_sb_info
chaseyu Jan 28, 2015
d0e5009
f2fs: fix not to drop mount options when retrying fill_super
Jan 24, 2015
da19c99
f2fs: support norecovery mount option
Jan 24, 2015
7b1747c
f2fs: avoid write_checkpoint if f2fs is mounted readonly
Jan 24, 2015
10a2531
f2fs: split UMOUNT and FASTBOOT flags
Jan 29, 2015
764fc98
f2fs: should fail mount when trying to recover data on read-only dev
Jan 24, 2015
35e490f
f2fs: keep PagePrivate during releasepage
Jan 30, 2015
c7d69df
f2fs: show the number of writeback pages in stat
Jan 31, 2015
e7874c0
f2fs: merge {invalidate,release}page for meta/node/data pages
chaseyu Feb 5, 2015
7f14fb3
f2fs: introduce a batched trim
Jan 27, 2015
dc99c9e
f2fs: fix to use highmem for pages of newly created directory
chaseyu Feb 7, 2015
ff9ebe5
f2fs: avoid data offset overflow when lseeking huge file
chaseyu Feb 9, 2015
fee8869
f2fs: check node page contents all the time
Feb 7, 2015
ef36136
f2fs: call set_buffer_new for get_block
Feb 9, 2015
d766b51
f2fs: introduce macros to convert bytes and blocks in f2fs
Feb 9, 2015
389f456
f2fs: allocate data blocks in advance for f2fs_direct_IO
Feb 9, 2015
4c5c3c2
f2fs: fix sparse warnings
Feb 11, 2015
7dfd138
f2fs: avoid variable length array
Feb 11, 2015
049f1c0
f2fs: fix accessing wrong indexed data blocks
Feb 11, 2015
eae3d57
f2fs: use spinlock for segmap_lock instead of rwlock
chaseyu Feb 11, 2015
dd407f2
f2fs: remove unused inline_dentry_addr
chaseyu Feb 16, 2015
6bdb242
f2fs: introduce f2fs_update_dentry to clean up duplicated codes
chaseyu Feb 16, 2015
bfd3499
f2fs: use ->writepage in sync_meta_pages
chaseyu Feb 16, 2015
85a3187
f2fs: fix incorrectly stat number of inline data inode
chaseyu Feb 16, 2015
fb8a6d9
f2fs: move ext_lock out of struct extent_info
chaseyu Feb 5, 2015
f03837a
f2fs: simplfy a field name in struct f2fs_extent,extent_info
chaseyu Feb 5, 2015
e75e639
f2fs: introduce f2fs_map_bh to clean codes of check_extent_cache
chaseyu Feb 5, 2015
8a0da5f
f2fs: introduce universal lookup/update interface for extent cache
chaseyu Feb 5, 2015
d0b03ca
f2fs: introduce infra macro and data structure of rb-tree extent cache
chaseyu Feb 5, 2015
f5658e8
f2fs: add core functions for rb-tree extent cache
chaseyu Feb 5, 2015
f854685
f2fs: add a mount option for rb-tree extent cache
chaseyu Feb 5, 2015
c882805
f2fs: enable rb-tree extent cache
chaseyu Feb 5, 2015
80e2e56
f2fs: show extent tree, node stat info in debugfs
chaseyu Feb 5, 2015
d37b5ea
f2fs: add trace for rb-tree extent cache ops
chaseyu Feb 5, 2015
15cc5cd
f2fs: support fast lookup in extent cache
chaseyu Feb 5, 2015
3fa5450
f2fs: switch to check FI_NO_EXTENT in f2fs_{lookup,update}_extent_cache
chaseyu Feb 5, 2015
dbc7cd6
f2fs: use extent cache for dir
chaseyu Feb 5, 2015
4a5f4fb
f2fs: remove obsolete code
Feb 24, 2015
6bfe131
f2fs: avoid wrong error during recovery
Feb 25, 2015
f08978a
f2fs: introduce macro __cp_payload
Feb 25, 2015
b5b51ad
f2fs: fix the number of orphan inode blocks
Feb 25, 2015
cd2da33
f2fs: clear page's up-to-date if block was deallocated
Feb 26, 2015
06b8368
f2fs: check its block allocation to avoid producing wrong dirty pages
Feb 26, 2015
a8af4c6
f2fs: fix block_ops trace point
Feb 27, 2015
da71455
f2fs: don't need to collect dirty sit entries and flush journal when …
Feb 27, 2015
749edd9
f2fs: fix max orphan inodes calculation
Feb 27, 2015
d1be246
f2fs: add cond_resched() to sync_dirty_dir_inodes()
Feb 27, 2015
dab116e
f2fs: fix to issue small discard in real-time mode discard
chaseyu Feb 28, 2015
8142616
f2fs: add stat info for moved blocks by background gc
Dec 22, 2014
a58b02b
f2fs: avoid to trigger writepage during POR
Feb 27, 2015
76c4792
f2fs: clear append/update flags once fsync is done
Mar 2, 2015
e46f378
f2fs: report -ENOENT for unreached data indices
Mar 3, 2015
a1ac331
f2fs: relocate Kconfig from misc filesystems
Mar 4, 2015
1b4b3fa
f2fs: fix extent cache memory leak
Mar 6, 2015
cfd07fa
f2fs: reduce searching region of segmap when set free section
Mar 6, 2015
3cf0ace
f2fs: set the correct place of initializing *res_page
Mar 7, 2015
3c3adc6
f2fs: remove unnecessary condition judgment
Mar 9, 2015
69bdabd
f2fs: cleanup statement about max orphan inodes calc
Mar 8, 2015
15a23a2
f2fs: fix unlocked nat set cache operation
Mar 9, 2015
4420c19
f2fs: fix to calculate max length of contiguous free slots correctly
chaseyu Mar 9, 2015
5ce94a3
f2fs: fix reference leaks in f2fs_acl_create
chaseyu Mar 9, 2015
b5ad293
f2fs: fix to truncate inline data past EOF
chaseyu Mar 10, 2015
e067df2
f2fs: fix to check current blkaddr in __allocate_data_blocks
chaseyu Mar 12, 2015
4d37312
f2fs: fix to cover sentry_lock for block allocation
Mar 11, 2015
5c933af
f2fs: set SBI_NEED_FSCK when encountering exception in recovery
chaseyu Mar 16, 2015
d737723
f2fs: set buffer_new when new blocks are allocated
Mar 12, 2015
16bd493
f2fs: enhance multi-threads performance
Mar 14, 2015
a8a8a89
f2fs: avoid wrong f2fs_bug_on when truncating inline_data
Mar 16, 2015
74304b6
f2fs: avoid punch_hole overhead when releasing volatile data
Mar 18, 2015
9da627b
f2fs: add some tracepoints to debug volatile and atomic writes
Mar 18, 2015
b6a6ef8
f2fs: enable fast symlink by utilizing inline data
Mar 19, 2015
c393f8f
f2fs: split set_data_blkaddr from f2fs_update_extent_cache
chaseyu Mar 19, 2015
6fc04a8
f2fs: introduce __{find,grab}_extent_tree
chaseyu Mar 19, 2015
98a43de
f2fs: initialize extent tree with on-disk extent info of inode
chaseyu Mar 19, 2015
a4126ae
f2fs: preserve extent info for extent cache
chaseyu Mar 19, 2015
9ae3d54
f2fs: enable inline data by default
Mar 24, 2015
182ee8a
f2fs: preallocate fallocated blocks for direct IO
chaseyu Mar 23, 2015
00d2ad3
f2fs: avoid NULL pointer dereference in f2fs_xattr_advise_get
chaseyu Mar 23, 2015
b7e2a2c
f2fs: persist system.advise into on-disk inode
chaseyu Mar 23, 2015
62dce9a
f2fs: limit b_size of mapped bh in f2fs_map_bh
chaseyu Mar 24, 2015
cfa0302
f2fs: fix sparse warnings
Mar 24, 2015
95ea549
f2fs: fix mismatching lock and unlock pages for roll-forward recovery
Mar 27, 2015
3881248
f2fs: add F2FS_INLINE_DOTS to recover missing dot dentries
Mar 30, 2015
9eb0a1a
f2fs: assign parent's i_mode for empty dir
Mar 30, 2015
2f1fe3f
f2fs: do not increase link count during recovery
Apr 1, 2015
5824d81
f2fs: do not recover wrong data index
Apr 2, 2015
86b08c8
f2fs: change 0 to false for bool type
TaeheeYoo Apr 13, 2015
7faab1b
f2fs: flush symlink path to avoid broken symlink after POR
Apr 15, 2015
988a129
f2fs: avoid abnormal behavior on broken symlink
Apr 15, 2015
a6df8c8
f2fs: pass checkpoint reason on roll-forward recovery
Apr 10, 2015
24af1d6
f2fs: support 3.10
Apr 25, 2015
aa423d5
Enable f2fs
Grarak Mar 26, 2017
f196938
qpnp-haptic: Add sysfs interface to control intensity
Grarak Apr 8, 2016
a619718
tri-state-key: Act as a normal input device
Grarak Sep 20, 2015
4fcaf68
input: synaptics: Rename input device
Grarak Sep 25, 2015
68ed1be
input: synaptics: s3320: Rename input device
Grarak Sep 26, 2015
9d8d84e
input: synaptics: Create proc file for each gesture
Grarak Sep 27, 2015
f2705d9
input: synaptics: Return integer for key reverse
Grarak Sep 27, 2015
8837b11
input: tri-state-key: Add sysfs to change order of slider
Grarak Sep 27, 2015
dc7ab41
input: synaptics: Send generic power key for double tap
Grarak Nov 1, 2015
2b0404a
input: tri-state-key: Support more modes
Grarak Feb 4, 2016
a105998
input: tri-state-key: Don't send duplicated keycodes
Grarak Feb 8, 2016
3eb5935
input: tri-state-key: Move keyCodes to procfs
Grarak Feb 22, 2016
46fbae2
[2/2] Fix notification LED
9ary Mar 3, 2016
7868d91
input: synaptics: Send wakeup key for double tap
Grarak Mar 19, 2016
a11199c
KEYS: Fix race between read and revoke
dhowells Dec 18, 2015
d01aba5
crypto: crc32 - Add ARM64 CRC32 hw accelerated module
Nov 19, 2014
702fb0a
crypto: arm64/crc32 - bring in line with generic CRC32
May 4, 2015
86fbc95
oneplus2: defconfig: enable hw crc32 support
amartinz Mar 26, 2017
f590aa8
Add hcube module
Grarak Apr 9, 2016
d2506e7
qcacld-2.0: Merge LA.BF64.1.2.3-00510-8x94.0
Grarak Sep 5, 2016
337ce88
kernel: Add allow_attach hook for cpusets on android.
riandrews Jun 6, 2015
41f010f
kernel: cpuset: Make cpusets restore on hotplug
riandrews Jun 12, 2015
4c7dab9
msm: mdss: support parallel execution of MDSS_EVENT handlers
Nov 26, 2015
b60de45
msm: mdss: optimize DSI command delay semantics
Nov 30, 2015
cc7ca88
video: mdss: Fix issues when setting a channel to zero
Aug 13, 2015
f71900e
mdss: LiveDisplay: fix cherry-pick failure
Sep 30, 2015
7dbd845
video: mdss: Improve the LiveDisplay driver
Dec 27, 2015
6c0ffbd
DTS: optimize DSI command delays
9ary May 23, 2016
60f6bdd
video: mdss: livedisplay: Fix livedisplay MODE_RGB functionality
intervigilium May 6, 2016
3d06eee
msm: qpnp-haptic: set up sysfs interface for common cmhw implementation
moetayuko Jul 1, 2016
d2569e3
Enable cpusets and zram lz4 compression
Grarak Mar 26, 2017
1e628f5
input: synaptics: Ditch oneplus virtual abs code
Grarak Sep 14, 2016
80202a9
qcacld-2.0: Merge with LA.BF64.1.2.3-00910-8x94.0
Grarak Oct 20, 2016
23e4f2e
Initial port of sdcardfs
djcampello Jun 19, 2015
3a8a403
sdcardfs: port to 3.10
djcampello Jun 19, 2015
24201cd
sdcardfs: Changed type-cast in packagelist management
djcampello Jun 24, 2015
e066e9a
sdcardfs: Bring up to date with Android M permissions:
drosen-google Feb 4, 2016
5c7eccb
sdcardfs: Add support for d_canonicalize
drosen-google Feb 12, 2016
b6e35d7
sdcardfs: remove effectless config option
drosen-google Mar 23, 2016
f20bf51
sdcardfs: Remove unused code
drosen-google Mar 28, 2016
138dddd
sdcardfs: remove unneeded __init and __exit
drosen-google Mar 28, 2016
13c0dea
vfs: add d_canonical_path for stacked filesystem support
drosen-google Feb 12, 2016
66557f5
inotify: Fix erroneous update of bit count
drosen-google Mar 23, 2016
723defb
vfs: change d_canonical_path to take two paths
drosen-google Apr 22, 2016
3c2dac8
sdcardfs: Truncate packages_gid.list on overflow
drosen-google Jul 8, 2016
9361452
ANDROID: sdcardfs: fix itnull.cocci warnings
JuliaLawall Jun 1, 2016
6d7c84b
sdcardfs: Fix issue with d_child move
drosen-google Mar 28, 2016
03a564f
sdcardfs: Remove stale dentries when reusing an inode.
drosen-google Aug 22, 2016
742a9d3
sdcardfs: Flag files as non-mappable
Oct 21, 2016
3c27a59
sdcardfs: fix external storage exporting incorrect uid
Sep 19, 2016
5d248a6
Enable sdcardfs
Grarak Mar 26, 2017
22a1b82
qcacld-2.0: Import LA.BF64.1.2.3-01310-8x94.0
Grarak Jan 29, 2017
b05e369
input: synaptics: Enable all gestures
Grarak Feb 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
82 changes: 82 additions & 0 deletions Documentation/ABI/testing/sysfs-fs-f2fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
What: /sys/fs/f2fs/<disk>/gc_max_sleep_time
Date: July 2013
Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
Description:
Controls the maximun sleep time for gc_thread. Time
is in milliseconds.

What: /sys/fs/f2fs/<disk>/gc_min_sleep_time
Date: July 2013
Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
Description:
Controls the minimum sleep time for gc_thread. Time
is in milliseconds.

What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time
Date: July 2013
Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
Description:
Controls the default sleep time for gc_thread. Time
is in milliseconds.

What: /sys/fs/f2fs/<disk>/gc_idle
Date: July 2013
Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
Description:
Controls the victim selection policy for garbage collection.

What: /sys/fs/f2fs/<disk>/reclaim_segments
Date: October 2013
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the issue rate of segment discard commands.

What: /sys/fs/f2fs/<disk>/ipu_policy
Date: November 2013
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the in-place-update policy.

What: /sys/fs/f2fs/<disk>/min_ipu_util
Date: November 2013
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the FS utilization condition for the in-place-update
policies.

What: /sys/fs/f2fs/<disk>/min_fsync_blocks
Date: September 2014
Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
Description:
Controls the dirty page count condition for the in-place-update
policies.

What: /sys/fs/f2fs/<disk>/max_small_discards
Date: November 2013
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the issue rate of small discard commands.

What: /sys/fs/f2fs/<disk>/max_victim_search
Date: January 2014
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the number of trials to find a victim segment.

What: /sys/fs/f2fs/<disk>/dir_level
Date: March 2014
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the directory level for large directory.

What: /sys/fs/f2fs/<disk>/ram_thresh
Date: March 2014
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the memory footprint used by f2fs.

What: /sys/fs/f2fs/<disk>/trim_sections
Date: February 2015
Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
Description:
Controls the trimming rate in batch mode.
71 changes: 0 additions & 71 deletions Documentation/devicetree/bindings/input/touchscreen/msg21xx-ts.txt

This file was deleted.

111 changes: 111 additions & 0 deletions Documentation/filesystems/f2fs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ MOUNT OPTIONS
background_gc_off Turn off cleaning operations, namely garbage collection,
triggered in background when I/O subsystem is idle.
disable_roll_forward Disable the roll-forward recovery routine
norecovery Disable the roll-forward recovery routine, mounted read-
only (i.e., -o ro,disable_roll_forward)
discard Issue discard/TRIM commands when a segment is cleaned.
no_heap Disable heap-style segment allocation which finds free
segments for data from the beginning of main area, while
Expand All @@ -114,6 +116,31 @@ active_logs=%u Support configuring the number of active logs. In the
Default number is 6.
disable_ext_identify Disable the extension list configured by mkfs, so f2fs
does not aware of cold files such as media files.
inline_xattr Enable the inline xattrs feature.
inline_data Enable the inline data feature: New created small(<~3.4k)
files can be written into inode block.
inline_dentry Enable the inline dir feature: data in new created
directory entries can be written into inode block. The
space of inode block which is used to store inline
dentries is limited to ~3.4k.
flush_merge Merge concurrent cache_flush commands as much as possible
to eliminate redundant command issues. If the underlying
device handles the cache_flush command relatively slowly,
recommend to enable this option.
nobarrier This option can be used if underlying storage guarantees
its cached data should be written to the novolatile area.
If this option is set, no cache_flush commands are issued
but f2fs still guarantees the write ordering of all the
data writes.
fastboot This option is used when a system wants to reduce mount
time as much as possible, even though normal performance
can be sacrificed.
extent_cache Enable an extent cache based on rb-tree, it can cache
as many as extent which map between contiguous logical
address and physical address per inode, resulting in
increasing the cache hit ratio.
noinline_data Disable the inline data feature, inline data feature is
enabled by default.

================================================================================
DEBUGFS ENTRIES
Expand All @@ -127,6 +154,90 @@ f2fs. Each file shows the whole f2fs information.
- average SIT information about whole segments
- current memory footprint consumed by f2fs.

================================================================================
SYSFS ENTRIES
================================================================================

Information about mounted f2f2 file systems can be found in
/sys/fs/f2fs. Each mounted filesystem will have a directory in
/sys/fs/f2fs based on its device name (i.e., /sys/fs/f2fs/sda).
The files in each per-device directory are shown in table below.

Files in /sys/fs/f2fs/<devname>
(see also Documentation/ABI/testing/sysfs-fs-f2fs)
..............................................................................
File Content

gc_max_sleep_time This tuning parameter controls the maximum sleep
time for the garbage collection thread. Time is
in milliseconds.

gc_min_sleep_time This tuning parameter controls the minimum sleep
time for the garbage collection thread. Time is
in milliseconds.

gc_no_gc_sleep_time This tuning parameter controls the default sleep
time for the garbage collection thread. Time is
in milliseconds.

gc_idle This parameter controls the selection of victim
policy for garbage collection. Setting gc_idle = 0
(default) will disable this option. Setting
gc_idle = 1 will select the Cost Benefit approach
& setting gc_idle = 2 will select the greedy aproach.

reclaim_segments This parameter controls the number of prefree
segments to be reclaimed. If the number of prefree
segments is larger than the number of segments
in the proportion to the percentage over total
volume size, f2fs tries to conduct checkpoint to
reclaim the prefree segments to free segments.
By default, 5% over total # of segments.

max_small_discards This parameter controls the number of discard
commands that consist small blocks less than 2MB.
The candidates to be discarded are cached until
checkpoint is triggered, and issued during the
checkpoint. By default, it is disabled with 0.

trim_sections This parameter controls the number of sections
to be trimmed out in batch mode when FITRIM
conducts. 32 sections is set by default.

ipu_policy This parameter controls the policy of in-place
updates in f2fs. There are five policies:
0x01: F2FS_IPU_FORCE, 0x02: F2FS_IPU_SSR,
0x04: F2FS_IPU_UTIL, 0x08: F2FS_IPU_SSR_UTIL,
0x10: F2FS_IPU_FSYNC.

min_ipu_util This parameter controls the threshold to trigger
in-place-updates. The number indicates percentage
of the filesystem utilization, and used by
F2FS_IPU_UTIL and F2FS_IPU_SSR_UTIL policies.

min_fsync_blocks This parameter controls the threshold to trigger
in-place-updates when F2FS_IPU_FSYNC mode is set.
The number indicates the number of dirty pages
when fsync needs to flush on its call path. If
the number is less than this value, it triggers
in-place-updates.

max_victim_search This parameter controls the number of trials to
find a victim segment when conducting SSR and
cleaning operations. The default value is 4096
which covers 8GB block address range.

dir_level This parameter controls the directory level to
support large directory. If a directory has a
number of files, it can reduce the file lookup
latency by increasing this dir_level value.
Otherwise, it needs to decrease this value to
reduce the space overhead. The default value is 0.

ram_thresh This parameter controls the memory footprint used
by free nids and cached nat entries. By default,
10 is set, which indicates 10 MB / 1 GB RAM.

================================================================================
USAGE
================================================================================
Expand Down
7 changes: 7 additions & 0 deletions Makefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,13 @@ KBUILD_AFLAGS_MODULE := -DMODULE
KBUILD_CFLAGS_MODULE := -DMODULE
KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds

#ifdef VENDOR_EDIT
KBUILD_CFLAGS += -DVENDOR_EDIT
KBUILD_CPPFLAGS += -DVENDOR_EDIT
CFLAGS_KERNEL += -DVENDOR_EDIT
CFLAGS_MODULE += -DVENDOR_EDIT
#endif

# Read KERNELRELEASE from include/config/kernel.release (if it exists)
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
Expand Down
50 changes: 50 additions & 0 deletions arch/arm/boot/dts/qcom/14049/batterydata-unkown-3300mah.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
qcom,oneplus_default_3200mah {
qcom,max-voltage-uv = <4320000>;
qcom,nom-batt-capacity-mah = <3300>;
qcom,v-cutoff-uv = <3600000>;
qcom,chg-term-ua = <150000>;
qcom,batt-id-kohm = <1>;
qcom,battery-beta = <0>;
qcom,battery-type = "Unknown Battery";
qcom,rslow-comp-along-soc-c1-ch-milli = <2464>;
qcom,rslow-comp-along-soc-c2-ch-milli = <2876>;
qcom,rs-to-rslow-charge-fix-milli = <883>;
qcom,rslow-comp-ch-fix-th-milli = <600>;
qcom,checksum = <0xA6ED>;
qcom,gui-version = "PMI8994GUI - 2.1.6.2";
qcom,fg-profile-data = [
D2 83 01 7C
0B 80 18 75
48 83 84 60
EB 80 F8 8C
21 82 70 99
31 BC 6F C8
55 0E E4 83
17 7C D7 7B
9C 74 40 83
05 73 E1 77
73 66 49 82
38 99 2D BC
83 C8 57 0D
DC 0C DA 59
08 6C 71 FD
3C 3E B8 3D
7B 40 00 00
26 4C 36 3A
6E 33 00 00
00 00 00 00
00 00 00 00
06 70 BF 6A
61 64 41 81
3F 75 B8 68
22 60 26 81
95 74 7E 63
99 77 BE B0
1E 39 69 8E
66 A0 71 0C
28 00 FF 36
F0 11 30 03
00 00 00 00
];
};

Loading