Commit Graph

269990 Commits

Author SHA1 Message Date
sevan 88fd7a1b6c struct buf is typedefed to buf_t
specify the width argument for Bl
2019-09-12 21:08:35 +00:00
sevan a3f227edb3 Update parameter list, struct buf is typedefed to buf_t 2019-09-12 20:32:30 +00:00
bad bd3d17d9c3 Make include_headerlist ignore files in already exported directories.
Invoke include_headerlist after exporting the ARCHS directories.
2019-09-12 20:10:00 +00:00
uwe af5fcdd4a0 db_putchar - check if we need to wrap at $maxwidth after whitespace.
That fixes orphaned first character in something like:

    |Stopped in ... longsymbol+0xf00:  |
    |i
    |nsn
2019-09-12 18:43:02 +00:00
bad bc4d18d525 Summary: export the files from headerlist before the ARCHS's includes.
Or else cvs export will complain about them being in the way.
2019-09-12 18:28:05 +00:00
bad f86b98ed53 Summary: add the files from src/tools/headerlist to the output. 2019-09-12 17:35:58 +00:00
ryo 72ca669c4a db_get_qvalue() with size=8 on 64bit arch returns incorrect value. fixed. 2019-09-12 17:09:00 +00:00
christos 4b370f4561 remove bad file 2019-09-12 17:04:18 +00:00
bad db28717fb4 Summary: pax needs pack_dev.h from mknod. move mknod to sys sources 2019-09-12 15:17:08 +00:00
martin 5bd2b8a0d6 Cast physical addresses via uintptr_t to ACPI_PHYSICAL_ADDRESS to deal
with all size variants of the types used here in different builds.
Patch from manu@.
2019-09-12 14:28:08 +00:00
msaitoh 07bec73f3d Add support ALLMULTI on ixv(4):
- Negotiate API version up to 1.3.
 - On linux's PF driver implementation, the PF replies VF's XCAST_MODE_ALLMULTI
   message not with NACK but with ACK even if the virtual function is NOT
   marked "trust" and act as XCAST_MODE_"MULTI". If ixv(4) simply check the
   return vaule of update_xcast_mode(XCAST_MODE_ALLMULTI), SIOCSADDMULTI
   success and the user may have trouble with some addresses. Fortunately,
   the Linux's PF driver's "ACK" message has not XCAST_MODE_"ALL"MULTI but
   XCAST_MODE_MULTI, so we can check this state by checking if the send
   message's argument and the reply message's argument are different.
 - Noy yet for PROMISC.
2019-09-12 12:25:46 +00:00
msaitoh f88a54af85 Reduce ixv(4)'s multicast table array size in ixv_set_multi from
MAX_NUM_MULTICAST_ADDRESSES(128) to IXGBE_MAX_VF_MC(30).
2019-09-12 11:48:44 +00:00
mlelstv d87f421944 Need register defines that were moved to armreg.h 2019-09-12 10:18:50 +00:00
uki 64399a4579 Give package name to xcomp machine dependency files 2019-09-12 09:45:43 +00:00
ryo 6e5e6fa958 changes of r1.39 was incomplete. only "examin/m" could handle 'q'.
added support 'r','x','z','d','u', and 'o' with 'q' modifier on 32bit arch.
2019-09-12 09:20:23 +00:00
jmcneill ab6186d7cf Do not attempt to change coherency_unit at runtime. Instead, if the
required coherency unit is greater than COHERENCY_UNIT in a MULTIPROCESSOR
kernel, just panic instead.

This makes non-MULTIPROCESSOR kernels work again.
2019-09-12 09:05:28 +00:00
jmcneill 2b0fe58515 Redistributors with virtual LPI support have larger register spaces. Take
this into consideration when scanning LPI regions.
2019-09-12 09:02:36 +00:00
maxv 569ac7e326 Add KASSERT to catch bugs. Something tells me it could easily fire. 2019-09-12 07:38:19 +00:00
maxv 729e3e93bc Fix a normally harmless race: initialize several global variables only on
cpu0, so we don't get eg cpu1 re-initializing them while cpu0 is using
them.
2019-09-12 06:39:47 +00:00
msaitoh 98e3d88a22 - Make SIOCADDMULTI returns ENOSPC when the Ethenet multicast address list
exceeds the limit.
- State "Ethernet" multicast address.
- Use macro.
2019-09-12 06:19:47 +00:00
ryo d648b08c16 even if "no options MULTIPROCESSOR" requires isb after tlbi op. since it should be harmless, dsb is also added.
fixed a problem that rockpro64 doesn't boot without MULTIPROCESSOR.
2019-09-12 06:12:56 +00:00
bad 24626c2518 Summary: ammend previous. remove pax from userspace sources.
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?
2019-09-12 00:56:05 +00:00
manu 215ccd50f6 Attempt to obtain ACPI RSDP from the hypervisor for Xen PV
There are three possible way of obtaining the ACPI RSDP
- From Extended BIOS Data Area (EBDA) when kernel or Xen was booted from
  BIOS bootstrap
- From EFI SystemTable when kernel is booted from EFI bootstrap
- When Xen is booted from EFI bootstrap, EBDA is not mapped, and EFI
  SystemTable is not passed to the kernel. The only way to go is to
  obtain ACPI RSDP trhough an hypercall.

Note: EFI bootstrap support for booting Xen has not yet been committed.
2019-09-12 00:52:22 +00:00
bad 03c90d02ab Summary: add grep and stat.
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?
2019-09-12 00:17:03 +00:00
bad dd3d5d3fbe add src/external/public-domain/xz. 2019-09-11 22:30:16 +00:00
bad 0f1e944e9e define sysautoload here too, to catch up with kern/makesyscalls.sh r1.173
XXX: This needs to be re-thought
2019-09-11 20:31:30 +00:00
skrll 4c8027ab18 Define PRIxPTE 2019-09-11 18:23:31 +00:00
skrll 4b085ab620 Move the TCR and TTBR defines into armreg.h where they below. NFCI. 2019-09-11 18:19:35 +00:00
kamil fd0c6ecff6 Plug memory leak in ps(1)
pinfo is allocated in setpinfo() with calloc(3).

Free it when no longer used, just before the program termination.

Detected with LSan.
2019-09-11 17:02:53 +00:00
bouyer 0b2edbc9d5 Switch to fdtbus_attach_spibus(), so spi slaves defined in the device tree
have a chance to be found.
2019-09-11 15:03:52 +00:00
christos bd679d14d4 Be consistent about semicolons in macros: always put them in the macro
definitions and in the macro invocations so that the invocations look
like statements, and we don't and up with extra semis. Fixes lint build.
2019-09-11 14:56:25 +00:00
maya e2a712c98e Use the more obviously replaced name __TWMDIR__
TWMDIR isn't currently used. We should patch to use it, though.
2019-09-11 14:10:36 +00:00
jmcneill 590739b387 - Fix TCR_TG0 field definitions to match Armv8 ARM
- Rename TCR_IPS_64TB to TCR_IPS_16TB, add TCR_IPS_4PB
- Whitespace fixes
2019-09-11 11:43:15 +00:00
ryo 0d10ea2703 used L3 even if L2 could cover the range. fix to use larger block if possible good enough.
pointed out by jmcneill@. thanks.
2019-09-11 08:15:48 +00:00
msaitoh a742a45c17 Print message when the number of multicast addresses exceeded the limit (30). 2019-09-11 04:59:55 +00:00
christos 9a1f52751e remove NCHNAMLEN optimization 2019-09-10 23:19:34 +00:00
kamil 36ec32beff Switch back _Noreturn to __dead in C11 threads
There is an ongoing discussion to unify unreturn attribute between C and
C++, making a compatible version, shared between languages. Instead of
picking C11-only approach here, switch back to __dead that wraps the
compiler extension for the same purpose.

This change makes this header more compatible with C++ and pre-C11.

Reference:

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2410.pdf
2019-09-10 22:34:19 +00:00
ryo 77e643c7fb - examin/m displays with splitting by spaces as specified size
- add support 'q' modifier on all arch
- consider endianness
2019-09-10 09:32:04 +00:00
ryo 31e239d6f3 Add support for 'p' qualifier for pointer values on examine.
this shows as a pointer with symbol if possible. (e.g. "x/p $sp,10")
2019-09-10 08:16:04 +00:00
jdolecek 2df6af4916 adjust several missed drivers for wdcprobe() changes of ATA NCQ branch
for dreamcast g1 just drop the custom reset function, it doesn't seem to do
anything useful over the generic variant

PR kern/54538 by Izumi Tsutsui
2019-09-09 22:01:23 +00:00
sevan b0668c0a94 CSU UTS 2019-09-09 18:11:20 +00:00
ryo 505a88059b use L1-L3 blocks/pages for KSEG mappings to fit dramblocks exactly.
r1.29 and this changes avoid over cache prefetch problem (perhaps) with PMAP_MAP_POOLPAGE/KSEG on CortexA72, and be more stable for rockpro64.
2019-09-09 17:02:36 +00:00
christos f83b875483 put back the blacklistd integration that got lost in the bsd -> mpl move. 2019-09-09 14:40:39 +00:00
maya da2c419ac4 Fix bugurl. PR toolchain/48712 2019-09-09 13:57:13 +00:00
sevan c989538b5f GFCI, RCD 2019-09-09 12:42:52 +00:00
roy 801b070c3c t_arp: Wait for 10 seconds for RTM_MISS
Let's try increasing the ping timeout to try and fix PR misc/54525.
2019-09-09 10:29:04 +00:00
wiz 5f4f33c6a5 Remove superfluous Pp. 2019-09-09 07:46:49 +00:00
mrg bcd7a20db0 document usbnet_private locking. minor knf. 2019-09-09 07:20:16 +00:00
msaitoh 5360c5e2f0 Call cpu_dcp_cacheinfo() only when the cpuid Topology Extension flag is set
on AMD prcessor.
2019-09-09 05:36:21 +00:00
msaitoh f795a98978 Add MCOMMIT instruction. 2019-09-09 05:28:32 +00:00