{"push_id":538624963,"size":425,"distinct_size":139,"ref":"refs/heads/hpsa-next","head":"5ee272f7f5d50589e69228a6245f9cc2c27e0767","before":"97bf6af1f928216fd6c5a66e8a57bfa95a659672","commits":[{"sha":"61466c651fc2faffe89000e9d42661f6ab81d8e4","author":{"email":"c2fce4493a16d94b58efb315151c29911fc5d347@amd.com","name":"Oded Gabbay"},"message":"drm/amd: Add get_fw_version to kfd-->kgd interface\n\nThis patch adds a new interface to the kfd-->kgd interface.\nThe new interface function retrieves the firmware version that is currently in\nuse by the MEC engine. The firmware was uploaded to the MEC engine by the kgd\n(radeon).\n\nv2: Added parameter of engine type to interface function\n\nSigned-off-by: Oded Gabbay <oded.gabbay@amd.com>\nReviewed-by: Alex Deucher <alexander.deucher@amd.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/61466c651fc2faffe89000e9d42661f6ab81d8e4"},{"sha":"f7694323b44edb6ef690cffd97fcb9055f60677e","author":{"email":"c2fce4493a16d94b58efb315151c29911fc5d347@amd.com","name":"Oded Gabbay"},"message":"drm/radeon: Add implementation of get_fw_version\n\nThis patch implements a new interface that was added to the kfd-->kgd interface.\nThe new interface function retrieves the firmware version that is currently\nin use by a specific engine. The firmware was uploaded to the engine by the\nradeon driver.\n\nv2: Returns the fw version of the specific engine, as passed into the function\nby a new parameter\n\nSigned-off-by: Oded Gabbay <oded.gabbay@amd.com>\nReviewed-by: Alex Deucher <alexander.deucher@amd.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/f7694323b44edb6ef690cffd97fcb9055f60677e"},{"sha":"f1386fbc2bc9e316c3f58ef9463f03002eb41346","author":{"email":"c2fce4493a16d94b58efb315151c29911fc5d347@amd.com","name":"Oded Gabbay"},"message":"amdkfd: Display MEC fw version in topology node\n\nThis patch displays the firmware version of the microcode that is currently\nrunning in the MEC.\nThis is needed for the HSA RT, so it could differentiate its behavior based on\nfw version. e.g. workarounds for bugs in fw\n\nv2: Send the KGD_ENGINE_MEC1 as a parameter to the get_fw_version()\n\nSigned-off-by: Oded Gabbay <oded.gabbay@amd.com>\nReviewed-by: Alex Deucher <alexander.deucher@amd.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/f1386fbc2bc9e316c3f58ef9463f03002eb41346"},{"sha":"dd59239a9862a42e4b8d47e4aaa8d595d08c29ab","author":{"email":"833d6c2cbb920401adc2e755c4797f7fd439cd94@amd.com","name":"Alexey Skidanov"},"message":"amdkfd: init aperture once per process\n\nSince the user space may call open() more that once from the same process,\nthe aperture initialization should be moved from kfd_open()\n\nSigned-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>\nReviewed-by: Oded Gabbay <oded.gabbay@amd.com>\nSigned-off-by: Oded Gabbay <oded.gabbay@amd.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/dd59239a9862a42e4b8d47e4aaa8d595d08c29ab"},{"sha":"0f1be51c358f740fe5183bd0bcd60076fdfb53d0","author":{"email":"19583d7f5a73f900a77b3924aabdcb631a4c7608@gmail.com","name":"Eduardo Valentin"},"message":"thermal: cpu_cooling: check for the readiness of cpufreq layer\n\nIn this patch, the cpu_cooling code checks for the usability of cpufreq\nlayer before proceeding with the CPU cooling device registration. The\nmain reason is: CPU cooling device is not usable if cpufreq cannot\nswitch frequencies.\n\nSimilar checks are spread in thermal drivers. Thus, the advantage now\nis to have the check in a single place: cpu cooling device registration.\nFor this reason, this patch also updates the existing drivers that\ndepend on CPU cooling to simply propagate the error code of the cpu\ncooling registration call. Therefore, in case cpufreq is not ready, the\nthermal drivers will still return -EPROBE_DEFER, in an attempt to try\nagain when cpufreq layer gets ready.\n\nCc: devicetree@vger.kernel.org\nCc: Grant Likely <grant.likely@linaro.org>\nCc: Kukjin Kim <kgene.kim@samsung.com>\nCc: linux-arm-kernel@lists.infradead.org\nCc: linux-kernel@vger.kernel.org\nCc: linux-pm@vger.kernel.org\nCc: linux-samsung-soc@vger.kernel.org\nCc: Naveen Krishna Chatradhi <ch.naveen@samsung.com>\nCc: Rob Herring <robh+dt@kernel.org>\nCc: Zhang Rui <rui.zhang@intel.com>\nAcked-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/0f1be51c358f740fe5183bd0bcd60076fdfb53d0"},{"sha":"b45257b10d7cc21ed0393f31e1f8ac6cdde9fa18","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: db8500: pass cpu_present_mask to cpufreq_cooling_register()\n\ncpufreq_cooling_register() expects mask of all the CPUs where frequency\nconstraint is applicable.\n\nThis platform has more than one CPU to which these constraints will apply and so\npassing mask of only CPU0 wouldn't be sufficient. Also, this platform has a\nsingle cluster of CPUs and the constraint applies to all CPUs.\n\nIf CPU0 is hoplugged out then we may face strange BUGs as cpu_cooling framework\nisn't aware of any siblings sharing clock line.\n\nFix it by passing cpu_present_mask to cpufreq_cooling_register().\n\nCc: Hongbo Zhang <hongbo.zhang@linaro.com>\nCc: Linus Walleij <linus.walleij@linaro.org>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/b45257b10d7cc21ed0393f31e1f8ac6cdde9fa18"},{"sha":"bec85d2e0c9f71cab57614ab05057840bb7c422f","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: imx: pass cpu_present_mask to cpufreq_cooling_register()\n\ncpufreq_cooling_register() expects mask of all the CPUs where frequency\nconstraint is applicable.\n\nThis platform has more than one CPU to which these constraints will apply and so\npassing mask of only CPU0 wouldn't be sufficient. Also, this platform has a\nsingle cluster of CPUs and the constraint applies to all CPUs.\n\nIf CPU0 is hoplugged out then we may face strange BUGs as cpu_cooling framework\nisn't aware of any siblings sharing clock line.\n\nFix it by passing cpu_present_mask to cpufreq_cooling_register().\n\nCc: Shawn Guo <shawn.guo@linaro.org>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/bec85d2e0c9f71cab57614ab05057840bb7c422f"},{"sha":"f3764e6c187b2841971d6347f81acc1a5264a92f","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: exynos: pass cpu_present_mask to cpufreq_cooling_register()\n\ncpufreq_cooling_register() expects mask of all the CPUs where frequency\nconstraint is applicable.\n\nThis platform has more than one CPU to which these constraints will apply and so\npassing mask of only CPU0 wouldn't be sufficient. Also, this platform has a\nsingle cluster of CPUs and the constraint applies to all CPUs.\n\nIf CPU0 is hoplugged out then we may face strange BUGs as cpu_cooling framework\nisn't aware of any siblings sharing clock line.\n\nFix it by passing cpu_present_mask to cpufreq_cooling_register().\n\nCc: Chanwoo Choi <cw00.choi@samsung.com>\nCc: Kyungmin Park <kyungmin.park@samsung.com>\nCc: Amit Daniel Kachhap <amit.daniel@samsung.com>\nCc: Lukasz Majewski <l.majewski@samsung.com>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/f3764e6c187b2841971d6347f81acc1a5264a92f"},{"sha":"728c03c9592198717fed3e9fbae7260cff300175","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: random comment fixups\n\ns/give/given\n\nAcked-by: Eduardo Valentin <edubezval@gmail.com>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/728c03c9592198717fed3e9fbae7260cff300175"},{"sha":"beca6053fc21bbe0ed0242a3f79c0cca5749a90f","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: fix doc comment over struct cpufreq_cooling_device\n\ncooling_cpufreq_lock isn't used to protect this structure and so the comment\nover it is outdated. Fix it.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/beca6053fc21bbe0ed0242a3f79c0cca5749a90f"},{"sha":"07d888d831b038c01c5415f8945f41c743f49fb2","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: Add comment to clarify relation between cooling state and frequency\n\nThis wasn't explained well anywhere and should be clearly specified. Lets add a\ntop level comment for this.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/07d888d831b038c01c5415f8945f41c743f49fb2"},{"sha":"98d522f056568007557867d53833770dee9d8fe8","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: Pass variable instead of its type to sizeof()\n\nJust following coding guidelines here.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/98d522f056568007557867d53833770dee9d8fe8"},{"sha":"92e615ec82c0314fb480eeb19396f4ac15bf97ef","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: no need to set cpufreq_state to zero\n\nIts already zero, we allocated cpufreq_dev with kzalloc.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/92e615ec82c0314fb480eeb19396f4ac15bf97ef"},{"sha":"5d3bdb8998e066fe270f2f71db7163d5ac40d989","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: no need to set cpufreq_dev to NULL\n\nIt will be overwritten soon with return value of kzalloc().\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/5d3bdb8998e066fe270f2f71db7163d5ac40d989"},{"sha":"8e54d442fe3cdd1ffe5f563ee843b4d48e14ef6e","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: no need to initialze 'ret'\n\nret is initialized before it is used, so no need to set it to 0 in its declaration.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/8e54d442fe3cdd1ffe5f563ee843b4d48e14ef6e"},{"sha":"268ac445ee1b2b7c2806e7a21076e6d94aca1ca3","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: propagate error returned by idr_alloc()\n\nWe aren't supposed to return our own error type here. Return what we got.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/268ac445ee1b2b7c2806e7a21076e6d94aca1ca3"},{"sha":"405fb8256226ad68cf6ba5172d289a70cb447c81","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: Don't match min/max frequencies for all CPUs on cooling register\n\nIn __cpufreq_cooling_register() we try to match min/max frequencies for all CPUs\npassed in 'clip_cpus' mask. This mask is the cpumask of cpus where the frequency\nconstraints will be applied.\n\nSame frequency constraint can be applied only to the CPUs belonging to the same\ncluster (i.e. CPUs sharing clock line). For all such CPUs we have a single\n'struct cpufreq_policy' structure managing them and so getting policies for all\nCPUs wouldn't make any sense as they will all return the same pointer.\n\nSo, remove this useless check of checking min/max for all CPUs. Also update doc\ncomment to make this more obvious that clip_cpus should be same as\npolicy->related_cpus.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/405fb8256226ad68cf6ba5172d289a70cb447c81"},{"sha":"e1fae554fb69b8869acbea9397d15758a93d1204","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: don't iterate over all allowed_cpus to update cpufreq policy\n\nAll CPUs present in 'allowed_cpus' share the same 'struct cpufreq_policy'\nstructure and so calling cpufreq_update_policy() for each of them doesn't make\nsense.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/e1fae554fb69b8869acbea9397d15758a93d1204"},{"sha":"c9ca319f0579cd51b07a666683157233c2cf720d","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: Don't check is_cpufreq_valid()\n\nBecause get_cpu_frequency() has returned a valid frequency, it means that the\ncpufreq policy is surely valid and so no point checking that again with\nis_cpufreq_valid(). Get rid of the routine as well as there are no more users.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/c9ca319f0579cd51b07a666683157233c2cf720d"},{"sha":"730abe064b6f8860302b75a689ceed059c08e0b1","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: do error handling at the bottom in __cpufreq_cooling_register()\n\nThis makes life easy and bug free. And is scalable for future resource\nallocations.\n\nAcked-by: Javi Merino <javi.merino@arm.com>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>","distinct":false,"url":"https://api.github.com/repos/dabrace/linux/commits/730abe064b6f8860302b75a689ceed059c08e0b1"}]}