{"push_id":717315222,"size":18,"distinct_size":18,"ref":"refs/heads/3.4.x","head":"d33d28e17ab56bd89c34e12366491bbc2520182d","before":"e14d007668e2b3f7fb4a91b728df4f238dc099ea","commits":[{"sha":"234c6721ee72ce35a326a798124cc01186412c3a","author":{"email":"b1294cb40c1e06b83339a5237c675f2fe221d3c3@nvidia.com","name":"Antti P Miettinen"},"message":"PM QoS: Add CPU frequency min/max as PM QoS params\n\nAdd minimum and maximum CPU frequency as PM QoS parameters.\n\nBug 888312\n\nChange-Id: I18abddded35a044a6ad8365035e31d1a2213a329\nReviewed-on: http://git-master/r/72206\nSigned-off-by: Antti P Miettinen <amiettinen@nvidia.com>\nSigned-off-by: Varun Wadekar <vwadekar@nvidia.com>\nReviewed-on: http://git-master/r/75883\nReviewed-by: Automatic_Commit_Validation_User\n\nRebase-Id: R1007bbef60489ecc81a9acd0ce3b0abfa9a05f3e\n\nConflicts:\n\tinclude/linux/pm_qos.h\n\tkernel/power/qos.c","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/234c6721ee72ce35a326a798124cc01186412c3a"},{"sha":"268cb5de046f390ecd890aecbfd09083ddbcb620","author":{"email":"c538f4d4f774f9d6a7f435437a4d71bdb52c90c3@gmail.com","name":"Luis Gonzalez Fernandez"},"message":"PM / QoS: Add return code to pm_qos_get_value function.\n\npm_qos_get_value don't return a return code in all cases. It's sure that\nanything interesting happend after BUG() but this prevent any compilation\nwarning.\n\n[rjw: Chaneged the new return value to PM_QOS_DEFAULT_VALUE.]\n\nSigned-off-by: Luis Gonzalez Fernandez <luisgf@gmail.com>\nSigned-off-by: Rafael J. Wysocki <rjw@sisk.pl>","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/268cb5de046f390ecd890aecbfd09083ddbcb620"},{"sha":"5566d768185b61f895d6bb5aafa9aff8c4f9904b","author":{"email":"27ffc44a8ec6a212fba98cfc3246c6ce8ab131e0@intel.com","name":"Rafael J. Wysocki"},"message":"PM / QoS: Introduce request and constraint data types for PM QoS flags\n\nIntroduce struct pm_qos_flags_request and struct pm_qos_flags\nrepresenting PM QoS flags request type and PM QoS flags constraint\ntype, respectively.  With these definitions the data structures\nwill be arranged so that the list member of a struct pm_qos_flags\nobject will contain the head of a list of struct pm_qos_flags_request\nobjects representing all of the \"flags\" requests present for the\ngiven device.  Then, the effective_flags member of a struct\npm_qos_flags object will contain the bitwise OR of the flags members\nof all the struct pm_qos_flags_request objects in the list.\n\nAdditionally, introduce helper function pm_qos_update_flags()\nallowing the caller to manage the list of struct pm_qos_flags_request\npointed to by the list member of struct pm_qos_flags.\n\nThe flags are of type s32 so that the request's \"value\" field\nis always of the same type regardless of what kind of request it\nis (latency requests already have value fields of type s32).\n\nSigned-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>\nReviewed-by: Jean Pihet <j-pihet@ti.com>\nAcked-by: mark gross <markgross@thegnar.org>","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/5566d768185b61f895d6bb5aafa9aff8c4f9904b"},{"sha":"ad0c7673c68e6a92b71dd13ecb9d7eb7779fea2a","author":{"email":"edb957cbfef513f552a3a3b5d196a8a492f83f37@0x90.at","name":"Daniel Walter"},"message":"PM / sysfs: replace strict_str* with kstrto*\n\nReplace strict_strtoul() with kstrtoul() in pm_async_store() and\npm_qos_power_write().\n\n[rjw: Modified subject and changelog.]\n\nSigned-off-by: Daniel Walter <sahne@0x90.at>\nAcked-by: Pavel Machek <pavel@ucw.cz>\nSigned-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/ad0c7673c68e6a92b71dd13ecb9d7eb7779fea2a"},{"sha":"73b124c13786094a99a7dbed55ba9e8238358f5b","author":{"email":"546b05909706652891a87f7bfe385ae147f61f91@kernel.org","name":"Tejun Heo"},"message":"PM: don't use [delayed_]work_pending()\n\nThere's no need to test whether a (delayed) work item is pending\nbefore queueing, flushing or cancelling it, so remove work_pending()\ntests used in those cases.\n\nSigned-off-by: Tejun Heo <tj@kernel.org>\nSigned-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/73b124c13786094a99a7dbed55ba9e8238358f5b"},{"sha":"88e7606ee5e0fe039b7a41c680936caf0617886a","author":{"email":"1dca09200845de5d2882de5b2651e39f704634ed@nvidia.com","name":"Gaurav Sarode"},"message":"PM Qos: Add min online cpus as PM QoS parameter\n\nBug 940061\n\nChange-Id: Ibae842fdc3af3c92ec7e6125c602417110d8b55e\nSigned-off-by: Gaurav Sarode <gsarode@nvidia.com>\nReviewed-on: http://git-master/r/84521\nReviewed-by: Sachin Nikam <snikam@nvidia.com>\nTested-by: Aleksandr Frid <afrid@nvidia.com>\nReviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>\n\nRebase-Id: R830d4e99f1e03b61a8c4e52e11645b7ed2f10f56\n\nConflicts:\n\tkernel/power/qos.c","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/88e7606ee5e0fe039b7a41c680936caf0617886a"},{"sha":"a3c4c0e8ec3955ecc2c7d4b562c862601e024862","author":{"email":"b1294cb40c1e06b83339a5237c675f2fe221d3c3@nvidia.com","name":"Antti P Miettinen"},"message":"PM QoS: Add disable parameter\n\nFor testing purposes it is useful to be able to disable\nPM Qos.\n\nBug 1020898\nBug 917572\n\nReviewed-on: http://git-master/r/124667\n\nChange-Id: I266f5b5730cfe4705197d8b09db7f9eda6766c7c\nSigned-off-by: Antti P Miettinen <amiettinen@nvidia.com>\nSigned-off-by: Varun Wadekar <vwadekar@nvidia.com>\n\nRebase-Id: Re2088674f90436e0b9dd74310d5cda1f9e2868e4","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/a3c4c0e8ec3955ecc2c7d4b562c862601e024862"},{"sha":"70ddc6538a48d1fc844d823a00af04015bdecd6a","author":{"email":"a6cbd56ecd59f8a392dacad87c4a20d835d6266f@nvidia.com","name":"Li Li"},"message":"PM / QoS: export pm_qos_update_request_timeout()\n\nThis pm_qos_update_request_timeout() was introduced without being exported.\nShould export it as all of the other PM QoS APIs so those drivers compiled as\nmodules can use it.\n\nChange-Id: Ie51ce52db4ca633117fe18441c42b562220399e8\nSigned-off-by: Li Li <lli5@nvidia.com>\nReviewed-on: http://git-master/r/189306\nReviewed-by: Automatic_Commit_Validation_User\nGVS: Gerrit_Virtual_Submit\nReviewed-by: Eric Miao <emiao@nvidia.com>\nReviewed-by: Bharat Nihalani <bnihalani@nvidia.com>","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/70ddc6538a48d1fc844d823a00af04015bdecd6a"},{"sha":"37a938dd671a1998a9bf162b7b5519ec1539cdad","author":{"email":"0bb3d1743eb3bd3a2264c4ae53e41fbba0d37110@nvidia.com","name":"Alex Frid"},"message":"PM QoS: Add GPU frequency limits to PM QoS\n\nAdded GPU frequency min/max as PM QoS classes.\n\nBug 1330780\n\nChange-Id: I2428c62748521c17e23b2df9ca409deda8b36160\nSigned-off-by: Alex Frid <afrid@nvidia.com>\nReviewed-on: http://git-master/r/267702\nReviewed-by: Ilan Aelion <iaelion@nvidia.com>\nReviewed-by: Mitch Luban <mluban@nvidia.com>\nReviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>\n\nConflicts:\n\tinclude/linux/pm_qos.h\n\tkernel/power/qos.c","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/37a938dd671a1998a9bf162b7b5519ec1539cdad"},{"sha":"74a19f8598da85dd930bdee93583696b451ffa9e","author":{"email":"8cdc8b3d191e9035ee0467e8a2559c0e099975ec@gmail.com","name":"Jake Weinstein"},"message":"QoS: add back comments","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/74a19f8598da85dd930bdee93583696b451ffa9e"},{"sha":"2a508f0224247d7654605ec39440cffc38b9cdfd","author":{"email":"f8879c7e45dcd2bba16f7cd5c882c77b96ccb42d@nvidia.com","name":"Sai Gurrappadi"},"message":"pmqos: Replace spinlock with mutex for pm_qos_lock\n\nUsing a spinlock (taken with irqsave) meant that pm_qos_lock couldn't be\nused to synchronize on the notifiers in order to ensure proper order of\nthe notifications. This is needed in case where there might be two near\nsimultaneous pmqos client requests for a bound on the same constraint;\nthe notifiers in pm_qos_update_target for the two clients could\npotentially engage in a race.\n\nExample:\n\nAssume two requests are made (A, B with A coming first) for max cpufreq\nand these are the only requests currently available.\n\nCurrent behavior can result in:\n\nnotify(max_cpu_freq, minof(A, B))\nnotify(max_cpu_freq, minof(LONG_MAX, A))\n\nExpected behavior:\n\nnotify(max_cpu_freq, minof(LONG_MAX, A))\nnotify(max_cpu_freq, minof(A, B))\n\nMost of the PM QoS and Dev PM QoS requester clients were reviewed and\nnone of them were found to be calling pm_qos_add/update/remove request\nfrom interrupt or atomic context since those calls include the blocking\nnotifier call which cannot be done in atomic context.\n\nChange-Id: I2fb43cc38da4c701e4872b937dd82cd38f1a1c1e\nSigned-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>\nReviewed-on: http://git-master/r/299036\nReviewed-by: Automatic_Commit_Validation_User\nReviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/2a508f0224247d7654605ec39440cffc38b9cdfd"},{"sha":"2987dbb31bd49896bf8495274f89feb7d9b4502d","author":{"email":"f8879c7e45dcd2bba16f7cd5c882c77b96ccb42d@nvidia.com","name":"Sai Gurrappadi"},"message":"power: Prefer min over max for online cpus\n\nWe prefered min_online_cpus over max_online_cpus if min > max.\nmin_wins is now true for online cpu PmQoS requests.\n\nBug 1270839\n\nChange-Id: I2888538dd1a4616babb7cd1532264272de5cfe64\nSigned-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>\nReviewed-on: http://git-master/r/301871\nReviewed-by: Automatic_Commit_Validation_User\nReviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>\n\nConflicts:\n\tkernel/power/qos.c\n\nConflicts:\n\tkernel/power/qos.c","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/2987dbb31bd49896bf8495274f89feb7d9b4502d"},{"sha":"1f28b91d734a45baae05ca757eab07beb89f300d","author":{"email":"f8879c7e45dcd2bba16f7cd5c882c77b96ccb42d@nvidia.com","name":"Sai Gurrappadi"},"message":"power: Fix coverity error\n\nProperly null-terminate userspace input string. Otherwise, the subsequent\nstrsep() could continue off into arbitrary chunks of kmalloc() space\nthat aren't part of the original string buffer.\n\nChange-Id: I3868dbcdd9df7e7172c001eb6bc41c605d48604b\nSigned-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>\nReviewed-on: http://git-master/r/355578\nReviewed-by: Paul Walmsley <pwalmsley@nvidia.com>\nReviewed-by: Automatic_Commit_Validation_User\nReviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>\n\nConflicts:\n\tkernel/power/qos.c","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/1f28b91d734a45baae05ca757eab07beb89f300d"},{"sha":"16e790e73cb1b949e16d73db730e12d54d3a87e5","author":{"email":"a3a08b29347fbad01a0b2f9d01835de728792f0c@nvidia.com","name":"Puneet Saxena"},"message":"Power: pmqos: Add emc freq pmqos constraint\n\nIt adds min emc freq pmqos.\n\nBug 1432476\n\nChange-Id: If05c2e8cceffc9ca071ed0b023c29e1ef2921245\nSigned-off-by: Puneet Saxena <puneets@nvidia.com>\nReviewed-on: http://git-master/r/360379\nReviewed-by: Automatic_Commit_Validation_User\nReviewed-by: Aleksandr Frid <afrid@nvidia.com>\nReviewed-by: Sachin Nikam <snikam@nvidia.com>\n\nConflicts:\n\tinclude/linux/pm_qos.h","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/16e790e73cb1b949e16d73db730e12d54d3a87e5"},{"sha":"6d80156e67887f54b58d13bb8107a173981b0319","author":{"email":"f8879c7e45dcd2bba16f7cd5c882c77b96ccb42d@nvidia.com","name":"Sai Gurrappadi"},"message":"PM QoS: Fix pmqos notifiers in pm_qos_enabled_set\n\nSend out the notifiers if the enabled flag has been changed. This will\nensure that the notifier fires in all cases.\n\nBug 1516219\n\nChange-Id: Ie97422f61a9ad56f0ce194a99ce69193d429eadc\nSigned-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>\nReviewed-on: http://git-master/r/413433\nReviewed-by: Automatic_Commit_Validation_User\nTested-by: Diwakar Tundlam <dtundlam@nvidia.com>\nReviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>\n\nConflicts:\n\tkernel/power/qos.c","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/6d80156e67887f54b58d13bb8107a173981b0319"},{"sha":"78adaf42cf4987c1429b960d536d239c9346a3d4","author":{"email":"84146178f7c201fa3079bfc93fccba71d81dffe3@samsung.com","name":"MyungJoo Ham"},"message":"PM / QoS: Introduce new classes: DMA-Throughput and DVFS-Latency\n\n1. CPU_DMA_THROUGHPUT\n\nThis might look simliar to CPU_DMA_LATENCY. However, there are H/W\nblocks that creates QoS requirement based on DMA throughput, not\nlatency, while their (those QoS requester H/W blocks) services are\nshort-term bursts that cannot be effectively responsed by DVFS\nmechanisms (CPUFreq and Devfreq).\n\nIn the Exynos4412 systems that are being tested, such H/W blocks include\nMFC (multi-function codec)'s decoding and enconding features, TV-out\n(including HDMI), and Cameras. When the display is operated at 60Hz,\neach chunk of task should be done within 16ms and the workload on DMA is\nnot well spread and fluctuates between frames; some frame requires more\nand some do not and within a frame, the workload also fluctuates\nheavily and the tasks within a frame are usually not parallelized; they\nare processed through specific H/W blocks, not CPU cores. They often\nhave PPMU capabilities; however, they need to be polled very frequently\nin order to let DVFS mechanisms react properly. (less than 5ms).\n\nFor such specific tasks, allowing them to request QoS requirements seems\nadequete because DVFS mechanisms (as long as the polling rate is 5ms or\nlonger) cannot follow up with them. Besides, the device drivers know\nwhen to request and cancel QoS exactly.\n\n2. DVFS_LATENCY\n\nBoth CPUFreq and Devfreq have response latency to a sudden workload\nincrease. With near-100% (e.g., 95%) up-threshold, the average response\nlatency is approximately 1.5 x polling-rate.\n\nA specific polling rate (e.g., 100ms) may generally fit for its system;\nhowever, there could be exceptions for that. For example,\n- When a user input suddenly starts: typing, clicking, moving cursors, and\n  such, the user might need the full performance immediately. However,\n  we do not know whether the full performance is actually needed or not\n  until we calculate the utilization; thus, we need to calculate it\n  faster with user inputs or any similar events. Specifying QoS on CPU\n  processing power or Memory bandwidth at every user input is an\n  overkill because there are many cases where such speed-up isn't\n  necessary.\n- When a device driver needs a faster performance response from DVFS\n  mechanism. This could be addressed by simply putting QoS requests.\n  However, such QoS requests may keep the system running fast\n  unnecessary in some cases, especially if a) the device's resource\n  usage bursts with some duration (e.g., 100ms-long bursts) and\n  b) the driver doesn't know when such burst come. MMC/WiFi often had\n  such behaviors although there are possibilities that part (b) might\n  be addressed with further efforts.\n\nThe cases shown above can be tackled with putting QoS requests on the\nresponse time or latency of DVFS mechanism, which is directly related to\nits polling interval (if the DVFS mechanism is polling based).\n\nSigned-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>\nSigned-off-by: Kyungmin Park <kyungmin.park@samsung.com>\n\n--\nChanges from RFC(v1)\n- Added omitted part (registering new classes)","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/78adaf42cf4987c1429b960d536d239c9346a3d4"},{"sha":"a169692dbdd6cce0e4cc584c1b9ce3c5c4c0785d","author":{"email":"a11f87183a953ab11f50fbafff689c5a7fa3506c@sisk.pl","name":"Rafael J. Wysocki"},"message":"PM / Sleep: Separate printing suspend times from initcall_debug\n\nChange the behavior of the newly introduced\n/sys/power/pm_print_times attribute so that its initial value\ndepends on initcall_debug, but setting it to 0 will cause device\nsuspend/resume times not to be printed, even if initcall_debug has\nbeen set.  This way, the people who use initcall_debug for reasons\nother than PM debugging will be able to switch the suspend/resume\ntimes printing off, if need be.\n\nSigned-off-by: Rafael J. Wysocki <rjw@sisk.pl>\nReviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>\nAcked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\nConflicts:\n\tdrivers/base/power/main.c\n\tkernel/power/main.c","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/a169692dbdd6cce0e4cc584c1b9ce3c5c4c0785d"},{"sha":"d33d28e17ab56bd89c34e12366491bbc2520182d","author":{"email":"502c91a9caf29650b93a757c6277a56dc8d43f81@gmail.com","name":"mostafa-z"},"message":"fix kernel/power/qos.c\nThanks Dorimanx\n Changes to be committed:\n\tmodified:   kernel/power/qos.c","distinct":true,"url":"https://api.github.com/repos/mostafa-z/GABRIEL_LP/commits/d33d28e17ab56bd89c34e12366491bbc2520182d"}]}