summaryrefslogtreecommitdiffstats
path: root/arch/m68k/mm/hwtest.c
Commit message (Collapse)AuthorAgeFilesLines
* m68k: Reformat arch/m68k/mm/hwtest.cGeert Uytterhoeven2014-10-031-38/+40
| | | | | | No functional changes Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
* m68k: Disable/restore interrupts in hwreg_present()/hwreg_write()Geert Uytterhoeven2014-10-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | hwreg_present() and hwreg_write() temporarily change the VBR register to another vector table. This table contains a valid bus error handler only, all other entries point to arbitrary addresses. If an interrupt comes in while the temporary table is active, the processor will start executing at such an arbitrary address, and the kernel will crash. While most callers run early, before interrupts are enabled, or explicitly disable interrupts, Finn Thain pointed out that macsonic has one callsite that doesn't, causing intermittent boot crashes. There's another unsafe callsite in hilkbd. Fix this for good by disabling and restoring interrupts inside hwreg_present() and hwreg_write(). Explicitly disabling interrupts can be removed from the callsites later. Reported-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: stable@vger.kernel.org
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+85
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
OpenPOWER on IntegriCloud