Searched hist:"7 b2c7b92befda002f51e7cc4d02bd0853be88d9e" (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/md/ |
H A D | md.c | diff 7b2c7b92befda002f51e7cc4d02bd0853be88d9e Thu Jun 07 15:57:34 CEST 2018 Breno Leitao <leitao@FreeBSD.org> md: use prestaged mfs_root
On PowerNV systems, the rootfs is passed through kexec, which loads the rootfs into memory and set two fdt entries to describe where the file is located in the memory;
I need to pass this memory region to the md device as a mfs_root, but, current md driver does not support two things:
* Just getting a pointer from an external (bootloader) memory. If I need to workaround it, I would need to declare a static array and memcopy from this external memory to this static variable.
* The size of the image. The usage of mfs_root_end, which is not a pointer, seems to be not possible for this prestaged scenario.
This patch simply adds a new way to load mfs_root from memory.
Differential Revision: https://reviews.freebsd.org/D15625 Approved by: kib, jhibbits (mentor)
|
/freebsd/sys/conf/ |
H A D | options | diff 7b2c7b92befda002f51e7cc4d02bd0853be88d9e Thu Jun 07 15:57:34 CEST 2018 Breno Leitao <leitao@FreeBSD.org> md: use prestaged mfs_root
On PowerNV systems, the rootfs is passed through kexec, which loads the rootfs into memory and set two fdt entries to describe where the file is located in the memory;
I need to pass this memory region to the md device as a mfs_root, but, current md driver does not support two things:
* Just getting a pointer from an external (bootloader) memory. If I need to workaround it, I would need to declare a static array and memcopy from this external memory to this static variable.
* The size of the image. The usage of mfs_root_end, which is not a pointer, seems to be not possible for this prestaged scenario.
This patch simply adds a new way to load mfs_root from memory.
Differential Revision: https://reviews.freebsd.org/D15625 Approved by: kib, jhibbits (mentor)
|
H A D | NOTES | diff 7b2c7b92befda002f51e7cc4d02bd0853be88d9e Thu Jun 07 15:57:34 CEST 2018 Breno Leitao <leitao@FreeBSD.org> md: use prestaged mfs_root
On PowerNV systems, the rootfs is passed through kexec, which loads the rootfs into memory and set two fdt entries to describe where the file is located in the memory;
I need to pass this memory region to the md device as a mfs_root, but, current md driver does not support two things:
* Just getting a pointer from an external (bootloader) memory. If I need to workaround it, I would need to declare a static array and memcopy from this external memory to this static variable.
* The size of the image. The usage of mfs_root_end, which is not a pointer, seems to be not possible for this prestaged scenario.
This patch simply adds a new way to load mfs_root from memory.
Differential Revision: https://reviews.freebsd.org/D15625 Approved by: kib, jhibbits (mentor)
|