Commit Graph

273219 Commits

Author SHA1 Message Date
skrll 2098dd207b Add '_p' to uvm_physseg_valid to match the function. Bump date. 2020-01-17 12:34:55 +00:00
yamaguchi ae111faea9 Print nvm version of ixl(4) when attaching
reviewed by msaitoh
2020-01-17 09:42:05 +00:00
yamaguchi fa75360264 Use flags instead of bool that changes behavior related to
adminq command of ixl(4)
2020-01-17 09:37:42 +00:00
yamaguchi 48914d0511 Fix the wrong expression in ixl(4)
Closes PR/54860.
2020-01-17 09:04:04 +00:00
ryo b03841d7c9 support internal PHY temperature sensor 2020-01-17 05:22:42 +00:00
jklos d9566e9681 Remove npf in POGO because it's now in SHEEVAPLUG. 2020-01-17 05:20:21 +00:00
ryo 97134c887d make counters per queue 2020-01-17 05:16:33 +00:00
ryo 3c9a6228d0 set/clear IFF_OACTIVE flag only on txring 0 2020-01-17 05:11:04 +00:00
msaitoh 1f180b40ce Add Fast Short Rep Mov(fsrm). 2020-01-17 04:48:21 +00:00
msaitoh cb3651ee3c Fix a bug that the virtual channel extended configuraton's arbitration phase
register can't be decoded correcty. Found by jmcneill.
2020-01-17 02:08:25 +00:00
christos a3119e656e Don't remove the test harness utilities (the tests were not removed already
which is the majority of the files), we can use them for atf now.
2020-01-17 00:39:27 +00:00
christos dca77083f9 Add back the test harness 2020-01-17 00:38:19 +00:00
christos 83badf9874 make things compile (pullup merged) 2020-01-17 00:37:26 +00:00
christos b50be1ecd9 fix test I broke by commenting out flags. 2020-01-17 00:37:03 +00:00
christos 049103d66e pull fix from head (O_EXEC means O_SEARCH only on FreeBSD) 2020-01-17 00:36:20 +00:00
martin 0e7fb040fb Fix /tmp tmpfs handling and on machines with enough RAM default to
creating a /tmp tmpfs with 25% of ram size limit. Suggested by ad@.
2020-01-16 16:47:19 +00:00
christos d17a590668 Initialize the session variable to an impossible session to prevent compiler
warnings.
2020-01-16 15:29:24 +00:00
martin 89a1e44d88 Remove useless calls to get_ramsize() - return value is ignored and
the function has no side effects.
2020-01-16 13:56:24 +00:00
isaki 1c21744ed4 Use .org directive to fix disklabel location instead of hand calculation.
If the code size before disklabel is less, zero is filled automatically.
If the code size before disklabel is exceeded, assembler stops with error.
Note that this changes a padding word in the current output binary from
a NOP instruction to zero but there are no functional changes.
2020-01-16 13:37:26 +00:00
kardel 12b9b4e230 use the CARP interface for arp/nd instead of the carp parent interface.
this provides the correct source mac address for the packets.

there are routers out there that cache the source mac during
nd and then subsequently bypass/miss packet filters on carp
interfaces as they send to the parent interface mac instead of the
correct carp interface mac.
2020-01-16 13:16:59 +00:00
isaki e04dbf8f07 Rewrite limit check using cross-build tools.
This eliminates use of hosts tr(1) and bc(1).
(But I'm going to remove this again soon due to other reason)
2020-01-16 13:15:47 +00:00
kardel 3408b8e06e Provide SIOCGIFMEDIA ioctl to deliver link status.
Add link0 (IFF_LINK0) flag to map INIT state to LINK_STATE_DOWN
instead of LINK_STATE_UNKNOWN. This allows routing software to
suppress routes to the interface of the carp interface when in
init state (e. g. link down in the parent interface).
2020-01-16 12:56:39 +00:00
isaki 71d284c021 Remove .else part of .if OBJECT_FMT == ELF.
All similar parts in other Makefiles are removed in 2010.
2020-01-16 12:54:16 +00:00
ad 6c03ec4c5b Back out previous, it's broken. 2020-01-16 09:23:43 +00:00
yamaguchi d807a63eda Fix wrong usage of PCI_PRODUCT(), ixl(4) 2020-01-16 07:19:47 +00:00
maya 2ff3c6f126 dm(8) doesn't cause problems on suspend, don't block it.
Tested by Matthias Petermann, thanks!
2020-01-16 07:18:08 +00:00
yamaguchi 5c10fc8b15 Fix ixl(4) not to assign interrupts to cpu #0
if ncpu > queue pairs
2020-01-16 07:16:04 +00:00
yamaguchi 512493ade9 Use def{flag,param} for parameters in ixl(4) 2020-01-16 07:11:50 +00:00
mrg 8dfd33c1dc make the topology support empty on non-SMP enabled kernels.
reduces kernel sizes and also fixes the builds.
2020-01-16 06:34:24 +00:00
martin 7f682dc5e0 Avoid using the global "pm" variable in utility functions - during
extended partitioning they may point to a different device.
2020-01-15 19:37:41 +00:00
martin ead2350f26 Add a method to query the partitioning schemes "internal idea" of a
cylinder size - whatever that means in the real world.
2020-01-15 19:36:30 +00:00
martin 3485b8ad62 Fix handling of inner/outer partitions (e.g. MBR and disklabel) in
extended partitioning:
 - when editing a disk with such a schme, offer both partitions in two
   steps
 - when commiting changes save the inner partitions after the outer ones
2020-01-15 19:08:24 +00:00
ad d1baa29b65 Back out the cpu_switchto() workaround now that it's no longer needed. 2020-01-15 18:47:23 +00:00
ad 5acb4bb7d8 NetBSD 9.99.38 - VM system changes 2020-01-15 18:45:57 +00:00
ad ada01d2fe1 vmstat -s: report new stats:
0 per-cpu stats one synced
     7246 per-cpu stats all synced
     4092 anon pages possibly dirty
     8881 anon pages dirty
        0 anon pages clean
       68 file pages possibly dirty
        0 file pages dirty
  2367889 file pages clean
2020-01-15 17:56:46 +00:00
ad 05a3457e85 Merge from yamt-pagecache (after much testing):
- Reduce unnecessary page scan in putpages esp. when an object has a ton of
  pages cached but only a few of them are dirty.

- Reduce the number of pmap operations by tracking page dirtiness more
  precisely in uvm layer.
2020-01-15 17:55:43 +00:00
tkusumi 5425c6e737 fstyp: Remove redundant best_i check in HAMMER2
https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD
2020-01-15 15:32:05 +00:00
tkusumi 081dcb4e9f fstyp: Use strlcpy(3) for HAMMER1
https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD
2020-01-15 15:30:46 +00:00
ad c2f374d6c6 Push the INVLPG limit for shootdowns up to 16 (for UBC). 2020-01-15 13:22:03 +00:00
jmcneill 52014d8a74 Add imxi2c 2020-01-15 11:36:48 +00:00
jmcneill bcbbf7366e Add i2c clocks 2020-01-15 11:36:34 +00:00
jmcneill 20acbc911f Match the more generic fsl,imx21-i2c compat string 2020-01-15 11:35:58 +00:00
ad 198cbac382 Rewrite bcmp() & memcmp() to not use REP CMPS. Seems about 5-10x faster for
small strings on modern hardware.
2020-01-15 10:56:49 +00:00
skrll a10897af82 Fix build 2020-01-15 10:25:47 +00:00
mrg da560be65a add a note about arm* cpu topology support. 2020-01-15 09:21:21 +00:00
mrg 20aa1cad27 port the arm64 cpu topology setup for big.little to arm.
rename arm64 cpu_do_topology() to arm_cpu_do_topology() and
call it from both arm cpu_attach().

replace both aarch64_set_topology() inline code in arm
cpu_attach() with new arm_cpu_do_topology(), which is called
by the arm64 locore as well (possibly not needed, which would
allow it to become static.)

not yet tested on a real big.little armv7 system.  tested
on rockpro64 and pinebook pro.
2020-01-15 08:34:04 +00:00
yamaguchi 66a44ae83e Fix typo (s/txr_opackets/txr_obytes/)
pointed out by ryo@n.o, thanks.
2020-01-15 08:25:01 +00:00
skrll 752c3237b0 If malloc fails in zyd_node_alloc then return NULL. From nick-nhusb 2020-01-15 08:21:00 +00:00
skrll c6828b08e2 Use modern interfaces and kill tsleep/wakeup. From nick-nhusb branch. 2020-01-15 08:20:13 +00:00
skrll 3db7d1a277 Trailing whitespace 2020-01-15 08:13:20 +00:00