In D31955#721084, @ehem_freebsd_m5p.com wrote:In D31955#720853, @andrew wrote:This is confusing two mostly independent concepts. One is the firmware type. On arm64 it is almost always UEFI, however it could also boot via the same ABI as a Linux kernel. The other is the hardware description method.
Yes, they are somewhat independent, but they are interrelated and strongly correlate.
Of the spots touched by this they all appear to ask one of two questions:
- Use OpenFirmware device-tree or ACPI table?
- Are UEFI runtime services available?
I'm under the impression using device-trees pretty well excludes full UEFI runtime services. The only case where these mix at all is U-Boot's UEFI support, which mostly appears to be good enough for bootloader use and only minimally implement the UEFI spec.
As such this seems to be a spectrum with device-trees on one end and full UEFI the other.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Sep 16 2021
Sep 16 2021
Sep 15 2021
Sep 15 2021
Seems correct.
Sep 14 2021
Sep 14 2021
mhorne added inline comments to D31954: amd64: stop using top of the thread' kernel stack for FPU user save area.
Sep 13 2021
Sep 13 2021
Sep 10 2021
Sep 10 2021
Rename functions to have a dumpsys_ prefix.
Sep 9 2021
Sep 9 2021
It is possible that this check would be better placed in the sdhci driver itself, where SDHCI_PLATFORM_WILL_HANDLE() is actually called. This is the only driver that implements this method, however.
Drop include of vm_phys.h from vm_dumpset.h. Include it where it is needed instead.
Sep 8 2021
Sep 8 2021
In D31884#719396, @markj wrote:This is a good cleanup. I don't really like the header pollution. We are already assuming that consumers have included vm_page.h (to check m->flags & PG_NODUMP), so why not vm_phys.h as well? Alternately we could have the implementation live in vm_phys.c and call it vm_phys_is_dumpable() or so.
Aug 30 2021
Aug 30 2021
mhorne committed rG0e78510b7549: hwpmc: don't validate capabilities in allocation method (authored by mhorne).
hwpmc: don't validate capabilities in allocation method
mhorne committed rG315cd55dba61: hwpmc: consistently validate PMC class in allocation method (authored by mhorne).
hwpmc: consistently validate PMC class in allocation method
In D31387#713971, @luporl wrote:Worked fine on POWER9.
For PowerPC, without these changes the allocation of more programmable counters than available already failed, because of the check for the counter number in allocate. But, as you said, it is always a good idea to validate the PMC class too.
In D31283#714889, @wma wrote:Any further comments?
mhorne committed rGfb886a18a0eb: kdb: Handle process enumeration before procinit() (authored by mhorne).
kdb: Handle process enumeration before procinit()
mhorne committed rG3d51152bfe83: pmc(3): remove Pentium-related man pages and references (authored by mhorne).
pmc(3): remove Pentium-related man pages and references
arm: enable stack-smashing protection
xinstall: fix invocation of llvm-strip
Aug 11 2021
Aug 11 2021
Weird, this didn't get auto-closed.
mhorne committed rG4ccaa87f695c: kdb: Handle process enumeration before procinit() (authored by mhorne).
kdb: Handle process enumeration before procinit()
Prefer MK_SSP=no to SSP_CFLAGS=
mk: format some option lists
mhorne committed rG88ef00584bc7: hwpmc: disable uncore class on Sandy Bridge and newer (authored by mhorne).
hwpmc: disable uncore class on Sandy Bridge and newer
mhorne committed rG2e50ba70742b: hwpmc: disable uncore class on Sandy Bridge and newer (authored by mhorne).
hwpmc: disable uncore class on Sandy Bridge and newer
mk: format some option lists
Prefer MK_SSP=no to SSP_CFLAGS=
Ping.
mhorne retitled D31388: hwpmc: don't validate capabilities in allocation method from hwpmc: consistently validate capabilities in pcd_allocate_pmc() to hwpmc: don't validate capabilities in allocation method.
Switch to just removing the existing redundant capability checks.
Also give pidhashtbl a specific initial value of NULL. NFC, but semantically correct.
Update with markj's feedback. Keep the allproc initialization bit, as it may be checked early by db_ps().
Aug 10 2021
Aug 10 2021
mhorne added reviewers for D31494: developers-handbook: update the section on Remote GDB: docs, jhb.
mhorne committed rGd78896e46f1d: pmc(3): remove Pentium-related man pages and references (authored by mhorne).
pmc(3): remove Pentium-related man pages and references
Aug 9 2021
Aug 9 2021
Aug 6 2021
Aug 6 2021
In D31033#708666, @jrtc27 wrote:In D31033#708664, @mhorne wrote:While I did not go over every line in detail, I don't see anything objectionable. The PCIe chapter in the FU740 manual is particularly lacking.
I've lightly tested this series on my board, root on USB and NVMe both appear to be working. My remaining concern is that I see messages about failed PCI resource allocation in the boot log, see P514. Is this expected? The kernel I've tested here is based on your unmatched branch (b96c50e2fad) + one unrelated commit of mine.
Yes, those are harmless, when resetting the controller all the windows change to 4K open windows at a low address (either 0 or 4K, I forget) that FreeBSD initially interprets as being configured by firmware and thus tries to preserve them, but fails to (since they're not within the controller's static address ranges). I'd like to find a way to silence those somehow (clear_pcib exists but for some reason doesn't seem to quite work, enumeration stops after the first bridge), but that'd be a future patch as it's not causing any functional issues.
While I did not go over every line in detail, I don't see anything objectionable. The PCIe chapter in the FU740 manual is particularly lacking.
Aug 5 2021
Aug 5 2021
Forgot to hit accept :)
There is a list of gpio drivers in the gpiobus(4) man page. It is not up to date, but you should add an entry for this driver.
Aug 4 2021
Aug 4 2021
Prefer MK_SSP=no to SSP_CFLAGS=
arm: enable stack-smashing protection
mk: format some option lists
mhorne committed rG8399d923a569: hwpmc_intel: assert for correct nclasses value (authored by mhorne).
hwpmc_intel: assert for correct nclasses value
mhorne committed rG4f35e8cba232: hwpmc: disable uncore class on Sandy Bridge and newer (authored by mhorne).
hwpmc: disable uncore class on Sandy Bridge and newer
In D31388#707800, @emaste wrote:Some existing cases returned EPERM for the != caps cases?
Aug 3 2021
Aug 3 2021
Unfortunately, I ran out of steam for this ahead of the release, and the moment has passed.
Aug 2 2021
Aug 2 2021
mhorne updated the test plan for D31387: hwpmc: consistently validate PMC class in allocation method.
mhorne updated the test plan for D31387: hwpmc: consistently validate PMC class in allocation method.
Jul 30 2021
Jul 30 2021
Jul 29 2021
Jul 29 2021
mhorne committed rG28ff0070f7c8: libpmc: Import AMD Zen 3 PMU events (authored by val_packett.cool).
libpmc: Import AMD Zen 3 PMU events
arm64 support for pmu-events
mhorne committed rG862ea25915cc: hwpmc_arm64: add a PMCDBG to the interrupt handler (authored by mhorne).
hwpmc_arm64: add a PMCDBG to the interrupt handler
hwpmc_arm64: fill kern.hwpmc.cpuid
hwpmc_arm64.c: fix return style
mhorne committed rG87c9a2933bdb: libpmc: make libpmc_pmu_utils.c more amenable to porting (authored by mhorne).
libpmc: make libpmc_pmu_utils.c more amenable to porting
libpmc: use $MACHINE_CPUARCH
libpmc: limit pmu-events to 64-bit powerpc
pmccontrol: improve -L with pmu-events
libpmc: eliminate pmc_pmu_stat_mode()