- Oct 01, 2012
-
-
Jonas Gorski authored
b01da9f1 ("MIPS: Prune some target specific code out of prom.c") removed the generic implementation of device_tree_init, breaking the kernel build when manually selecting USE_OF. Hide the config symbol so it can't be selected acidentially anymore. Signed-off-by:
Jonas Gorski <jonas.gorski@gmail.com> Cc: linux-mips@linux-mips.org Cc: David Daney <david.daney@cavium.com> Patchwork: https://patchwork.linux-mips.org/patch/4346/ Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
- Sep 28, 2012
-
-
Ralf Baechle authored
Merge branch 'ralf-3.7' of git://git.linux-mips.org/pub/scm/sjhill/linux-sjhill into mips-for-linux-next
-
Ralf Baechle authored
Merge branch 'rixi-3.7' of git://git.linux-mips.org/pub/scm/sjhill/linux-sjhill into mips-for-linux-next
-
-
-
-
Ralf Baechle authored
Merge branch 'cn6xxx-mgmt' of git://git.linux-mips.org/pub/scm/daney/upstream-daney into mips-for-linux-next
-
Ralf Baechle authored
Merge branch 'cn68xx-ciu2' of git://git.linux-mips.org/pub/scm/daney/upstream-daney into mips-for-linux-next
-
- Sep 27, 2012
-
-
Ralf Baechle authored
Signed-off-by:Ralf Baechle <ralf@linux-mips.org>
-
- Sep 26, 2012
-
-
Ralf Baechle authored
Signed-off-by:Ralf Baechle <ralf@linux-mips.org>
-
- Sep 25, 2012
-
-
Steven J. Hill authored
The MIPSsim platform is no longer supported or used. [ralf@linux-mips.org: Also remove mipssim from arch/mips/Kbuild.platforms and delete arch/mips/include/asm/mach-mipssim/*.] Signed-off-by:
Steven J. Hill <sjhill@mips.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/4350/ Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
- Sep 22, 2012
-
-
Al Viro authored
If it's set, SIGPENDING is also set. And SIGPENDING is present in the masks... Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
Al Viro authored
No need to keep 4 copies of that stuff; merged and taken to entry.S, unused public symbols there killed off. Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
Al Viro authored
Too late to do anything there... Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
- Sep 17, 2012
-
-
Ralf Baechle authored
48d480b0 [[MIPS] Malta: Fix off by one bug in interrupt handler.] did not take in account that irq_ffs() will also return 0 if for some reason the set of pending interrupts happens to be empty. This is trivial to trigger with a RM5261 CPU module running a 64-bit kernel and results in something like the following: CPU 0 Unable to handle kernel paging request at virtual address 0000000000000000, epc == ffffffff801772d0, ra == ffffffff8017ad24 Oops[#1]: Cpu 0 $ 0 : 0000000000000000 ffffffff9000a4e0 ffffffff9000a4e0 ffffffff9000a4e0 $ 4 : ffffffff80592be0 0000000000000000 00000000000000d6 ffffffff80322ed0 $ 8 : ffffffff805fe538 0000000000000000 ffffffff9000a4e0 ffffffff80590000 $12 : 00000000000000d6 0000000000000000 ffffffff80600000 ffffffff805fe538 $16 : 0000000000000000 0000000000000010 ffffffff80592be0 0000000000000010 $20 : 0000000000000000 0000000000500001 0000000000000000 ffffffff8051e078 $24 : 0000000000000028 ffffffff803226e8 $28 : 9800000003828000 980000000382b900 ffffffff8051e060 ffffffff8017ad24 Hi : 0000000000000000 Lo : 0000006388974000 epc : ffffffff801772d0 handle_irq_event_percpu+0x70/0x2f0 Not tainted ra : ffffffff8017ad24 handle_percpu_irq+0x54/0x88 Status: 9000a4e2 KX SX UX KERNEL EXL Cause : 00808008 BadVA : 0000000000000000 PrId : 000028a0 (Nevada) Modules linked in: Process init (pid: 1, threadinfo=9800000003828000, task=9800000003827968, tls=0000000077087490) Stack : ffffffff80592be0 ffffffff8058d248 0000000000000040 0000000000000000 ffffffff80613340 0000000000500001 ffffffff805a0000 0000000000000882 9800000003b89000 ffffffff8017ad24 00000000000000d5 0000000000000010 ffffffff9000a4e1 ffffffff801769f4 ffffffff9000a4e0 ffffffff801037f8 0000000000000000 ffffffff80101c44 0000000000000000 ffffffff9000a4e0 0000000000000000 9000000018000000 90000000180003f9 0000000000000001 0000000000000000 00000000000000ff 0000000000000018 0000000000000001 0000000000000001 00000000003fffff 0000000000000020 ffffffff802cf7ac ffffffff80208918 000000007fdadf08 ffffffff80612d88 ffffffff9000a4e1 0000000000000040 0000000000000000 ffffffff80613340 0000000000500001 ... Call Trace: [<ffffffff801772d0>] handle_irq_event_percpu+0x70/0x2f0 [<ffffffff8017ad24>] handle_percpu_irq+0x54/0x88 [<ffffffff801769f4>] generic_handle_irq+0x44/0x60 [<ffffffff801037f8>] do_IRQ+0x48/0x70 [<ffffffff80101c44>] ret_from_irq+0x0/0x4 [<ffffffff80326170>] serial8250_startup+0x310/0x870 [<ffffffff8032175c>] uart_startup.part.7+0x9c/0x330 [<ffffffff80321b4c>] uart_open+0x15c/0x1b0 [<ffffffff80302034>] tty_open+0x1fc/0x720 [<ffffffff801bffac>] chrdev_open+0x7c/0x180 [<ffffffff801b9ab8>] do_dentry_open.isra.14+0x288/0x390 [<ffffffff801bac5c>] nameidata_to_filp+0x5c/0xc0 [<ffffffff801ca700>] do_last.isra.33+0x330/0x8f0 [<ffffffff801caf3c>] path_openat+0xbc/0x440 [<ffffffff801cb3c8>] do_filp_open+0x38/0xa8 [<ffffffff801bade4>] do_sys_open+0x124/0x218 [<ffffffff80110538>] handle_sys+0x118/0x13c Code: 02d5a825 12800012 02a0b02d <de820000> de850008 0040f809 0220202d 0040a82d 40026000 ---[ end trace 5d8e7b9a86badd2d ]--- Kernel panic - not syncing: Fatal exception in interrupt Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
- Sep 14, 2012
-
-
Maciej W. Rozycki authored
YAMON requires and enforces the RTC Data Mode (Register B, DM bit) to binary, that is the bit is set every time the board goes through the firmware bootstrap sequence. Likewise its calendar manipulation commands interpret or set the RTC registers unconditionally as binary, never actually checking what the value of the DM bit is, under the (correct) assumption that it has been previously set, to indicate the binary mode. A change to Linux a while ago however introduced a platform-specific tweak that clears that bit and therefore forces the data mode to BCD. This causes clock corruption and misinterpretation that has to be fixed up by user-mode tools in system startup scripts as the initial clock is often incorrect according to the BCD interpretation forced. This change removes the hack; a comment included refers to alarm code, but even if it was broken at one point by requiring the BCD mode, it should have been trivially corrected and even if not, given how rarely the alarm feature is used, that was not really a reasonable justification to break the system clock that is indeed used by virtually everything. And either way the alarm code has been since fixed anyway. Signed-off-by:
Maciej W. Rozycki <macro@codesourcery.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/4336/ Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
Steven J. Hill authored
Remove usage of the 'kernel_uses_smartmips_rixi' macro from all files and use new 'cpu_has_rixi' instead. Signed-off-by:
Steven J. Hill <sjhill@mips.com> Acked-by:
David Daney <david.daney@cavium.com>
-
Steven J. Hill authored
Originally both Read Inhibit (RI) and Execute Inhibit (XI) were supported by the TLB only for a SmartMIPS core. The MIPSr3(TM) Architecture now defines an optional feature to implement these TLB bits separately. Support for one or both features can be checked by looking at the Config3.RXI bit. Signed-off-by:
Steven J. Hill <sjhill@mips.com> Acked-by:
David Daney <david.daney@cavium.com>
-
Steven J. Hill authored
The EXT and INS instructions can be used to decrease code size and thus speed up TLB handlers on MIPS32R2 and MIPS64R2 cores. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
These are MIPS32R2 instructions for merging and extracting bit fields from one GPR into another. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
The architecture specification says that an EHB instruction is needed to avoid a hazard when writing TLB entries. However, some cores do not have this hazard, and thus the EHB instruction causes a costly pipeline stall. Detect these cores and do not use the EHB instruction. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
When dealing with multiple VPEs, the count needs to be one-based for correct initialization of the GIC. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
Each platform should define its own 'gic_finish_irq' function. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
Add support to use an external interrupt controller with the GIC. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
Fix whitespace, beautify the code and remove debug statements. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
The GIC interrupt code is used by multiple platforms and the current code was half Malta dependent code. These changes abstract away the platform specific differences. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
Change MIPS configuration files to add the SEAD-3. Also add new default configuration file for a SEAD-3 kernel. Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
More information about the SEAD-3 platform can be found at <http://www.mips.com/products/development-kits/mips-sead-3/ > on MTI's site. Currently, the M14K family of cores is what the SEAD-3 is utilised with. Signed-off-by:
Douglas Leung <douglas@mips.com> Signed-off-by:
Chris Dearman <chris@mips.com> Signed-off-by:
Steven J. Hill <sjhill@mips.com>
-
Steven J. Hill authored
Signed-off-by:Steven J. Hill <sjhill@mips.com>
-
- Sep 13, 2012
-
-
John Crispin authored
The driver was using a 16 bit field for storing the shadow value of the shift register cascade. This resulted in only the first 2 shift registeres receiving the correct data. The third shift register would always receive 0x00. Fix this by using a 32bit field for the shadow value. Signed-off-by:John Crispin <blogic@openwrt.org> Cc: linux-kernel@vger.kernel.org
-
John Crispin authored
The gpio_chip struct allows us to set a .to_irq callback. Once this is set we can rely on the generic __gpio_to_irq() function to map gpio->irq allowing more than one gpio_chip to register an interrupt Signed-off-by:John Crispin <blogic@openwrt.org>
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> Signed-off-by:
Thomas Langer <thomas.langer@lantiq.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org
-
John Crispin authored
Implement support for pinctrl on lantiq/falcon socs. The FALCON has 5 banks of up to 32 pins. Signed-off-by:
John Crispin <blogic@openwrt.org> Signed-off-by:
Thomas Langer <thomas.langer@lantiq.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org
-
John Crispin authored
Implement support for pinctrl on lantiq/xway socs. The IO core found on these socs has the registers for pinctrl, pinconf and gpio mixed up in the same register range. As the gpio_chip handling is only a few lines, the driver also implements the gpio functionality. This obseletes the old gpio driver that was located in the arch/ folder. Signed-off-by:
John Crispin <blogic@openwrt.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org
-
- Sep 01, 2012
-
-
David Daney authored
No code changes. Recent patches have used the netdev style multi-line comment formatting, making the style inconsistent within octeon_mgmt.c Update the remaining comment blocks to achieve style harmony. Signed-off-by:
David Daney <david.daney@cavium.com> Acked-by:
David S. Miller <davem@davemloft.net>
-
David Daney authored
Signed-off-by:
David Daney <david.daney@cavium.com> Acked-by:
David S. Miller <davem@davemloft.net>
-
David Daney authored
Use eth_mac_addr(), and generate a random address if none is otherwise assigned. Signed-off-by:
David Daney <david.daney@cavium.com> Acked-by:
David S. Miller <davem@davemloft.net>
-
David Daney authored
This establishes useful links in sysfs. Signed-off-by:
David Daney <david.daney@cavium.com> Acked-by:
David S. Miller <davem@davemloft.net>
-