{"push_id":603166334,"size":16,"distinct_size":16,"ref":"refs/heads/cm-12.0","head":"f5e22d33ed9d400be9f1514266a2044732c32482","before":"112d1dfb44627dbf4bef9eedfa90ec689aaf8c71","commits":[{"sha":"68ff977bbcad65a522b13b634923acd1154633ee","author":{"email":"fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","name":"Jordan Crouse"},"message":"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>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/68ff977bbcad65a522b13b634923acd1154633ee"},{"sha":"938be7f9fa51e6e309baaf9961f6d3e8d0ad4568","author":{"email":"fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","name":"Jordan Crouse"},"message":"msm: kgsl: Enable protected register mode for A3XX\n\nTurn on protected register mode for the A3XX GPU family and add 0x63\n(RBBM_INT_0_MASK) to the list of protected registers.\n\nChange-Id: Ic0dedbad10ebfa6eb6d3d815b5aa9b6b6f0e8e35\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/938be7f9fa51e6e309baaf9961f6d3e8d0ad4568"},{"sha":"5a7f568c79dadfcad203f0bd684d1b039bdf6ec5","author":{"email":"fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","name":"Jordan Crouse"},"message":"msm: kgsl: Protect SMMU registers from being written by the GPU\n\nPut the SMMU register range in protected mode to shield them from\nIB1/IB2 writes from userspace.\n\nCRs-Fixed: 599971\nChange-Id: Ic0dedbad8c03fc1c54ff73221231e2440d3c34dd\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/5a7f568c79dadfcad203f0bd684d1b039bdf6ec5"},{"sha":"abd0849c2ec24aebae3c857173cff6e740ef65f6","author":{"email":"fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","name":"Jordan Crouse"},"message":"msm: kgsl: Print the register that causes a protected mode error\n\nWhen we get a protected mode error print out the register information\nthat caused the exception.\n\nChange-Id: Ic0dedbad4f586c5715669226619b51665ef9681f\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/abd0849c2ec24aebae3c857173cff6e740ef65f6"},{"sha":"be0c46b06dc12568ffe81c477942f3422644f134","author":{"email":"fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","name":"Jordan Crouse"},"message":"msm: kgsl: Protect CP_STATE_DEBUG_INDEX\n\nPut CP_STATE_DEBUG_INDEX and CP_STATE_DEBUG_DATA under protection\nto keep it from being written from an IB1. Doing so however opens\nup a subtle \"feature\" in the microcode: memory read opcodes turn off\nprotected mode in the microcode to do the read and then turns it\nback on regardless of the initial state. This is a problem if the\nmemory read happens while protected mode is turned off and then we\ntry to access a protected register which then complains and goes boom.\n\nTo account for this irregularity explicitly turn back off protected\nmode in all the places where we know this will be a problem.\n\nChange-Id: Ic0dedbad1397ca9b80132241ac006560a615e042\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/be0c46b06dc12568ffe81c477942f3422644f134"},{"sha":"4ef24b7a7917fee5b9f17b6886db3dbfc82cb09b","author":{"email":"f716b4e7fb105b3b5ce1d7f1d4213769d3b27187@codeaurora.org","name":"Lucille Sylvester"},"message":"msm: kgsl: fix MIN power constraints in non-trivial cases\n\nSwitching from a MAX to a MIN power constraint in the same\ncontext is broken.  So is switching from a MAX context constraint\nto a MIN constraint on a different context.  Clarify constraint\nownership, update the timestamps accordingly, and reset constraints\nwhen changed by the context.\n\nChange-Id: Id27dbc20e2aac994101817af3857451c1703219e\nSigned-off-by: Lucille Sylvester <lsylvest@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/4ef24b7a7917fee5b9f17b6886db3dbfc82cb09b"},{"sha":"bc63caaed82a99c05db9ee82d5353bc56b324eee","author":{"email":"39712bdc59b9c84a53710644059a29ec40696925@codeaurora.org","name":"Shrenuj Bansal"},"message":"msm: kgsl: Clear the memstore while destroying the context\n\nWhen creating a context, we add the event group much before\ninitializing the memstore for that context. Between these events,\nits possible that events are registered and retired and the\ntimestamp read in retire_events() gets us the last timestamp of\nthe last destroyed context. This results in the processed\ntimestamp to be greater than the actual retired timestamp in the\nmemstore which is very problematic for us.\n\nCRs-Fixed: 640550\nChange-Id: I2ace6d99e2ce417ba38f6bbbeeb787478eb4e372\nSigned-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/bc63caaed82a99c05db9ee82d5353bc56b324eee"},{"sha":"257fd0fbfae37ab0be1700bd62e837f9cf8e7c33","author":{"email":"c0bdcebe81699cac680c0ccb558fe9d9c9cb8769@codeaurora.org","name":"Oleg Perelet"},"message":"msm: kgsl: remove power constraint on context destroy\n\nRemove power constraint if parent context is\ndeleted before constraint expires.\n\nChange-Id: I6a28fec842132733b2e9015333cc4d14c77daa8e\nSigned-off-by: Oleg Perelet <operelet@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/257fd0fbfae37ab0be1700bd62e837f9cf8e7c33"},{"sha":"8d928263b85b5b866e5f8768a0d0ada931553fa5","author":{"email":"ff1e5ded47dd5c88716d0ac2f671fd3e0c0ebc6d@codeaurora.org","name":"Carter Cooper"},"message":"msm: kgsl: Add missing power constraint trace\n\nAdd missing trace to ensure debug logs show everything\n\nChange-Id: I5da21b15ba498e1266d6c96b700c6c18135f92e9\nSigned-off-by: Carter Cooper <ccooper@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/8d928263b85b5b866e5f8768a0d0ada931553fa5"},{"sha":"c1af47b023165d5cc16219d72e8606e2b634241a","author":{"email":"ff1e5ded47dd5c88716d0ac2f671fd3e0c0ebc6d@codeaurora.org","name":"Carter Cooper"},"message":"msm: kgsl: Respect power constraints for a full interval\n\nNo matter what type of constraint leave it in effect until\nthe constraint has expired.\n\nChange-Id: I75118823fd484f87dda8e0f26fa3fe1ae12ca07d\nSigned-off-by: Lucille Sylester <lsylvest@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/c1af47b023165d5cc16219d72e8606e2b634241a"},{"sha":"d83ec60e2cf43f60fb777409f2936c3ceae82f34","author":{"email":"ff1e5ded47dd5c88716d0ac2f671fd3e0c0ebc6d@codeaurora.org","name":"Carter Cooper"},"message":"msm: kgsl: Check constraint state coming out of slumber\n\nOnly set the default constraint when we come out of slumber if there\nis no current constraint set. The current behavior will always override\nthe constraint that was set when coming out of slumber.\n\nSigned-off-by: Carter Cooper <ccooper@codeaurora.org>\nChange-Id: I58a5e2338bbee64e885edf697e83869820be2c22","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/d83ec60e2cf43f60fb777409f2936c3ceae82f34"},{"sha":"721aed6f585a7f61082eca8c3db01c78d56b319e","author":{"email":"39712bdc59b9c84a53710644059a29ec40696925@codeaurora.org","name":"Shrenuj Bansal"},"message":"msm: kgsl: Add CMA memory feature to support NOMMU for GPU\n\nReserves CMA memory for kgsl driver early during bootup and then\nuses dma_alloc_coherent() to allocate physically contiguous memory\ninstead of using the MMU\n\nChange-Id: Ica9b244fe9b9d8a902d670293a0bec2edf81bd5d\nSigned-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/721aed6f585a7f61082eca8c3db01c78d56b319e"},{"sha":"589cf12b7283dd603b4480fec1fc013cf0a2f60d","author":{"email":"fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","name":"Jordan Crouse"},"message":"msm: kgsl: Use a constant mask for the memops vmflags\n\nWe don't need to define a function to return a constant.  Save\nourselves some source code and some .text space too.\n\nChange-Id: Ic0dedbadc72c2fdd473cd4369ed772c84a923a15\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/589cf12b7283dd603b4480fec1fc013cf0a2f60d"},{"sha":"a2ae313cb46113f73cb6a5ef3153e15ed32852b8","author":{"email":"fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","name":"Jordan Crouse"},"message":"msm: kgsl: Don't set VM_IO on mmap()ed GPU memory objects\n\nVM_IO prevents mapped memory from being peeked by ptrace(). That\nkind of protection isn't really needed for nominal GPU buffers.\nA process given itself up to ptrace() already expects to be\nexamined so there is no additional risk to let the parent examine\nGPU buffers too.  This is done universally now, but there is no\nreason why we wouldn't let the process choose which buffers to\nkeep private in the future.\n\nThat said; there is more of a concern about including GPU buffers\nin a core dump since that is a more permanent and less secure\nrecord of the memory so add VM_DONTDUMP for all GPU buffers to\nprotect against that.\n\nCRs-Fixed: 654751\nChange-Id: Ic0dedbade91a2ec458bcb27eff3312d4ec6e4389\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/a2ae313cb46113f73cb6a5ef3153e15ed32852b8"},{"sha":"bafb4eaae9f84a9c95e6d4eda5d137716529cc28","author":{"email":"fec53db8c4887e6e95defbb5052bc6438029c1e6@codeaurora.org","name":"Jordan Crouse"},"message":"msm: kgsl: Mark mmapped objects with VM_DONTCOPY\n\nAdd VM_DONTCOPY to the default set of mmap flags to keep VM objects\nfrom being copied on fork() and causing issues.  KGSL file descriptors\ncopied to a child are not expected to be usable.\n\nChange-Id: Ic0dedbad85c07118a931ccb9f7a6fd0507da3e5a\nSigned-off-by: Jordan Crouse <jcrouse@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/bafb4eaae9f84a9c95e6d4eda5d137716529cc28"},{"sha":"f5e22d33ed9d400be9f1514266a2044732c32482","author":{"email":"a7e43e45e04e37f02ace46acd908f2c0386d09c8@codeaurora.org","name":"Harsh Vardhan Dwivedi"},"message":"msm: kgsl: Add a flag to mark user mapped GPU buffers\n\nAdd a flag in /sys/kernel/debug/kgsl/kgsl-3do/proc/<pid>/mem\nfile to indicate for each GPU buffer if it is mapped to userspace\nin <pid> or not.\n\nCRs-fixed: 634962\nChange-Id: I8abda74ef5656aca6b1c0315af8deb77460fa5a9\nSigned-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/fefifofum/android_kernel_lge_awifi_LL/commits/f5e22d33ed9d400be9f1514266a2044732c32482"}]}