{"push_id":2120895527,"size":19,"distinct_size":0,"ref":"refs/heads/korg/torvalds/master","head":"516fb7f2e73dcc303fb97fc3593209fcacf2d982","before":"b39545684a90ef3374abc0969d64c7bc540d128d","commits":[{"sha":"76ce7cfe35ef58f34e6ba85327afb5fbf6c3ff9b","author":{"name":"Pavel Tatashin","email":"6977097c81c2a3eb1080d10a254b04da250d15ac@oracle.com"},"message":"x86/smpboot: Make optimization of delay calibration work correctly\n\nIf the TSC has constant frequency then the delay calibration can be skipped\nwhen it has been calibrated for a package already. This is checked in\ncalibrate_delay_is_known(), but that function is buggy in two aspects:\n\nIt returns 'false' if\n\n  (!tsc_disabled && !cpu_has(&cpu_data(cpu), X86_FEATURE_CONSTANT_TSC)\n\nwhich is obviously the reverse of the intended check and the check for the\nsibling mask cannot work either because the topology links have not been\nset up yet.\n\nCorrect the condition and move the call to set_cpu_sibling_map() before\ninvoking calibrate_delay() so the sibling check works correctly.\n\n[ tglx: Rewrote changelong ]\n\nFixes: c25323c07345 (\"x86/tsc: Use topology functions\")\nSigned-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: peterz@infradead.org\nCc: bob.picco@oracle.com\nCc: steven.sistare@oracle.com\nCc: daniel.m.jordan@oracle.com\nCc: stable@vger.kernel.org\nLink: https://lkml.kernel.org/r/20171028001100.26603-1-pasha.tatashin@oracle.com","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/76ce7cfe35ef58f34e6ba85327afb5fbf6c3ff9b"},{"sha":"881125bfe65bb772f34f4fcb04a35dfe117e186a","author":{"name":"Josh Poimboeuf","email":"e3c4f83d6dbbf85df94c8b24fb0cf20a5e953120@redhat.com"},"message":"x86/unwind: Disable KASAN checking in the ORC unwinder\n\nFengguang reported a KASAN warning:\n\n  Kprobe smoke test: started\n  ==================================================================\n  BUG: KASAN: stack-out-of-bounds in deref_stack_reg+0xb5/0x11a\n  Read of size 8 at addr ffff8800001c7cd8 by task swapper/1\n\n  CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.0-rc8 #26\n  Call Trace:\n   <#DB>\n   ...\n   save_trace+0xd9/0x1d3\n   mark_lock+0x5f7/0xdc3\n   __lock_acquire+0x6b4/0x38ef\n   lock_acquire+0x1a1/0x2aa\n   _raw_spin_lock_irqsave+0x46/0x55\n   kretprobe_table_lock+0x1a/0x42\n   pre_handler_kretprobe+0x3f5/0x521\n   kprobe_int3_handler+0x19c/0x25f\n   do_int3+0x61/0x142\n   int3+0x30/0x60\n  [...]\n\nThe ORC unwinder got confused by some kprobes changes, which isn't\nsurprising since the runtime code no longer matches vmlinux and the\nstack was modified for kretprobes.\n\nUntil we have a way for generated code to register changes with the\nunwinder, these types of warnings are inevitable.  So just disable KASAN\nchecks for stack accesses in the ORC unwinder.\n\nReported-by: Fengguang Wu <fengguang.wu@intel.com>\nSigned-off-by: Josh Poimboeuf <jpoimboe@redhat.com>\nCc: Linus Torvalds <torvalds@linux-foundation.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nLink: http://lkml.kernel.org/r/20171108021934.zbl6unh5hpugybc5@treble\nSigned-off-by: Ingo Molnar <mingo@kernel.org>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/881125bfe65bb772f34f4fcb04a35dfe117e186a"},{"sha":"a743bbeef27b9176987ec0cb7f906ab0ab52d1da","author":{"name":"Borislav Petkov","email":"eb590213a9667d8ba86dc1d7da45a37c724b7836@suse.de"},"message":"x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context\n\nThe warning below says it all:\n\n  BUG: using __this_cpu_read() in preemptible [00000000] code: swapper/0/1\n  caller is __this_cpu_preempt_check\n  CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc8 #4\n  Call Trace:\n   dump_stack\n   check_preemption_disabled\n   ? do_early_param\n   __this_cpu_preempt_check\n   arch_perfmon_init\n   op_nmi_init\n   ? alloc_pci_root_info\n   oprofile_arch_init\n   oprofile_init\n   do_one_initcall\n   ...\n\nThese accessors should not have been used in the first place: it is PPro so\nno mixed silicon revisions and thus it can simply use boot_cpu_data.\n\nReported-by: Fengguang Wu <fengguang.wu@intel.com>\nTested-by: Fengguang Wu <fengguang.wu@intel.com>\nFix-creation-mandated-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Borislav Petkov <bp@suse.de>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: Robert Richter <rric@kernel.org>\nCc: x86@kernel.org\nCc: stable@vger.kernel.org","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/a743bbeef27b9176987ec0cb7f906ab0ab52d1da"},{"sha":"d0cd64b02aa854d68ce517cb7da1fe4e4fff2653","author":{"name":"Yonghong Song","email":"98d525f41db4150172331cbb12213accc29a4f05@fb.com"},"message":"x86/idt: Remove X86_TRAP_BP initialization in idt_setup_traps()\n\nCommit b70543a0b2b6(\"x86/idt: Move regular trap init to tables\") moves\nregular trap init for each trap vector into a table based\ninitialization. It introduced the initialization for vector X86_TRAP_BP\nwhich was not in the code which it replaced. This breaks uprobe\nfunctionality for x86_32; the probed program segfaults instead of handling\nthe probe proper.\n\nThe reason for this is that TRAP_BP is set up as system interrupt gate\n(DPL3) in the early IDT and then replaced by a regular interrupt gate\n(DPL0) in idt_setup_traps(). The DPL0 restriction causes the int3 trap\nto fail with a #GP resulting in a SIGSEGV of the probed program.\n\nOn 64bit this does not cause a problem because the IDT entry is replaced\nwith a system interrupt gate (DPL3) with interrupt stack afterwards.\n\nRemove X86_TRAP_BP from the def_idts table which is used in\nidt_setup_traps(). Remove a redundant entry for X86_TRAP_NMI in def_idts\nwhile at it. Tested on both x86_64 and x86_32.\n\n[ tglx: Amended changelog with a description of the root cause ]\n\nFixes: b70543a0b2b6(\"x86/idt: Move regular trap init to tables\")\nReported-and-tested-by: Yonghong Song <yhs@fb.com>\nSigned-off-by: Yonghong Song <yhs@fb.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: a.p.zijlstra@chello.nl\nCc: ast@fb.com\nCc: oleg@redhat.com\nCc: luto@kernel.org\nCc: kernel-team@fb.com\nLink: https://lkml.kernel.org/r/20171108192845.552709-1-yhs@fb.com","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/d0cd64b02aa854d68ce517cb7da1fe4e4fff2653"},{"sha":"c0f3ea1589394deac2d840c685f57c69e4ac4243","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"stop using '%pK' for /proc/kallsyms pointer values\n\nNot only is it annoying to have one single flag for all pointers, as if\nthat was a global choice and all kernel pointers are the same, but %pK\ncan't get the 'access' vs 'open' time check right anyway.\n\nSo make the /proc/kallsyms pointer value code use logic specific to that\nparticular file.  We do continue to honor kptr_restrict, but the default\n(which is unrestricted) is changed to instead take expected users into\naccount, and restrict access by default.\n\nRight now the only actual expected user is kernel profiling, which has a\nseparate sysctl flag for kernel profile access.  There may be others.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/c0f3ea1589394deac2d840c685f57c69e4ac4243"},{"sha":"b6af53b7d6fa40262c16753fe2781a3e792d5e1b","author":{"name":"Jiri Olsa","email":"6ec5210565a1958bbe93481156e0b0980ef9fac7@redhat.com"},"message":"perf tools: Add \"reject\" option for parse-events.l\n\nArnaldo reported broken builds in some distros using a newer flex\nrelease, 2.6.4, found in Alpine Linux 3.6 and Edge, with flex not\nspotting the REJECT macro:\n\n  CC       /tmp/build/perf/util/parse-events-flex.o\n  util/parse-events.l: In function 'parse_events_lex':\n  /tmp/build/perf/util/parse-events-flex.c:4734:16: error: \\\n  'reject_used_but_not_detected' undeclared (first use in this function)\n\nIt's happening because we put the REJECT under another USER_REJECT macro\nin following commit:\n\n  9445464bb831 perf tools: Unwind properly location after REJECT\n\nFortunately flex provides option for force it to use REJECT, adding it\nto parse-events.l.\n\nReported-by: Arnaldo Carvalho de Melo <acme@kernel.org>\nReported-by: Markus Trippelsdorf <markus@trippelsdorf.de>\nSigned-off-by: Jiri Olsa <jolsa@kernel.org>\nReviewed-by: Andi Kleen <andi@firstfloor.org>\nTested-by: Arnaldo Carvalho de Melo <acme@kernel.org>\nCc: Namhyung Kim <namhyung@kernel.org>\nFixes: 9445464bb831 (\"perf tools: Unwind properly location after REJECT\")\nLink: http://lkml.kernel.org/n/tip-7kdont984mw12ijk7rji6b8p@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/b6af53b7d6fa40262c16753fe2781a3e792d5e1b"},{"sha":"a271bfaf30ce8f7f57c6b65c47bff6d306d0b758","author":{"name":"Jiri Olsa","email":"6ec5210565a1958bbe93481156e0b0980ef9fac7@redhat.com"},"message":"perf tools: Fix eBPF event specification parsing\n\nLooks like I've reached the new level of stupidity, adding missing braces.\n\nCommitter testing:\n\nGiven the following eBPF C filter, that will add a record when it\nreturns true, i.e. when the tv_nsec variable is > 2000ns, should be\nbuilt and installed via sys_bpf(), but fails to do so before this patch:\n\n  # cat filter.c\n  #include <uapi/linux/bpf.h>\n  #define SEC(NAME) __attribute__((section(NAME), used))\n\n  SEC(\"func=hrtimer_nanosleep rqtp->tv_nsec\")\n  int func(void *ctx, int err, long nsec)\n  {\n\t  return nsec > 1000;\n  }\n  char _license[] SEC(\"license\") = \"GPL\";\n  int _version SEC(\"version\") = LINUX_VERSION_CODE;\n  #\n\n  # perf trace -e nanosleep,filter.c usleep 1\n  invalid or unsupported event: 'filter.c'\n  Run 'perf list' for a list of valid events\n\n   Usage: perf trace [<options>] [<command>]\n      or: perf trace [<options>] -- <command> [<options>]\n      or: perf trace record [<options>] [<command>]\n      or: perf trace record [<options>] -- <command> [<options>]\n\n      -e, --event <event>   event/syscall selector. use 'perf list' to list available events\n  #\n\nAnd works again after it is applied, the nothing is inserted when the co\n\n  # perf trace -e *sleep,filter.c usleep 1\n     0.000 ( 0.066 ms): usleep/23994 nanosleep(rqtp: 0x7ffead94a0d0) = 0\n  # perf trace -e *sleep,filter.c usleep 2\n     0.000 ( 0.008 ms): usleep/24378 nanosleep(rqtp: 0x7fffa021ba50) ...\n     0.008 (         ): perf_bpf_probe:func:(ffffffffb410cb30) tv_nsec=2000)\n     0.000 ( 0.066 ms): usleep/24378  ... [continued]: nanosleep()) = 0\n  #\n\nThe intent of 9445464bb831 is kept:\n\n  # perf stat -e 'cpu/uops_executed.core,krava/'  true\n  event syntax error: '..cuted.core,krava/'\n                                    \\___ unknown term\n\n  valid terms: cmask,pc,event,edge,in_tx,any,ldlat,inv,umask,in_tx_cp,offcore_rsp,config,config1,config2,name,period\n  Run 'perf list' for a list of valid events\n\n   Usage: perf stat [<options>] [<command>]\n\n      -e, --event <event>   event selector. use 'perf list' to list available events\n  #\n  # perf stat -e 'cpu/uops_executed.core,period=1/'  true\n\n   Performance counter stats for 'true':\n\n           808,332      cpu/uops_executed.core,period=1/\n\n       0.002997237 seconds time elapsed\n\n  #\n\nReported-by: Arnaldo Carvalho de Melo <acme@kernel.org>\nSigned-off-by: Jiri Olsa <jolsa@kernel.org>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Namhyung Kim <namhyung@kernel.org>\nFixes: 9445464bb831 (\"perf tools: Unwind properly location after REJECT\")\nLink: http://lkml.kernel.org/n/tip-diea0ihbwpxfw6938huv3whj@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/a271bfaf30ce8f7f57c6b65c47bff6d306d0b758"},{"sha":"33974a414ce2324554f75dbd204ff0868f499e32","author":{"name":"Andrei Vagin","email":"94e0a78365855762efb4dc69e66e1b9e1db47c59@openvz.org"},"message":"perf trace: Call machine__exit() at exit\n\nOtherwise 'perf trace' leaves a temporary file /tmp/perf-vdso.so-XXXXXX.\n\n  $ perf trace -o log true\n  $ ls -l /tmp/perf-vdso.*\n  -rw------- 1 root root 8192 Nov  8 03:08 /tmp/perf-vdso.so-5bCpD0\n\nSigned-off-by: Andrei Vagin <avagin@openvz.org>\nReviewed-by: Jiri Olsa <jolsa@redhat.com>\nCc: Alexander Shishkin <alexander.shishkin@linux.intel.com>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Vasily Averin <vvs@virtuozzo.com>\nLink: http://lkml.kernel.org/r/20171108002246.8924-1-avagin@openvz.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/33974a414ce2324554f75dbd204ff0868f499e32"},{"sha":"be739f4b5ddece74ef25e2304b17a7fd24575e9b","author":{"name":"Kirill A. Shutemov","email":"e4d0c2966af3c70025b28e24a0f33104c6291010@linux.intel.com"},"message":"x86/mm: Fix ELF_ET_DYN_BASE for 5-level paging\n\nOn machines with 5-level paging we don't want to allocate mapping above\n47-bit unless user explicitly asked for it. See b569bab78d8d (\"x86/mm:\nPrepare to expose larger address space to userspace\") for details.\n\nc715b72c1ba4 (\"mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base\nchanges\") broke the behaviour. After the commit elf binary and heap got\nmapped above 47-bits.\n\nUse DEFAULT_MAP_WINDOW instead of TASK_SIZE to determine ELF_ET_DYN_BASE so\nit's forced to be below 47-bits unconditionally.\n\nFixes: c715b72c1ba4 (\"mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes\")\nSigned-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nAcked-by: Michal Hocko <mhocko@suse.com>\nCc: Kees Cook <keescook@chromium.org>\nCc: Nicholas Piggin <npiggin@gmail.com>\nCc: linux-mm@kvack.org\nCc: Andrew Morton <akpm@linux-foundation.org>\nLink: https://lkml.kernel.org/r/20171107103804.47341-1-kirill.shutemov@linux.intel.com","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/be739f4b5ddece74ef25e2304b17a7fd24575e9b"},{"sha":"b8347c2196492f4e1cccde3d92fda1cc2cc7de7e","author":{"name":"Alexander Shishkin","email":"a321794cb48f759c1c1c47c64c2a44be24a8a326@linux.intel.com"},"message":"x86/debug: Handle warnings before the notifier chain, to fix KGDB crash\n\nCommit:\n\n  9a93848fe787 (\"x86/debug: Implement __WARN() using UD0\")\n\nturned warnings into UD0, but the fixup code only runs after the\nnotify_die() chain. This is a problem, in particular, with kgdb,\nwhich kicks in as if it was a BUG().\n\nFix this by running the fixup code before the notifier chain in\nthe invalid op handler path.\n\nSigned-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>\nTested-by: Ilya Dryomov <idryomov@gmail.com>\nAcked-by: Daniel Thompson <daniel.thompson@linaro.org>\nAcked-by: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Arjan van de Ven <arjan@linux.intel.com>\nCc: Borislav Petkov <bp@alien8.de>\nCc: Linus Torvalds <torvalds@linux-foundation.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Richard Weinberger <richard.weinberger@gmail.com>\nCc: <stable@vger.kernel.org> # v4.12+\nLink: http://lkml.kernel.org/r/20170724100428.19173-1-alexander.shishkin@linux.intel.com\nSigned-off-by: Ingo Molnar <mingo@kernel.org>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/b8347c2196492f4e1cccde3d92fda1cc2cc7de7e"},{"sha":"529b3ca8323e282485b7c880e4cd26eaba15934f","author":{"name":"Ingo Molnar","email":"90e4d1e8f219066a3d31774bfa42a254ac6b5b82@kernel.org"},"message":"Merge branch 'perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent\n\nPull perf tooling fixes from Arnaldo Carvalho de Melo.\n\nSigned-off-by: Ingo Molnar <mingo@kernel.org>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/529b3ca8323e282485b7c880e4cd26eaba15934f"},{"sha":"505ee76761062a1872b024140e886b7136a6c1d5","author":{"name":"Ingo Molnar","email":"90e4d1e8f219066a3d31774bfa42a254ac6b5b82@kernel.org"},"message":"tooling/headers: Sync the tools/include/uapi/drm/i915_drm.h UAPI header\n\nLast minute upstream update to one of the UAPI headers - sync it with tooling,\nto address this warning:\n\n  Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'\n\nCc: Arnaldo Carvalho de Melo <acme@redhat.com>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: linux-kernel@vger.kernel.org\nSigned-off-by: Ingo Molnar <mingo@kernel.org>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/505ee76761062a1872b024140e886b7136a6c1d5"},{"sha":"69581c74721f40b2e21667197a135120844c03b7","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip\n\nPull perf tool fixes from Thomas Gleixner:\n \"A small set of fixes for perf tool:\n\n   - synchronize the i915 drm header to avoid the 'out of date' warning\n\n   - make sure that perf trace cleans up its temporary files on exit\n\n   - unbreak the build with newer flex versions\n\n   - add missing braces in the eBPF parsing rules\"\n\n* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:\n  tooling/headers: Sync the tools/include/uapi/drm/i915_drm.h UAPI header\n  perf trace: Call machine__exit() at exit\n  perf tools: Fix eBPF event specification parsing\n  perf tools: Add \"reject\" option for parse-events.l","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/69581c74721f40b2e21667197a135120844c03b7"},{"sha":"152bbb43b30ced1b32e9ed6f5ba2ac448de725b6","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip\n\nPull x86 fixes from Thomas Gleixner:\n \"A set of small fixes:\n\n   - make KGDB work again which got broken by the conversion of WARN()\n     to #UD. The WARN fixup needs to run before the notifier callchain,\n     otherwise KGDB tries to handle it and crashes.\n\n   - disable KASAN in the ORC unwinder to prevent false positive KASAN\n     warnings\n\n   - prevent default mapping above 47bit when 5 level page tables are\n     enabled\n\n   - make the delay calibration optimization work correctly, which had\n     the conditionals the wrong way around and was operating on data\n     which was not yet updated.\n\n   - remove the bogus X86_TRAP_BP trap init from the default IDT init\n     table, which broke 32bit int3 handling by overwriting the correct\n     int3 setup.\n\n   - replace this_cpu* with boot_cpu_data access in the preemptible\n     oprofile init code\"\n\n* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:\n  x86/debug: Handle warnings before the notifier chain, to fix KGDB crash\n  x86/mm: Fix ELF_ET_DYN_BASE for 5-level paging\n  x86/idt: Remove X86_TRAP_BP initialization in idt_setup_traps()\n  x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context\n  x86/unwind: Disable KASAN checking in the ORC unwinder\n  x86/smpboot: Make optimization of delay calibration work correctly","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/152bbb43b30ced1b32e9ed6f5ba2ac448de725b6"},{"sha":"bebc6082da0a9f5d47a1ea2edc099bf671058bd4","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Linux 4.14","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/bebc6082da0a9f5d47a1ea2edc099bf671058bd4"},{"sha":"ba1029c9cbc5af834467bf264e58f9d1074735fb","author":{"name":"Randy Dunlap","email":"7b1545df92ec18ff8c05a6b1165712e69bce8bfd@infradead.org"},"message":"modpost: detect modules without a MODULE_LICENSE\n\nPartially revert commit 2fa365682943 (\"kbuild: soften MODULE_LICENSE\ncheck\") so that modpost detects modules that do not have a\nMODULE_LICENSE.\n\nSam's commit also changed the fatal error to a warning, which I am\nleaving as is.\n\nThis gives advance notice of when a module has no license and will taint\nthe kernel if the module is loaded.\n\nThis produces the following warnings on x86_64 allmodconfig:\n\n    MODPOST 6520 modules\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/auxdisplay/img-ascii-lcd.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-ath79.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-iop.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/accel/kxsd9-i2c.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/adc/qcom-vadc-common.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/mtk-vcodec/mtk-vcodec-common.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/soc_camera/soc_scale_crop.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/mtd/nand/denali_pci.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/net/phy/cortina.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/pinctrl/pxa/pinctrl-pxa2xx.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/power/reset/zx-reboot.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/rpmsg/qcom_glink_native.o\n  WARNING: modpost: missing MODULE_LICENSE() in drivers/staging/comedi/drivers/ni_atmio.o\n  WARNING: modpost: missing MODULE_LICENSE() in net/9p/9pnet_xen.o\n  WARNING: modpost: missing MODULE_LICENSE() in sound/soc/codecs/snd-soc-pcm512x-spi.o\n\nSigned-off-by: Randy Dunlap <rdunlap@infradead.org>\nCc: Sam Ravnborg <sam@ravnborg.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/ba1029c9cbc5af834467bf264e58f9d1074735fb"},{"sha":"9d5604101e40c1d9d020384de11f0d68398c8844","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge branch 'kallsyms-restrictions'\n\nMerge /proc/kallsyms pointer value restrictions.\n\nInstead of using %pK, and making it about root access (at the wrong\ntime, no less), make the whole choice of whether to show the actual\npointer value be very explicit to the kallsyms code.\n\nIn particular, we can now default to not doing so, and yet avoid\nannoying kernel profiling by actually looking at whether kernel\nprofiling is allowed or not (by default it is not).\n\nThis is all mostly preparation for the real \"let's stop leaking kernel\naddresses\" work that Tobin Harding is working on.\n\nSmall steps.\n\n* kallsyms-restrictions:\n  stop using '%pK' for /proc/kallsyms pointer values","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/9d5604101e40c1d9d020384de11f0d68398c8844"},{"sha":"277642dcca765a1955d4c753a5a315ff7f2eb09d","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"modules: make sysfs attribute files readable by owner only\n\nThis code goes back to the historical bitkeeper tree commit 3f7b0672086\n(\"Module section offsets in /sys/module\"), where Jonathan Corbet wanted\nto show people how to debug loadable modules.\n\nSee\n\n    https://lwn.net/Articles/88052/\n\nfrom June 2004.\n\nTo expose the required load address information, Jonathan added the\nsections subdirectory for every module in /sys/modules, and made them\nS_IRUGO - readable by everybody.\n\nIt was a more innocent time, plus those S_IRxxx macro names are a lot\nmore confusing than the octal numbers are, so maybe it wasn't even\nintentional.  But here we are, thirteen years later, and I'll just change\nit to S_IRUSR instead.\n\nLet's see if anybody even notices.\n\nCc: Jonathan Corbet <corbet@lwn.net>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/277642dcca765a1955d4c753a5a315ff7f2eb09d"},{"sha":"516fb7f2e73dcc303fb97fc3593209fcacf2d982","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"/proc/module: use the same logic as /proc/kallsyms for address exposure\n\nThe (alleged) users of the module addresses are the same: kernel\nprofiling.\n\nSo just expose the same helper and format macros, and unify the logic.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":false,"url":"https://api.github.com/repos/akhilnarang/kernel_msm-3.18/commits/516fb7f2e73dcc303fb97fc3593209fcacf2d982"}]}
{"actor":{"display_login":"akhilnarang"}}