Commit Graph

289495 Commits

Author SHA1 Message Date
jmcneill 04fe20972f Fixup bwfm(4) register bit regarding SDIO device suspend/resume.
From OpenBSD if_bwfm_sdio.h r1.3
2021-08-08 16:23:37 +00:00
rillig af2bca3e81 lint: group global variables by the subprocess
No functional change.
2021-08-08 16:19:18 +00:00
andvar 5712d03cb7 change othersize to otherwise. I believe this is what was meant in the context. 2021-08-08 16:12:10 +00:00
rillig 418f430031 lint: rename list_free to list_clear
The previous name suggested that the function would free the list
itself, which it doesn't.
2021-08-08 16:11:08 +00:00
rillig 10957491ec lint: update and proofread manual page 2021-08-08 15:59:32 +00:00
rillig fba527287b lint: remove dead code for reading from stdin
Since xlint.c 1.27 from 2002-01-31, it has not been possible to read
from stdin anymore.  Apparently nobody missed this feature in the last
19 years.
2021-08-08 15:29:24 +00:00
jmcneill b554808555 fdt: regulator: pre-allocate regulator handle
Workaround for PR# port-evbarm/54664
2021-08-08 15:23:42 +00:00
rillig 40c794a1b5 lint: inline list_add_defines
No functional change.
2021-08-08 15:06:44 +00:00
rillig 862f384edd lint: rename functions for handling string lists
No functional change.
2021-08-08 15:03:47 +00:00
rillig f679779a53 lint: make data flow in findlibs simpler
No functional change.
2021-08-08 14:05:33 +00:00
jmcneill 573d9ab9d5 fix armv7 build 2021-08-08 13:43:09 +00:00
rillig bb42854a54 lint: make memory management in xlint simpler
No functional change.
2021-08-08 13:34:57 +00:00
rillig 0793feb93c tests/lint: mips64 is not a 64-bit platform
See usr.bin/xlint/arch/mips64/targparam.h.
2021-08-08 13:22:22 +00:00
rillig dd4ca8c6ab tests/lint: clean up accept.sh, document test for removed assertion 2021-08-08 13:19:51 +00:00
jmcneill f9f3034040 evbarm: Add support for Arm PCI Configuration Space Access Firmware
Interface (DEN0115).
evbarm: Add support for Broadcom BCM2838 EMMC2 in ACPI mode, as found
	on the Raspberry Pi 4.
evbarm: Add support for shared ACPI platform interrupts.
2021-08-08 12:35:43 +00:00
jmcneill 7ee34f4898 Enable options PCI_SMCCC on 64-bit Arm. 2021-08-08 12:31:42 +00:00
tnn 82e9732108 radeonfb: use BUS_SPACE_MAP_PREFETCHABLE for the framebuffer mapping
Makes the driver work on cia(4) based alpha machines, which can only
do dense access to linear mappings with prefetch. ok macallan@
2021-08-08 12:17:37 +00:00
jmcneill 0a249149af Install the shared PCI INTx interrupt handler at IPL_VM to workaround a
possible interrupt storm at boot. Need to revisit this.
2021-08-08 12:09:52 +00:00
rillig 940ba17e56 make: remove redundant initialization in ApplyModifier_Order
No functional change.
2021-08-08 12:00:30 +00:00
rillig 379b6a2277 lint: force strict bool mode
No functional change.
2021-08-08 11:56:35 +00:00
jmcneill 5d35e63678 Use SMBIOS system product instead of the string "netbsd,generic-acpi"
for firmware loading on ACPI systems.
2021-08-08 11:11:29 +00:00
rillig 686f6eef97 tests/lint: test passing of printf-like strings between lint1 and lint2 2021-08-08 11:07:19 +00:00
jmcneill 985eb50674 disable DMA for now... 2021-08-08 10:59:27 +00:00
martin bcb7e68e0a Fix obvious editor mishap in previous 2021-08-08 10:48:35 +00:00
rillig b972f58e7b lint: condense code for writing the .ln files
No functional change.
2021-08-08 10:41:34 +00:00
jmcneill a776187733 bcm2838: Add ACPI support for the EMMC2 SDHCI controller. 2021-08-08 10:32:26 +00:00
jmcneill deb170c0a7 arm: ACPI: Add support for simple sharing of platform interrupts
Allow sharing of platform interrupts provided that the type, ipl, and
mpsafe-ness are the same.
2021-08-08 10:28:26 +00:00
skrll 1306a159ff Whitespace 2021-08-08 07:17:18 +00:00
thorpej 963aeb7329 Define preprocessor symbols (__HAVE_OPENFIRMWARE_VARIANT_AAPL and
__HAVE_OPENFIRMWARE_VARIANT_SUNW) that lets generic OpenFirmware
code deal with differences / quirks among implementation variants.
2021-08-08 00:53:39 +00:00
rillig 00782fec55 tests/lint: make list of tests simpler
Since the file /usr/tests/usr.bin/xlint/lint2/tests has only been in the
file set for a few minutes, it is not marked as obsolete but simply
removed.
2021-08-08 00:02:02 +00:00
rillig 0d9d928d83 tests/lint: test reading of 128-bit integer types and printf 2021-08-07 23:52:32 +00:00
cjep 05eb58f6e4 Convert the test to cfargs. OK @thorpej. 2021-08-07 22:05:26 +00:00
jmcneill 12a41c4dcf arm: acpi: Add support for SMCCC based PCI config access. 2021-08-07 21:27:53 +00:00
jmcneill 54b2fae0a7 acpi: call smccc_probe() after PSCI init 2021-08-07 21:24:56 +00:00
rillig 9a9312cf60 tests/lint: add test for reading the lint1 output 2021-08-07 21:24:13 +00:00
jmcneill 53a7ab421c arm: PCI: Add support for Arm PCI Config Space Access Firmware Interface
This adds basic support for the PCI Config Access interface defined in
Arm DEN0115.
2021-08-07 21:23:37 +00:00
jmcneill 5e5c370de3 arm: SMCCC: Add return values to smccc_call 2021-08-07 21:21:49 +00:00
jmcneill 82ca5e363e arm: PSCI: Add a function to return the PSCI conduit. 2021-08-07 21:20:14 +00:00
jmcneill bd4d5bc042 acpi: expose acpimcfg_configure_bus_cb 2021-08-07 21:19:15 +00:00
uwe 3c26fdeeb4 autoconf(9) - Improve formatting.
Don't hide consumed cfargs in the second sentence of a function's
description, they ends up hidden towards the right margin and that
sentence is guaranteed to get a line break further reducing its
readability.  Instead make that the first sentence and start the
description with a new paragraph.  That makes it looks like part of
the signature and is much more prominent.

Various markup improvements while here.

Bump date for thorpej-cfargs2 changes.
2021-08-07 20:41:17 +00:00
thorpej dd3182c524 NetBSD 9.99.88 -- CFARG_* -> CFARGS() 2021-08-07 19:44:39 +00:00
andvar 3c7a3199b6 s/configuraiton/configuration/ in comments and man pages. 2021-08-07 19:41:13 +00:00
uwe 4ad91f913a sp_tlb_flush - consistent whitespace in inline asm. 2021-08-07 19:23:03 +00:00
rillig b313a0a797 tests/lint: add more tests for lint2 2021-08-07 19:07:03 +00:00
jmcneill 514dd0dbb5 acpi: DMA: Use acpi_resource_parse_any to parse _DMA resources
_DMA resources really should be marked ResourceProducer, so use
acpi_resource_parse_any to pick these up.
2021-08-07 18:40:45 +00:00
jmcneill d3b539ec61 acpi: Add acpi_resource_parse_any().
Like acpi_resource_parse(), but doesn't exclude "produced" resources.
2021-08-07 18:39:40 +00:00
thorpej 68a52352f7 Export devhandle_lookup_device_call(). 2021-08-07 18:16:42 +00:00
rillig eda0f67152 lint: clean gcov files for lint2 and xlint as well 2021-08-07 17:38:41 +00:00
thorpej 4b4b2c112f thorpej-cfargs2 merged. 2021-08-07 16:21:02 +00:00
thorpej 2540f5896a Update for thorpej-cfargs2. 2021-08-07 16:20:02 +00:00