* drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used
@ 2026-07-31 0:41 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-07-31 0:41 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/Bjorn-Andersson/serial-qcom-geni-Convert-console-to-nbcon/20260730-163336, commit: d6aed29e528f1999fdc9ff58387885e7eb0f5858"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Bjorn Andersson <andersson@kernel.org>
CC: 0day robot <lkp@intel.com>
tree: https://github.com/intel-lab-lkp/linux/commits/Bjorn-Andersson/serial-qcom-geni-Convert-console-to-nbcon/20260730-163336
head: d6aed29e528f1999fdc9ff58387885e7eb0f5858
commit: d6aed29e528f1999fdc9ff58387885e7eb0f5858 serial: qcom-geni: Keep FIFO RX active during console TX
date: 16 hours ago
:::::: branch date: 16 hours ago
:::::: commit date: 16 hours ago
config: arm64-randconfig-003-20260731 (https://download.01.org/0day-ci/archive/20260731/202607310805.sBlErav8-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/202607310805.sBlErav8-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202607310805.sBlErav8-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used [-Wunused-function]
921 | static void qcom_geni_serial_poll_rx_fifo_locked(struct uart_port *uport)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/qcom_geni_serial_poll_rx_fifo_locked +921 drivers/tty/serial/qcom_geni_serial.c
c4f528795d1add Karthikeyan Ramasubramanian 2018-03-14 919
d6aed29e528f19 Bjorn Andersson 2026-07-29 920 /* Caller holds the UART port lock. */
d6aed29e528f19 Bjorn Andersson 2026-07-29 @921 static void qcom_geni_serial_poll_rx_fifo_locked(struct uart_port *uport)
d6aed29e528f19 Bjorn Andersson 2026-07-29 922 {
d6aed29e528f19 Bjorn Andersson 2026-07-29 923 struct qcom_geni_serial_port *port = to_dev_port(uport);
d6aed29e528f19 Bjorn Andersson 2026-07-29 924 struct tty_port *tport = &uport->state->port;
d6aed29e528f19 Bjorn Andersson 2026-07-29 925 u32 s_irq_status;
d6aed29e528f19 Bjorn Andersson 2026-07-29 926 bool drop_rx = false;
d6aed29e528f19 Bjorn Andersson 2026-07-29 927
d6aed29e528f19 Bjorn Andersson 2026-07-29 928 s_irq_status = readl(uport->membase + SE_GENI_S_IRQ_STATUS);
d6aed29e528f19 Bjorn Andersson 2026-07-29 929 writel(s_irq_status, uport->membase + SE_GENI_S_IRQ_CLEAR);
d6aed29e528f19 Bjorn Andersson 2026-07-29 930
d6aed29e528f19 Bjorn Andersson 2026-07-29 931 if (s_irq_status & S_RX_FIFO_WR_ERR_EN) {
d6aed29e528f19 Bjorn Andersson 2026-07-29 932 uport->icount.overrun++;
d6aed29e528f19 Bjorn Andersson 2026-07-29 933 tty_insert_flip_char(tport, 0, TTY_OVERRUN);
d6aed29e528f19 Bjorn Andersson 2026-07-29 934 }
d6aed29e528f19 Bjorn Andersson 2026-07-29 935
d6aed29e528f19 Bjorn Andersson 2026-07-29 936 if (s_irq_status & (S_GP_IRQ_0_EN | S_GP_IRQ_1_EN)) {
d6aed29e528f19 Bjorn Andersson 2026-07-29 937 if (s_irq_status & S_GP_IRQ_0_EN)
d6aed29e528f19 Bjorn Andersson 2026-07-29 938 uport->icount.parity++;
d6aed29e528f19 Bjorn Andersson 2026-07-29 939 drop_rx = true;
d6aed29e528f19 Bjorn Andersson 2026-07-29 940 } else if (s_irq_status & (S_GP_IRQ_2_EN | S_GP_IRQ_3_EN)) {
d6aed29e528f19 Bjorn Andersson 2026-07-29 941 uport->icount.brk++;
d6aed29e528f19 Bjorn Andersson 2026-07-29 942 port->brk = true;
d6aed29e528f19 Bjorn Andersson 2026-07-29 943 }
d6aed29e528f19 Bjorn Andersson 2026-07-29 944
d6aed29e528f19 Bjorn Andersson 2026-07-29 945 qcom_geni_serial_handle_rx_fifo(uport, drop_rx);
d6aed29e528f19 Bjorn Andersson 2026-07-29 946 }
d6aed29e528f19 Bjorn Andersson 2026-07-29 947
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used
@ 2026-09-04 18:07 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-04 18:07 UTC (permalink / raw)
To: Bjorn Andersson; +Cc: oe-kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 986c24e0fe44f844b44d365b71ce831947f50298
commit: 8200871327d1bd4c08daf248a8693a3093982fa4 serial: qcom-geni: Keep FIFO RX active during console TX
date: 5 weeks ago
config: sh-randconfig-r133-20260904 (https://download.01.org/0day-ci/archive/20260905/202609050203.u7Y5yPkc-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.3.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260905/202609050203.u7Y5yPkc-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: 8200871327d1 ("serial: qcom-geni: Keep FIFO RX active during console TX")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609050203.u7Y5yPkc-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used [-Wunused-function]
921 | static void qcom_geni_serial_poll_rx_fifo_locked(struct uart_port *uport)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/qcom_geni_serial_poll_rx_fifo_locked +921 drivers/tty/serial/qcom_geni_serial.c
919
920 /* Caller holds the UART port lock. */
> 921 static void qcom_geni_serial_poll_rx_fifo_locked(struct uart_port *uport)
922 {
923 struct qcom_geni_serial_port *port = to_dev_port(uport);
924 struct tty_port *tport = &uport->state->port;
925 u32 s_irq_status;
926 bool drop_rx = false;
927
928 s_irq_status = readl(uport->membase + SE_GENI_S_IRQ_STATUS);
929 writel(s_irq_status, uport->membase + SE_GENI_S_IRQ_CLEAR);
930
931 if (s_irq_status & S_RX_FIFO_WR_ERR_EN) {
932 uport->icount.overrun++;
933 tty_insert_flip_char(tport, 0, TTY_OVERRUN);
934 }
935
936 if (s_irq_status & (S_GP_IRQ_0_EN | S_GP_IRQ_1_EN)) {
937 if (s_irq_status & S_GP_IRQ_0_EN)
938 uport->icount.parity++;
939 drop_rx = true;
940 } else if (s_irq_status & (S_GP_IRQ_2_EN | S_GP_IRQ_3_EN)) {
941 uport->icount.brk++;
942 port->brk = true;
943 }
944
945 qcom_geni_serial_handle_rx_fifo(uport, drop_rx);
946 }
947
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-04 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 18:07 drivers/tty/serial/qcom_geni_serial.c:921:13: warning: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-07-31 0:41 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.