{"push_id":1712715365,"size":120,"distinct_size":2,"ref":"refs/heads/work/hns/video/dss/antitear","head":"21c7b7907e4221200a753a5156f61f24e4642092","before":"a6a6cba0b86bcad0c31d3ea66fdab7d8ae98aad4","commits":[{"sha":"3d016d57fdc5e6caa4cd67896f4b081bccad6e2c","author":{"name":"Takashi Sakamoto","email":"df5cd14c20ca9e9623cd2ae7eba41070ac8353e1@sakamocchi.jp"},"message":"ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d\n\nAt a commit 6c29230e2a5f (\"ALSA: oxfw: delayed registration of sound\ncard\"), ALSA oxfw driver fails to handle SCS.1m/1d, due to -EBUSY at a call\nof snd_card_register(). The cause is that the driver manages to register\ntwo rawmidi instances with the same device number 0. This is a regression\nintroduced since kernel 4.7.\n\nThis commit fixes the regression, by fixing up device property after\ndiscovering stream formats.\n\nFixes: 6c29230e2a5f (\"ALSA: oxfw: delayed registration of sound card\")\nCc: <stable@vger.kernel.org> # 4.7+\nSigned-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>\nSigned-off-by: Takashi Iwai <tiwai@suse.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/3d016d57fdc5e6caa4cd67896f4b081bccad6e2c"},{"sha":"d05d862ead8eca5e7d4ccf82d39d9189579ee5b1","author":{"name":"Arnaud Pouliquen","email":"64edf5b870e636384a63a721119ceb2282045859@st.com"},"message":"ASoC: STI: Fix null ptr deference in IRQ handler\n\nWith RTlinux a race condition has been found that leads to NULL ptr crash:\n- On CPU 0: uni_player_irq_handler is called to treat XRUN\n \"(player->state == UNIPERIF_STATE_STOPPED)\" is FALSE so status is checked,\n dev_err(player->dev, \"FIFO underflow error detected\") is printed\nand then snd_pcm_stream_lock should be called to lock stream for stopping.\n- On CPU 1: application stop and close the stream.\nIssue is that the stop and shutdown functions are executed while\n\"FIFO underflow error detected\" is printed.\nSo when CPU 0 calls snd_pcm_stream_lock, player->substream is already null.\n\nSigned-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>\nSigned-off-by: Mark Brown <broonie@kernel.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/d05d862ead8eca5e7d4ccf82d39d9189579ee5b1"},{"sha":"9eec1c01a073fe1fdba4e50e53bd953d1c59ad00","author":{"name":"Matt Redfearn","email":"c5b62b631b0bb11c9c59278f295d5b8e1a4873c6@imgtec.com"},"message":"MIPS: Malta: Fix i8259 irqchip setup\n\nSince commit 4cfffcfa5106 (\"irqchip/mips-gic: Fix local interrupts\"),\nthe gic driver has been allocating virq's for local interrupts during\nits initialisation. Unfortunately on Malta platforms, these are the\nfirst IRQs to be allocated and so are allocated virqs 1-3. The i8259\ndriver uses a legacy irq domain which expects to map virqs 0-15. Probing\nof that driver therefore fails because some of those virqs are already\ntaken, with the warning:\n\nWARNING: CPU: 0 PID: 0 at kernel/irq/irqdomain.c:344\nirq_domain_associate+0x1e8/0x228\nerror: virq1 is already associated\nModules linked in:\nCPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.10.0-rc6-00011-g4cfffcfa5106 #368\nStack : 00000000 00000000 807ae03a 0000004d 00000000 806c1010 0000000b ffff0a01\n        80725467 807258f4 806a64a4 00000000 00000000 807a9acc 00000100 80713e68\n        806d5598 8017593c 8072bf90 8072bf94 806ac358 00000000 806abb60 80713ce4\n        00000100 801b22d4 806d5598 8017593c 807ae03a 00000000 80713ce4 80720000\n        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000\n        ...\nCall Trace:\n[<8010c480>] show_stack+0x88/0xa4\n[<80376758>] dump_stack+0x88/0xd0\n[<8012c4a8>] __warn+0x104/0x118\n[<8012c4ec>] warn_slowpath_fmt+0x30/0x3c\n[<8017edfc>] irq_domain_associate+0x1e8/0x228\n[<8017efd0>] irq_domain_add_legacy+0x7c/0xb0\n[<80764c50>] __init_i8259_irqs+0x64/0xa0\n[<80764ca4>] i8259_of_init+0x18/0x74\n[<8076ddc0>] of_irq_init+0x19c/0x310\n[<80752dd8>] arch_init_irq+0x28/0x19c\n[<80750a08>] start_kernel+0x2a8/0x434\n\nFix this by reserving the required i8259 virqs in malta platform code\nbefore probing any irq chips.\n\nFixes: 4cfffcfa5106 (\"irqchip/mips-gic: Fix local interrupts\")\nSigned-off-by: Matt Redfearn <matt.redfearn@imgtec.com>\nCc: James Hogan <james.hogan@imgtec.com>\nCc: Paul Burton <paul.burton@imgtec.com>\nCc: linux-mips@linux-mips.org\nCc: linux-kernel@vger.kernel.org\nPatchwork: https://patchwork.linux-mips.org/patch/15919/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/9eec1c01a073fe1fdba4e50e53bd953d1c59ad00"},{"sha":"f2b42866b1bb30c1f62a84f6d829b8789495da95","author":{"name":"Rabin Vincent","email":"434c053c51880d097ff41a5d4f00008a98048ee4@axis.com"},"message":"MIPS: perf: fix deadlock\n\nmipsxx_pmu_handle_shared_irq() calls irq_work_run() while holding the\npmuint_rwlock for read.  irq_work_run() can, via perf_pending_event(),\ncall try_to_wake_up() which can try to take rq->lock.\n\nHowever, perf can also call perf_pmu_enable() (and thus take the\npmuint_rwlock for write) while holding the rq->lock, from\nfinish_task_switch() via perf_event_context_sched_in().\n\nThis leads to an ABBA deadlock:\n\n PID: 3855   TASK: 8f7ce288  CPU: 2   COMMAND: \"process\"\n  #0 [89c39ac8] __delay at 803b5be4\n  #1 [89c39ac8] do_raw_spin_lock at 8008fdcc\n  #2 [89c39af8] try_to_wake_up at 8006e47c\n  #3 [89c39b38] pollwake at 8018eab0\n  #4 [89c39b68] __wake_up_common at 800879f4\n  #5 [89c39b98] __wake_up at 800880e4\n  #6 [89c39bc8] perf_event_wakeup at 8012109c\n  #7 [89c39be8] perf_pending_event at 80121184\n  #8 [89c39c08] irq_work_run_list at 801151f0\n  #9 [89c39c38] irq_work_run at 80115274\n #10 [89c39c50] mipsxx_pmu_handle_shared_irq at 8002cc7c\n\n PID: 1481   TASK: 8eaac6a8  CPU: 3   COMMAND: \"process\"\n  #0 [8de7f900] do_raw_write_lock at 800900e0\n  #1 [8de7f918] perf_event_context_sched_in at 80122310\n  #2 [8de7f938] __perf_event_task_sched_in at 80122608\n  #3 [8de7f958] finish_task_switch at 8006b8a4\n  #4 [8de7f998] __schedule at 805e4dc4\n  #5 [8de7f9f8] schedule at 805e5558\n  #6 [8de7fa10] schedule_hrtimeout_range_clock at 805e9984\n  #7 [8de7fa70] poll_schedule_timeout at 8018e8f8\n  #8 [8de7fa88] do_select at 8018f338\n  #9 [8de7fd88] core_sys_select at 8018f5cc\n #10 [8de7fee0] sys_select at 8018f854\n #11 [8de7ff28] syscall_common at 80028fc8\n\nThe lock seems to be there to protect the hardware counters so there is\nno need to hold it across irq_work_run().\n\nSigned-off-by: Rabin Vincent <rabinv@axis.com>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/f2b42866b1bb30c1f62a84f6d829b8789495da95"},{"sha":"9d7f29cdb4ca53506115cf1d7a02ce6013894df0","author":{"name":"James Hogan","email":"00935fde11ed589f6e5a2cfc70182e355d2baa37@imgtec.com"},"message":"MIPS: cevt-r4k: Fix out-of-bounds array access\n\ncalculate_min_delta() may incorrectly access a 4th element of buf2[]\nwhich only has 3 elements. This may trigger undefined behaviour and has\nbeen reported to cause strange crashes in start_kernel() sometime after\ntimer initialization when built with GCC 5.3, possibly due to\nregister/stack corruption:\n\nsched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns\nCPU 0 Unable to handle kernel paging request at virtual address ffffb0aa, epc == 8067daa8, ra == 8067da84\nOops[#1]:\nCPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.18 #51\ntask: 8065e3e0 task.stack: 80644000\n$ 0   : 00000000 00000001 00000000 00000000\n$ 4   : 8065b4d0 00000000 805d0000 00000010\n$ 8   : 00000010 80321400 fffff000 812de408\n$12   : 00000000 00000000 00000000 ffffffff\n$16   : 00000002 ffffffff 80660000 806a666c\n$20   : 806c0000 00000000 00000000 00000000\n$24   : 00000000 00000010\n$28   : 80644000 80645ed0 00000000 8067da84\nHi    : 00000000\nLo    : 00000000\nepc   : 8067daa8 start_kernel+0x33c/0x500\nra    : 8067da84 start_kernel+0x318/0x500\nStatus: 11000402 KERNEL EXL\nCause : 4080040c (ExcCode 03)\nBadVA : ffffb0aa\nPrId  : 0501992c (MIPS 1004Kc)\nModules linked in:\nProcess swapper/0 (pid: 0, threadinfo=80644000, task=8065e3e0, tls=00000000)\nCall Trace:\n[<8067daa8>] start_kernel+0x33c/0x500\nCode: 24050240  0c0131f9  24849c64 <a200b0a8> 41606020  000000c0  0c1a45e6 00000000  0c1a5f44\n\nUBSAN also detects the same issue:\n\n================================================================\nUBSAN: Undefined behaviour in arch/mips/kernel/cevt-r4k.c:85:41\nload of address 80647e4c with insufficient space\nfor an object of type 'unsigned int'\nCPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.18 #47\nCall Trace:\n[<80028f70>] show_stack+0x88/0xa4\n[<80312654>] dump_stack+0x84/0xc0\n[<8034163c>] ubsan_epilogue+0x14/0x50\n[<803417d8>] __ubsan_handle_type_mismatch+0x160/0x168\n[<8002dab0>] r4k_clockevent_init+0x544/0x764\n[<80684d34>] time_init+0x18/0x90\n[<8067fa5c>] start_kernel+0x2f0/0x500\n=================================================================\n\nbuf2[] is intentionally only 3 elements so that the last element is the\nmedian once 5 samples have been inserted, so explicitly prevent the\npossibility of comparing against the 4th element rather than extending\nthe array.\n\nFixes: 1fa405552e33f2 (\"MIPS: cevt-r4k: Dynamically calculate min_delta_ns\")\nReported-by: Rabin Vincent <rabinv@axis.com>\nSigned-off-by: James Hogan <james.hogan@imgtec.com>\nTested-by: Rabin Vincent <rabinv@axis.com>\nCc: linux-mips@linux-mips.org\nCc: <stable@vger.kernel.org> # 4.7.x-\nPatchwork: https://patchwork.linux-mips.org/patch/15892/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/9d7f29cdb4ca53506115cf1d7a02ce6013894df0"},{"sha":"337b775b6cf5d093295961c1aa6ac76693b5f847","author":{"name":"Marcin Nowakowski","email":"57565c1658913c0e767e9ecd53d9bfec3e408f19@imgtec.com"},"message":"MIPS: generic: fix out-of-tree defconfig target builds\n\nWhen specifying a generic defconfig target with O=... option set, make\nis invoked in the output location before a target makefile wrapper is\ncreated. Ensure that the correct makefile is used by specifying the\nkernel source makefile during make invocation.\n\nThis fixes the either of the following errors:\n\n$ make sead3_defoncifg ARCH=mips O=test\nmake[1]: Entering directory '/mnt/ssd/MIPS/linux-next/test'\nmake[2]: *** No rule to make target '32r2el_defconfig'.  Stop.\narch/mips/Makefile:506: recipe for target 'sead3_defconfig' failed\nmake[1]: *** [sead3_defconfig] Error 2\nmake[1]: Leaving directory '/mnt/ssd/MIPS/linux-next/test'\nMakefile:152: recipe for target 'sub-make' failed\nmake: *** [sub-make] Error 2\n\n$ make 32r2el_defconfig ARCH=mips O=test\nmake[1]: Entering directory '/mnt/ssd/MIPS/linux-next/test'\nUsing ../arch/mips/configs/generic_defconfig as base\nMerging ../arch/mips/configs/generic/32r2.config\nMerging ../arch/mips/configs/generic/el.config\nMerging ../arch/mips/configs/generic/board-sead-3.config\n!\n! merged configuration written to .config (needs make)\n!\nmake[2]: *** No rule to make target 'olddefconfig'.  Stop.\narch/mips/Makefile:489: recipe for target '32r2el_defconfig' failed\nmake[1]: *** [32r2el_defconfig] Error 2\nmake[1]: Leaving directory '/mnt/ssd/MIPS/linux-next/test'\nMakefile:152: recipe for target 'sub-make' failed\nmake: *** [sub-make] Error 2\n\nFixes: eed0eabd12ef ('MIPS: generic: Introduce generic DT-based board support')\nFixes: 3f5f0a4475e1 ('MIPS: generic: Convert SEAD-3 to a generic board')\nSigned-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>\nCc: Paul Burton <paul.burton@imgtec.com>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/15464/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/337b775b6cf5d093295961c1aa6ac76693b5f847"},{"sha":"b6e38b2944f1153199becefb14ae3ee01778863e","author":{"name":"Mousumi Jana","email":"176960f5aecd7f1a3f7de7492a7b2581e8a3d595@intel.com"},"message":"ASoC: topology: Fix to store enum text values\n\nAdd missing enum texts store in soc_enum.\n\nSigned-off-by: Mousumi Jana <mousumix.jana@intel.com>\nSigned-off-by: Pardha Saradhi K <pardha.saradhi.kesapragada@intel.com>\nSigned-off-by: Kranthikumar, GudishaX <gudishax.kranthikumar@intel.com>\nSigned-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>\nAcked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>\nSigned-off-by: Mark Brown <broonie@kernel.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/b6e38b2944f1153199becefb14ae3ee01778863e"},{"sha":"e0211327f068901ce654ba78951c35bc69fdc1de","author":{"name":"James Cowgill","email":"6794965f96a354505e298167ebebb1505d7f0273@imgtec.com"},"message":"MIPS: Fix modversioning of _mcount symbol\n\nIn commit 827456e71036 (\"MIPS: Export _mcount alongside its definition\")\nthe EXPORT_SYMBOL macro exporting _mcount was moved from C code into\nassembly. Unlike C, exported assembly symbols need to have a function\nprototype in asm/asm-prototypes.h for modversions to work properly.\nWithout this, modpost prints out this warning:\n\n     WARNING: EXPORT symbol \"_mcount\" [vmlinux] version generation failed,\n     symbol will not be versioned.\n\nFix by including asm/ftrace.h (where _mcount is declared) in\nasm/asm-prototypes.h.\n\nFixes: 827456e71036 (\"MIPS: Export _mcount alongside its definition\")\nSigned-off-by: James Cowgill <James.Cowgill@imgtec.com>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/15952/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/e0211327f068901ce654ba78951c35bc69fdc1de"},{"sha":"c46f59e90226fa5bfcc83650edebe84ae47d454b","author":{"name":"James Cowgill","email":"6794965f96a354505e298167ebebb1505d7f0273@imgtec.com"},"message":"MIPS: Avoid BUG warning in arch_check_elf\n\narch_check_elf contains a usage of current_cpu_data that will call\nsmp_processor_id() with preemption enabled and therefore triggers a\n\"BUG: using smp_processor_id() in preemptible\" warning when an fpxx\nexecutable is loaded.\n\nAs a follow-up to commit b244614a60ab (\"MIPS: Avoid a BUG warning during\nprctl(PR_SET_FP_MODE, ...)\"), apply the same fix to arch_check_elf by\nusing raw_current_cpu_data instead. The rationale quoted from the previous\ncommit:\n\n\"It is assumed throughout the kernel that if any CPU has an FPU, then\nall CPUs would have an FPU as well, so it is safe to perform the check\nwith preemption enabled - change the code to use raw_ variant of the\ncheck to avoid the warning.\"\n\nFixes: 46490b572544 (\"MIPS: kernel: elf: Improve the overall ABI and FPU mode checks\")\nSigned-off-by: James Cowgill <James.Cowgill@imgtec.com>\nCC: <stable@vger.kernel.org> # 4.0+\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/15951/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/c46f59e90226fa5bfcc83650edebe84ae47d454b"},{"sha":"ec62a3bd84df90a19b7d59d032fa807bbfea7cbb","author":{"name":"Matt Redfearn","email":"c5b62b631b0bb11c9c59278f295d5b8e1a4873c6@imgtec.com"},"message":"MIPS: KASLR: Add missing header files\n\nAfter the split of linux/sched.h, KASLR stopped building.\n\nFix this by including the correct header file for init_thread_union\n\nSigned-off-by: Matt Redfearn <matt.redfearn@imgtec.com>\nCc: James Hogan <james.hogan@imgtec.com>\nCc: Marcin Nowakowski <marcin.nowakowski@imgtec.com>\nCc: Steven J. Hill <Steven.Hill@cavium.com>\nCc: linux-mips@linux-mips.org\nCc: linux-kernel@vger.kernel.org\nPatchwork: https://patchwork.linux-mips.org/patch/15849/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/ec62a3bd84df90a19b7d59d032fa807bbfea7cbb"},{"sha":"bac06cf0fb9dfd79877a4eaa2ec7c09a6b853ffa","author":{"name":"Matt Redfearn","email":"c5b62b631b0bb11c9c59278f295d5b8e1a4873c6@imgtec.com"},"message":"MIPS: smp-cps: Fix potentially uninitialised value of core\n\nTurning on DEBUG in smp-cps.c, or compiling the kernel with\nCONFIG_DYNAMIC_DEBUG enabled results the build error:\n\narch/mips/kernel/smp-cps.c: In function 'play_dead':\n./include/linux/dynamic_debug.h:126:3: error: 'core' may be used\nuninitialized in this function [-Werror=maybe-uninitialized]\n\nFix this by always initialising the variable.\n\nFixes: 0d2808f338c7 (\"MIPS: smp-cps: Add support for CPU hotplug of MIPSr6 processors\")\nSigned-off-by: Matt Redfearn <matt.redfearn@imgtec.com>\nCc: James Hogan <james.hogan@imgtec.com>\nCc: Masahiro Yamada <yamada.masahiro@socionext.com>\nCc: Paul Burton <paul.burton@imgtec.com>\nCc: Ingo Molnar <mingo@kernel.org>\nCc: Andrew Morton <akpm@linux-foundation.org>\nCc: linux-mips@linux-mips.org\nCc: linux-kernel@vger.kernel.org\nPatchwork: https://patchwork.linux-mips.org/patch/15848/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/bac06cf0fb9dfd79877a4eaa2ec7c09a6b853ffa"},{"sha":"162b270c664dca2e0944308e92f9fcc887151a72","author":{"name":"James Hogan","email":"00935fde11ed589f6e5a2cfc70182e355d2baa37@imgtec.com"},"message":"MIPS: KGDB: Use kernel context for sleeping threads\n\nKGDB is a kernel debug stub and it can't be used to debug userland as it\ncan only safely access kernel memory.\n\nOn MIPS however KGDB has always got the register state of sleeping\nprocesses from the userland register context at the beginning of the\nkernel stack. This is meaningless for kernel threads (which never enter\nuserland), and for user threads it prevents the user seeing what it is\ndoing while in the kernel:\n\n(gdb) info threads\n  Id   Target Id         Frame\n  ...\n  3    Thread 2 (kthreadd) 0x0000000000000000 in ?? ()\n  2    Thread 1 (init)   0x000000007705c4b4 in ?? ()\n  1    Thread -2 (shadowCPU0) 0xffffffff8012524c in arch_kgdb_breakpoint () at arch/mips/kernel/kgdb.c:201\n\nGet the register state instead from the (partial) kernel register\ncontext stored in the task's thread_struct for resume() to restore. All\nthreads now correctly appear to be in context_switch():\n\n(gdb) info threads\n  Id   Target Id         Frame\n  ...\n  3    Thread 2 (kthreadd) context_switch (rq=<optimized out>, cookie=..., next=<optimized out>, prev=0x0) at kernel/sched/core.c:2903\n  2    Thread 1 (init)   context_switch (rq=<optimized out>, cookie=..., next=<optimized out>, prev=0x0) at kernel/sched/core.c:2903\n  1    Thread -2 (shadowCPU0) 0xffffffff8012524c in arch_kgdb_breakpoint () at arch/mips/kernel/kgdb.c:201\n\nCall clobbered registers which aren't saved and exception registers\n(BadVAddr & Cause) which can't be easily determined without stack\nunwinding are reported as 0. The PC is taken from the return address,\nsuch that the state presented matches that found immediately after\nreturning from resume().\n\nFixes: 8854700115ec (\"[MIPS] kgdb: add arch support for the kernel's kgdb core\")\nSigned-off-by: James Hogan <james.hogan@imgtec.com>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: linux-mips@linux-mips.org\nCc: stable@vger.kernel.org\nPatchwork: https://patchwork.linux-mips.org/patch/15829/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/162b270c664dca2e0944308e92f9fcc887151a72"},{"sha":"edb0b6a0b4490014924d56c4c7117c7c8fc608ca","author":{"name":"Mathias Kresin","email":"80cd025df02680755871ffc10a22624c746ed388@kresin.me"},"message":"MIPS: PCI: add controllers before the specified head\n\nWith commit 23dac14d058f (\"MIPS: PCI: Use struct list_head lists\") new\ncontrollers are added after the specified head where they where added\nbefore the specified head previously.\n\nUse list_add_tail to restore the former order.\n\nThis patches fixes the following PCI error on lantiq:\n\n  pci 0000:01:00.0: BAR 0: error updating (0x1c000004 != 0x000000)\n\nFixes: 23dac14d058f (\"MIPS: PCI: Use struct list_head lists\")\nSigned-off-by: Mathias Kresin <dev@kresin.me>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/15808/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/edb0b6a0b4490014924d56c4c7117c7c8fc608ca"},{"sha":"4e7655fd4f47c23e5249ea260dc802f909a64611","author":{"name":"Takashi Iwai","email":"dd0a9a4ae370c51e6d7099900a4bf6656524e055@suse.de"},"message":"ALSA: seq: Don't break snd_use_lock_sync() loop by timeout\n\nThe snd_use_lock_sync() (thus its implementation\nsnd_use_lock_sync_helper()) has the 5 seconds timeout to break out of\nthe sync loop.  It was introduced from the beginning, just to be\n\"safer\", in terms of avoiding the stupid bugs.\n\nHowever, as Ben Hutchings suggested, this timeout rather introduces a\npotential leak or use-after-free that was apparently fixed by the\ncommit 2d7d54002e39 (\"ALSA: seq: Fix race during FIFO resize\"):\nfor example, snd_seq_fifo_event_in() -> snd_seq_event_dup() ->\ncopy_from_user() could block for a long time, and snd_use_lock_sync()\ngoes timeout and still leaves the cell at releasing the pool.\n\nFor fixing such a problem, we remove the break by the timeout while\nstill keeping the warning.\n\nSuggested-by: Ben Hutchings <ben.hutchings@codethink.co.uk>\nCc: <stable@vger.kernel.org>\nSigned-off-by: Takashi Iwai <tiwai@suse.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/4e7655fd4f47c23e5249ea260dc802f909a64611"},{"sha":"e7661a8e5ce10b5321882d0bbaf3f81070903319","author":{"name":"Johannes Thumshirn","email":"d9c2033816690d520874e8fc0d5751e487468597@suse.de"},"message":"scsi: return correct blkprep status code in case scsi_init_io() fails.\n\nWhen instrumenting the SCSI layer to run into the\n!blk_rq_nr_phys_segments(rq) case the following warning emitted from the\nblock layer:\n\nblk_peek_request: bad return=-22\n\nThis happens because since commit fd3fc0b4d730 (\"scsi: don't BUG_ON()\nempty DMA transfers\") we return the wrong error value from\nscsi_prep_fn() back to the block layer.\n\n[mkp: silenced checkpatch]\n\nSigned-off-by: Johannes Thumshirn <jthumshirn@suse.de>\nFixes: fd3fc0b4d730 scsi: don't BUG_ON() empty DMA transfers\nCc: <stable@vger.kernel.org>\nReviewed-by: Christoph Hellwig <hch@lst.de>\nReviewed-by: Hannes Reinecke <hare@suse.com>\nReviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/e7661a8e5ce10b5321882d0bbaf3f81070903319"},{"sha":"dfb00a56935186171abb5280b3407c3f910011f1","author":{"name":"Takashi Sakamoto","email":"df5cd14c20ca9e9623cd2ae7eba41070ac8353e1@sakamocchi.jp"},"message":"ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type\n\nAn abstraction of asynchronous transaction for transmission of MIDI\nmessages was introduced in Linux v4.4. Each driver can utilize this\nabstraction to transfer MIDI messages via fixed-length payload of\ntransaction to a certain unit address. Filling payload of the transaction\nis done by callback. In this callback, each driver can return negative\nerror code, however current implementation assigns the return value to\nunsigned variable.\n\nThis commit changes type of the variable to fix the bug.\n\nReported-by: Julia Lawall <Julia.Lawall@lip6.fr>\nCc: <stable@vger.kernel.org> # 4.4+\nFixes: 585d7cba5e1f (\"ALSA: firewire-lib: add helper functions for asynchronous transactions to transfer MIDI messages\")\nSigned-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>\nSigned-off-by: Takashi Iwai <tiwai@suse.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/dfb00a56935186171abb5280b3407c3f910011f1"},{"sha":"34a477e5297cbaa6ecc6e17c042a866e1cbe80d6","author":{"name":"Josh Poimboeuf","email":"e3c4f83d6dbbf85df94c8b24fb0cf20a5e953120@redhat.com"},"message":"ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram\n\nOn x86-32, with CONFIG_FIRMWARE and multiple CPUs, if you enable function\ngraph tracing and then suspend to RAM, it will triple fault and reboot when\nit resumes.\n\nThe first fault happens when booting a secondary CPU:\n\nstartup_32_smp()\n  load_ucode_ap()\n    prepare_ftrace_return()\n      ftrace_graph_is_dead()\n        (accesses 'kill_ftrace_graph')\n\nThe early head_32.S code calls into load_ucode_ap(), which has an an\nftrace hook, so it calls prepare_ftrace_return(), which calls\nftrace_graph_is_dead(), which tries to access the global\n'kill_ftrace_graph' variable with a virtual address, causing a fault\nbecause the CPU is still in real mode.\n\nThe fix is to add a check in prepare_ftrace_return() to make sure it's\nrunning in protected mode before continuing.  The check makes sure the\nstack pointer is a virtual kernel address.  It's a bit of a hack, but\nit's not very intrusive and it works well enough.\n\nFor reference, here are a few other (more difficult) ways this could\nhave potentially been fixed:\n\n- Move startup_32_smp()'s call to load_ucode_ap() down to *after* paging\n  is enabled.  (No idea what that would break.)\n\n- Track down load_ucode_ap()'s entire callee tree and mark all the\n  functions 'notrace'.  (Probably not realistic.)\n\n- Pause graph tracing in ftrace_suspend_notifier_call() or bringup_cpu()\n  or __cpu_up(), and ensure that the pause facility can be queried from\n  real mode.\n\nReported-by: Paul Menzel <pmenzel@molgen.mpg.de>\nSigned-off-by: Josh Poimboeuf <jpoimboe@redhat.com>\nTested-by: Paul Menzel <pmenzel@molgen.mpg.de>\nReviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>\nCc: \"Rafael J . Wysocki\" <rjw@rjwysocki.net>\nCc: linux-acpi@vger.kernel.org\nCc: Borislav Petkov <bp@alien8.de>\nCc: stable@kernel.org\nCc: Len Brown <lenb@kernel.org>\nLink: http://lkml.kernel.org/r/5c1272269a580660703ed2eccf44308e790c7a98.1492123841.git.jpoimboe@redhat.com\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/34a477e5297cbaa6ecc6e17c042a866e1cbe80d6"},{"sha":"6492f09e864417d382e22b922ae30693a7ce2982","author":{"name":"Noam Camus","email":"141f5a0cee0ab640e2b9d5ce9181b66ce679610a@mellanox.com"},"message":"ARC: [plat-eznps] Fix build error\n\nMake ATOMIC_INIT available for all ARC platforms (including plat-eznps)\n\nCc: <stable@vger.kernel.org>\t# 4.9+\nSigned-off-by: Noam Camus <noamca@mellanox.com>\nSigned-off-by: Vineet Gupta <vgupta@synopsys.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/6492f09e864417d382e22b922ae30693a7ce2982"},{"sha":"ca855a5e2679e9e571dfb0e64f4484b36f1992a8","author":{"name":"James Bottomley","email":"c61de33534998ae239ac3bcee9c77ffbb5713c74@HansenPartnership.com"},"message":"Merge remote-tracking branch 'mkp-scsi/4.11/scsi-fixes' into fixes","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/ca855a5e2679e9e571dfb0e64f4484b36f1992a8"},{"sha":"890559e34eac1fb90a4b5916d4a1387376a05d51","author":{"name":"Al Viro","email":"2a537e97523ffee458777df5f34a2f8c9964f945@zeniv.linux.org.uk"},"message":"orangefs_bufmap_copy_from_iovec(): fix EFAULT handling\n\nshort copy here should mean instant EFAULT, not \"move to the\nnext page and hope it fails there, this time with nothing\ncopied\"\n\nSigned-off-by: Al Viro <viro@zeniv.linux.org.uk>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/890559e34eac1fb90a4b5916d4a1387376a05d51"}]}
{"actor":{"display_login":"goldelico"}}