aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-06-01 21:13:53 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-21 15:13:24 +1000
commit72aa080d0970f7757ccf4f3b00096f2f8bbcafde (patch)
tree73d20eaeb238ad44cc36497ebbff25c01f3394d7 /hw/fsp
parent57f2e785155d9b3ea40a845987579131c04302ff (diff)
downloadskiboot-72aa080d0970f7757ccf4f3b00096f2f8bbcafde.zip
skiboot-72aa080d0970f7757ccf4f3b00096f2f8bbcafde.tar.gz
skiboot-72aa080d0970f7757ccf4f3b00096f2f8bbcafde.tar.bz2
FSP/CONSOLE: Do not enable input irq in write path
We use irq for reading input from console, but not in output path. Hence do not enable input irq in write path. Fixes : 583c8203 (fsp/console: Allocate irq for each hvc console) CC: Sam Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Acked-By: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp')
-rw-r--r--hw/fsp/fsp-console.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/fsp/fsp-console.c b/hw/fsp/fsp-console.c
index 49e709b..a855133 100644
--- a/hw/fsp/fsp-console.c
+++ b/hw/fsp/fsp-console.c
@@ -198,7 +198,6 @@ static size_t fsp_write_vserial(struct fsp_serial *fs, const char *buf,
#ifndef DISABLE_CON_PENDING_EVT
opal_update_pending_evt(OPAL_EVENT_CONSOLE_OUTPUT,
OPAL_EVENT_CONSOLE_OUTPUT);
- opal_update_pending_evt(fs->irq, fs->irq);
#endif
return len;
}
@@ -767,12 +766,10 @@ void fsp_console_poll(void *data __unused)
if (!fs->open)
continue;
if (sb->next_out == sb->next_in) {
- opal_update_pending_evt(fs->irq, 0);
continue;
}
if (fs->log_port) {
flush_console();
- opal_update_pending_evt(fs->irq, 0);
} else {
#ifdef OPAL_DEBUG_CONSOLE_POLL
if (debug < 5) {