{"push_id":1129841397,"size":17,"distinct_size":0,"ref":"refs/heads/my-MM-v10c","head":"8105e5dffe6640d1ec177869a9b6c778222ef604","before":"e11fa946455eacb18ee95be6956608c09804a2ca","commits":[{"sha":"69db8c6f0fd7b798690712c671439c3730208d48","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"ion: fix compile time error with !CONFIG_CMA\n\nLet ION compile when CONFIG_CMA is not defined.\n\nChange-Id: I6f3cf19a94e3f966c0973c9f8d765ecb752b7a48\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/69db8c6f0fd7b798690712c671439c3730208d48"},{"sha":"b52c70eb779c2deeac6fddaa0b0938c2a936e6eb","author":{"email":"a62d066fcbab732c2ebe9cb02e2d29694a514faf@codeaurora.org","name":"Shiraz Hashim"},"message":"msm: ion: fix ion cache maintenance issue with highmem\n\nion cache maintenance code while doing cache maintenance\non each sg is only considering page length which may not\nalways be correct. An sg node can have more than page\nlength contiguous pages.\n\nUpdate the code to properly take care of any length sg.\n\nChange-Id: Ifdf8a8fa26abfa5bd47185a1039880306246d587\nSigned-off-by: Shiraz Hashim <shashim@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/b52c70eb779c2deeac6fddaa0b0938c2a936e6eb"},{"sha":"9b99f6368e3aef32c601c029e257ab2de1aaaedb","author":{"email":"fdd4f7bf3a79cc172d89b9428421120aacef147e@spreadtrum.com","name":"Rajmal Menariya"},"message":"ion : In carveout heap, change minimum allocation order from 12 to PAGE_SHIFT, After this change each bit in bitmap (genalloc -  General purpose special memory pool)\n\nrepresents one page size memory.\n\nCc:sprd-ind-kernel-group@googlegroups.com\nCc:sanjeev.yadav@spreadtrum.com\nCc:Colin Cross <ccross@android.com>\ncc:John Stultz <john.stultz@linaro.org>\n\nChange-Id: I1172285dac014ecd2f1a965604b697d6739c1726\nGit-commit: cb40c4a265fd15d118791f0c882b1659f2aa4299\nGit-repo: https://android.googlesource.com/kernel/common/\nSigned-off-by: Rajmal Menariya <rajmal.menariya@spreadtrum.com>\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/9b99f6368e3aef32c601c029e257ab2de1aaaedb"},{"sha":"1d1fc525cecd882bc6d3dc544a9558d28f9fac8e","author":{"email":"a7d9b74a69167a637b0ccb5ec4c5333800293d0f@intel.com","name":"Vinil Cheeramvelil"},"message":"ion: Handle the memory mapping correctly on x86\n\nThis patch modifies the ion page pool code to address\nlimitation in x86 PAT. When one physical page is mapped\nto multiple virtual pages, the same cache policy\nshould be used. Add set_memory_wc/uc call to avoid aliases.\nIf not, all mappings will be cached(write back).\n\nChange-Id: I98ee8902df0c80135dddfa998c4ca4c2bb44e40e\nSigned-off-by: Zhebin Jin <zhebin.jin@intel.com>\nSigned-off-by: Vinil Cheeramvelil <vinil.cheeramvelil@intel.com>\nGit-commit: 3607f99181ef9920e6b6017c3af461015f8575e1\nGit-repo: https://android.googlesource.com/kernel/common/\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/1d1fc525cecd882bc6d3dc544a9558d28f9fac8e"},{"sha":"82e36796474c9a8f5f47fee27a9eee1a8957fb1d","author":{"email":"a4a7d486fe874593b021ebde938f459c081be043@linaro.org","name":"Amit Pundir"},"message":"ion: fix page pool cache policy\n\nFix redundant \"buffer->private_flags & ION_PRIV_FLAG_SHRINKER_FREE\"\nchecks in if(!cached ...) condition block.\n\nAOSP Change-Id: I98ee8902df0c80135dddfa998c4ca4c2bb44e40e,\n\"ion: Handle the memory mapping correctly on x86\", is broken\non android-3.18+ kernels. It conflicts with upstream commit\n53a91c68fa7b, \"staging: ion: Add private buffer flag to skip\npage pooling on free\", and break the ION_PRIV_FLAG_SHRINKER_FREE\nprivate flag check logic.\n\nChange-Id: I9cee4bcc3545cf92e07c21c2b42d27cf88da3316\nReported-by: chenfeng <puck.chen@hisilicon.com>\nSigned-off-by: Amit Pundir <amit.pundir@linaro.org>\nGit-commit: e9db98677f921dc1604a6bf1de2e0b0e8f4f9ae5\nGit-repo: https://android.googlesource.com/kernel/common/\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/82e36796474c9a8f5f47fee27a9eee1a8957fb1d"},{"sha":"dcd194b58c796d9bc05141b1062703567fa56249","author":{"email":"85a8403471508147ef46d210bc33c05fdc88f382@rock-chips.com","name":"Shawn Lin"},"message":"staging: ion: fix corruption of ion_import_dma_buf\n\nwe found this issue but still exit in lastest kernel. Simply\nkeep ion_handle_create under mutex_lock to avoid this race.\n\nWARNING: CPU: 2 PID: 2648 at drivers/staging/android/ion/ion.c:512 ion_handle_add+0xb4/0xc0()\nion_handle_add: buffer already found.\nModules linked in: iwlmvm iwlwifi mac80211 cfg80211 compat\nCPU: 2 PID: 2648 Comm: TimedEventQueue Tainted: G        W    3.14.0 #7\n 00000000 00000000 9a3efd2c 80faf273 9a3efd6c 9a3efd5c 80935dc9 811d7fd3\n 9a3efd88 00000a58 812208a0 00000200 80e128d4 80e128d4 8d4ae00c a8cd8600\n a8cd8094 9a3efd74 80935e0e 00000009 9a3efd6c 811d7fd3 9a3efd88 9a3efd9c\nCall Trace:\n  [<80faf273>] dump_stack+0x48/0x69\n  [<80935dc9>] warn_slowpath_common+0x79/0x90\n  [<80e128d4>] ? ion_handle_add+0xb4/0xc0\n  [<80e128d4>] ? ion_handle_add+0xb4/0xc0\n  [<80935e0e>] warn_slowpath_fmt+0x2e/0x30\n  [<80e128d4>] ion_handle_add+0xb4/0xc0\n  [<80e144cc>] ion_import_dma_buf+0x8c/0x110\n  [<80c517c4>] reg_init+0x364/0x7d0\n  [<80993363>] ? futex_wait+0x123/0x210\n  [<80992e0e>] ? get_futex_key+0x16e/0x1e0\n  [<8099308f>] ? futex_wake+0x5f/0x120\n  [<80c51e19>] vpu_service_ioctl+0x1e9/0x500\n  [<80994aec>] ? do_futex+0xec/0x8e0\n  [<80971080>] ? prepare_to_wait_event+0xc0/0xc0\n  [<80c51c30>] ? reg_init+0x7d0/0x7d0\n  [<80a22562>] do_vfs_ioctl+0x2d2/0x4c0\n  [<80b198ad>] ? inode_has_perm.isra.41+0x2d/0x40\n  [<80b199cf>] ? file_has_perm+0x7f/0x90\n  [<80b1a5f7>] ? selinux_file_ioctl+0x47/0xf0\n  [<80a227a8>] SyS_ioctl+0x58/0x80\n  [<80fb45e8>] syscall_call+0x7/0x7\n  [<80fb0000>] ? mmc_do_calc_max_discard+0xab/0xe4\n\nFixes: 83271f626 (\"ion: hold reference to handle...\")\nSigned-off-by: Shawn Lin <shawn.lin@rock-chips.com>\nReviewed-by: Laura Abbott <labbott@redhat.com>\nCc: stable <stable@vger.kernel.org> # 3.14+\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\nGit-commit: 6fa92e2bcf6390e64895b12761e851c452d87bd8\nGit-repo: https://android.googlesource.com/kernel/common/\nChange-Id: I98d3e8fa0d58ad5138d197edc5d4869f625a9f9b\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/dcd194b58c796d9bc05141b1062703567fa56249"},{"sha":"7392e9fd10cb34ac3fcb6d15abc673f43229fc78","author":{"email":"b28fe47f344ea47a742972f6caa7ef1537d21708@google.com","name":"Daniel Rosenberg"},"message":"staging: ion: Add X86 dependency for ION_POOL_CACHE_POLICY\n\nION_POOL_CACHE_POLICY uses x86 specific commands.\nOnly allow it to be used for x86.\n\nSigned-off-by: Daniel Rosenberg <drosen@google.com>\nChange-Id: Ic66e175fa41486b0b5f77872f2193add77cbe66f\n(cherry picked from commit 43f4056cbec017c4414d74b032e9c14e009eabb0)\nGit-commit: 2bdbab476753a36ae5fd2f1275e2719f02e108ff\nGit-repo: https://android.googlesource.com/kernel/common/\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/7392e9fd10cb34ac3fcb6d15abc673f43229fc78"},{"sha":"87e6616b703853f717e9c2c8b883e0420b022e31","author":{"email":"07df7bab03df28a2714e7e0ded06841891899bd6@lge.com","name":"Gioh Kim"},"message":"staging: ion: debugfs to shrink pool\n\nThis patch enables debugfs file /sys/kernel/debug/ion/heaps/system_shrink\nto shrink pool and get pool size. This technically enables debugfs\nshrinking for all heaps, not just the system heap although the system heap\nis the only one with a shrinker right now. It is already implemented\nbut not complete. This patch completes and enables it.\n\nReading the file returns pool size\nin page unit and writing the number of pages shrinks pool.\nIt flushes all pages to write zero at the file.\n\nSigned-off-by: Gioh Kim <gioh.kim@lge.com>\nReviewed-by: Laura Abbott <labbott@redhat.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\nChange-Id: I6cc814047889b5842676a69d2fce5e8daae689cb\nGit-commit: aeb7fa7b4f29ce4d7d16c4c3565c4714f2f62b82\nGit-repo: https://android.googlesource.com/kernel/common/\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/87e6616b703853f717e9c2c8b883e0420b022e31"},{"sha":"f3f9c92a148489d6e5ea115cdb0277b4491757a3","author":{"email":"2c98d18550b6e94ee93faf6d92fa2bedb58842c9@codeaurora.org","name":"Patrick Daly"},"message":"ion: Restore upstream behavior in ion_page_pool_shrink()\n\nRevert the changes made to ion_page_pool_shrink() by\n9cf42e3afe6e81689a6e490769ca9b2e67fc8ccb\n\"ion: add snapshot of ion support for MSM\"\n\nThis is necessary to cherry-pick future upstream changes\ncleanly.\n\nChange-Id: I965f3ced89e87b0778571173592f2284543f234b\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/f3f9c92a148489d6e5ea115cdb0277b4491757a3"},{"sha":"d27dda4682949789c1917180ee5d4fa83297b31a","author":{"email":"07df7bab03df28a2714e7e0ded06841891899bd6@lge.com","name":"Gioh Kim"},"message":"staging: ion: shrink page-pool by page unit\n\nThis patch shrink page-pool by page unit.\n\nThe system shrinker calls ion_heap_shrink_count() to get nr_to_scan,\nand pass it to ion_heap_shrink_scan().\nThe problem is the return value of ion_heap_shrink_count() is the number\nof pages but ion_system_heap_shrink(), which is called by\nion_heap_shrink_scan(), gets the number of chunk.\n\nThe main root of this is that ion_page_pool_shrink() returns page count\nvia ion_page_pool_total() if it have to check pool size. But it frees\nchunks of pages if it have to free pools.\n\nThis patch first fix ion_page_pool_shrink() to count only pages,\nnot chunks. And then ion_system_heap_shrink() to work on pages.\n\nSigned-off-by: Gioh Kim <gioh.kim@lge.com>\nReviewed-by: Laura Abbott <labbott@redhat.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nChange-Id: I27dab94d1a0f8a052d82e4f83ecc000f4780d388\nGit-commit: b44d9ce3b81715311198f0c5fa329e518b4f9f18\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/d27dda4682949789c1917180ee5d4fa83297b31a"},{"sha":"89eaf1313e8b631ee743e0122ce93d3a55a121db","author":{"email":"2c98d18550b6e94ee93faf6d92fa2bedb58842c9@codeaurora.org","name":"Patrick Daly"},"message":"ion: Update nr_total properly in ion_system_heap_shrink\n\nIn previous patches, a 'cached pool' was introduced. Ensure that\npages from this pool are included in the sum returned from\nion_system_heap_shrink.\n\nChange-Id: I8a04a82ec28432ab0dc3b503f58986f1d7134993\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/89eaf1313e8b631ee743e0122ce93d3a55a121db"},{"sha":"289b006b7e95b08f0cb383f92304345e0948ac9b","author":{"email":"178828d847a7966bf01ab61d225f258b7a82df35@codeaurora.org","name":"Rohit Vaswani"},"message":"ion page pool: Provide an API to try and allocate from only the Pool\n\nion_page_pool_alloc, the only API available to allocate pages from the\npool will request pages from the system if the pool is empty.\nFor some pools, we need to allocate pages only from the Pool and this patch\nprovides that functionality.\n\nChange-Id: Ibe4ffe1e8b352f1c9e9a6ad7cc5d31792abc5a66\nSigned-off-by: Rohit Vaswani <rvaswani@codeaurora.org>\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/289b006b7e95b08f0cb383f92304345e0948ac9b"},{"sha":"c9f6b08a183276830d8b09de9131f390feb1e44a","author":{"email":"178828d847a7966bf01ab61d225f258b7a82df35@codeaurora.org","name":"Rohit Vaswani"},"message":"Ion: Add page pooling to Ion System Secure Heap\n\nOptimize the Ion System Secure Heap by adding per VMID\nbased page pooling. The secure/assigned pages are pooled.\nThis essentially uses the same pooling functionality as\nthe system heap, but adds the VMID component to each pool.\n\nChange-Id: Ib65b3f490ab1bb299b57227edba88b876924ff2b\nSigned-off-by: Rohit Vaswani <rvaswani@codeaurora.org>\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/c9f6b08a183276830d8b09de9131f390feb1e44a"},{"sha":"05a5aaa7f6bf2b8db0b3cd11495243724e79d655","author":{"email":"2c98d18550b6e94ee93faf6d92fa2bedb58842c9@codeaurora.org","name":"Patrick Daly"},"message":"ion: Improve support for heap walking\n\nClients may wish to implement custom functions on a particular\nheap ID. That function assumes that the heap ID has a specific heap\ntype. Make that requirement explicit by only calling the custom\nfunction if both the ID and type match.\n\nChange-Id: Ie746362a19a22dceb6e47148d67901d483778a85\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/05a5aaa7f6bf2b8db0b3cd11495243724e79d655"},{"sha":"e8bce62bb2e9e9a0cf1d7a9b22a644dfc28309a6","author":{"email":"2c98d18550b6e94ee93faf6d92fa2bedb58842c9@codeaurora.org","name":"Patrick Daly"},"message":"ion/system_heap: Revisit secure pool shrinker implementation\n\nThe previous implementation of moving pages to the uncached pool before\nfreeing them is unnecessarily complex.\nFollow the same methodology as ion_page_pool_shrink().\n\nChange-Id: Ic69947c18b5899e5ca75b7e0039e4e2869a5dfa6\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/e8bce62bb2e9e9a0cf1d7a9b22a644dfc28309a6"},{"sha":"21dc0fec11710c677f9fd7ae7c7bb991d8c36ec9","author":{"email":"2c98d18550b6e94ee93faf6d92fa2bedb58842c9@codeaurora.org","name":"Patrick Daly"},"message":"ion: Add Prefetch IOCTL support for System Secure heap\n\nExtend the IOCTL argument to support a vmid parameter for describing\nwhich secure pool the prefetch is for. Also allow multiple different\nmemory sizes to be given to more accurately describe the future\nallocations.\n\nChange-Id: I8a91ef2f8ecf2075c18c963b4c82ca0e97ea770d\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/21dc0fec11710c677f9fd7ae7c7bb991d8c36ec9"},{"sha":"8105e5dffe6640d1ec177869a9b6c778222ef604","author":{"email":"2c98d18550b6e94ee93faf6d92fa2bedb58842c9@codeaurora.org","name":"Patrick Daly"},"message":"ion: Remove deferred free flag from system secure heap\n\nThe system secure heap now uses page pooling. As a result, free\noperations are fast, since hyp_unassign is not necessary.\n\nChange-Id: I8da8f5adb32c089d5dcac0e560e305401d69fdc9\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/Alucard24/Alucard-Kernel-LG-G5/commits/8105e5dffe6640d1ec177869a9b6c778222ef604"}]}
{"actor":{"display_login":"Alucard24"}}