{"head":"2592b18efef25b1018785e2b413303d2f4c35888","size":115,"push_id":46667732,"ref":"refs/heads/xia","commits":[{"sha":"9fbcbd7e1fa9acde67f3516f7aceef2c0d968a7b","author":{"name":"Hillf Danton","email":"74636c4e14be88f42bc2a57784d7913ef47ac9b0@gmail.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/9fbcbd7e1fa9acde67f3516f7aceef2c0d968a7b","message":"MIPS: VPE: Select correct tc\n\nIf we could find tc on the tc list for @index, the found tc should be returned.\n\nSigned-off-by: Hillf Danton <dhillf@gmail.com>\nTo: LKML <linux-kernel@vger.kernel.org>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2692/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"fe0b030cf016ee9a4b0ae4adb0095c46d0e461cc","author":{"name":"Hillf Danton","email":"74636c4e14be88f42bc2a57784d7913ef47ac9b0@gmail.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/fe0b030cf016ee9a4b0ae4adb0095c46d0e461cc","message":"MIPS: i8259: Correct comment for i8259\n\nThe comment for the slave PIC is changed from 8259A-1 to 8259A-2.\n\nSigned-off-by: Hillf Danton <dhillf@gmail.com>\nTo:  LKML <linux-kernel@vger.kernel.org>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2693/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"16650107579aed81e0b0534a60400f9ba911fe9b","author":{"name":"Kevin Cernekee","email":"3105dbb3dd63fbb4f6371cfb04adc6726f76c56b@gmail.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/16650107579aed81e0b0534a60400f9ba911fe9b","message":"MIPS: Trivial style cleanups in mmap.c\n\nFix checkpatch warnings.  Rename arch_get_unmapped_area_foo() to\narch_get_unmapped_area_common().  Make indentations and spacing more\nconsistent.  Add <linux/compiler.h> for likely/unlikely.\n\nSigned-off-by: Kevin Cernekee <cernekee@gmail.com>\nCc: Jian Peng <jipeng2005@gmail.com>\nCc: David Daney <ddaney@caviumnetworks.com>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2506/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"d4001e086babc77f26b599893d803a2b6e46d602","author":{"name":"Jesper Juhl","email":"7323a5431d1c31072983a6a5bf23745b655ddf59@chaosbits.net"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/d4001e086babc77f26b599893d803a2b6e46d602","message":"MIPS: Remove unneeded version.h includes from arch/mips/\n\nIt was pointed out by 'make versioncheck' that some includes of\nlinux/version.h are not needed in arch/mips/.\nThis patch removes them.\n\nSigned-off-by: Jesper Juhl <jj@chaosbits.net>\nTo: LKML <linux-kernel@vger.kernel.org>\nCc: trivial@kernel.org\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2540/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"01f96c0a9922cd9919baf9d16febdf7016177a12","author":{"name":"NeilBrown","email":"1c00aa603bb92d594c03cff60ecf8e63b2a5bcb1@suse.de"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/01f96c0a9922cd9919baf9d16febdf7016177a12","message":"md: Avoid waking up a thread after it has been freed.\n\nTwo related problems:\n\n1/ some error paths call \"md_unregister_thread(mddev->thread)\"\n   without subsequently clearing ->thread.  A subsequent call\n   to mddev_unlock will try to wake the thread, and crash.\n\n2/ Most calls to md_wakeup_thread are protected against the thread\n   disappeared either by:\n      - holding the ->mutex\n      - having an active request, so something else must be keeping\n        the array active.\n   However mddev_unlock calls md_wakeup_thread after dropping the\n   mutex and without any certainty of an active request, so the\n   ->thread could theoretically disappear.\n   So we need a spinlock to provide some protections.\n\nSo change md_unregister_thread to take a pointer to the thread\npointer, and ensure that it always does the required locking, and\nclears the pointer properly.\n\nReported-by: \"Moshe Melnikov\" <moshe@zadarastorage.com>\nSigned-off-by: NeilBrown <neilb@suse.de>\ncc: stable@kernel.org"},{"sha":"20ef5d3a23d5aacb85d0a2808d949e3daf83cd20","author":{"name":"Yoichi Yuasa","email":"6f87ef701b833b283019a5056df824b8a0cf9c06@linux-mips.org"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/20ef5d3a23d5aacb85d0a2808d949e3daf83cd20","message":"MIPS: RC32434: Fix PCI build error\n\narch/mips/pci/pci-rc32434.c: In function 'rc32434_pci_init':\narch/mips/pci/pci-rc32434.c:217:16: error: 'rcrc32434_res_pci_io1' undeclared (first use in this function)\narch/mips/pci/pci-rc32434.c:217:16: note: each undeclared identifier is reported only once for each function it appears in\nmake[1]: *** [arch/mips/pci/pci-rc32434.o] Error 1\n\nThis problem is included in the following commit.\n\n  commit 28f65c11f2ffb3957259dece647a24f8ad2e241b\n  Author: Joe Perches <joe@perches.com>\n  Date:   Thu Jun 9 09:13:32 2011 -0700\n\n      treewide: Convert uses of struct resource to resource_size(ptr)\n\nSigned-off-by: Yoichi Yuasa <yuasa@linux-mips.org>\nCc: linux-mips <linux-mips@linux-mips.org>\nCc: Joe Perches <joe@perches.com>\nPatchwork: https://patchwork.linux-mips.org/patch/2654/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"49de830ad7b94d05f6dbfbae97a03f80169a7462","author":{"name":"Thomas Gleixner","email":"00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/49de830ad7b94d05f6dbfbae97a03f80169a7462","message":"MIPS: Ftrace: Fix the CONFIG_DYNAMIC_FTRACE=n compile\n\narch/mips/kernel/ftrace.c: In function ‘ftrace_get_parent_ra_addr’:\narch/mips/kernel/ftrace.c:212: error: implicit declaration of function ‘in_kernel_space’\narch/mips/kernel/ftrace.c: In function ‘prepare_ftrace_return’:\narch/mips/kernel/ftrace.c:314: error: ‘MCOUNT_OFFSET_INSNS’ undeclared (first use in this function)\narch/mips/kernel/ftrace.c:314: error: (Each undeclared identifier is reported only once\narch/mips/kernel/ftrace.c:314: error: for each function it appears in.)\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nTo: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2634/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"4d85f6afa43d366868fdaa19595722309e4843f6","author":{"name":"Wu Zhangjin","email":"0f93e24a900c64af20f0433e44e890fcc03d0233@gmail.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/4d85f6afa43d366868fdaa19595722309e4843f6","message":"MIPS: Make the die_lock be raw\n\nOn preempt-rt this lock needs to be raw, so it does not get converted\nto a sleeping spinlock. Trying to sleep in a panic is not really\ndesireable.\n\nSigned-off-by: Wu Zhangjin <wuzhangjin@gmail.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2636/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"5a4a4ad851dd8db2d888fb86c8bd946b2ae79f60","author":{"name":"Wu Zhangjin","email":"0f93e24a900c64af20f0433e44e890fcc03d0233@gmail.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/5a4a4ad851dd8db2d888fb86c8bd946b2ae79f60","message":"MIPS: Mark cascade and low level interrupts IRQF_NO_THREAD\n\nMark interrupts with no_action handler, cascade interrupts, low level\ninterrupts (bus error, halt ..) with IRQF_NO_THREAD to exclude them\nfrom forced threading.\n\nSigned-off-by: Wu Zhangjin <wuzhangjin@gmail.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-mips@linux-mips.org\nCc: Wu Zhangjin <wuzhangjin@gmail.com>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"77cbece76723dc9e77497c042827155388bdae6d","author":{"name":"Wu Zhangjin","email":"0f93e24a900c64af20f0433e44e890fcc03d0233@gmail.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/77cbece76723dc9e77497c042827155388bdae6d","message":"MIPS: Loongson: Mark cascade interrupts IRQF_NO_THREAD\n\nThere are two cascade interrupts in Loongson machines, one for bonito\nnorthbridge, another for the 8259A controller in the southbridge. Both\nwant to be non threaded.\n\nSigned-off-by: Wu Zhangjin <wuzhangjin@gmail.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-mips@linux-mips.org\nCc: Wu Zhangjin <wuzhangjin@gmail.com>\nPatchwork: https://patchwork.linux-mips.org/patch/2638/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"5c22cd407574988cc1580108e0df25ee64ea3d59","author":{"name":"Liming Wang","email":"8ebed96d16a71333989ee6ad2e944cd8bce34861@windriver.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/5c22cd407574988cc1580108e0df25ee64ea3d59","message":"MIPS: i8259: Mark cascade interrupt non-threaded\n\nCascade interrupts cannot be threaded.\n\nSigned-off-by: Liming Wang <liming.wang@windriver.com>\nSigned-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>\nCc: Peter Zijlstra <a.p.zijlstra@chello.nl>\nLink: http://lkml.kernel.org/r/1314370804-21266-1-git-send-email-liming.wang@windriver.com\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2770/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"0f462e3c1281fd679b4c626612bfa59eb964bafd","author":{"name":"Thomas Gleixner","email":"00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/0f462e3c1281fd679b4c626612bfa59eb964bafd","message":"MIPS: Allow forced irq threading\n\nAll low level interrupts have been marked NO_THREAD, so MIPS can enjoy\nthe wonderful world of forced threaded interrupt handlers.\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nTo: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2639/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"1f717929e987fc55bb6be02df994945f8edbd46c","author":{"name":"Ralf Baechle","email":"92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/1f717929e987fc55bb6be02df994945f8edbd46c","message":"MIPS: Handle __put_user() sleeping.\n\ndo_signal() does __put_user() which can fault, resulting in a might_sleep()\nwarning in down_read(&mm->mmap_sem) and a \"scheduling while atomic\" warning\nwhen mmap_sem is contented. On Swarm this also results in:\n\nWARNING: at kernel/smp.c:459 smp_call_function_many+0x148/0x398()\nModules linked in:\nCall Trace:\n\n[<ffffffff804b48a4>] dump_stack+0x1c/0x50\n[<ffffffff8013dc94>] warn_slowpath_common+0x8c/0xc8\n[<ffffffff8013dcfc>] warn_slowpath_null+0x2c/0x40\n[<ffffffff801864a0>] smp_call_function_many+0x148/0x398\n[<ffffffff80186748>] smp_call_function+0x58/0xa8\n[<ffffffff80119b5c>] r4k_flush_data_cache_page+0x54/0xd8\n[<ffffffff801f39bc>] handle_pte_fault+0xa9c/0xad0\n[<ffffffff801f40d0>] handle_mm_fault+0x158/0x200\n[<ffffffff80115548>] do_page_fault+0x218/0x3b0\n[<ffffffff80102744>] ret_from_exception+0x0/0x10\n[<ffffffff8010eb18>] copy_siginfo_to_user32+0x50/0x298\n[<ffffffff8010edf0>] setup_rt_frame_32+0x90/0x250\n[<ffffffff80106414>] do_notify_resume+0x154/0x358\n[<ffffffff80102930>] work_notifysig+0xc/0x14\n\nFixed by enabling interrupts in do_notify_resume before delivering signals.\n\n[ralf@linux-mips.org: Reported and original fix by tglx but I wanted to\nminimize the amount of code being run with interrupts disabled so I moved\nthe local_irq_disable() call right into do_notify_resume.  Which is saner\nthan doing it in entry.S.]\n\nReported-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"a705dc7cf4edbf110af19ea55cb5e5d0465adcf4","author":{"name":"Ralf Baechle","email":"92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/a705dc7cf4edbf110af19ea55cb5e5d0465adcf4","message":"MIPS: MSP71xx: Fix build error.\n\n  CC      arch/mips/pmc-sierra/msp71xx/msp_irq.o\n/home/ralf/src/linux/linux-mips/arch/mips/pmc-sierra/msp71xx/msp_irq.c:112:2: error: request for member ‘flags’ in something not a structure or union\n/home/ralf/src/linux/linux-mips/arch/mips/pmc-sierra/msp71xx/msp_irq.c:118:2: error: request for member ‘flags’ in something not a structure or union\nmake[4]: *** [arch/mips/pmc-sierra/msp71xx/msp_irq.o] Error 1\n\ncaused by 57336bc1056798d89714b7fb1b1d197e6bda6819 [MIPS: Mark cascade and\nlow level interrupts IRQF_NO_THREAD].\n\nCommas to separate struct initializers generally are considered useful to\nenhance the compilation experience of the user.\n\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"c78c48827336b8aec2a5afcf249f0d0a7fe16859","author":{"name":"Manuel Lauss","email":"a1f4ff295e0f8cc346fc4937c19496e21c351f53@googlemail.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/c78c48827336b8aec2a5afcf249f0d0a7fe16859","message":"MIPS: Alchemy: Fix typo in MAC0 registration\n\nHarmless typo which prints an error message although MAC0 was registered\nsuccessfully.\n\nSigned-off-by: Manuel Lauss <manuel.lauss@googlemail.com>\nTo: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2672/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"870168a031b3c5b78191d719d375221f01e98e11","author":{"name":"Manuel Lauss","email":"a1f4ff295e0f8cc346fc4937c19496e21c351f53@googlemail.com"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/870168a031b3c5b78191d719d375221f01e98e11","message":"MIPS: Alchemy: Include Au1100 in PM code.\n\nThe current code forgets the Au1100 when looking for the correct method to\nsuspend the chip.\n\nSigned-off-by: Manuel Lauss <manuel.lauss@googlemail.com>\nTo: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2675/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"d954ffe34a606d4ec34cd3c2b0b5974779759f25","author":{"name":"Ralf Baechle","email":"92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/d954ffe34a606d4ec34cd3c2b0b5974779759f25","message":"MIPS: tlbex: Fix build error in R3000 code.\n\nOnly some GCC versions such as gcc 4.2 notice that the variable wr in\nbuild_r3000_tlb_modify_handler is used uninitialized.  When using one\nof those GCCs the build will fail due to -Werror.  GCC 4.6 does not\nwarn about the uninitialized use of wr.\n\nThis issue was introduced by 7211f4d7a3dcbe57c5d396c334dca525315dceb2\n[MIPS: Close races in TLB modify handlers.]\n\nReported-by: Ganesan Ramalingam <ganesan18@gmail.com>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"77fbdb30f045084f1c65b72bd457d7406343aad7","author":{"name":"John Crispin","email":"be6487f9df4dce44a640672d6c07330104d43593@openwrt.org"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/77fbdb30f045084f1c65b72bd457d7406343aad7","message":"MIPS: Lantiq: Fix external interrupt sources\n\nThe irq base offset needs to be ignored when matching irqs to external\ninterrupt pins. Taking the offset into account resulted in the EIU not\nbeing brought up properly.\n\nSigned-off-by: John Crispin <blogic@openwrt.org>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2616/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"0596954681859f1b7b7adfd58fa738c09ed2affa","author":{"name":"John Crispin","email":"be6487f9df4dce44a640672d6c07330104d43593@openwrt.org"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/0596954681859f1b7b7adfd58fa738c09ed2affa","message":"MIPS: Lantiq: Fix setting the PCI bus speed on AR9\n\nThe bits used to set the PCI bus speed on AR9 are slightly different to\nthose used on Danube.\n\nSigned-off-by: John Crispin <blogic@openwrt.org>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2614/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"},{"sha":"b7867f1bfcb76c75d98d35f576fcd9d7759a96fe","author":{"name":"John Crispin","email":"be6487f9df4dce44a640672d6c07330104d43593@openwrt.org"},"url":"https://api.github.com/repos/AltraMayor/XIA-for-Linux/commits/b7867f1bfcb76c75d98d35f576fcd9d7759a96fe","message":"SERIAL: Lantiq: Set timeout in uart_port\n\nWithout this patch apps using readline hang.\n\nSigned-off-by: Thomas Langer <thomas.langer@lantiq.com>\nSigned-off-by: John Crispin <blogic@openwrt.org>\nCc: linux-mips@linux-mips.org\nCc: linux-serial@vger.kernel.org\nPatchwork: https://patchwork.linux-mips.org/patch/2687/\nSigned-off-by: Alan Cox <alan@linux.intel.com>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>"}],"legacy":{"head":"2592b18efef25b1018785e2b413303d2f4c35888","size":115,"push_id":46667732,"shas":[["9fbcbd7e1fa9acde67f3516f7aceef2c0d968a7b","dhillf@gmail.com","MIPS: VPE: Select correct tc\n\nIf we could find tc on the tc list for @index, the found tc should be returned.\n\nSigned-off-by: Hillf Danton <dhillf@gmail.com>\nTo: LKML <linux-kernel@vger.kernel.org>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2692/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Hillf Danton"],["fe0b030cf016ee9a4b0ae4adb0095c46d0e461cc","dhillf@gmail.com","MIPS: i8259: Correct comment for i8259\n\nThe comment for the slave PIC is changed from 8259A-1 to 8259A-2.\n\nSigned-off-by: Hillf Danton <dhillf@gmail.com>\nTo:  LKML <linux-kernel@vger.kernel.org>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2693/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Hillf Danton"],["16650107579aed81e0b0534a60400f9ba911fe9b","cernekee@gmail.com","MIPS: Trivial style cleanups in mmap.c\n\nFix checkpatch warnings.  Rename arch_get_unmapped_area_foo() to\narch_get_unmapped_area_common().  Make indentations and spacing more\nconsistent.  Add <linux/compiler.h> for likely/unlikely.\n\nSigned-off-by: Kevin Cernekee <cernekee@gmail.com>\nCc: Jian Peng <jipeng2005@gmail.com>\nCc: David Daney <ddaney@caviumnetworks.com>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2506/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Kevin Cernekee"],["d4001e086babc77f26b599893d803a2b6e46d602","jj@chaosbits.net","MIPS: Remove unneeded version.h includes from arch/mips/\n\nIt was pointed out by 'make versioncheck' that some includes of\nlinux/version.h are not needed in arch/mips/.\nThis patch removes them.\n\nSigned-off-by: Jesper Juhl <jj@chaosbits.net>\nTo: LKML <linux-kernel@vger.kernel.org>\nCc: trivial@kernel.org\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2540/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Jesper Juhl"],["01f96c0a9922cd9919baf9d16febdf7016177a12","neilb@suse.de","md: Avoid waking up a thread after it has been freed.\n\nTwo related problems:\n\n1/ some error paths call \"md_unregister_thread(mddev->thread)\"\n   without subsequently clearing ->thread.  A subsequent call\n   to mddev_unlock will try to wake the thread, and crash.\n\n2/ Most calls to md_wakeup_thread are protected against the thread\n   disappeared either by:\n      - holding the ->mutex\n      - having an active request, so something else must be keeping\n        the array active.\n   However mddev_unlock calls md_wakeup_thread after dropping the\n   mutex and without any certainty of an active request, so the\n   ->thread could theoretically disappear.\n   So we need a spinlock to provide some protections.\n\nSo change md_unregister_thread to take a pointer to the thread\npointer, and ensure that it always does the required locking, and\nclears the pointer properly.\n\nReported-by: \"Moshe Melnikov\" <moshe@zadarastorage.com>\nSigned-off-by: NeilBrown <neilb@suse.de>\ncc: stable@kernel.org","NeilBrown"],["20ef5d3a23d5aacb85d0a2808d949e3daf83cd20","yuasa@linux-mips.org","MIPS: RC32434: Fix PCI build error\n\narch/mips/pci/pci-rc32434.c: In function 'rc32434_pci_init':\narch/mips/pci/pci-rc32434.c:217:16: error: 'rcrc32434_res_pci_io1' undeclared (first use in this function)\narch/mips/pci/pci-rc32434.c:217:16: note: each undeclared identifier is reported only once for each function it appears in\nmake[1]: *** [arch/mips/pci/pci-rc32434.o] Error 1\n\nThis problem is included in the following commit.\n\n  commit 28f65c11f2ffb3957259dece647a24f8ad2e241b\n  Author: Joe Perches <joe@perches.com>\n  Date:   Thu Jun 9 09:13:32 2011 -0700\n\n      treewide: Convert uses of struct resource to resource_size(ptr)\n\nSigned-off-by: Yoichi Yuasa <yuasa@linux-mips.org>\nCc: linux-mips <linux-mips@linux-mips.org>\nCc: Joe Perches <joe@perches.com>\nPatchwork: https://patchwork.linux-mips.org/patch/2654/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Yoichi Yuasa"],["49de830ad7b94d05f6dbfbae97a03f80169a7462","tglx@linutronix.de","MIPS: Ftrace: Fix the CONFIG_DYNAMIC_FTRACE=n compile\n\narch/mips/kernel/ftrace.c: In function ‘ftrace_get_parent_ra_addr’:\narch/mips/kernel/ftrace.c:212: error: implicit declaration of function ‘in_kernel_space’\narch/mips/kernel/ftrace.c: In function ‘prepare_ftrace_return’:\narch/mips/kernel/ftrace.c:314: error: ‘MCOUNT_OFFSET_INSNS’ undeclared (first use in this function)\narch/mips/kernel/ftrace.c:314: error: (Each undeclared identifier is reported only once\narch/mips/kernel/ftrace.c:314: error: for each function it appears in.)\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nTo: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2634/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Thomas Gleixner"],["4d85f6afa43d366868fdaa19595722309e4843f6","wuzhangjin@gmail.com","MIPS: Make the die_lock be raw\n\nOn preempt-rt this lock needs to be raw, so it does not get converted\nto a sleeping spinlock. Trying to sleep in a panic is not really\ndesireable.\n\nSigned-off-by: Wu Zhangjin <wuzhangjin@gmail.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2636/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Wu Zhangjin"],["5a4a4ad851dd8db2d888fb86c8bd946b2ae79f60","wuzhangjin@gmail.com","MIPS: Mark cascade and low level interrupts IRQF_NO_THREAD\n\nMark interrupts with no_action handler, cascade interrupts, low level\ninterrupts (bus error, halt ..) with IRQF_NO_THREAD to exclude them\nfrom forced threading.\n\nSigned-off-by: Wu Zhangjin <wuzhangjin@gmail.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-mips@linux-mips.org\nCc: Wu Zhangjin <wuzhangjin@gmail.com>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Wu Zhangjin"],["77cbece76723dc9e77497c042827155388bdae6d","wuzhangjin@gmail.com","MIPS: Loongson: Mark cascade interrupts IRQF_NO_THREAD\n\nThere are two cascade interrupts in Loongson machines, one for bonito\nnorthbridge, another for the 8259A controller in the southbridge. Both\nwant to be non threaded.\n\nSigned-off-by: Wu Zhangjin <wuzhangjin@gmail.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-mips@linux-mips.org\nCc: Wu Zhangjin <wuzhangjin@gmail.com>\nPatchwork: https://patchwork.linux-mips.org/patch/2638/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Wu Zhangjin"],["5c22cd407574988cc1580108e0df25ee64ea3d59","liming.wang@windriver.com","MIPS: i8259: Mark cascade interrupt non-threaded\n\nCascade interrupts cannot be threaded.\n\nSigned-off-by: Liming Wang <liming.wang@windriver.com>\nSigned-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>\nCc: Peter Zijlstra <a.p.zijlstra@chello.nl>\nLink: http://lkml.kernel.org/r/1314370804-21266-1-git-send-email-liming.wang@windriver.com\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2770/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Liming Wang"],["0f462e3c1281fd679b4c626612bfa59eb964bafd","tglx@linutronix.de","MIPS: Allow forced irq threading\n\nAll low level interrupts have been marked NO_THREAD, so MIPS can enjoy\nthe wonderful world of forced threaded interrupt handlers.\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nTo: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2639/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Thomas Gleixner"],["1f717929e987fc55bb6be02df994945f8edbd46c","ralf@linux-mips.org","MIPS: Handle __put_user() sleeping.\n\ndo_signal() does __put_user() which can fault, resulting in a might_sleep()\nwarning in down_read(&mm->mmap_sem) and a \"scheduling while atomic\" warning\nwhen mmap_sem is contented. On Swarm this also results in:\n\nWARNING: at kernel/smp.c:459 smp_call_function_many+0x148/0x398()\nModules linked in:\nCall Trace:\n\n[<ffffffff804b48a4>] dump_stack+0x1c/0x50\n[<ffffffff8013dc94>] warn_slowpath_common+0x8c/0xc8\n[<ffffffff8013dcfc>] warn_slowpath_null+0x2c/0x40\n[<ffffffff801864a0>] smp_call_function_many+0x148/0x398\n[<ffffffff80186748>] smp_call_function+0x58/0xa8\n[<ffffffff80119b5c>] r4k_flush_data_cache_page+0x54/0xd8\n[<ffffffff801f39bc>] handle_pte_fault+0xa9c/0xad0\n[<ffffffff801f40d0>] handle_mm_fault+0x158/0x200\n[<ffffffff80115548>] do_page_fault+0x218/0x3b0\n[<ffffffff80102744>] ret_from_exception+0x0/0x10\n[<ffffffff8010eb18>] copy_siginfo_to_user32+0x50/0x298\n[<ffffffff8010edf0>] setup_rt_frame_32+0x90/0x250\n[<ffffffff80106414>] do_notify_resume+0x154/0x358\n[<ffffffff80102930>] work_notifysig+0xc/0x14\n\nFixed by enabling interrupts in do_notify_resume before delivering signals.\n\n[ralf@linux-mips.org: Reported and original fix by tglx but I wanted to\nminimize the amount of code being run with interrupts disabled so I moved\nthe local_irq_disable() call right into do_notify_resume.  Which is saner\nthan doing it in entry.S.]\n\nReported-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Ralf Baechle"],["a705dc7cf4edbf110af19ea55cb5e5d0465adcf4","ralf@linux-mips.org","MIPS: MSP71xx: Fix build error.\n\n  CC      arch/mips/pmc-sierra/msp71xx/msp_irq.o\n/home/ralf/src/linux/linux-mips/arch/mips/pmc-sierra/msp71xx/msp_irq.c:112:2: error: request for member ‘flags’ in something not a structure or union\n/home/ralf/src/linux/linux-mips/arch/mips/pmc-sierra/msp71xx/msp_irq.c:118:2: error: request for member ‘flags’ in something not a structure or union\nmake[4]: *** [arch/mips/pmc-sierra/msp71xx/msp_irq.o] Error 1\n\ncaused by 57336bc1056798d89714b7fb1b1d197e6bda6819 [MIPS: Mark cascade and\nlow level interrupts IRQF_NO_THREAD].\n\nCommas to separate struct initializers generally are considered useful to\nenhance the compilation experience of the user.\n\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Ralf Baechle"],["c78c48827336b8aec2a5afcf249f0d0a7fe16859","manuel.lauss@googlemail.com","MIPS: Alchemy: Fix typo in MAC0 registration\n\nHarmless typo which prints an error message although MAC0 was registered\nsuccessfully.\n\nSigned-off-by: Manuel Lauss <manuel.lauss@googlemail.com>\nTo: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2672/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Manuel Lauss"],["870168a031b3c5b78191d719d375221f01e98e11","manuel.lauss@googlemail.com","MIPS: Alchemy: Include Au1100 in PM code.\n\nThe current code forgets the Au1100 when looking for the correct method to\nsuspend the chip.\n\nSigned-off-by: Manuel Lauss <manuel.lauss@googlemail.com>\nTo: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2675/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Manuel Lauss"],["d954ffe34a606d4ec34cd3c2b0b5974779759f25","ralf@linux-mips.org","MIPS: tlbex: Fix build error in R3000 code.\n\nOnly some GCC versions such as gcc 4.2 notice that the variable wr in\nbuild_r3000_tlb_modify_handler is used uninitialized.  When using one\nof those GCCs the build will fail due to -Werror.  GCC 4.6 does not\nwarn about the uninitialized use of wr.\n\nThis issue was introduced by 7211f4d7a3dcbe57c5d396c334dca525315dceb2\n[MIPS: Close races in TLB modify handlers.]\n\nReported-by: Ganesan Ramalingam <ganesan18@gmail.com>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","Ralf Baechle"],["77fbdb30f045084f1c65b72bd457d7406343aad7","blogic@openwrt.org","MIPS: Lantiq: Fix external interrupt sources\n\nThe irq base offset needs to be ignored when matching irqs to external\ninterrupt pins. Taking the offset into account resulted in the EIU not\nbeing brought up properly.\n\nSigned-off-by: John Crispin <blogic@openwrt.org>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2616/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","John Crispin"],["0596954681859f1b7b7adfd58fa738c09ed2affa","blogic@openwrt.org","MIPS: Lantiq: Fix setting the PCI bus speed on AR9\n\nThe bits used to set the PCI bus speed on AR9 are slightly different to\nthose used on Danube.\n\nSigned-off-by: John Crispin <blogic@openwrt.org>\nCc: linux-mips@linux-mips.org\nPatchwork: https://patchwork.linux-mips.org/patch/2614/\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","John Crispin"],["b7867f1bfcb76c75d98d35f576fcd9d7759a96fe","blogic@openwrt.org","SERIAL: Lantiq: Set timeout in uart_port\n\nWithout this patch apps using readline hang.\n\nSigned-off-by: Thomas Langer <thomas.langer@lantiq.com>\nSigned-off-by: John Crispin <blogic@openwrt.org>\nCc: linux-mips@linux-mips.org\nCc: linux-serial@vger.kernel.org\nPatchwork: https://patchwork.linux-mips.org/patch/2687/\nSigned-off-by: Alan Cox <alan@linux.intel.com>\nSigned-off-by: Ralf Baechle <ralf@linux-mips.org>","John Crispin"]],"ref":"refs/heads/xia"}}