Commit Graph

280558 Commits

Author SHA1 Message Date
skrll 0e2eb26032 A few bus_dmatag_subregion fixes
- return EOPNOTSUPP if min_addr isn't less than max_addr
- fix the subset check to ensure that all the ranges in the parent tag are
  within the {min,max}_addr range.  If so we can just continue to use the
  parent tag.
- when building the new ranges read the parent tag range rather than un-
  initialised memory.
- remove the max_addr != 0xffffffff check - the overflow should be handled
  by the unsigned arithmetic for arm32.
- add a KASSERT
- add comments
2020-09-08 10:30:17 +00:00
wiz dd6ca9990a Remove empty line. End sentence with dot. Avoid unnecessary linebreak. 2020-09-08 10:07:35 +00:00
yamaguchi f474b47c56 Added iavf(4) that is based on OpenBSD's iavf(4) implementation
reviewed by msaitoh@n.o and knakahara@n.o
2020-09-08 10:05:47 +00:00
skrll 8a99708f0f KNF 2020-09-08 06:13:53 +00:00
mrg a29667efc0 disable these tests unless ATF_SBIN_IFCONFIG_WIFI_ENABLE=yes is
in the environment.  they change wifi configuration, restart
wpa_supplicant and hostapd, and, on broken wifi chipsets, may
hang the test run.
2020-09-08 06:11:32 +00:00
rillig d8bc78b637 make(1): add test for wildcards in dependency declarations 2020-09-08 05:33:05 +00:00
rillig 112c95a538 make(1): fix off-by-one error in SuffExpandChildren
In suff.c r1.144 from yesterday, in the line "cp += nested_p - cp", I
accidentally removed the "- 1".  Since these "- 1" lines lead to slow
execution, each branch now increments the pointer separately by the
actually needed amount.

Fixing this bug posed way more new questions than it answered, and it
revealed an inconsistency in the parser about how characters are to be
escaped, and missing details in the documentation of Var_Parse, as well
as a parse error that unexpectedly doesn't stop make from continuing.
2020-09-08 05:26:21 +00:00
mrg 71e6058904 don't warn about array bounds for dodgy diagnostic code.
fixes gcc9 builds.
2020-09-08 00:51:29 +00:00
mrg 5d7c2fdd95 ia64 works, sun3 (m68k?) works, powerpc works, note powerpc64 issue,
evbarmv7-eb dtb issue, prep overflow issue, note that almost all
platform builds are now working for m68k/mips/ppc.
2020-09-07 23:47:02 +00:00
mrg b5edf6945a move the __packed attribute from struct frame::F_t into the single
unaligned member inside.  CTASSERT() the size is unchanged.

with this, sun3 and GCC 9 appears to work.
2020-09-07 23:41:38 +00:00
mrg 28c1b35579 apply some GCC_NO_ADDR_OF_PACKED_MEMBER. 2020-09-07 22:22:17 +00:00
mrg 6b90dfb69d use the generic ppc64 LINK_GCC_C_SEQUENCE_SPEC. 2020-09-07 22:21:55 +00:00
rillig 3bb127c1bf make(1): document that nested braces work as expected now 2020-09-07 19:48:08 +00:00
dogcow 1a71ad483f Fix `build.sh tools -j1` compilation, where bfd.h wasn't generated early
enough.
2020-09-07 19:46:45 +00:00
christos 29ff04b87c Simplify to avoid packed struct alignment issue. 2020-09-07 19:37:21 +00:00
rillig db958a8ce2 make(1): extend and explain the test for comments 2020-09-07 19:17:36 +00:00
christos 625508a57b Disable an init-list-lifetime warning from gcc-9. 2020-09-07 19:05:41 +00:00
christos 09db05edfe Comment out index out of bounds debugging code. 2020-09-07 19:04:27 +00:00
rillig 107d144dad make(1): explain why each test is run in a sub-make 2020-09-07 18:49:15 +00:00
rillig 1d8529b09b make(1): use consistent spelling for postprocessing 2020-09-07 18:43:59 +00:00
rillig 4144affb22 make(1): add test for the .WAIT dependency source 2020-09-07 18:40:32 +00:00
christos 7286702501 change cksum prototype to const void *, and check alignment via assertion. 2020-09-07 18:37:21 +00:00
rillig cf16582094 make(1): with -dp, print name of the function instead of its address
This makes the output a bit more reproducible.  There are still the file
descriptors, which may differ between different runs, but at least the
nextbuf function is printed using a symbolic name instead of a meaningless address.
Besides loadedfile_nextbuf, the only other function is ForIterate.
2020-09-07 18:37:09 +00:00
ryo e0db9446d5 Oops. revert my previous commit. AArch64 instructions are always LE. 2020-09-07 18:29:48 +00:00
jakllsch 9cb9f9bc98 Fix vgetq_lane_u32 for aarch64eb with GCC
Fixes NEON AES on aarch64eb
2020-09-07 18:06:13 +00:00
jakllsch ee45e31caf Use a working macro to detect big endian aarch64.
Fixes aarch64eb NEON ChaCha.
2020-09-07 18:05:17 +00:00
jakllsch 40ad99cddf Fix printb string for LA57 2020-09-07 13:19:20 +00:00
mrg f09faf1b79 in ar5008_set_viterbi_mask() be sure to initialise m[0]. 2020-09-07 10:45:23 +00:00
mrg 6d7a54fc45 apply some GCC_NO_ADDR_OF_PACKED_MEMBER. 2020-09-07 10:44:52 +00:00
mrg 2bc6576ee5 more updates:
- more arm stuff builds
- 32 bit mips builds and kernels run
- mips64el builds
- powerpc (walnut) kernels run
2020-09-07 10:42:58 +00:00
mrg 210197e402 switch mips to binutils 2.34. 2020-09-07 10:19:02 +00:00
knakahara cc755e529e Fix race between ixgbe_msix_admin() and ixgbe_handle_admin(), pointed out by ozaki-r@n.o.
The race is caused by the following.
CPU#A processes workqueue, CPU#B processes admin interrupt.
    (0) one of CPUs already calls ixgbe_schedule_admin_tasklet()
        such as ixgbe_handle_timer()
    (1) CPU#A: read adapter->task_requests
    (2) CPU#B: set adapter->task_requests
    (3) CPU#B: read(and try to set) adapter->admin_pending
               but adapter->admin_pending is set, so does not
               call workqueue_enqueue()
    (4) CPU#A: clear adapter->admin_pending
that is, the tasks set by (2) is not processed as missfire workqueue by (3).
2020-09-07 09:14:53 +00:00
mrg 8484d34059 bump ramdisk image size to match build size. 2020-09-07 09:14:47 +00:00
mrg e9ae3901e6 asan_interceptors.cc needs -O1 for mipsel/mipseb. 2020-09-07 09:09:40 +00:00
mrg 43051be004 bump image size for pmax64 builds. 2020-09-07 09:05:10 +00:00
mrg 0e30b54082 define __HAVE___LWP_GETPRIVATE_FAST 2020-09-07 07:48:23 +00:00
mrg d4edddf34a i can't confirm or deny that GCC 9 is wrong about parity_valid[]
having uninitialised members, but since setting up reconstruct
isn't a hot path, just zero init the whole thing to be sure.
2020-09-07 07:44:53 +00:00
mrg 4dc66dd97f various updates:
- most builds are working
- arm64, amd64, sparc, evbmips64-eb, and armv7hf-el are known to be
  stable and work
- mips64-el needs new binutils, in testing
- vax, sh3*, riscv64 and mipse[lb] builds are broken in various ways
2020-09-07 07:43:36 +00:00
rillig c7c417c4f1 make(1): migrate SuffExpandChildren to Var_ParsePP 2020-09-07 07:15:26 +00:00
rillig 11dcb9bdaf make(1): migrate to Var_ParsePP in Var_Parse and Var_Subst 2020-09-07 07:10:56 +00:00
mrg 3aea87db6a avoid returning stack garbage on platforms that don't have either
__lwp_gettcb_fast() or __lwp_getprivate_fast().
2020-09-07 07:10:43 +00:00
mrg 3a14946041 -march=armv3m option is obsolete. remove it from commented kernel
configurations (we haven't supported those machines lately anyway),
and, for GCC >= 9, from the one caller.
2020-09-07 07:08:34 +00:00
mrg a69c7590ce don't error array-bounds and packed-member issues with GCC 9. 2020-09-07 07:07:32 +00:00
rillig 11af043635 make(1): migrate ApplyModifiers to Var_ParsePP 2020-09-07 07:04:30 +00:00
rillig 193b2ca5f4 make(1): migrate Var_Parse to Var_ParsePP in ParseDoDependency 2020-09-07 06:58:02 +00:00
rillig 163aaa9b04 make(1): migrate Var_Parse to Var_ParsePP in archive handling 2020-09-07 06:51:05 +00:00
rillig a41c30d038 make(1): remove unnecessary cp-- from Arch_ParseArchive 2020-09-07 06:44:53 +00:00
ryoon 702e22bbae Regenerate 2020-09-07 06:33:05 +00:00
ryoon ce81c731e8 Add Buffalo BWC-35H01 or BWC-30L01 2020-09-07 06:32:13 +00:00
rillig 40b40038da make(1): save a strlen call in ForIterate 2020-09-07 06:28:22 +00:00