Commit Graph

859 Commits

Author SHA1 Message Date
Thomas Huth c4d03cf1a9 Fix typos in the board-js2x folder
Found with the "codespell" utility. I kept "busses" which codespell
also complains about since it seems to be an old but still valid
plural of the word "bus".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2023-03-28 18:48:58 +11:00
Alexey Kardashevskiy 1671c1847b Remove ?PICK
The word is not used and the name does not reflect well what it does.

Suggested-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2023-02-28 16:50:18 +11:00
Thomas Huth 6fdb5a4933 Fix typos in the slof folder
Found with the "codespell" utility. I kept "busses" which codespell
also complains about since it seems to be an old but still valid
plural of the word "bus".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2023-02-28 16:21:38 +11:00
Thomas Huth 9604efb183 Fix typos in the remaining lib folders
Found with the "codespell" utility.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2023-02-28 16:12:57 +11:00
Thomas Huth ac9eac3875 Fix typos in the lib/libnet folder
Found with the "codespell" utility.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2023-02-28 16:08:50 +11:00
Thomas Huth 9bbdd35a27 Fix typos in the board-qemu folder
Found with the "codespell" utility.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2023-02-28 15:23:05 +11:00
Thomas Huth e77d7f9c78 lib/libnet/ipv6: Silence compiler warning from Clang
When compiling the libnet code with Clang (e.g. for the s390-ccw bios),
it complains with the following warning:

 ipv6.c:447:18: warning: variable length array folded to constant array
  as an extension [-Wgnu-folding-constant]
                unsigned short raw[ip6size];
                               ^
The warning is completely harmless, of course. Anyway let's rewrite the
code a little bit to make the compiler silent again.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2023-02-28 15:23:05 +11:00
Alexey Kardashevskiy 6b6c16b4b4 version: update to 20220719
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2022-07-19 14:19:29 +10:00
Jordan Niethe b3f699c06a OF: Add a separate direct kernel loading word
Currently, go-64 is used for booting a kernel from qemu (i.e. -kernel).
However, there is an expectation from users that this should be able to
boot not just vmlinux kernels but things like Zimages too.

The bootwrapper of a BE zImage is a 32-bit ELF. Attempting to load that
with go-64 means that it will be ran with MSR_SF set (64-bit mode). This
crashes early in boot (usually due to what should be 32-bit operations
being done with 64-bit registers eventually leading to an incorrect
address being generated and branched to).

Note that our 64-bit payloads are prepared to enter with MSR_SF cleared
and set it themselves very early.

Add a new word named go-direct that will execute any simple payload
in-place and will enter with MSR_SF cleared. This allows booting a BE
zImage from qemu with -machine kernel-addr=0.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2022-07-19 12:54:08 +10:00
Alexey Kardashevskiy 5b4c5acdcd version: update to 20220110
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2022-01-10 14:55:53 +11:00
Cédric Le Goater afea220911 make.rules: Compile SLOF for power5
By default, SLOF would implement the cpu_to_le64() helper with
the 'stdbrx' instruction which is invalid under POWER5+ and 970
CPUs. This breaks the QEMU pseries machine with such CPUs when
virtio or USB devices or in use.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2022-01-06 22:04:59 +11:00
Alexey Kardashevskiy a6906b024c version: update to 20211112
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-11-12 18:12:57 +11:00
Thomas Huth 81d932ca1f Silence some trivial compiler warning in the js2x code
We enabled additional compiler warnings in commit 26d8ba1703, but
so far we did not address the additional warnings in the js2x code
yet. This patch fixes at least some of the trivial warnings there.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-06 13:27:09 +11:00
Alexey Kardashevskiy 0705a5cc1d js2x: Fix compile and cleanup
This moves shared symbols out from the header file and leaves only
the minimum in bmc.h.

This fixes a "while (...); {" bug spotted by the modern gcc.

This fixes cleanup as otherwise the board-js2x/Makefile's "clean" tries
cleaning "rtas" which tries cleaning all libs (not just the ones it uses)
and that in turn triggers generation of lib/libtpm/Makefile.dep which
fails due to missing ./board-js2x/include/version.h.

This fixes create_reloc_table.sh to build with newer toolchains which
otherwise fail with:

ld: cannot use executable file 'reloc_table.o' as input to a link

This adds js2x compile to the travis script to know when it breaks
again.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:19:58 +10:00
Thomas Huth 6903c037a6 travis.yml: Compile-test the qemu build
Since we're already using Travis for some testing, we should also
compile-test the sources with the pre-installed Advanced Toolchain
compiler there.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:09:29 +10:00
Thomas Huth 63cbd7fad2 travis.yml: Update to Focal Fossa
It's better to use a newer version of the compiler which might catch
more issues in the code.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:09:29 +10:00
Thomas Huth ec26dfb038 travis.yml: Fix keywords
All the documentation on travis-ci.com talks about "jobs:" instead of
"matrix:" these days, so let's also use this keywords now. Also fix
a typo in "inlcude" - it's weird that Travis did not complain about
this, but it's certainly better to have this fixed.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:09:29 +10:00
Stefan Berger bb9536fc0d tcgbios: Disable platform hierarchy in case of failure
In the rare case of a TPM 2 failure, disable the platform hierarchy after
disabling the endorsement and owner hierarchies.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:09:29 +10:00
Thomas Huth 63d2f38ab6 lib/libc/README.txt: Fix "cannel" typo
It should be "channel" instead of "cannel", obviously.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:09:29 +10:00
Thomas Huth e716481498 Fix the URL to the Linux kernel coding style
It has been moved to a new location in the Linux git repository
quite a while ago already.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:09:29 +10:00
Thomas Huth 749e6157b3 slof/fs/accept: Replace TABs with spaces
SLOF coding style is to use spaces in Forth code, not TABs, and the TAB
in the (accept) function breaks the right indentation in my editor, so
let's replace the TABs in this file with spaces now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:09:29 +10:00
Thomas Huth e00f75675d Mention the CR vs. LF problem in the documentation
Let's hope that this will help to avoid that people run into the same
problem again in the future. At least we've got some lines of documentation
this way where we can point people to who try to use "nc" in the wrong way.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:09:29 +10:00
Alexey Kardashevskiy 0041d1a460 Revert "make: Define default rule for .c when V=1 or V=2"
This reverts commit 283d88c46c as:
- it wrongly assumes the default V=0 (V=1 is the default);
- the new rule broke js2x;
- does not really solve the original problem of printing partial
filenames in gcc error messages.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-10-01 14:07:36 +10:00
Alexey Kardashevskiy dd0dcaa1c1 version: update to 20210711
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-11 23:50:05 +10:00
Stefan Berger 6e22ba8494 Travis: Add script for running tests on Travis
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-11 23:46:49 +10:00
Stefan Berger 62e0d41534 tcgbios: Add test cases and test script to run them
Add test cases for sha1, sha256, sha384, and sha512 and a test script
to run the test cases.

The tests are passing on little and big endian machines (Fedora 28).

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-11 23:46:49 +10:00
Stefan Berger 89509533ac tcgbios: Use The proper sha function for each PCR bank
Instead of just using sha256 for all PCR banks (and truncating
the value or zero-padding it) use the proper hash function for
each one of the banks. For unimplemented hashes, fill the buffer
with 0xff.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-11 23:46:49 +10:00
Stefan Berger e1362035a2 tcgbios: Use assembly for 32 bit rotr in sha256
Use assembly for the 32 bit rotr in the sha256 implementation
similar to the assembly used in the sha1 and sha512 implementations.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-11 23:46:49 +10:00
Stefan Berger cc4c4cb3c1 tcgbios: Change format of S_CRTM_VERSION string to ucs-2
Change the format of the S_CRTM_VERSION string to ucs-2 since this
is what seems to be commonly used by other firmwares following
insight from a TCG work group member.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-11 23:44:02 +10:00
Stefan Berger 6c0fcd9f30 tpm: Add firmware API call 2HASH-EXT-LOG
Add a new firmware API call with the name 2HASH-EXT-LOG that will be used
by trusted grub for measuring, logging, and extending TPM PCRs.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-11 23:32:28 +10:00
Stefan Berger 52dcdb5421 tcgbios: Add implementations for sha1, sha384, and sha512
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-09 15:37:28 +10:00
Stefan Berger 064a999a23 tcgbios: Fix a typo in the sha256 algo description
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-07-09 15:35:56 +10:00
Alexey Kardashevskiy 286073fac6 tcgbios: Fix warnings
This fixes gcc warnings from -Waddress-of-packed-member and -Wzero-length-bounds.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
---

tpm_drivers.c: In function ‘spapr_send_crq_and_wait’:
tpm_drivers.c:153:2: warning: converting a packed ‘struct crq’ pointer (alignment 1) to a ‘uint64_t’ {aka ‘long long unsigned int’} pointer alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member]
  153 |  rc = hv_send_crq(unit, (uint64_t *)crq);
      |  ^~
tpm_drivers.c:34:8: note: defined here
   34 | struct crq {
      |        ^~~
tpm_drivers.c: In function ‘spapr_vtpm_senddata’:
tpm_drivers.c:346:2: warning: converting a packed ‘struct crq’ pointer (alignment 1) to a ‘uint64_t’ {aka ‘long long unsigned int’} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member]
  346 |  rc = hv_send_crq(spapr_vtpm.unit, (uint64_t *)&crq);
      |  ^~
tpm_drivers.c:34:8: note: defined here
   34 | struct crq {
      |        ^~~
        [CC]    common-libs
        [CC]    common-libs
tcgbios.c: In function ‘tpm20_write_EfiSpecIdEventStruct’:
tcgbios.c:708:24: warning: array subscript ‘numAlgs’ is outside the bounds of an interior zero-length array ‘struct TCG_EfiSpecIdEventAlgorithmSize[0]’ [-Wzero-length-bounds]
  708 |   event.hdr.digestSizes[numAlgs].algorithmId =
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from tpm_drivers.h:20,
                 from tcgbios.c:27:
tcgbios_int.h:92:4: note: while referencing ‘digestSizes’
   92 |  } digestSizes[0];
      |    ^~~~~~~~~~~
tcgbios.c:710:24: warning: array subscript ‘numAlgs’ is outside the bounds of an interior zero-length array ‘struct TCG_EfiSpecIdEventAlgorithmSize[0]’ [-Wzero-length-bounds]
  710 |   event.hdr.digestSizes[numAlgs].digestSize = cpu_to_log16(hsize);
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from tpm_drivers.h:20,
                 from tcgbios.c:27:
tcgbios_int.h:92:4: note: while referencing ‘digestSizes’
   92 |  } digestSizes[0];
      |    ^~~~~~~~~~~
2021-07-09 13:57:40 +10:00
Thomas Huth 1768e27885 Fix bad header guard in version.h
The #define in version.h does not match the #ifndef in the line before
due to a typo in the suffix ("_F" instead of "_H"). Fix it, and while
we're at it, also remove the underscore at the beginning to avoid that
we're using an identifier here that is reserved by the C standard.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-06-15 16:27:41 +10:00
Stefan Berger e25b1d6f49 tcgbios: Fix details in log entries
Fix two details of the logs:

- Set the filed SpecErrata to 2 as required by specs.
- Write the separator into the log entry's event field.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-06-15 16:26:23 +10:00
Alexey Kardashevskiy 33a7322de1 version: update to 20210217
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-17 15:54:18 +11:00
Alexey Kardashevskiy 2b37b609d2 Makefile: Actually compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

The only exception is -Wno-unused-parameter, one thing at the time.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:29 +11:00
Alexey Kardashevskiy a9c62cc7e9 slof/prim: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:18 +11:00
Alexey Kardashevskiy 1d1615b7b7 libtpm: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Note this adds MIN() in tpm_gpt_set_lba1() so it may potentially fail
which is unlikely as the length comes from disk-label's block-size which
is used in other places.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:16 +11:00
Alexey Kardashevskiy 09b2011014 libnvram: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:16 +11:00
Alexey Kardashevskiy 73cb04d7df libhv: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:16 +11:00
Alexey Kardashevskiy 071a09ef07 libnet: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

This also fixes unused parameters warning by passing meaningful value and
doing sanity checks.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Changes:
v2:
* updated commit log about using AF_INET/etc
* replaced cast to int with size_t in pxelinux_load_cfg
* added (alen == 0) in ping()
2021-02-12 13:46:16 +11:00
Alexey Kardashevskiy e244301a31 e1000: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:16 +11:00
Alexey Kardashevskiy c79e3375e6 virtio: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:16 +11:00
Alexey Kardashevskiy 7ef3ec384d veth: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:12 +11:00
Alexey Kardashevskiy ae74d106ea usb: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes with
one exception of -Wunused-parameter - this fixes it for debug macros only
and leave the rest for the future as more functional change is needed.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Changes:
v2:
* updated debug macros to fix -Wunused-parameter

---

These are not fixed:
 ====== Building common libraries ======
        [CC]    usb-core.o
        [CC]    usb-ohci.o
        [CC]    usb-hid.o
        [CC]    usb-xhci.o
/home/aik/p/slof/lib/libusb/usb-core.c: In function ‘usb_set_address’:
/home/aik/p/slof/lib/libusb/usb-core.c:244:58: warning: unused parameter ‘port’ [-Wunused-parameter]
 static int usb_set_address(struct usb_dev *dev, uint32_t port)
                                                          ^~~~
/home/aik/p/slof/lib/libusb/usb-xhci.c: In function ‘xhci_send_enable_slot’:
/home/aik/p/slof/lib/libusb/usb-xhci.c:353:67: warning: unused parameter ‘port’ [-Wunused-parameter]
 static void xhci_send_enable_slot(struct xhci_hcd *xhcd, uint32_t port)
                                                                   ^~~~
/home/aik/p/slof/lib/libusb/usb-ohci.c: In function ‘ohci_dump_regs’:
/home/aik/p/slof/lib/libusb/usb-ohci.c:42:46: warning: unused parameter ‘regs’ [-Wunused-parameter]
 static void ohci_dump_regs(struct ohci_regs *regs)
                                              ^~~~
/home/aik/p/slof/lib/libusb/usb-core.c: In function ‘usb_handle_device’:
/home/aik/p/slof/lib/libusb/usb-core.c:444:80: warning: unused parameter ‘cfg’ [-Wunused-parameter]
 static int usb_handle_device(struct usb_dev *dev, struct usb_dev_config_descr *cfg,
                                                                                ^~~
/home/aik/p/slof/lib/libusb/usb-xhci.c: In function ‘fill_setup_trb’:
/home/aik/p/slof/lib/libusb/usb-xhci.c:1026:13: warning: unused parameter ‘size’ [-Wunused-parameter]
    uint32_t size)
             ^~~~
/home/aik/p/slof/lib/libusb/usb-xhci.c: In function ‘xhci_transfer_bulk’:
/home/aik/p/slof/lib/libusb/usb-xhci.c:1217:60: warning: unused parameter ‘td’ [-Wunused-parameter]
 static int xhci_transfer_bulk(struct usb_pipe *pipe, void *td, void *td_phys,
                                                            ^~
/home/aik/p/slof/lib/libusb/usb-xhci.c:1217:70: warning: unused parameter ‘td_phys’ [-Wunused-parameter]
 static int xhci_transfer_bulk(struct usb_pipe *pipe, void *td, void *td_phys,
                                                                      ^~~~~~~
/home/aik/p/slof/lib/libusb/usb-xhci.c: In function ‘xhci_get_pipe_intr’:
/home/aik/p/slof/lib/libusb/usb-xhci.c:1364:22: warning: unused parameter ‘len’ [-Wunused-parameter]
    char *buf, size_t len)
                      ^~~
2021-02-12 13:45:15 +11:00
Alexey Kardashevskiy 26d8ba1703 elf: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

This changes the return value for the case when no ELF headers were found
to avoid (ugly-ish) cast of -1 to unsigned.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Changes:
v2:
* cast the return value to (int)
* added missing (long)
2021-02-12 13:41:47 +11:00
Alexey Kardashevskiy 0549fa7d08 libc: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Changes:
v2:
* replaced cast to int with cast to size_t
2021-02-09 12:39:52 +11:00
Alexey Kardashevskiy b2176a9ce6 helpers: Define MIN()
We already have MAX() defined, add MIN() to the common helpers header.

Using the common helper also fixes a bug in tpmdrivers's MIN() where
it was reverted.

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Changes:
v2:
* updated the comment about a fixed bug
2021-01-28 14:22:49 +11:00
Thomas Huth b7ea243afd virtio-serial: Remove superfluous serial-* words
These likely were a blind copy-n-paste from hvterm.fs, but they
simply do not make any sense in virtio-serial.fs. The hvterm.fs is
always included from OF.fs, so the serial-* words are globally there.
virtio-serial.fs is only used within the virtio-serial device tree
nodes, to adding the serial-* words there is just superfluous.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-01-27 21:24:17 +11:00