GitHub PushEvent at 2014-08-01 14:44:11
Repository: kernel
Actor: aviz1911
Payload: {"shas":[["07e007582d472d67992ace5eb52556d6d4580786","42480b5f4d505650064e5081b85d867a03559887@gmail.com","msm: kgsl: no need to cast long because jiffies and window_time are already long.\n\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>","franciscofranco",true],["2c3775b6c0b0780a187914d10029756d91302907","42480b5f4d505650064e5081b85d867a03559887@gmail.com","msm: kgsl: change the load calculation equation & fix a couple of bugs, one of 'em was keeping the GPU on 320MHz if the GPU was not sleeping.\n\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>","franciscofranco",true],["d3df68716773c6f0ba476df4577a5b43f4a2e4d2","42480b5f4d505650064e5081b85d867a03559887@gmail.com","msm: kgsl: remove obsolete code.\n\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>","franciscofranco",true],["edd1780ac7f0f25a50bddefe455ba542d28d05aa","be5b96b982d71a0e8c9df1629ed76a94a416b6dd@codeaurora.org","msm: kgsl: Fix Z180 memory leak\n\nDecerement entry refcount, which incremented\nin kgsl_sharedmem_find_region.\n\nCRs-Fixed: 635747\nChange-Id: I621ba8f8e119a9ab8ba5455b28a565e3cae2f7cd\nSigned-off-by: Hareesh Gundu <hareeshg@codeaurora.org>","Hareesh Gundu",true],["c78b909b678dfd734f08628f41df6bfe0e4bd254","fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","msm: kgsl: Mark the IOMMU setstate memory as read only\n\nMark the IOMMU setstate memory as read only in the pagetable.\n\nChange-Id: Ic0dedbadb19e499c749cd744c3e89be3bcb4c2a2\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","Jordan Crouse",true],["4ebb57935f8ac43e6edd06055adb18a9b3c7cc1d","fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","msm: kgsl: Panic if global timestamp wait fails in context detach\n\nIf we timeout while waiting for the last issued global timestamp for\na detaching context to expire (10 seconds!) then we are on a fast\ntrain to crashville.  BUG_ON() so we can stand a chance of debugging\nthis very rare issue.\n\nChange-Id: Ic0dedbaddb9cbc5681f9c872785ce26b7cf9b87b\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","Jordan Crouse",true],["50955429ea3cbc868b62505645407f1a7fe2b3ae","fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","msm: kgsl: Force the ME off before reading the microcode\n\nOn A3XX reading the microcode while the CP is running is dangerous\nbeyond words.  By setting the offset address for the read, we are\nessentially changing the instruction pointer for the ME while it\nis running causing opcode errors, gpu faults and/or system errors.\n\nWe do not want to stop the CP at the beginning of the snapshot\nprocess beacuse doing so changes the RBBM status and the state of\nthe CP registers which may damage the debug effort.  But by the\ntime we get to the microcode read we no longer care about the state\nof the registers so we can freely halt the ME just before starting\nthe read.\n\nCRs-fixed: 585449\nChange-Id: Ic0dedbad85d7ec26915f054dd597e226e8101a29\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","Jordan Crouse",true],["359fdeedea4aa267cf02c98a6973bd100e829f1a","be5b96b982d71a0e8c9df1629ed76a94a416b6dd@codeaurora.org","msm: kgsl: Fix mem leak when page allocation fails\n\nPage allocation may fail during OOM condition. Update\nsglen and size to correct value (allocated) so that\nthey get freed in kgsl_sharedmem_free().\n\nChange-Id: I1aa0ca77bb767523dfcf0f6cc3a21eac2b6b80e4\nSigned-off-by: Hareesh Gundu <hareeshg@codeaurora.org>","Hareesh Gundu",true],["d4a8725a65afcddb794c2891c1ce211d0dd3c7f0","fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","msm: kgsl: Restrict the maximum memory entries for bulk cache sync\n\nRestrict the maximum number of memory entries that can be specified\nto a single bulk cache sync call to PAGE_SIZE / sizeof(unsigned int)\nso that the allocation can always fit within one page.\n\nCRs-fixed: 578062\nChange-Id: Ic0dedbad07e1986cd6ccc5b260ffef82b5adb6d3\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","Jordan Crouse",true],["a1cf5510b0099d29bd37fc7ddacf630b0d441a5e","fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","msm: kgsl: Protect against a potential overflow in kgsl_sg_alloc\n\nAvoid allocating a scatterlist so large that it overflows the size\npassed to the memory allocators.\n\nCRs-fixed: 564448\nChange-Id: Ic0dedbad2ab421ddec8f3be38d61c9bdf9ae5bd4\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","Jordan Crouse",true],["3f0a5b3a94575bbf360b7aeb1d6ad1041f168229","ed689b62f258aca7b8c4cfe3bd37072f12cbc0cd@codeaurora.org","msm: kgsl: avoid zero length scatterlist allocation\n\nDuring sglist allocation we calculate sglen as\nper below\n\nsglen_alloc = PAGE_ALIGN(size) >> PAGE_SHIFT;\n\nsglen_alloc can be zero if size falls within the\nlast page. For example, when size = 0xFFFF_FF7B,\nPAGE_ALIGN(0xFFFF_FF7B) will be 0, considering\n0x1000 (4kb) PAGE_SIZE. if kzalloc() with\nzero size, it will return ZERO_SIZE_PTR which is\nnot NULL and we always do NULL check. Dereferencing\nZERO_SIZE_PTR will lead to a distinct access fault.\n\nChange-Id: Ibcc6198438c13b5111be0faa736328db92511597\nCRs-Fixed: 563106\nSigned-off-by: Prakash Kamliya <pkamliya@codeaurora.org>","Prakash Kamliya",true],["a66a1991adbbd520fdcdf1fe5de602d2e706f581","fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","msm: kgsl: Fix several possible problem spots in the dispatcher\n\nFix a few spots that the compiler warnings missed. Avoid\ndereferencing a pointer that may have returned ERR_PTR() without\nfirst checking to see that if it did return ERR_PTR() and correct\nan egregious signed / unsigned mixup. Not sure why the compiler\ndidn't yell at me for that one.\n\nChange-Id: Ic0dedbadf075b34e51a89ce625d2308c5171a58d\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","Jordan Crouse",true],["3b1ec5c8bf084535874cad3da6a2a1577817842b","39712bdc59b9c84a53710644059a29ec40696925@codeaurora.org","msm: kgsl: when unmapping from the mmu flush the entire tlb\n\nFlushes the entire tlb when calling mmu_unmap to make sure there\nis no race condition between unmapping and freeing the pages.\n\nChange-Id: I911f8479a3aef2006f9df40a3419284423937542\nSigned-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>","Shrenuj Bansal",true],["169ba22a785dff4522de80f4d74107146619f9c7","130908656622cf304523d334877ef0f505f9a71e@codeaurora.org","msm: kgsl: Prevent device start after it is already started\n\nCheck if device is already started in high priority workqueue thread,\nthis check prevents calling device start after it is already started,\nthereby avoiding unpredictable behavior.\n\nChange-Id: Iffcd065f8c02746d168c8e5779d10d4b0e2404a9\nSigned-off-by: Tarun Karra <tkarra@codeaurora.org>","Tarun Karra",true],["b4220015480fb7e83dce61ffbea10af0696a56f7","af9cbceb8388e2170881d17f5ca88833c5c37ed6@codeaurora.org","msm: kgsl: When switching pagetable use current context ID\n\nWhen we switch pagetables then the pagetable switch commands\nshould be executed on behalf of the current active context and\nnot the context to which we are switching. This is because\nuntil the pagetable switch occurs the GPU will be using the\npagetable of the active context.\n\nCRs-fixed: 574989\nChange-Id: I9ca65ea399e39a158dc72adc2c7b661f62f18c93\nSigned-off-by: Shubhraprakash Das <sadas@codeaurora.org>","Shubhraprakash Das",true],["822dcc42f058f60e1f847702f6b9d6e901331f58","fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","msm: kgsl: Don't block on detach if the context is invalid\n\nAn invalidated context means that something pretty nasty happened and\nlikely there was an unrecovered GPU fault along the way. If this is\nthe case then the GPU is likely not processing commands for the context\nanymore. Don't block for the last retired global if the context was\ninvalidated.\n\nChange-Id: Ic0dedbad22a22b704baf14557d7e18cc4cf1044a\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","Jordan Crouse",true],["7ba9697b618d03ef0fd2f339083ca79b4ad93bc0","23f91d89366f4cb0df23994b6daef7a49583b4f7@codeaurora.org","msm: kgsl: Fix the NULL context submission size\n\nWhen submitting commands with a NULL context the size may not be\ncalculated properly. Fix this calculation.\n\nChange-Id: Idcc37772349673da8a9b9d5127f88946ced8fff6\nSigned-off-by: Lynus Vaz <lvaz@codeaurora.org>","Lynus Vaz",true],["d6f84fd68e15943dfb9184a02d65b3f5c51a2210","32f41aacb8b63fec32f7001294b88acbe16ae776@codeaurora.org","msm: kgsl: Don't open kgsl device in erroneous case\n\nIf kgsl_get_process_private() returns NULL, it goes to\nerr_stop with result = -ENOMEM. If open_count is 0,\nadreno_stop() overwrites the result variable with 0.\nThis leads to kgsl_open() to be successful while it\nshouldn't.\n\nChange-Id: Ic12d92a099280e4d958fa192fa5128211120d361\nSigned-off-by: Prabhat Awasthi <pawasthi@codeaurora.org>","Prabhat Awasthi",true],["77778f98ff81b18788d430934b6b651108fd98f9","fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","msm: kgsl: Pass the right timeout to adreno_drawctxt_wait()\n\nadreno_drawctxt_wait() expects the passed in timeout to be in\nmilliseconds and converts it to jiffies.  Unfortunately, so does\nthe caller so the timeout is shorter than it should be.\n\nChange-Id: Ic0dedbad85d50b32dba0fbf3ebb914335bf55166\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","Jordan Crouse",true],["1ce5bb39f088ebb1e82d0ff4be2e1a713f330820","130908656622cf304523d334877ef0f505f9a71e@codeaurora.org","msm: kgsl: Get CP_RPTR from register instead of shadow memory\n\nSometimes the RPTR shadow memory is unreliable causing timeouts\nin adreno_idle().  Read it directly from the register instead.\n\nChange-Id: Icae7521edd9723610c41f320c6a5c99f57bec7f5\nSigned-off-by: Tarun Karra <tkarra@codeaurora.org>","Tarun Karra",true]],"size":56,"ref":"refs/heads/avinash.kernel","head":"99a8b19896141fe5b330e0a8d5457ff81299282d"}