The NetBSD Project

CVS log for src/sys/dev/fdt/fdt_memory.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / fdt

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 14 07:53:38 2024 UTC (6 weeks, 1 day ago) by mlelstv
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +35 -18 lines
Diff to previous 1.9 (colored)

Handle multiple memory nodes by type, but still allow an untyped
(non-standard) node named /memory.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 12 18:06:18 2024 UTC (6 weeks, 2 days ago) by skrll
Branch: MAIN
Changes since 1.8: +6 -5 lines
Diff to previous 1.8 (colored)

Cache the result from fdtbus_get_data() in fdt_memory_remove_reserved

NFCI.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 4 10:51:16 2022 UTC (15 months, 3 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.7: +2 -6 lines
Diff to previous 1.7 (colored)

Size boot_physmem with FDT_MEMORY_RANGES.

This effectively increases the size from 64 to 256 entries for Arm kernels.
It turns out on large systems that memory can be quite fragmented by UEFI.
Increasing the size of this just kicks the can down the road, we need a
better solution to deal with boot_physmem/fdt_memory/bootparams.dram
sizing.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 20 11:38:21 2022 UTC (16 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.6: +2 -5 lines
Diff to previous 1.6 (colored)

Do what the comment says and reserve ranges that do and do not have the
"no-map" property.

Required for qemu/riscv

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 6 20:16:42 2022 UTC (18 months, 3 weeks ago) by ryo
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

In my previous change, it was necessary to consider the case where the first block size is zero.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 4 11:58:55 2022 UTC (18 months, 3 weeks ago) by ryo
Branch: MAIN
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored)

Don't pass a block of size 0 to fdt_memory_add_range().

There are some environments where size 0 blocks are passed from the loader.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 7 07:25:37 2022 UTC (2 years, 1 month ago) by mlelstv
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

Calculate the minimum address, don't assume the first entry is the start.

Revision 1.1.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:22 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.1: +26 -4 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jun 26 10:43:52 2021 UTC (2 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.2: +7 -3 lines
Diff to previous 1.2 (colored)

Fix 32-bit build.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 25 08:41:09 2021 UTC (2 years, 8 months ago) by ryo
Branch: MAIN
Changes since 1.1: +21 -3 lines
Diff to previous 1.1 (colored)

fdt "/reserved-memory" node should be handled

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:05 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.1.2.1: +244 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync w/ HEAD.

Revision 1.1.2.1, Sat Dec 12 09:27:31 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.1: +0 -244 lines
FILE REMOVED

file fdt_memory.c was added on branch thorpej-futex on 2020-12-14 14:38:05 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 12 09:27:31 2020 UTC (3 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf, thorpej-futex

Move evbarm/fdt/fdt_memory.[ch] to sys/dev/fdt and simplify the api and
some operations.  This allows other architectures to use it.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>