{"push_id":552203539,"size":935,"distinct_size":935,"ref":"refs/heads/master","head":"40496fcdd8b37fbabc4aedee1e292594ca16d7e6","before":"165fdd254a171bf0a7df81e96ce3aa1cf57b79c5","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":true,"url":"https://api.github.com/repos/michael2012z/myKernel/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":true,"url":"https://api.github.com/repos/michael2012z/myKernel/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":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/f1386fbc2bc9e316c3f58ef9463f03002eb41346"},{"sha":"a2e5d188aad31f7177cbd6d9ddaf8cc9aa4affe0","author":{"email":"1aae5ab9541d66245293c8fc1b9880f5df073631@linaro.org","name":"Anton Vorontsov"},"message":"kdb: Remove currently unused kdbtab_t->cmd_flags\n\nThe struct member is never used in the code, so we can remove it.\n\nWe will introduce real flags soon by renaming cmd_repeat to cmd_flags.\n\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/a2e5d188aad31f7177cbd6d9ddaf8cc9aa4affe0"},{"sha":"15a42a9bc9ffcff4315a7154313db08c6bf9ef11","author":{"email":"1aae5ab9541d66245293c8fc1b9880f5df073631@linaro.org","name":"Anton Vorontsov"},"message":"kdb: Rename kdb_repeat_t to kdb_cmdflags_t, cmd_repeat to cmd_flags\n\nWe're about to add more options for command behaviour, so let's expand\nthe meaning of kdb_repeat_t.\n\nSo far we just do various renames, there should be no functional changes.\n\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/15a42a9bc9ffcff4315a7154313db08c6bf9ef11"},{"sha":"42c884c10b775ce04f8aabe488820134625c893e","author":{"email":"1aae5ab9541d66245293c8fc1b9880f5df073631@linaro.org","name":"Anton Vorontsov"},"message":"kdb: Rename kdb_register_repeat() to kdb_register_flags()\n\nWe're about to add more options for commands behaviour, so let's give\na more generic name to the low-level kdb command registration function.\n\nThere are just various renames, no functional changes.\n\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/42c884c10b775ce04f8aabe488820134625c893e"},{"sha":"04bb171e7aa99dee0c92e772e4f66f8d5c1b4081","author":{"email":"1aae5ab9541d66245293c8fc1b9880f5df073631@linaro.org","name":"Anton Vorontsov"},"message":"kdb: Use KDB_REPEAT_* values as flags\n\nThe actual values of KDB_REPEAT_* enum values and overall logic stayed\nthe same, but we now treat the values as flags.\n\nThis makes it possible to add other flags and combine them, plus makes\nthe code a lot simpler and shorter. But functionality-wise, there should\nbe no changes.\n\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/04bb171e7aa99dee0c92e772e4f66f8d5c1b4081"},{"sha":"e8ab24d9b0173ada3eeed31d7d7f982228efc2c5","author":{"email":"1aae5ab9541d66245293c8fc1b9880f5df073631@linaro.org","name":"Anton Vorontsov"},"message":"kdb: Remove KDB_REPEAT_NONE flag\n\nSince we now treat KDB_REPEAT_* as flags, there is no need to\npass KDB_REPEAT_NONE. It's just the default behaviour when no\nflags are specified.\n\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/e8ab24d9b0173ada3eeed31d7d7f982228efc2c5"},{"sha":"9452e977ac17caf9f98a91b33d5e3c3357258c64","author":{"email":"4421c302a8f2019ff02452a16ddbdd37770f814c@linaro.org","name":"Daniel Thompson"},"message":"kdb: Categorize kdb commands (similar to SysRq categorization)\n\nThis patch introduces several new flags to collect kdb commands into\ngroups (later allowing them to be optionally disabled).\n\nThis follows similar prior art to enable/disable magic sysrq\ncommands.\n\nThe commands have been categorized as follows:\n\nAlways on:  go (w/o args), env, set, help, ?, cpu (w/o args), sr,\n            dmesg, disable_nmi, defcmd, summary, grephelp\nMem read:   md, mdr, mdp, mds, ef, bt (with args), per_cpu\nMem write:  mm\nReg read:   rd\nReg write:  go (with args), rm\nInspect:    bt (w/o args), btp, bta, btc, btt, ps, pid, lsmod\nFlow ctrl:  bp, bl, bph, bc, be, bd, ss\nSignal:     kill\nReboot:     reboot\nAll:        cpu, kgdb, (and all of the above), nmi_console\n\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/9452e977ac17caf9f98a91b33d5e3c3357258c64"},{"sha":"420c2b1b0df84f5956036b5185cc1e11d247817d","author":{"email":"1aae5ab9541d66245293c8fc1b9880f5df073631@linaro.org","name":"Anton Vorontsov"},"message":"kdb: Add enable mask for groups of commands\n\nCurrently all kdb commands are enabled whenever kdb is deployed. This\nmakes it difficult to deploy kdb to help debug certain types of\nsystems.\n\nAndroid phones provide one example; the FIQ debugger found on some\nAndroid devices has a deliberately weak set of commands to allow the\ndebugger to enabled very late in the production cycle.\n\nCertain kiosk environments offer another interesting case where an\nengineer might wish to probe the system state using passive inspection\ncommands without providing sufficient power for a passer by to root it.\n\nWithout any restrictions, obtaining the root rights via KDB is a matter of\na few commands, and works everywhere. For example, log in as a normal\nuser:\n\ncbou:~$ id\nuid=1001(cbou) gid=1001(cbou) groups=1001(cbou)\n\nNow enter KDB (for example via sysrq):\n\nEntering kdb (current=0xffff8800065bc740, pid 920) due to Keyboard Entry\nkdb> ps\n23 sleeping system daemon (state M) processes suppressed,\nuse 'ps A' to see all.\nTask Addr               Pid   Parent [*] cpu State Thread             Command\n0xffff8800065bc740      920      919  1    0   R  0xffff8800065bca20 *bash\n\n0xffff880007078000        1        0  0    0   S  0xffff8800070782e0  init\n[...snip...]\n0xffff8800065be3c0      918        1  0    0   S  0xffff8800065be6a0  getty\n0xffff8800065b9c80      919        1  0    0   S  0xffff8800065b9f60  login\n0xffff8800065bc740      920      919  1    0   R  0xffff8800065bca20 *bash\n\nAll we need is the offset of cred pointers. We can look up the offset in\nthe distro's kernel source, but it is unnecessary. We can just start\ndumping init's task_struct, until we see the process name:\n\nkdb> md 0xffff880007078000\n0xffff880007078000 0000000000000001 ffff88000703c000   ................\n0xffff880007078010 0040210000000002 0000000000000000   .....!@.........\n[...snip...]\n0xffff8800070782b0 ffff8800073e0580 ffff8800073e0580   ..>.......>.....\n0xffff8800070782c0 0000000074696e69 0000000000000000   init............\n\n^ Here, 'init'. Creds are just above it, so the offset is 0x02b0.\n\nNow we set up init's creds for our non-privileged shell:\n\nkdb> mm 0xffff8800065bc740+0x02b0 0xffff8800073e0580\n0xffff8800065bc9f0 = 0xffff8800073e0580\nkdb> mm 0xffff8800065bc740+0x02b8 0xffff8800073e0580\n0xffff8800065bc9f8 = 0xffff8800073e0580\n\nAnd thus gaining the root:\n\nkdb> go\ncbou:~$ id\nuid=0(root) gid=0(root) groups=0(root)\ncbou:~$ bash\nroot:~#\n\np.s. No distro enables kdb by default (although, with a nice KDB-over-KMS\nfeature availability, I would expect at least some would enable it), so\nit's not actually some kind of a major issue.\n\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/420c2b1b0df84f5956036b5185cc1e11d247817d"},{"sha":"b8017177cdfd46b0222b3b74b206780f52f22f3d","author":{"email":"4421c302a8f2019ff02452a16ddbdd37770f814c@linaro.org","name":"Daniel Thompson"},"message":"kdb: Allow access to sensitive commands to be restricted by default\n\nCurrently kiosk mode must be explicitly requested by the bootloader or\nuserspace. It is convenient to be able to change the default value in a\nsimilar manner to CONFIG_MAGIC_SYSRQ_DEFAULT_MASK.\n\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/b8017177cdfd46b0222b3b74b206780f52f22f3d"},{"sha":"a1465d2f396e416a0049332b20fca5977384b9f5","author":{"email":"4421c302a8f2019ff02452a16ddbdd37770f814c@linaro.org","name":"Daniel Thompson"},"message":"kgdb: timeout if secondary CPUs ignore the roundup\n\nCurrently if an active CPU fails to respond to a roundup request the CPU\nthat requested the roundup will become stuck.  This needlessly reduces the\nrobustness of the debugger.\n\nThis patch introduces a timeout allowing the system state to be examined\neven when the system contains unresponsive processors.  It also modifies\nkdb's cpu command to make it censor attempts to switch to unresponsive\nprocessors and to report their state as (D)ead.\n\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nCc: Jason Wessel <jason.wessel@windriver.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/a1465d2f396e416a0049332b20fca5977384b9f5"},{"sha":"0f16996cf2ed7c368dd95b4c517ce572b96a10f5","author":{"email":"3efd2a027b14fd890cd23a9ef6d1134b4e5ad850@skynet.be","name":"Fabian Frederick"},"message":"kernel/debug/debug_core.c: Logging clean-up\n\n-Convert printk( to pr_foo()\n-Add pr_fmt\n-Coalesce formats\n\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andrew Morton <akpm@linux-foundation.org>\nCc: Joe Perches <joe@perches.com>\nSigned-off-by: Fabian Frederick <fabf@skynet.be>\nSigned-off-by: Jason Wessel <jason.wessel@windriver.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/0f16996cf2ed7c368dd95b4c517ce572b96a10f5"},{"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":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/dd59239a9862a42e4b8d47e4aaa8d595d08c29ab"},{"sha":"b6ffbab813cfc535db5c3815b4eb16dd7d97197c","author":{"email":"c2fce4493a16d94b58efb315151c29911fc5d347@amd.com","name":"Oded Gabbay"},"message":"amdkfd: Fix accounting of device queues\n\nThis patch fixes a device QCM bug, where the number of queues were not\ncounted correctly for the operation of update queue. The count was incorrect\nas there was no regard to the previous state of the queue.\n\nSigned-off-by: Oded Gabbay <oded.gabbay@amd.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/b6ffbab813cfc535db5c3815b4eb16dd7d97197c"},{"sha":"8dfead6c2836621bd878626ae841fc55259b2523","author":{"email":"7ad054068e22862b74505c1139ad54a17792b0d9@amd.com","name":"Ben Goz"},"message":"amdkfd: Fixing topology bug in building sysfs nodes\n\nOriginal code sent always 0 as the index number of the node. This patch fixes\nthis bug by sending a variable which is incremented per node.\n\nSigned-off-by: Ben Goz <ben.goz@amd.com>\nReviewed-by: Oded Gabbay <oded.gabbay@amd.com>\nSigned-off-by: Oded Gabbay <oded.gabbay@amd.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/8dfead6c2836621bd878626ae841fc55259b2523"},{"sha":"0cb989c0c6e62f235b14e48604f909085494026b","author":{"email":"c2fce4493a16d94b58efb315151c29911fc5d347@amd.com","name":"Oded Gabbay"},"message":"amdkfd: Remove duplicate include\n\nSigned-off-by: Oded Gabbay <oded.gabbay@amd.com>","distinct":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/0cb989c0c6e62f235b14e48604f909085494026b"},{"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":true,"url":"https://api.github.com/repos/michael2012z/myKernel/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":true,"url":"https://api.github.com/repos/michael2012z/myKernel/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":true,"url":"https://api.github.com/repos/michael2012z/myKernel/commits/bec85d2e0c9f71cab57614ab05057840bb7c422f"}]}