From: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Instead of LISN i.e "Logical Interrupt Source Number" as per
Xive PAPR document "info pic" prints as LSIN, let's fix it.
Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
---
hw/intc/spapr_xive.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c
index 7faf03b1fb..df3c879826 100644
--- a/hw/intc/spapr_xive.c
+++ b/hw/intc/spapr_xive.c
@@ -141,7 +141,7 @@ void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon)
XiveSource *xsrc = &xive->source;
int i;
- monitor_printf(mon, " LSIN PQ EISN CPU/PRIO EQ\n");
+ monitor_printf(mon, " LISN PQ EISN CPU/PRIO EQ\n");
for (i = 0; i < xive->nr_irqs; i++) {
uint8_t pq = xive_source_esb_get(xsrc, i);
--
2.21.0
On Thu, 9 May 2019 13:37:50 +0530 sathnaga@linux.vnet.ibm.com wrote: > From: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> > > Instead of LISN i.e "Logical Interrupt Source Number" as per > Xive PAPR document "info pic" prints as LSIN, let's fix it. > > Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> > --- Reviewed-by: Greg Kurz <groug@kaod.org> > hw/intc/spapr_xive.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c > index 7faf03b1fb..df3c879826 100644 > --- a/hw/intc/spapr_xive.c > +++ b/hw/intc/spapr_xive.c > @@ -141,7 +141,7 @@ void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon) > XiveSource *xsrc = &xive->source; > int i; > > - monitor_printf(mon, " LSIN PQ EISN CPU/PRIO EQ\n"); > + monitor_printf(mon, " LISN PQ EISN CPU/PRIO EQ\n"); > > for (i = 0; i < xive->nr_irqs; i++) { > uint8_t pq = xive_source_esb_get(xsrc, i);
On 5/9/19 10:07 AM, sathnaga@linux.vnet.ibm.com wrote: > From: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> > > Instead of LISN i.e "Logical Interrupt Source Number" as per > Xive PAPR document "info pic" prints as LSIN, let's fix it. > > Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Thanks, C. > --- > hw/intc/spapr_xive.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c > index 7faf03b1fb..df3c879826 100644 > --- a/hw/intc/spapr_xive.c > +++ b/hw/intc/spapr_xive.c > @@ -141,7 +141,7 @@ void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon) > XiveSource *xsrc = &xive->source; > int i; > > - monitor_printf(mon, " LSIN PQ EISN CPU/PRIO EQ\n"); > + monitor_printf(mon, " LISN PQ EISN CPU/PRIO EQ\n"); > > for (i = 0; i < xive->nr_irqs; i++) { > uint8_t pq = xive_source_esb_get(xsrc, i); >
On Thu, May 09, 2019 at 01:37:50PM +0530, sathnaga@linux.vnet.ibm.com wrote: > From: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> > > Instead of LISN i.e "Logical Interrupt Source Number" as per > Xive PAPR document "info pic" prints as LSIN, let's fix it. > > Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> > --- > hw/intc/spapr_xive.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > CCing qemu-trivial Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Thanks, Stefano
On Thu, May 09, 2019 at 01:37:50PM +0530, sathnaga@linux.vnet.ibm.com wrote: > From: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> > > Instead of LISN i.e "Logical Interrupt Source Number" as per > Xive PAPR document "info pic" prints as LSIN, let's fix it. > > Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> Applied to ppc-for-4.1, thanks. > --- > hw/intc/spapr_xive.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c > index 7faf03b1fb..df3c879826 100644 > --- a/hw/intc/spapr_xive.c > +++ b/hw/intc/spapr_xive.c > @@ -141,7 +141,7 @@ void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon) > XiveSource *xsrc = &xive->source; > int i; > > - monitor_printf(mon, " LSIN PQ EISN CPU/PRIO EQ\n"); > + monitor_printf(mon, " LISN PQ EISN CPU/PRIO EQ\n"); > > for (i = 0; i < xive->nr_irqs; i++) { > uint8_t pq = xive_source_esb_get(xsrc, i); -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
© 2016 - 2024 Red Hat, Inc.