Re: Amiga, serial and SYSRQ

Paolo Pisati
2024-05-19T13:57:10Z

On Sun, May 19, 2024 at 03:31:07PM +0200, Geert Uytterhoeven wrote:
> Without TRACEPOINTS_ENABLED, you get:
>
> #ifdef TRACEPOINTS_ENABLED
> ...
> #else
> static inline void do_trace_initcall_start(initcall_t fn)
> {
> if (!initcall_debug)
> return;
> trace_initcall_start_cb(&initcall_calltime, fn);
> }
> static inline void do_trace_initcall_finish(initcall_t fn, int ret)
> {
> if (!initcall_debug)
> return;
> trace_initcall_finish_cb(&initcall_calltime, fn, ret);
> }
> #endif /* !TRACEPOINTS_ENABLED */
>
> That second part should still work fine.

Ok, i appended initcall_debug, but i got the same exact output, i wonder if i'm
missing something else:

ABCDGHIJK
Linux version 6.6.30-amiga-00006-g809aa9a54cba (flag@amaterasu.local) (m68k-linux-gcc (GCC) 13.1.0, GNU ld (GNU Binutils) 2.40) #7 Sat May 18 19:55:35 CEST 2024
Saving 470 bytes of bootinfo
printk: console [debug0] enabled
printk: Too late to register bootconsole debug-1
Amiga hardware found: [A1200] VIDEO BLITTER AUDIO FLOPPY A1200_IDE KEYBOARD MOUSE SERIAL PARALLEL A2000_CLK CHIP_RAM PAULA LISA ALICE_PAL PCMCIA ZORRO
Zone ranges:
DMA [mem 0x0000000040000000-0x000004dfffffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000040000000-0x000000004dffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x000000004dffffff]
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Kernel command line: root=/dev/sda4 debug=ser earlyprintk console=ttyS0,9600n8 initcall_debug
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
Sorting __ex_table...
Built 1 zonelists, mobility grouping on. Total pages: 56840
mem auto-init: stack:all(zero), heap alloc:off, heap free:off
Memory: 221284K/229376K available (3753K kernel code, 472K rwdata, 1184K rodata, 172K init, 149K bss, 8092K reserved, 0K cma-reserved)
SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
start_kernel::941
start_kernel::976
NR_IRQS: 32
clocksource: ciab: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 2694272661900 ns
start_kernel::990
start_kernel::994
start_kernel::998
start_kernel::1000
start_kernel::1006
start_kernel::1009

I'm using amiga_defconfig FWIW.
--
bye,
p.