Commit Graph

262676 Commits

Author SHA1 Message Date
jmcneill 73fbce2b53 Only attach to usable processors 2018-10-16 16:18:15 +00:00
maxv 7fc40fd550 fix the shit, as usual 2018-10-16 13:18:25 +00:00
skrll ba5fa732b7 Catch up with armadaxp_start.S:1.5... if only we had generic start code
for arm
2018-10-16 11:28:30 +00:00
jmcneill cbdb37a16a Rename options ACPI_REDUCED_HARDWARE to ACPI_REDUCED_HW. The former is
a boolean in the acpica build, so use the latter to select the correct
value.
2018-10-16 10:25:33 +00:00
roy 4c5df848e8 Handle ENOBUFS better and clean some whitespace. 2018-10-16 09:23:29 +00:00
skrll 480ab1b4f9 Add SOC_THUNDERX (commented out for now as it changes COHERENCY_UNIT) 2018-10-16 06:05:38 +00:00
jmcneill 5c1658d2c3 Use ACPI_REDUCED_HARDWARE on arm64 to shrink the kernel 2018-10-16 00:32:07 +00:00
jmcneill bc5cf562e4 Add ACPI_REDUCED_HARDWARE defflag (used by ACPICA) and fix acpi build with this option set. 2018-10-16 00:30:08 +00:00
jmcneill b91bcc747d Set PCI_QUIRK_HASEXTCNF flag for AMD Seattle PCI host bridges 2018-10-16 00:10:58 +00:00
jmcneill d3e7597af3 regen 2018-10-16 00:08:51 +00:00
jmcneill 4f0344f7bd Add AMD Seattle Host Bridge and PCIE root port devices 2018-10-16 00:07:08 +00:00
jmcneill 8f5d834c7c Add plgpio at acpi 2018-10-15 23:59:36 +00:00
jmcneill 5c46f19b58 Add ACPI glue for PL061 GPIO 2018-10-15 23:59:16 +00:00
jmcneill d329762b06 Don't use a4x bus tag 2018-10-15 23:53:47 +00:00
jmcneill 5e1be26af9 Rename pl061gpio to plgpio and split the device logic from the FDT glue. 2018-10-15 23:50:48 +00:00
jmcneill c538a2a42d Handle more plcom-style console types 2018-10-15 20:09:06 +00:00
christos 1689d3d9a9 use postincrement, like the patch
XXX: pullup-8
2018-10-15 19:32:48 +00:00
jdolecek d876d4d773 revert previous, arm doesn't have intr_establish_xname()
pointed out by jmcneill
2018-10-15 18:58:35 +00:00
christos 124c823126 Avoid out-of-bounds reads
https://www.openwall.com/lists/musl/2017/06/29/6
XXX: pullup-8
2018-10-15 18:37:19 +00:00
christos 7e431be058 simple memmem test to show buffer overrun. 2018-10-15 17:55:28 +00:00
skrll 1daace7c1e Only ent KERNEL_BASE_EXT when we want to change KERNEL_BASE from its
default of 0x8000_0000

Don't use KERNEL_BASE_EXT where KERNEL_BASE should be instead.

Workaround a as(1) weirdness in armadaxp_start.S
2018-10-15 16:54:54 +00:00
maya 8f9ddbee6f Apply OpenBSD if_bwfm_pci.c:1.25 by patrick:
Add bus_dmamap_sync(9) calls to bwfm(4) so that we make sure the data
is synced properly before the CPU or the WiFi chip access the supplied
memory.  Makes PCIe-connected bwfm(4) work on ARM-based machines.
2018-10-15 16:29:10 +00:00
jmcneill 3fad9d4180 Fix signature for acpimcfg_configure_bus in non-PCI_NETBSD_CONFIGURE case 2018-10-15 12:46:43 +00:00
martin f6fb28f512 Ooops - fix editor accident in previous 2018-10-15 12:45:52 +00:00
martin ad88e5ac0b Define OPENSSL_NO_EC_NISTP_64_GCC_128 for sparc64, the code does
not work there (or maybe any big endian machine).
Fixes PR bin/53670.
2018-10-15 12:27:58 +00:00
jmcneill fb71203677 Add acpipchb 2018-10-15 11:35:42 +00:00
jmcneill e2ed649e95 Add ARM ACPI PCI support. 2018-10-15 11:35:03 +00:00
jmcneill 348753368d Do not attach a timecounter when PM_TMR_LEN is 0. According to ACPI 6.2
section 5.2.9 ("Fixed ACPI Description Table (FADT)"), a value of zero
here means that the PM timer is not supported.
2018-10-15 11:33:09 +00:00
jmcneill aaf945cfa7 Add acpimcfg_configure_bus, which can be used by MD code to implement
PCI_NETBSD_CONFIGURE using ACPI MCFG tables.
2018-10-15 10:01:32 +00:00
jmcneill 7a0ad3635b Add a function to find a PCI root bridge by segment and bus number. 2018-10-15 10:00:30 +00:00
uwe 6c2db190f2 Add Adaptec RAID 2445 and 2805.
From Dima Veselov.
2018-10-15 09:27:30 +00:00
uwe 4a4a5a4c67 Adaptec RAID 2445 and 2805 2018-10-15 09:01:56 +00:00
jdolecek 7d1b344c5a use intr_establish_xname() 2018-10-15 06:58:08 +00:00
skrll f7b214be91 Group/sort struct arm_cache_info members 2018-10-15 05:44:09 +00:00
skrll 2348e26514 Sort options 2018-10-15 05:14:07 +00:00
skrll 576968e502 G/C 2018-10-15 05:11:08 +00:00
mlelstv a66cbab44c When changing entries skip those that do not match the -L option.
Should fix PR 53668.
2018-10-14 20:10:49 +00:00
aymeric 23c6352399 Remove comment that the peripherals clock should be half of the cpu clock.
NFC
2018-10-14 19:01:00 +00:00
aymeric 917ed30273 Make the DE0 NanoSoC work also in big-endian mode 2018-10-14 18:58:44 +00:00
aymeric 9a16535352 Attach dwcwdt 2018-10-14 18:56:39 +00:00
aymeric b27b9a8075 Add reset information for first watchdog timer 2018-10-14 18:55:40 +00:00
aymeric e8e17c6bdc Fix off-by-one when computing reset register address 2018-10-14 18:53:01 +00:00
jdolecek 0785a66a52 g/c, not really relevant 2018-10-14 18:50:07 +00:00
jdolecek aa9ac778cd netbsd-8 already branched 2018-10-14 18:37:47 +00:00
aymeric ea38a76902 Make compile 2018-10-14 18:28:55 +00:00
jdolecek 80d2f67d6a remove M_CANFAIL from list of supported flags for malloc(9) 2018-10-14 17:40:28 +00:00
jdolecek bcc384fdef remove M_CANFAIL flag for malloc(9) - it was completely ignored, so had
actually no effect
2018-10-14 17:37:40 +00:00
riastradh 63000f6751 Limit warning suppression to nouveau files.
Make this match what I have in my drmkms update.

Please don't touch files under sys/external/bsd/drm2 without
consulting me while I'm updating drmkms!
2018-10-14 17:25:21 +00:00
skrll 2505ba4591 Use __nothing 2018-10-14 14:31:05 +00:00
martin 235468b193 Make debug code compile again 2018-10-14 14:09:53 +00:00