diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-06 14:11:21 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-12 14:46:18 -0400 |
commit | bda0f5bad812df076a28fa5e58d86dfe68415251 (patch) | |
tree | 221517adf66b504282e484d9d2faaee4efe3602d /arch/tile/kernel/reboot.c | |
parent | 7c29b78a0e0c7df6e0ba0092fee334ddc3086f16 (diff) | |
download | blackbird-op-linux-bda0f5bad812df076a28fa5e58d86dfe68415251.tar.gz blackbird-op-linux-bda0f5bad812df076a28fa5e58d86dfe68415251.zip |
tile: various console improvements
This change improves and cleans up the tile console.
- We enable HVC_IRQ support on tilegx, with the addition of a new
Tilera hypervisor API for tilegx to allow a console IPI. If IPI
support is not available we fall back to the previous polling mode.
- We simplify the earlyprintk code to use CON_BOOT and eliminate some
of the other supporting earlyprintk code.
- A new tile_console_write() primitive is used to send output to
the console and is factored out of the hvc_tile driver.
This lets us support a "sim_console" boot argument to allow using
simulator hooks to send output to the "console" as a slightly
faster alternative to emulating the hardware more directly.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/tile/kernel/reboot.c')
-rw-r--r-- | arch/tile/kernel/reboot.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/tile/kernel/reboot.c b/arch/tile/kernel/reboot.c index d1b5c913ae72..6c5d2c070a12 100644 --- a/arch/tile/kernel/reboot.c +++ b/arch/tile/kernel/reboot.c @@ -27,7 +27,6 @@ void machine_halt(void) { - warn_early_printk(); arch_local_irq_disable_all(); smp_send_stop(); hv_halt(); @@ -35,7 +34,6 @@ void machine_halt(void) void machine_power_off(void) { - warn_early_printk(); arch_local_irq_disable_all(); smp_send_stop(); hv_power_off(); |