Subject: Re: linux-next: Tree for Oct 25

From: Stephen Rothwell <[email-masked]>
Date: Thu, 28 Oct 2021 15:51:26 +1100

Hi Xianting,

On Thu, 28 Oct 2021 09:51:00 +0800 Xianting Tian <[email-masked]> wrote:
>
> 在 2021/10/27 下午7:42, Stephen Rothwell 写道:
> > Hi all,
> >
> > On Mon, 25 Oct 2021 20:49:21 +1100 Stephen Rothwell <[email-masked]> wrote:  
> >> There seems to be something amiss with cnosole output in today's release
> >> (at least on my ppc qemu boot tests).  
> > The console output seems to be back today.  I assume its repair had
> > something to do with commit
> >
> >    60f41e848492 ("Revert "tty: hvc: pass DMA capable memory to put_chars()"")
> >  
> hi Stephen，
> 
> Thanks for the info, Could you share more details about the issue you met? is it about early console print issue?
> 

Here is the diff between my boot logs:

@@ -33,14 +33,14 @@
 
 Booting from memory...
 OF stdout device is: /vdevice/vty@71000000
-Preparing to boot Linux version 5.15.0-rc6 (sfr@ash) (gcc (Debian 10.3.0-11) 10.3.0, GNU ld (GNU Binutils for Debian) 2.37) #2 SMP Fri Oct 22 20:04:18 AEDT 2021
+Preparing to boot Linux version 5.15.0-rc7 (sfr@ash) (gcc (Debian 10.3.0-11) 10.3.0, GNU ld (GNU Binutils for Debian) 2.37) #2 SMP Tue Oct 26 19:57:54 AEDT 2021
 Detected machine type: 0000000000000101
 command line:  
 Max number of cores passed to firmware: 2048 (NR_CPUS = 2048)
 Calling ibm,client-architecture-support... done
 memory layout at init:
   memory_limit : 0000000000000000 (16 MB aligned)
-  alloc_bottom : 0000000002020000
+  alloc_bottom : 0000000002f50000
   alloc_top    : 0000000030000000
   alloc_top_hi : 0000000080000000
   rmo_top      : 0000000030000000
@@ -50,8 +50,8 @@
 copying OF device tree...
 Building dt strings...
 Building dt structure...
-Device tree strings 0x0000000002030000 -> 0x0000000002030a77
-Device tree struct  0x0000000002040000 -> 0x0000000002050000
+Device tree strings 0x0000000002f60000 -> 0x0000000002f60a77
+Device tree struct  0x0000000002f70000 -> 0x0000000002f80000
 Quiescing Open Firmware ...
 Booting Linux via __start() @ 0x0000000000400000 ...
  hash-mmu: Page sizes from device-tree:
@@ -59,8 +59,8 @@
  hash-mmu: base_shift=16: shift=16, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=1
  Using 1TB segments
  hash-mmu: Initializing hash mmu with SLB
- Linux version 5.15.0-rc6 (sfr@ash) (gcc (Debian 10.3.0-11) 10.3.0, GNU ld (GNU Binutils for Debian) 2.37) #2 SMP Fri Oct 22 20:04:18 AEDT 2021
- Found initrd at 0xc000000001e50000:0xc00000000201d70b
+ Linux version 5.15.0-rc7 (sfr@ash) (gcc (Debian 10.3.0-11) 10.3.0, GNU ld (GNU Binutils for Debian) 2.37) #2 SMP Tue Oct 26 19:57:54 AEDT 2021
+ Found initrd at 0xc000000002d80000:0xc000000002f4d70b
  Using pSeries machine description
  printk: bootconsole [udbg0] enabled
  Partition configured for 1 cpus.
@@ -106,9 +106,9 @@
  Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
  Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes, linear)
  mem auto-init: stack:off, heap alloc:off, heap free:off
- Memory: 1995200K/2097152K available (14208K kernel code, 3136K rwdata, 2944K rodata, 4992K init, 1531K bss, 101952K reserved, 0K cma-reserved)
+ Memory: 1979648K/2097152K available (14208K kernel code, 3136K rwdata, 2944K rodata, 4992K init, 1531K bss, 117504K reserved, 0K cma-reserved)
  SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- ftrace: allocating 33247 entries in 13 pages
+ ftrace: allocating 33265 entries in 13 pages
  ftrace: allocated 13 pages with 3 groups
  trace event string verifier disabled
  rcu: Hierarchical RCU implementation.
@@ -124,81 +124,9 @@
  clocksource: timebase mult[1f40000] shift[24] registered
  Console: colour dummy device 80x25
  printk: console [hvc0] enabled
- printk: console [hvc0] enabled
- printk: bootconsole [udbg0] disabled
  printk: bootconsole [udbg0] disabled
- pid_max: default: 32768 minimum: 301
- Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
- Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
- POWER8 performance monitor hardware support registered
- rcu: Hierarchical SRCU implementation.
- smp: Bringing up secondary CPUs ...
- smp: Brought up 1 node, 1 CPU
- numa: Node 0 CPUs: 0
- devtmpfs: initialized
- PCI host bridge /pci@800000020000000  ranges:
-   IO 0x0000200000000000..0x000020000000ffff -> 0x0000000000000000
-  MEM 0x0000200080000000..0x00002000ffffffff -> 0x0000000080000000 
-  MEM 0x0000210000000000..0x000021ffffffffff -> 0x0000210000000000 
- PCI: OF: PROBE_ONLY disabled
- clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- futex hash table entries: 256 (order: -1, 32768 bytes, linear)
- NET: Registered PF_NETLINK/PF_ROUTE protocol family
- audit: initializing netlink subsys (disabled)
- cpuidle: using governor menu
- pstore: Registered nvram as persistent store backend
 
Linux ppc64le
-#2 SMP Fri Oct 2 audit: type=2000 audit(1634893757.210:1): state=initialized audit_enabled=0 res=1
- EEH: pSeries platform initialized
- software IO TLB: tearing down default memory pool
- PCI: Probing PCI hardware
- PCI host bridge to bus 0000:00
- pci_bus 0000:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
- pci_bus 0000:00: root bus resource [mem 0x200080000000-0x2000ffffffff] (bus address [0x80000000-0xffffffff])
- pci_bus 0000:00: root bus resource [mem 0x210000000000-0x21ffffffffff 64bit]
- pci_bus 0000:00: root bus resource [bus 00-ff]
- IOMMU table initialized, virtual merging enabled
- pci_bus 0000:00: resource 4 [io  0x10000-0x1ffff]
- pci_bus 0000:00: resource 5 [mem 0x200080000000-0x2000ffffffff]
- pci_bus 0000:00: resource 6 [mem 0x210000000000-0x21ffffffffff 64bit]
- EEH: No capable adapters found: recovery disabled.
- kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
- iommu: Default domain type: Translated 
- iommu: DMA domain TLB invalidation policy: strict mode 
- vgaarb: loaded
- SCSI subsystem initialized
- usbcore: registered new interface driver usbfs
- usbcore: registered new interface driver hub
- usbcore: registered new device driver usb
- pps_core: LinuxPPS API ver. 1 registered
- pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email-masked]>
- PTP clock support registered
- clocksource: Switched to clocksource timebase
- hugetlbfs: disabling because there are no supported hugepage sizes
- NET: Registered PF_INET protocol family
- IP idents hash table entries: 32768 (order: 2, 262144 bytes, linear)
- tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
- TCP established hash table entries: 16384 (order: 1, 131072 bytes, linear)
- TCP bind hash table entries: 16384 (order: 2, 262144 bytes, linear)
- TCP: Hash tables configured (established 16384 bind 16384)
- UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
- UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
- NET: Registered PF_UNIX/PF_LOCAL protocol family
- RPC: Registered named UNIX socket transport module.
- RPC: Registered udp transport module.
- RPC: Registered tcp transport module.
- RPC: Registered tcp NFSv4.1 backchannel transport module.
- PCI: CLS 0 bytes, default 128
- Trying to unpack rootfs image as initramfs...
- vas: API is supported only with radix page tables
- workingset: timestamp_bits=38 max_order=15 bucket_order=0
- NFS: Registering the id_resolver key type
- Key type id_resolver registered
- Key type id_legacy registered
- Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
- io scheduler mq-deadline registered
- io scheduler kyber registered
- Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
+#2 SMP Tue Oct 2 Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
  Non-volatile memory driver v1.3
  Freeing initrd memory: 1792K
  brd: module loaded
@@ -230,7 +158,7 @@
  ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  ohci-pci: OHCI PCI platform driver
  rtc-generic rtc-generic: registered as rtc0
- rtc-generic rtc-generic: setting system clock to 2021-10-22T09:09:21 UTC (1634893761)
+ rtc-generic rtc-generic: setting system clock to 2021-10-26T09:02:50 UTC (1635238970)
  i2c_dev: i2c /dev entries driver
  device-mapper: uevent: version 1.0.3
  device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: [email-masked]

-- 
Cheers,
Stephen Rothwell