mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Hongyu Xie <xiehongyu1@kylinos.cn>,
	linux@armlinux.org.uk, gregkh@linuxfoundation.org,
	jirislaby@kernel.org, corbet@lwn.net
Cc: oe-kbuild-all@lists.linux.dev, rdunlap@infradead.org,
	linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	xy521521@gmail.com, Hongyu Xie <xiehongyu1@kylinos.cn>
Subject: Re: [PATCH v2 -next] tty: serial: add panic serial helper
Date: Sun, 4 Jun 2023 09:03:24 +0800	[thread overview]
Message-ID: <202306040839.IrnnKYxH-lkp@intel.com> (raw)
In-Reply-To: <20230602011835.582430-1-xiehongyu1@kylinos.cn>

Hi Hongyu,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20230601]

url:    https://github.com/intel-lab-lkp/linux/commits/Hongyu-Xie/tty-serial-add-panic-serial-helper/20230602-092109
base:   next-20230601
patch link:    https://lore.kernel.org/r/20230602011835.582430-1-xiehongyu1%40kylinos.cn
patch subject: [PATCH v2 -next] tty: serial: add panic serial helper
reproduce:
        # https://github.com/intel-lab-lkp/linux/commit/0d2aa58f592716807757b3c92fb62fe7aa4eef66
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Hongyu-Xie/tty-serial-add-panic-serial-helper/20230602-092109
        git checkout 0d2aa58f592716807757b3c92fb62fe7aa4eef66
        make menuconfig
        # enable CONFIG_COMPILE_TEST, CONFIG_WARN_MISSING_DOCUMENTS, CONFIG_WARN_ABI_ERRORS
        make htmldocs

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306040839.IrnnKYxH-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> Documentation/dev-tools/panic_serial_helper.rst:66: WARNING: Unexpected indentation.
>> Documentation/dev-tools/panic_serial_helper.rst:62: WARNING: Inline interpreted text or phrase reference start-string without end-string.
>> Documentation/dev-tools/panic_serial_helper.rst:69: WARNING: Block quote ends without a blank line; unexpected unindent.
>> Documentation/dev-tools/panic_serial_helper.rst:86: WARNING: Enumerated list ends without a blank line; unexpected unindent.
>> Documentation/dev-tools/panic_serial_helper.rst:92: WARNING: Option list ends without a blank line; unexpected unindent.
>> Documentation/dev-tools/panic_serial_helper.rst:130: WARNING: Inconsistent literal block quoting.

vim +66 Documentation/dev-tools/panic_serial_helper.rst

    61	
  > 62	First you need to enable ``CONFIG_PANIC_SERIAL_HELPER`` in your
    63	config. To enable ``CONFIG_PANIC_SERIAL_HELPER`` you should look under
    64	:menuselection:
    65	`Device Drivers
  > 66	  --> Character devices
    67	    --> Enable TTY (TTY [=y])
    68	      --> Serial drivers`
  > 69	and select
    70	:menuselection:`debug through UART after panic`.
    71	
    72	Second, build and update the kernel image. Then wait for panic.
    73	
    74	After panic, you need to do the following,
    75	1. connect the UART side of an USB-to-UART tool to any UART
    76	  port on your device (PC, server, Laptop, etc...).
    77	  Connect the USB side of that tool to another PC. Open
    78	  minicom (or other app) on that PC, and set "/dev/ttyUSB0"(or
    79	  "/dev/ttyUSB1 if there is already another USB-to-UART tool
    80	  connected to your device) with "115200 8N1".
    81	
    82	  It automatically selects the port where you first press the
    83	  "Enter" key (some keyboard labeled this with "Return").
    84	
    85	2. press "Enter" (or "Return") in that
  > 86	  minicom window; you'll get a help menu:
    87	  "
    88	  help:
    89	      -a      show all kernel msg
    90	      -3      show S3 msg
    91	      -4      show S4 msg
  > 92	      -filter-[string]        show msg containing [string]
    93	      -q-     quit
    94	  "
    95	
    96	see ``Help menu options`` for details.
    97	
    98	3. finally, type 'a', '3', '4', 'q' or "filter-xxx" then press
    99	 "Enter" to get what you want.
   100	
   101	Help menu options
   102	-----------------
   103	Available options:
   104	
   105	 - a
   106	
   107	   Show all the messages starting from ``Booting Linux on ...``
   108	
   109	 - 3
   110	
   111	   If STR happened before panic, this will show messages starting from
   112	   ``PM: suspend entry...``
   113	
   114	 - 4
   115	
   116	   If STD happened before panic, this will show messages starting from
   117	   ``PM: hibernation entry...``
   118	
   119	 - filter-[string]
   120	
   121	   Provide case-ignored filter matching. Only show messages that containing
   122	   ``string``. For example, if you're only interesting in message lines
   123	   that containing ``CPU`` or ``cpu``, you just input
   124	   ``filter-CPU`` or ``filter-cpu``.
   125	   Here is an output example for filtering ``CPU``::
   126	
   127	   <6>[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x701f6633
   128	   <6>[    0.000000] Detected PIPT I-cache on CPU0
   129	   <6>[    0.000000] CPU features: detected: Kernel page table isolation (K
 > 130	   ...

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      reply	other threads:[~2023-06-04  1:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-02  1:18 Hongyu Xie
2023-06-04  1:03 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202306040839.IrnnKYxH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=corbet@lwn.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rdunlap@infradead.org \
    --cc=xiehongyu1@kylinos.cn \
    --cc=xy521521@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®