m68k: rework BI_VIRT_RNG_SEED as BI_RNG_SEEDFollowing a change on the kernel side (see link), pass BI_RNG_SEEDinstead of BI_VIRT_RNG_SEED. This should have no impact oncompatibility, as there wil
m68k: rework BI_VIRT_RNG_SEED as BI_RNG_SEEDFollowing a change on the kernel side (see link), pass BI_RNG_SEEDinstead of BI_VIRT_RNG_SEED. This should have no impact oncompatibility, as there will simply be no effect if it's an old kernel,which is how things have always been. We then use this as an opportunityto add this to q800, since now we can, which is a nice improvement.Cc: Geert Uytterhoeven <geert@linux-m68k.org>Cc: Laurent Vivier <laurent@vivier.eu>Link: https://lore.kernel.org/lkml/20220923170340.4099226-3-Jason@zx2c4.com/Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>Message-Id: <20220926113900.1256630-1-Jason@zx2c4.com>[lv: s/^I/ /g]Signed-off-by: Laurent Vivier <laurent@vivier.eu>
show more ...
m68k: virt: pass RNG seed via bootinfo blockThis commit wires up bootinfo's RNG seed attribute so that Linux VMs canhave their RNG seeded from the earliest possible time in boot, just likethe "rn
m68k: virt: pass RNG seed via bootinfo blockThis commit wires up bootinfo's RNG seed attribute so that Linux VMs canhave their RNG seeded from the earliest possible time in boot, just likethe "rng-seed" device tree property on those platforms. The linkcontains the corresponding Linux patch.Link: https://lore.kernel.org/lkml/20220626111509.330159-1-Jason@zx2c4.com/Based-on: <20220625152318.120849-1-Jason@zx2c4.com>Reviewed-by: Laurent Vivier <laurent@vivier.eu>Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>Message-Id: <20220626111804.330745-1-Jason@zx2c4.com>Signed-off-by: Laurent Vivier <laurent@vivier.eu>
m68k: add Virtual M68k MachineThe machine is based on Goldfish interfaces defined by Googlefor Android simulator. It uses Goldfish-rtc (timer and RTC),Goldfish-pic (PIC) and Goldfish-tty (for ser
m68k: add Virtual M68k MachineThe machine is based on Goldfish interfaces defined by Googlefor Android simulator. It uses Goldfish-rtc (timer and RTC),Goldfish-pic (PIC) and Goldfish-tty (for serial port and early tty).The machine is created with 128 virtio-mmio bus, and they canbe used to use serial console, GPU, disk, NIC, HID, ...Signed-off-by: Laurent Vivier <laurent@vivier.eu>Reviewed-by: Richard Henderson <richard.henderson@linaro.org>Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>Message-Id: <20210312214145.2936082-6-laurent@vivier.eu>
m68k: import bootinfo headers from linuxCopy bootinfo.h and bootinfo-mac.h from arch/m68k/include/uapi/asm/to include/standard-headers/asm-m68k/Imported from linux v5.9 but didn't change since v
m68k: import bootinfo headers from linuxCopy bootinfo.h and bootinfo-mac.h from arch/m68k/include/uapi/asm/to include/standard-headers/asm-m68k/Imported from linux v5.9 but didn't change since v4.14 (header update)and since v4.10 (content update).Signed-off-by: Laurent Vivier <laurent@vivier.eu>Message-Id: <20201220112615.933036-2-laurent@vivier.eu>Signed-off-by: Laurent Vivier <laurent@vivier.eu>