{"push_id":828263189,"size":45,"distinct_size":45,"ref":"refs/heads/cm-13.0","head":"a520e355b41561cd523c02b1a64b795b417fcc6c","before":"041560fb9b003c9e750fcc356c2e77cc73510192","commits":[{"sha":"f9abc6f6b863d05901d79e4fad2f2f2031453819","author":{"email":"8f8b6109cd5e7b75746932bf5dcf69e763e1f0b2@codeaurora.org","name":"Deva Ramasubramanian"},"message":"msm: vidc: Handle hfi session creation failures properly\n\nPreviously, when the hfi session creation failed, the hfi session was\nleft intact.  So, in case of timeouts, if the core responded beyond the\ntime out, the driver would handle the message thinking that it's a valid\nsession.  This commit cleans up the hfi session in case session_init\nfails (or times out).\n\nAlso rename msm_comm_recover_from_session_error to msm_comm_kill_session,\nas the latter was a misnomer, as the function was used to abort a session.\n\nCRs-Fixed: 762541\nSigned-off-by: Manikanta Sivapala <msivap@codeaurora.org>\nSigned-off-by: Balamurugan Alagarsamy <balaga@codeaurora.org>\n\nConflicts:\n\tdrivers/media/platform/msm/vidc/msm_vidc_common.c\n\nChange-Id: Ib666e8e03e98543bc34350fc57b0d915d8b739d7","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/f9abc6f6b863d05901d79e4fad2f2f2031453819"},{"sha":"31ad637e856b0d340373e0b37c2dd05867f345d2","author":{"email":"d2d05c150d4a5b546ab169433b8261efde71359a@codeaurora.org","name":"Maheshwar Ajja"},"message":"msm: vidc: Handle max clients error from video hardware\n\nUse instance \"lock\" instead of \"sync_lock\" variable for\nmutex lock/unlock for video instance state change operation\nelse session init will be timed out due to dead lock when\nmax clients error is received from video hardware because\n\"sync_lock\" is already acquired before session init.\nAt the same time do not free the session when any error\nis received from video hardware, if freed results in\ndangling pointer access when video driver wants to send\nany commands to video hardware after session error,\nleading to device reset. The proper way of session cleanup\nis already being done upon receiving any errors from\nvideo hardware.\n\nCRs-Fixed: 762541\nSigned-off-by: Maheshwar Ajja <majja@codeaurora.org>\nSigned-off-by: Balamurugan Alagarsamy <balaga@codeaurora.org>\n\nConflicts:\n\tdrivers/media/platform/msm/vidc/msm_vidc_common.c\n\nChange-Id: Icc91e00a40a3f729a10207673043fab23d5563d0","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/31ad637e856b0d340373e0b37c2dd05867f345d2"},{"sha":"606c443137672fe3f8497f86e1f8ce87a3596544","author":{"email":"0b5f3e04e5523462279b7155f43c91d5f2b0e862@codeaurora.org","name":"Shalaj Jain"},"message":"msm: vidc: Fix session error handling\n\nDo not clean the session while handling session error, instead\nonly set the state to invalid and report the error to client.\nThe session will be cleaned as part of kill_session called when\nclients calls flush/stop. Also ignore all prepare_buf calls when\nin invalid state.\n\nCRs-Fixed: 748031\nChange-Id: I2d8824cddb6f86b3feb42e6021f1e0abad26be3e\nSigned-off-by: Shalaj Jain <shalajj@codeaurora.org>\nSigned-off-by: Balamurugan Alagarsamy <balaga@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/606c443137672fe3f8497f86e1f8ce87a3596544"},{"sha":"b8d330da987a8678392b4eddbcbc8a0fbdeb6d9b","author":{"email":"d2d05c150d4a5b546ab169433b8261efde71359a@codeaurora.org","name":"Maheshwar Ajja"},"message":"msm: vidc: kill unsupported sessions\n\nUnsupported sessions are not being killed when hardware\noverload error occurs, so these sessions are not closed\ninside video hardware resulting in max clients error\nfrom video hardware for the following supported sessions.\nHence driver need to kill the unsupported sessions to\navoid max clients error for the supported sessions.\n\nChange-Id: I37a839a59db3ec1a0e526730475fbe8b935ccede\nSigned-off-by: Maheshwar Ajja <majja@codeaurora.org>\nSigned-off-by: Balamurugan Alagarsamy <balaga@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/b8d330da987a8678392b4eddbcbc8a0fbdeb6d9b"},{"sha":"6b93b374e53262c769b525c453f1113210a78a46","author":{"email":"3009725c6c6b6fb37cdff722de251e866e8517b2@codeaurora.org","name":"Arun Menon"},"message":"msm: vidc: Fix race condition during concurrent sessions\n\nThe core->instances list structure is guarded by\nmutex core->lock, whenever a new video instance is added\nor deleted from the list. However this list was accessed\nfrom certain functions without acquiring the lock, which\nresulted in race condition, causing the device to crash.\nAlso clean up the core locking mechanism.\n\nSigned-off-by: Arun Menon <avmenon@codeaurora.org>\n\nConflicts:\n\tdrivers/media/platform/msm/vidc/msm_vidc_common.c\n\nChange-Id: I5a7b4d9c9c06c5df85b80df734c8f7e3fbb8ca0d","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/6b93b374e53262c769b525c453f1113210a78a46"},{"sha":"269948486237945a9ab2f34e87149d8587b08c09","author":{"email":"d2d05c150d4a5b546ab169433b8261efde71359a@codeaurora.org","name":"Maheshwar Ajja"},"message":"msm: vidc: Delay firmware unload during session close\n\nVideo driver loads and unloads firmware at the start\nand end of each session. Firmware download takes up\nto 100 msec. When there are many b2b video sessions\ne.g. thumbnail generation, this is an unnecessary\noverhead. To overcome this problem, video driver will\nunload the firmware 10 secs after the session is closed.\nIf a new session starts during this period, it will not\nbe required to download the firmware again.\n\nChange-Id: Ia515c3ed89c75ea9e43852958d1cbb2d77fe4c51\nSigned-off-by: Arun Menon <avmenon@codeaurora.org>\nSigned-off-by: Maheshwar Ajja <majja@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/269948486237945a9ab2f34e87149d8587b08c09"},{"sha":"fae72d362e241c4fa70d8f7b57ede22a8516da98","author":{"email":"0b5f3e04e5523462279b7155f43c91d5f2b0e862@codeaurora.org","name":"Shalaj Jain"},"message":"msm: vidc: Refactor OCMEM alloc, set, unset and free\n\n1. Move OCMEM handling to venus_hfi from msm_vidc layer\nand refactor all its calls. Only allocate/set ocmem\nin two places: after we recieve sys_init_done and\nwhen resume from power collapse. Similarly only\nunset/free on core release and when we go into power\ncollapse.\n\n2. Rename \"has_ocmem\" to \"ocmem_size\" and update\nthe same in dtsi file.\n\nCRs-Fixed: 716899\nSigned-off-by: Shalaj Jain <shalajj@codeaurora.org>\nSigned-off-by: Maheshwar Ajja <majja@codeaurora.org>\nSigned-off-by: Balamurugan Alagarsamy <balaga@codeaurora.org>\n\nConflicts:\n\tdrivers/media/platform/msm/vidc/msm_vidc_common.c\n\nChange-Id: I222cee847ffc2945a4dccbfb2fb8345a9ab2f888","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/fae72d362e241c4fa70d8f7b57ede22a8516da98"},{"sha":"7b14783f7662c66523c925a5e180498b6eaa1335","author":{"email":"d2d05c150d4a5b546ab169433b8261efde71359a@codeaurora.org","name":"Maheshwar Ajja"},"message":"msm: vidc: Unlock core lock in error case\n\nUnlock core lock in error case to avoid hang issue.\n\nChange-Id: Ia4ae36357bb02aaca4b4933cd97bb8e8f478d2b3\nSigned-off-by: Maheshwar Ajja <majja@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/7b14783f7662c66523c925a5e180498b6eaa1335"},{"sha":"1cc4e7978470cc0e8ca79872ee7d38f258e63a79","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc: Enable session priority support.\n\nAdd support for setting priority to each video session in driver.\n\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>\n\nConflicts:\n\tinclude/linux/videodev2.h\n\nChange-Id: I6dee38f7a38923b30b428e3d1a8e9ca6610c18f7","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/1cc4e7978470cc0e8ca79872ee7d38f258e63a79"},{"sha":"c132d48efe354443dec744733dda85ad4d6cc086","author":{"email":"a4a9764687115057dfb6081f6c434bf20156ee3b@google.com","name":"jinqian"},"message":"proc: uid: Adds accounting for the cputimes per uid.\n\nAdds proc files /proc/uid_cputime/show_uid_stat and\n/proc/uid_cputime/remove_uid_range.\n\nshow_uid_stat lists the total utime and stime for the active as well as\nterminated processes for each of the uids.\n\nWriting a range of uids to remove_uid_range will delete the accounting\nfor all the uids within that range.\n\nConflicts:\n\tdrivers/misc/Makefile\n\nChange-Id: Ieafeb870031e94990503377b9187d50dea18e071","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/c132d48efe354443dec744733dda85ad4d6cc086"},{"sha":"c08a86662d6792045badba6b8a180e616f032c35","author":{"email":"ff359ca7f9aedbb05cd6aa3d17e7b3b3ad3b25c9@google.com","name":"Ruchi Kandoi"},"message":"proc: uid: Changes the thread notifier to profile event notifier.\n\nIn order to keep the code consistent with all other platforms, the\nthread notifier is changed to profile event notifier.\n\nChange-Id: I5b996c789927b42dacba10af6fe81a21866e2c8f","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/c08a86662d6792045badba6b8a180e616f032c35"},{"sha":"0db9cf4541014ee342ec2700c9875425577bdf31","author":{"email":"a4a9764687115057dfb6081f6c434bf20156ee3b@google.com","name":"Jin Qian"},"message":"proc: uid_cputime: fix show_uid_stat permission\n\nChange-Id: I1fd46b944bd8e0829c32b3826e14d47caa9325b4\nSigned-off-by: Jin Qian <jinqian@google.com>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/0db9cf4541014ee342ec2700c9875425577bdf31"},{"sha":"6221a4f664da172704a85854d7fe111fdbc06f47","author":{"email":"ff359ca7f9aedbb05cd6aa3d17e7b3b3ad3b25c9@google.com","name":"Ruchi Kandoi"},"message":"uid_cputime: Extends the cputime functionality to report power per uid\n\n/proc/uid_cputime/show_uid_stats shows a third field power for each of\nthe uids. It represents the power in the units (uAusec)\n\nBug: 21498425\nChange-Id: I52fdc5e59647e9dc97561a26d56f462a2689ba9c\nSigned-off-by: Ruchi Kandoi <kandoiruchi@google.com>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/6221a4f664da172704a85854d7fe111fdbc06f47"},{"sha":"8d3bda87ea092340202a395da555127ccd190823","author":{"email":"ff359ca7f9aedbb05cd6aa3d17e7b3b3ad3b25c9@google.com","name":"Ruchi Kandoi"},"message":"uid_cputime: Fixes double accounting race condition on task exit.\n\nThis avoids the race where a particular process is terminating and we\nread the show_uid_stats. At this time since the task_struct still exists\nand we will account for the terminating process as one of the active\ntask, where as the stats would have been added in the task exit\ncallback.\n\nBug: 22064385\nChange-Id: Id2ae04b33fcd230eda9683a41b6019d4dd8f5d85\nSigned-off-by: Jin Qian <jinqian@google.com>\nSigned-off-by: Ruchi Kandoi <kandoiruchi@google.com>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/8d3bda87ea092340202a395da555127ccd190823"},{"sha":"800323788badb6bc74285d9b051cba5838d12529","author":{"email":"a4a9764687115057dfb6081f6c434bf20156ee3b@google.com","name":"Jin Qian"},"message":"uid_cputime: fix cputime overflow\n\nConverting cputime_t to usec caused overflow when the value is greater\nthan 1 hour. Use msec and convert to unsigned long long to support bigger\nrange.\n\nBug: 22461683\n\nChange-Id: I853fe3e8e7dbf0d3e2cc5c6f9688a5a6e1f1fb3e\nSigned-off-by: Jin Qian <jinqian@google.com>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/800323788badb6bc74285d9b051cba5838d12529"},{"sha":"af3f9f24ea76ac276df153c0a7fe1083ea6ef79f","author":{"email":"ff359ca7f9aedbb05cd6aa3d17e7b3b3ad3b25c9@google.com","name":"Ruchi Kandoi"},"message":"uid_cputime: Iterates over all the threads instead of processes.\n\nBug: 22833116\nChange-Id: I775a18f61bd2f4df2bec23d01bd49421d0969f87\nSigned-off-by: Ruchi Kandoi <kandoiruchi@google.com>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/af3f9f24ea76ac276df153c0a7fe1083ea6ef79f"},{"sha":"157093b4e70dad0221b72ae654434896415931cd","author":{"email":"ad5ede63337b3f6ba0c8f4353e50bd01ded91d63@gmail.com","name":"Dan Pasanen"},"message":"m8, e8 and eye: enable uid cputime\n\nChange-Id: Ib410d1ec9588d670e43d0c2173eb0d84a9238092","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/157093b4e70dad0221b72ae654434896415931cd"},{"sha":"573b2909a23d51fcc9e872b0ca5d08cb503683ae","author":{"email":"611d453c03d02ce713e72b62ff6a901ea7e9cd77@gmail.com","name":"Sasha Levin"},"message":"hashtable: introduce a small and naive hashtable\n\nThis hashtable implementation is using hlist buckets to provide a simple\nhashtable to prevent it from getting reimplemented all over the kernel.\n\nSigned-off-by: Sasha Levin <levinsasha928@gmail.com>\n[ Merging this now, so that subsystems can start applying Sasha's\n  patches that use this   - Linus ]\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n\nChange-Id: Id3aa808a5096eb4ed0e73b5db8252819cc7eb666\nGit-commit: d9b482c8ba1973a189f2d4c8175d405b87fbf2d7\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nSigned-off-by: Srinivasarao P <spathi@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/573b2909a23d51fcc9e872b0ca5d08cb503683ae"},{"sha":"fdb7ece303612bc8251eabde1c4eb2c3c167ed61","author":{"email":"ff359ca7f9aedbb05cd6aa3d17e7b3b3ad3b25c9@google.com","name":"Ruchi Kandoi"},"message":"cpufreq_stats: Adds the fucntionality to load current values for each frequency\nfor all the cores.\n\nThe current values for the cpu cores needs to be added to the device\ntree for this functionaly to work. It loads the current values for each\nfrequecy in uA for all the cores.\n\nBug: 21498425\nSigned-off-by: Ruchi Kandoi <kandoiruchi@google.com>\n\nConflicts:\n\tdrivers/cpufreq/cpufreq_stats.c\n\nChange-Id: I14ba96a8726517ccde76ff37a5a2a3d991f42209","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/fdb7ece303612bc8251eabde1c4eb2c3c167ed61"},{"sha":"1a02f4764c8ffb2e169f5238c81969519006448c","author":{"email":"ff359ca7f9aedbb05cd6aa3d17e7b3b3ad3b25c9@google.com","name":"Ruchi Kandoi"},"message":"sched: cpufreq: Adds a field cpu_power in the task_struct\n\ncpu_power has been added to keep track of amount of power each task is\nconsuming. cpu_power is updated whenever stime and utime are updated for\na task. power is computed by taking into account the frequency at which\nthe current core was running and the current for cpu actively\nrunning at hat frequency.\n\nBug: 21498425\nChange-Id: Ic535941e7b339aab5cae9081a34049daeb44b248\nSigned-off-by: Ruchi Kandoi <kandoiruchi@google.com>","distinct":true,"url":"https://api.github.com/repos/scoty755/android_kernel_htc_msm8974/commits/1a02f4764c8ffb2e169f5238c81969519006448c"}]}