Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (4m)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 12:28:40 UTC Now

2018-03-09 12:40:24 UTC MAIN commitmail json YAML

2018-03-09 12:39:30 UTC MAIN commitmail json YAML

2018-03-09 11:57:38 UTC MAIN commitmail json YAML

Remove M_PKTHDR from secondary mbufs when reassembling packets.

This is a real problem, because I found at least one component that relies
on the fact that only the first mbuf has M_PKTHDR: far from here, in
m_splithdr, we don't update m->m_pkthdr.len if M_PKTHDR is found in a
secondary mbuf. (The initial intention there was to avoid updating
m_pkthdr.len twice, the assumption was that if M_PKTHDR is set then we're
dealing with the first mbuf.) Therefore, when handling fragmented IPsec
packets (in particular IPv6, IPv4 is a bit more complicated), we may end
up with an incorrect m_pkthdr.len after authentication or decryption. In
the case of ESP, this can lead to a remote crash on this instruction:

m_copydata(m, m->m_pkthdr.len - 3, 3, lastthree);

m_pkthdr.len is bigger than the actual mbuf chain.

It seems possible to me to trigger this bug even if you don't have the ESP
key, because the fragmentation part is outside of the encrypted ESP
payload.

So if you MITM the target, and intercept an incoming ESP packet (which you
can't decrypt), you should be able to forge a new specially-crafted,
fragmented packet and stuff the ESP payload (still encrypted, as you
intercepted it) into it. The decryption succeeds and the target crashes.

(maxv)

2018-03-09 11:05:56 UTC MAIN commitmail json YAML

Initialise ret to avoid returning uninitialised value if the if statement is
false. Found when building the POWERMAC_G5 kernel with clang.

(sevan)

2018-03-09 11:05:21 UTC MAIN commitmail json YAML

Fix ipsec(4) I/F esp_frag support.

(knakahara)

2018-03-09 11:03:26 UTC MAIN commitmail json YAML

Functionalize duplicated code. No functional changes.

(knakahara)

2018-03-09 11:01:41 UTC MAIN commitmail json YAML

Fix missing sadb_x_ipsecrequest informations for PF_KEY message.

(knakahara)

2018-03-09 10:59:36 UTC MAIN commitmail json YAML

NAT-T src and dst port in ipsec_variant should be network byte order.

(knakahara)

2018-03-09 10:41:05 UTC pgoyette-compat commitmail json YAML

2018-03-09 09:37:01 UTC pgoyette-compat commitmail json YAML

2018-03-09 08:49:32 UTC MAIN commitmail json YAML

Add yet another Shared L2 TLB (2M/4M pages).

XXX need redesign.

(msaitoh)

2018-03-09 06:27:54 UTC MAIN commitmail json YAML

2018-03-09 04:48:42 UTC pgoyette-compat commitmail json YAML

Include correct header file

(pgoyette)

2018-03-09 04:42:11 UTC pgoyette-compat commitmail json YAML

All the COMPAT_xx macros are already in opt_compat_netbsd.h so no
need to look for them in opt_compat_xx.h

(pgoyette)

2018-03-09 03:58:33 UTC pgoyette-compat commitmail json YAML

2018-03-09 02:36:28 UTC MAIN commitmail json YAML

2018-03-09 02:13:46 UTC pgoyette-compat commitmail json YAML

Update dependency: compat_sysv requires sysv_ipc

(pgoyette)

2018-03-09 02:06:45 UTC pgoyette-compat commitmail json YAML

More on module renaming - fun with CVS

(pgoyette)

2018-03-09 02:02:59 UTC pgoyette-compat commitmail json YAML

2018-03-09 01:47:14 UTC pgoyette-compat commitmail json YAML

Reuse the previous module name rather than craeting a new and longer one

(pgoyette)

2018-03-09 01:45:46 UTC pgoyette-compat commitmail json YAML

Rename the new compat_sysv_ipc module to just compat_sysv

(pgoyette)

2018-03-09 01:34:32 UTC pgoyette-compat commitmail json YAML

Add new compat_sysv_ipc module to sets lists.

(pgoyette)

2018-03-09 01:34:30 UTC MAIN commitmail json YAML

Add the rest of the earm flavors; madness.

(christos)

2018-03-09 01:33:58 UTC MAIN commitmail json YAML

2018-03-09 01:27:51 UTC pgoyette-compat commitmail json YAML

2018-03-08 23:27:13 UTC MAIN commitmail json YAML

2018-03-08 23:25:56 UTC MAIN commitmail json YAML

preliminary driver for the fan control unit found in some G5

(macallan)

2018-03-08 23:02:50 UTC MAIN commitmail json YAML

Add missed file in previous commit.

> efiboot: system can boot from CD/DVD-ROM media.

(nonaka)

2018-03-08 21:53:20 UTC MAIN commitmail json YAML

use channel info and set MODE bits accordingly instead of hoping OF set them
for us
now iic devices on different channels work properly

(macallan)

2018-03-08 20:39:40 UTC MAIN commitmail json YAML

2018-03-08 20:32:33 UTC MAIN commitmail json YAML

PR/53081: Fix size of the shift to depend on the type of the bitmap so that
we get the correct width.

(christos)

2018-03-08 18:48:25 UTC MAIN commitmail json YAML

The PCI_PRODUCT_VIATECH_VT82C686A_SMB has been renamed, adjust.

(martin)

2018-03-08 17:57:15 UTC MAIN commitmail json YAML

Update URL for the cited paper

(sevan)

2018-03-08 14:39:23 UTC netbsd-8 commitmail json YAML

2018-03-08 14:37:58 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #618):
sys/net/if_ethersubr.c: revision 1.245
sys/net/if_ethersubr.c: revision 1.247

  Use macro(ETHER_LOCK() and ETHER_UNLOCK()). No functional change.

- Modify ether_ioctl() for readability. No functional change.

- KNF

(martin)

2018-03-08 14:35:53 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #617):
sys/dev/ppbus/if_plip.c: revision 1.28
spl leak, found by Mootja

(martin)

2018-03-08 14:32:57 UTC netbsd-8 commitmail json YAML

2018-03-08 14:31:18 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #616):
sys/dev/pci/if_msk.c: revision 1.55
sys/dev/pci/pcidevs: revision 1.1299
update entry for Marvel Yukon 8058, and fix URL for pci ids (Rocky Hotas)

(martin)

2018-03-08 14:29:12 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #615):
share/man/man4/sdtemp.4: revision 1.7-1.8
sys/dev/i2c/sdtemp_reg.h: revision 1.13
sys/dev/i2c/sdtemp.c: revision 1.33

- Add another device ID of Maxim MAX6604.

- Add Microchip EMC1501.

- ADT7408's device ID is not 0x80 but 0x08.

Add Microchip EMC1501.

Remove unnecessary macros.

(martin)

2018-03-08 13:41:41 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #614):
sys/net/if_l2tp.c: revision 1.20
sys/netinet6/in6_l2tp.c: revision 1.13
sys/netinet6/in6_l2tp.c: revision 1.14
sys/net/if_l2tp.h: revision 1.3
sys/net/if_l2tp.c: revision 1.13
sys/netinet/in_l2tp.c: revision 1.10
sys/net/if_l2tp.c: revision 1.18
sys/netinet/in_l2tp.c: revision 1.11
sys/net/if_l2tp.c: revision 1.19
sys/netinet/in_l2tp.c: revision 1.12

If if_attach() failed in the attach function, return. Add comments about if_initialize().
suggested by ozaki-r@n.o.

Fix null deref, m could be NULL if M_PREPEND fails.

style

Style, reduce the indentation level when possible, and add a missing NULL
check after M_PREPEND.

Several fixes in L2TP:
* l2tp_input(): use m_copydata, and ensure there is enough space in the
  chain. Otherwise overflow.
* l2tp_tcpmss_clamp(): ensure there is enough space in the chain.
* in_l2tp_output(): don't check 'sc' against NULL, it can't be NULL.
* in_l2tp_input(): no need to call m_pullup since we use m_copydata.
  Just check the space in the chain.
* in_l2tp_input(): if there is a cookie, make sure the chain has enough
  space.
* in6_l2tp_input(): same changes as in_l2tp_input().
Ok knakahara@

Use MH_ALIGN instead, ok knakahara@.

(martin)

2018-03-08 13:38:02 UTC MAIN commitmail json YAML

2018-03-08 13:22:26 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #613):
sys/net/if_pppoe.c: revision 1.130,1.134
sys/net/if_spppsubr.c: revision 1.172,1.175,1.179
sys/net/if_gif.c: revision 1.138,1.139

Mark callouts of pppoe(4) CALLOUT_MPSAFE. Suggested by ozaki-r@n.o.

fix non-diagnostic compilation

Fix spl leak.
ifconfig gif0 create
ifconfig gif0 destroy
WARNING: SPL NOT LOWERED ON ...

Fix breaking character limit. Pointed out by ozaki-r@n.o, thanks.

Use m_freem instead of m_free. Otherwise we're leaking the next mbufs in
the chain.

(martin)

2018-03-08 12:31:25 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #612):
sys/dev/pci/ixgbe/ixgbe.c: revision 1.129-1.133
sys/dev/pci/ixgbe/ixgbe.h: revision 1.34
sys/dev/pci/ixgbe/ixv.c: revision 1.85,1.86

- Make "Handled queue in softint" and "Requeued in softint" evcnt(9) per queue
  and count them correctly.
- Remove #if 0'ed code.

Don't increment que->req.ev_count in MSI-X interrupt because it's not
reschedule.

Fix another poll mode assumption breaking. Implemented by msaitoh@n.o, I just commit by proxy.
ixgbe_rearm_queues() writes EICS register(s). 82599, X540 and X550
specifications say "Following a write of 1b to any bit in the EICS register
(interrupt cause set), its corresponding bit in the EIMS register is auto
set as well enabling its interrupt." in "Extended Interrupt Auto Mask Enable
(EIAM) Register" section. That is, ixgbe_rearm_queues() causes interrupts
regardless of the status managed by ixgbe_enable_queue()/ixgbe_disable_queue().

That can break poll mode assumption.

In fact, the problem occurs in the following situation
    - CPU#A has high load traffic, in contrast, CPU#B has not so high load traffic
    - CPU#A is occurred interrupt by its NIC queue
      - CPU#A calls ixgbe_disable_queue() in interrupt handler(ixgbe_msix_que())
      - CPU#A kick softint handler(ixgbe_handle_que())
        - CPU#A begins softint
        - CPU#A's NIC queue is set que->txr->busy flag
        - With some reason, CPU#A can do ixg interrupt handler
          E.g. when one of CPU#A's softnet handlers sleeps, ipl is lowered
    - CPU#B starts callout
      - CPU#B calls ixgbe_local_timer1()
        - CPU#B writes EICS bit corresponding CPU#A's NIC queue bit
    - CPU#A's NIC queue causes interrupt whie CPU#A is running in poll mode
      - CPU#A calls ixgbe_disable_queue() in interrupt handler *again*
    - CPU#A has done polling, and then CPU#A calls ixgbe_enable_queue() *once*
    - CPU#A's NIC queue interrupt is disabled until ixg is detached as
      ixgbe_disable_queue() is called twice though ixgbe_disable_queue() is
      called once only
NOTE:
82598 does not say so, but it is treated in the same way because of no harm.
By the way, we will refactor ixgbe_local_timer(watchdog processing) later.

Fix INTx/MSI handler did not schedule workqueue. Pointed out by msaitoh@n.o.

Reduce duplicated code which schedule deferred packet processing. No functional change.

(martin)

2018-03-08 11:33:15 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #611):
sys/arch/x86/x86/cpu.c: revision 1.134 (patch)
sys/arch/x86/include/cpu.h: revision 1.78 (patch)
sys/arch/i386/i386/machdep.c: revision 1.792 (patch)

style, and move some i386-specific code into i386/

(martin)

2018-03-08 10:34:33 UTC MAIN commitmail json YAML

2018-03-08 10:17:22 UTC MAIN commitmail json YAML

s/20183/201803/

(msaitoh)

2018-03-08 10:14:00 UTC MAIN commitmail json YAML

sdtemp(4): Add Microchp EMC1501, another device ID of Maxim MAX6604 support.
ichsmb(4): Add support for Intel C620, Apollo Lake and Gemini Lake devices.
lm(4): Add NCT6796D support.

(msaitoh)

2018-03-08 10:06:18 UTC MAIN commitmail json YAML

use 1ul for a left shift that may be greater than int sized.
noticed by martin.

fixes PR#53081.

(mrg)

2018-03-08 09:56:06 UTC pgoyette-compat commitmail json YAML

Remove unnecessary conditionals.  These files aren't built unless
their content is needed (via config option or module configuration).

(pgoyette)

2018-03-08 09:54:36 UTC pgoyette-compat commitmail json YAML

Include shared/common routines in the compat_netbsd Makefile

XXX These may later be extracted into an independant compat_util
XXX module.

(pgoyette)

2018-03-08 08:56:47 UTC pgoyette-compat commitmail json YAML

No need to compile conditionally, since it won't be compiled at all
unless requested.

(pgoyette)

2018-03-08 08:55:52 UTC pgoyette-compat commitmail json YAML

We don't need to conditionalize the code on COMPAT_60 since we'll
only include the source file when COMPAT_60 is requested (either
by kernel option or module specification)

(pgoyette)

2018-03-08 07:54:14 UTC MAIN commitmail json YAML

Switch nptr to uint8_t, and use nbuf_ensure_contig. Makes us use fewer
magic values.

(maxv)

2018-03-08 07:39:28 UTC MAIN commitmail json YAML

Remove Tn. Add serial comma.

(wiz)

2018-03-08 07:35:21 UTC MAIN commitmail json YAML

2018-03-08 07:06:13 UTC MAIN commitmail json YAML

Declare NPC_FMTERR, and use it to kick malformed packets. Several sanity
checks are added in IPv6; after we see the first IPPROTO_FRAGMENT header,
we are allowed to fail to advance, otherwise we kick the packet.

Sent on tech-net@ a few days ago, no response, but I'm committing it now
anyway.

(maxv)

2018-03-08 07:04:01 UTC pgoyette-compat commitmail json YAML

2018-03-08 06:48:23 UTC MAIN commitmail json YAML

Fix a race condition on DAD destructions (again)

The previous fix to DAD timers was wrong; it avoided a use-after-free but
instead introduced a memory leak.  The destruction method had delegated
a destruction of a DAD timer to the timer itself and told that by setting NULL
to dp->dad_ifa.  However, the previous fix made DAD timers do nothing on
the sign.

Fixing the issue with using callout_stop isn't easy.  One approach is to have
a refcount on dp but it introduces extra complexity that we want to avoid.

The new fix falls back to using callout_halt, which was abandoned because of
softnet_lock.  Fortunately now the network stack is protected by KERNEL_LOCK
so we can remove softnet_lock from DAD timers (callout) and use callout_halt
safely.

(ozaki-r)

2018-03-08 06:47:30 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2018-03-08 05:50:14 UTC MAIN commitmail json YAML

__BITMAP_ZERO() only takes the pointer to the bitmap as an argument

(martin)

2018-03-08 04:15:11 UTC MAIN commitmail json YAML

Sort entries. No functional change.

(msaitoh)

2018-03-08 03:15:08 UTC MAIN commitmail json YAML

2018-03-08 03:14:31 UTC MAIN commitmail json YAML

2018-03-08 03:12:02 UTC MAIN commitmail json YAML

fix various gcc6 m68k issues:
- bad indentation.  next68k en.c and mvme68k le_poll.c fixes real issues
  in error handling, the rest are NFCI.
- pass 68030 flags as appropriate for mvme68k.
- next68k nextrom.c has -Warray-bounds ignored for an odd expression
  that appears to run before relocation, and needs manual offsets
  added which trips bounds array checking.

with this all m68k ports build with GCC 6.

(mrg)

2018-03-08 02:41:27 UTC MAIN commitmail json YAML

Reduce duplicated code which schedule deferred packet processing. No functional change.

(knakahara)

2018-03-08 02:39:42 UTC MAIN commitmail json YAML

Fix INTx/MSI handler did not schedule workqueue. Pointed out by msaitoh@n.o.

(knakahara)

2018-03-08 01:37:47 UTC pgoyette-compat commitmail json YAML

Declare the if_50_{init,fini} entry points

(pgoyette)

2018-03-08 01:07:13 UTC pgoyette-compat commitmail json YAML

2018-03-08 00:25:30 UTC pgoyette-compat commitmail json YAML

2018-03-08 00:23:47 UTC pgoyette-compat commitmail json YAML

2018-03-07 23:08:29 UTC MAIN commitmail json YAML

Adjust ci on the second iteration.

Now a MULTIPROCESSOR+LOCKDEBUG ERLITE reaches userland again

(maya)

2018-03-07 22:40:26 UTC MAIN commitmail json YAML

remove the SHA256_Init man page; we are using ours from libc.

(christos)

2018-03-07 21:13:24 UTC MAIN commitmail json YAML

Fix typo in comment (s/is/if/) - NFC.

(kre)

2018-03-07 20:55:31 UTC MAIN commitmail json YAML

2018-03-07 20:48:00 UTC MAIN commitmail json YAML

Remove now duplicate code for enabling FPU before reading FPU_ID

(maya)

2018-03-07 20:46:06 UTC MAIN commitmail json YAML

Remove now duplicate code to read FPU_ID into t1

(maya)

2018-03-07 20:43:54 UTC MAIN commitmail json YAML

Remove duplicate confused code for enabling 64bit addressing

(maya)

2018-03-07 20:38:39 UTC MAIN commitmail json YAML

2018-03-07 19:44:31 UTC MAIN commitmail json YAML

2018-03-07 16:40:06 UTC MAIN commitmail json YAML

ATF: Reenable attach2 in t_ptrace_wait*

The primary race specific to this test has been fixed in previous commit
(wrong WNOHANG).

This test is still racy and breaks like once every 30,000 execution.
This is down like from once from every 100th execution in the past.

The remaning race is not specific to attach2 and I can reproduce it with
at least attach1. It still looks like being specific to NetBSD and it's
not reproducible on Linux and FreeBSD. Perhaps a bug with pipe(2)/write(2)/
read(2) or close to these features.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-03-07 16:06:57 UTC MAIN commitmail json YAML

HACK around aarch64 having "long long" "__int64_t"

(christos)

2018-03-07 16:06:29 UTC MAIN commitmail json YAML

Enable AES_ASM explicitly not by just looking at the processor, like we
do for other archs!

(christos)

2018-03-07 16:05:44 UTC MAIN commitmail json YAML

src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/Makefile@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes.inc@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aesv8-armx.S@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/arm64cpuid.S@1.1 / diff / nxr@1.1
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/armv8-mont.S@1.1 / diff / nxr@1.1
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/bf.inc@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/bn.inc@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/chacha-armv8.S@1.1 / diff / nxr@1.1
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/chacha.inc@1.1 / diff / nxr@1.1
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/crypto.inc@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/des.inc@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ec.inc@1.1 / diff / nxr@1.1
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ecp_nistz256-armv8.S@1.1 / diff / nxr@1.1
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ghashv8-armx.S@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/modes.inc@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/poly1305-armv8.S@1.1 / diff / nxr@1.1
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/poly1305.inc@1.1 / diff / nxr@1.1
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/rc4.inc@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha.inc@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha1-armv8.S@1.2 / diff / nxr@1.2
      :
(more 2 files)
regen; some assembly files don't work so disable for now.

(christos)

2018-03-07 15:56:34 UTC MAIN commitmail json YAML

Add duplicate code to read the FPU ID.
enable & disable the FPU around it.

(maya)

2018-03-07 15:52:43 UTC MAIN commitmail json YAML

Move the hpcmips L1 cache disable hack up
where another machine-specific hacks exists.

Note that no existing kernel seems to enable this option.

(maya)

2018-03-07 15:49:45 UTC MAIN commitmail json YAML

Add duplicate code that enables 64bit addressing under the right
macro conditions that is, _LP64.

The existing, previous code uses NOFPU as a condition for it.

This adds duplicated code (and later removes) for easy bisecting.

(maya)

2018-03-07 15:44:15 UTC MAIN commitmail json YAML

Replace early interrupt disable code.

As suggested by dh, carefully disable interrupts before frobbing
interrupt mask, which might trigger more interrupts.

Don't bother with keeping BEV and such.
Note that we are zeroing out STATUS later on in the (NOFPU || emips)
case right now.

This change is risky for emips which wasn't tested and didn't reach
userland before.

(maya)

2018-03-07 15:20:50 UTC MAIN commitmail json YAML

Remove more unused functions with COMPAT_AS=library

(maya)

2018-03-07 15:02:36 UTC MAIN commitmail json YAML

Build compat code as .a if not MODULAR.

Removes some more unused functions.

(maya)

2018-03-07 14:59:14 UTC MAIN commitmail json YAML

cleanup debugging code so that it compiles again.

(christos)

2018-03-07 14:55:49 UTC netbsd-8 commitmail json YAML

2018-03-07 14:50:57 UTC netbsd-8 commitmail json YAML

Pull up the following revisions (via patch), requested by maxv in ticket #610:

sys/arch/amd64/amd64/amd64_trap.S 1.8,1.10,1.12 (partial),1.13-1.15,
1.19 (partial),1.20,1.21,1.22,1.24
(via patch)
sys/arch/amd64/amd64/locore.S 1.129 (partial),1.132 (via patch)
sys/arch/amd64/amd64/trap.c 1.97 (partial),1.111 (via patch)
sys/arch/amd64/amd64/vector.S 1.54,1.55 (via patch)
sys/arch/amd64/include/frameasm.h 1.21,1.23 (via patch)
sys/arch/x86/x86/cpu.c 1.138 (via patch)
sys/arch/xen/conf/Makefile.xen 1.45 (via patch)

Rename and reorder several things in amd64_trap.S.
Compile amd64_trap.S as a file.
Introduce nmitrap and doubletrap.
Have the CPU clear PSL_D automatically in the syscall entry point.

(martin)

2018-03-07 13:46:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #609):
sys/netipsec/key.c: revision 1.249
sys/netipsec/keydb.h: revision 1.21
Avoid data races on lifetime counters by using percpu(9)
We don't make them percpu(9) directly because the structure is exposed to
userland and we don't want to break ABI.  So we add another member variable
for percpu(9) and use it internally.  When we export them to userland, they
are converted to the original format.

(martin)

2018-03-07 11:18:29 UTC MAIN commitmail json YAML

Fix another poll mode assumption breaking. Implemented by msaitoh@n.o, I just commit by proxy.

ixgbe_rearm_queues() writes EICS register(s). 82599, X540 and X550
specifications say "Following a write of 1b to any bit in the EICS register
(interrupt cause set), its corresponding bit in the EIMS register is auto
set as well enabling its interrupt." in "Extended Interrupt Auto Mask Enable
(EIAM) Register" section. That is, ixgbe_rearm_queues() causes interrupts
regardless of the status managed by ixgbe_enable_queue()/ixgbe_disable_queue().
That can break poll mode assumption.

In fact, the problem occurs in the following situation
    - CPU#A has high load traffic, in contrast, CPU#B has not so high load traffic
    - CPU#A is occurred interrupt by its NIC queue
      - CPU#A calls ixgbe_disable_queue() in interrupt handler(ixgbe_msix_que())
      - CPU#A kick softint handler(ixgbe_handle_que())
        - CPU#A begins softint
        - CPU#A's NIC queue is set que->txr->busy flag
        - With some reason, CPU#A can do ixg interrupt handler
          E.g. when one of CPU#A's softnet handlers sleeps, ipl is lowered
    - CPU#B starts callout
      - CPU#B calls ixgbe_local_timer1()
        - CPU#B writes EICS bit corresponding CPU#A's NIC queue bit
    - CPU#A's NIC queue causes interrupt whie CPU#A is running in poll mode
      - CPU#A calls ixgbe_disable_queue() in interrupt handler *again*
    - CPU#A has done polling, and then CPU#A calls ixgbe_enable_queue() *once*
    - CPU#A's NIC queue interrupt is disabled until ixg is detached as
      ixgbe_disable_queue() is called twice though ixgbe_disable_queue() is
      called once only

NOTE:
82598 does not say so, but it is treated in the same way because of no harm.

By the way, we will refactor ixgbe_local_timer(watchdog processing) later.

XXX pullup-8

(knakahara)

2018-03-07 10:53:55 UTC MAIN commitmail json YAML

ATF: Correct a race bug in attach2 (t_ptrace_wait*)

At the end of the test we resume a tracer and expect to observe it to
collect the debuggee. We cannot from a parent point of view wait for
collecting it with WNOHANG without a race.

Remove the WNOHANG option from wait*(2) call. This corrects one type of
race.

This test is still racy for some other and unknown reason and this is being
investigated.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-03-07 10:06:41 UTC MAIN commitmail json YAML

Remove case labels we will never trigger due to filtering.

(roy)

2018-03-07 09:44:22 UTC MAIN commitmail json YAML

also disable SYSCTL_INCLUDE_DESCR.
copy sun3 disables to sun3x mostly.  it has the same ufsboot 2MB limit.

(mrg)

2018-03-07 09:33:26 UTC pgoyette-compat commitmail json YAML

Move the emul_find_root() and emul_find_interp() to a new file
subr_emul.c

The previous location was in exec_elf.c but that can get built
multiple times for a single kernel, so we could end up with
duplicate symbols.

Thanks to ,rg@ for the heads-up.

(pgoyette)

2018-03-07 09:25:56 UTC MAIN commitmail json YAML

Add NCT6796D. Some functions of NCT6796D is extended from NCT6795D,
but this commit doesn't support them yet.

(msaitoh)

2018-03-07 08:56:44 UTC pgoyette-compat commitmail json YAML

Remove redundant assignment

(pgoyette)

2018-03-07 08:25:43 UTC MAIN commitmail json YAML

wtf(6): use character classes

ok pgoyette@ silence dholland@

(eadler)

2018-03-07 08:24:16 UTC MAIN commitmail json YAML

wtf(6): quote "$f"

ok pgoyette@ silence dholland@

(eadler)

2018-03-07 08:01:32 UTC MAIN commitmail json YAML

Don't increment que->req.ev_count in MSI-X interrupt because it's not
reschedule.

(msaitoh)

2018-03-07 06:55:01 UTC MAIN commitmail json YAML

Use local ELF labels and avoid an unsupported 16bit relocation.

(mlelstv)

2018-03-07 03:29:10 UTC MAIN commitmail json YAML

- Make "Handled queue in softint" and "Requeued in softint" evcnt(9) per queue
  and count them correctly.
- Remove #if 0'ed code.

(msaitoh)

2018-03-07 02:30:37 UTC MAIN commitmail json YAML

Tweak tests; increase the size of NS packets for the addition of a nonce

(ozaki-r)

2018-03-07 02:30:00 UTC MAIN commitmail json YAML

Provide more informative reports on failures

(ozaki-r)

2018-03-07 01:37:24 UTC MAIN commitmail json YAML

Avoid passing NULL to nd6_dad_duplicated

Fix PR kern/53075

(ozaki-r)

2018-03-06 23:49:45 UTC pgoyette-compat commitmail json YAML

Declare it correctly

(pgoyette)

2018-03-06 23:48:34 UTC pgoyette-compat commitmail json YAML

Declare the compat_ifconf vector, not the stub.

(pgoyette)

2018-03-06 23:46:14 UTC pgoyette-compat commitmail json YAML

Allocate and initialize the vector for compat_ifconf()

(pgoyette)

2018-03-06 23:39:35 UTC pgoyette-compat commitmail json YAML

And we need the oifreq definition here, too

(pgoyette)

2018-03-06 23:31:29 UTC pgoyette-compat commitmail json YAML

Better to add these required headers closer to where they're needed

(pgoyette)

2018-03-06 23:27:52 UTC pgoyette-compat commitmail json YAML

And another required header

(pgoyette)

2018-03-06 23:24:11 UTC pgoyette-compat commitmail json YAML

Include necessary header

(pgoyette)

2018-03-06 23:19:20 UTC pgoyette-compat commitmail json YAML

Move indirect function call vectors to if.h where they can be
found by the code that manipulates them.

(pgoyette)

2018-03-06 23:17:42 UTC pgoyette-compat commitmail json YAML

2018-03-06 22:46:41 UTC pgoyette-compat commitmail json YAML

2018-03-06 22:21:01 UTC MAIN commitmail json YAML

fix typo (thanks gcc-6). There is no "pxaiis"

(christos)

2018-03-06 22:13:14 UTC MAIN commitmail json YAML

2018-03-06 21:21:27 UTC MAIN commitmail json YAML

Fix typo in function name.

(htodd)

2018-03-06 21:11:51 UTC MAIN commitmail json YAML

Correct all ATF failures in t_ptrace_x86_wait.h (debug registers)

This code after refactoring stopped calling functions that were designed
to trigger expected behavior and thus, tests were breaking.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-03-06 19:32:16 UTC MAIN commitmail json YAML

2018-03-06 19:30:56 UTC MAIN commitmail json YAML

2018-03-06 18:36:09 UTC MAIN commitmail json YAML

fix v8 PMULL detection (Robert Swindells)

(christos)

2018-03-06 18:32:37 UTC MAIN commitmail json YAML

For mips64:

Avoid branch delay spot warnings: Warning: macro instruction expanded into
multiple instructions in a branch delay slot

(christos)

2018-03-06 17:40:04 UTC MAIN commitmail json YAML

fdtbus_get_string_index(): decrease len when going to the next string,
otherwise we may read past the end of names.

(bouyer)

2018-03-06 17:39:36 UTC MAIN commitmail json YAML

Perform the IP (src/dst) checks _before_ calling the packet filter, because
if the filter has a "return-icmp" rule it may call icmp6_error with an src
field that was not entirely validated.

(maxv)

2018-03-06 17:24:57 UTC MAIN commitmail json YAML

I guess fdtbus_regulator_get_voltage() should check for the get_voltage()
callback, not set_voltage()

(bouyer)

2018-03-06 15:06:06 UTC netbsd-7 commitmail json YAML

2018-03-06 15:04:49 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by flxd in ticket #1578):
sys/arch/mips/mips/cache.c: revision 1.59
Add missing call to mips_dcache_compute_align() affecting "modern" MIPS
(MIPS32{,R2}/MIPS64{,R2}). Thanks jmcneill@; OK skrll@.

(martin)

2018-03-06 13:47:25 UTC MAIN commitmail json YAML

Avoid branch delay spot warnings: Warning: macro instruction expanded into
multiple instructions in a branch delay slot
XXX: Manually need to fix in auto-generation.

(christos)

2018-03-06 13:37:43 UTC MAIN commitmail json YAML

2018-03-06 11:21:32 UTC MAIN commitmail json YAML

Remove unused variables

(martin)

2018-03-06 11:19:17 UTC netbsd-8 commitmail json YAML

2018-03-06 11:17:55 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #607):
sys/netipsec/ipsecif.c: revision 1.3
Fix fragment processing in ipsec4_fragout(). Pointed out by maxv@n.o, thanks.
XXX need pullup-8

(martin)

2018-03-06 11:15:33 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nakayama in ticket #606):
usr.bin/vmstat/vmstat.c: revision 1.218
Don't print "nan" when there is no disk activity.

(martin)

2018-03-06 11:12:41 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #605):
sys/dev/pci/ixgbe/ixgbe.h: revision 1.32
sys/dev/pci/ixgbe/ixgbe.h: revision 1.33
sys/dev/pci/ixgbe/ix_txrx.c: revision 1.34
sys/dev/pci/ixgbe/ixgbe.c: revision 1.128
sys/dev/pci/ixgbe/ixv.c: revision 1.83
sys/dev/pci/ixgbe/ixv.c: revision 1.84

Add hw.ixvM.q[01].{interrupt_rate,[tr]xd_head,[tr]xd_tail} sysctls as ixg(4).

ixg(4) supports workqueue poll mode, but not enabled by default yet. (that is, the default behavior is *not* changed)

At the time of high load near the wire rate, the turnaround time
of update/delete processing such as "ifconfig ixg0 inet XXX" or
"ifconfig ixg0 delete" is very long. The main reason is CPU
starvation caused by ixg(4)'s softint poll mode. ixg(4) uses
workqueue poll mode instead of softint poll mode, so that this
problem will be fix.

This change may cause performance issues, so it is not enabled
by default yet. Although there are that issues, if you want to use
workqueue poll mode, do "sysctl -w hw.ixgXX.txrx_workqueue=1" while
there is no traffic on the ixgXX.

ok by msaitoh@n.o.

ixv(4) also supports workqueue poll mode, but not enabled by default yet, either.
ok by msaitoh@n.o.

Move the location of "struct work" as FreeBSD's "struct task" in ixgbe.h.
No functional change.

(martin)

2018-03-06 10:59:04 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #604):
sys/dev/pci/if_wm.c: revision 1.565-1.566

- Fix a bug that wm_pll_workaround_i210() is not called on some cases.
  As I wrote in if_wm.c rev 1.329's commit message, There are three cases:
    a) Chip is I211
    b) Chip is I210 and it uses INVM (not FLASH)
    c) Chip is I210 (it uses FLASH) and NVM image version < 3.25
  Before this commit, the workaround function was not called on a) and b).

- Rename function.

Do wm_reset_mdicnfg_82580() on 82580 only.

(martin)

2018-03-06 10:57:00 UTC MAIN commitmail json YAML

nd6: add a nonce to DaD probes in-case they are looped back to us

This implements RFC 7527, based a similar change in FreeBSD.

(roy)

2018-03-06 10:37:42 UTC pgoyette-compat commitmail json YAML

Move necessary routines out of compat_util.c and into exec_elf.c

Once again, compat_util.c is only for modules, so move it back into
compat/common/files.common and out of kern/files.kern

(pgoyette)

2018-03-06 10:17:12 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by maxv in ticket #603:

amd64/conf/kern.ldscript      1.25 (patch)
amd64/conf/kern.ldscript.Xen  1.14 (patch)
i386/conf/kern.ldscript      1.21 (patch)
i386/conf/kern.ldscript.Xen  1.15 (patch)
x86/include/cpufunc.h        1.24 (patch)
x86/x86/patch.c              1.25 (partial) 1.26 (partial)

Backport x86_hotpatch.

(martin)

2018-03-06 10:07:36 UTC pgoyette-compat commitmail json YAML

Re-sequence to declare dependency before depending on it

(pgoyette)

2018-03-06 10:07:06 UTC MAIN commitmail json YAML

Fix fragment processing in ipsec4_fragout(). Pointed out by maxv@n.o, thanks.

XXX need pullup-8

(knakahara)

2018-03-06 10:00:10 UTC pgoyette-compat commitmail json YAML

compat_util.c is included in all kernels, so does not need to be
listed here.

(pgoyette)

2018-03-06 09:55:59 UTC pgoyette-compat commitmail json YAML

Expand dependencies for EXEC_ELF32 and COMPAT_LINUX32

(pgoyette)

2018-03-06 09:52:09 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #602):
doc/CHANGES{,.prev}: revision 1.138
sys/sys/ptrace.h: revision 1.63
lib/libc/sys/ptrace.2: revision 1.68
sys/kern/sys_ptrace_common.c: revision 1.35 (via patch)
tests/lib/libc/sys/t_ptrace_wait.c: revision 1.23

Remove PT_GET_SIGMASK / PT_SET_SIGMASK

These operations cloned Linux's specific PTRACE_GETSIGMASK /
PTRACE_SETSIGMASK.

This feature was useful in applications like rr/criu/reptyr-like, where
the ptrace(2) interface is abused for the purpose of constructing an
arbitrary
process. It's not reliable and not portable. For the NetBSD case it will =
be
better to invent something dedicated for serializing and deserializing a
process with threads.

Noted on tech-toolchain@ and blog entry
"LLDB restoration and return to ptrace(2)"
https://blog.netbsd.org/tnf/entry/lldb_restoration_and_return_to

(martin)

2018-03-06 09:43:06 UTC pgoyette-compat commitmail json YAML

Routine emulexec() in kern_exec.c needs emul_find_root().  Since
kern_exec.c is included in every kernel, so compat_util.c needs to
be included, too.

(pgoyette)

2018-03-06 09:27:28 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by flxd in ticket #601):
sys/arch/mips/mips/cache.c: revision 1.59
Add missing call to mips_dcache_compute_align() affecting "modern" MIPS
(MIPS32{,R2}/MIPS64{,R2}). Thanks jmcneill@; OK skrll@.

(martin)

2018-03-06 09:21:35 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv):
sys/netipsec/ipsec_input.c: revision 1.57
sys/netipsec/ipsec_input.c: revision 1.58

Extend these #ifdef notyet. The m_copydata's in these branches are wrong,
we are not guaranteed to have enough room for another struct ip, and we
may crash here. Triggerable remotely, but after authentication, by sending
an AH packet that has a one-byte-sized IPIP payload.

Argh, in my previous commit in this file I forgot to fix the IPv6
entry point; apply the same fix there.

(martin)

2018-03-06 08:53:41 UTC netbsd-8 commitmail json YAML

Ammend ticket #593 for additional pullup of sys/arch/x86/x86/pmap.c r1.267

(martin)

2018-03-06 08:45:59 UTC netbsd-8 commitmail json YAML

Also pull up r1.267, requested by mrg in ticket #593: avoid a NULL pointer
deref and simplify.

(martin)

2018-03-06 08:20:22 UTC MAIN commitmail json YAML

Sprinkle __volatile on asm instructions

(skrll)

2018-03-06 08:14:17 UTC MAIN commitmail json YAML

Convert decimal to hex to make comparison to arm arm (slightly) easier.

(skrll)

2018-03-06 07:59:59 UTC MAIN commitmail json YAML

2018-03-06 07:49:36 UTC MAIN commitmail json YAML

Fix cmap bounds checking.

(mlelstv)

2018-03-06 07:45:38 UTC MAIN commitmail json YAML

print quota pointers in superblock

(mlelstv)

2018-03-06 07:41:55 UTC MAIN commitmail json YAML

correct whitespace in attach message

(mlelstv)

2018-03-06 07:36:10 UTC MAIN commitmail json YAML

2018-03-06 07:31:57 UTC MAIN commitmail json YAML

2018-03-06 07:27:55 UTC MAIN commitmail json YAML

Use pool(9) for llentry allocations

llentry is easy to be leaked and pool suits for it because pool is usable to
detect leaks.

Also sweep unnecessary wrappers for llentry, in_llentry and in6_llentry.

(ozaki-r)

2018-03-06 07:25:27 UTC MAIN commitmail json YAML

Fix memory leaks on arp -d and ndp -d for static entries

We have to delete entries on in_lltable_delete and in6_lltable_delete
unconditionally.  Note that we don't need to worry about LLE_IFADDR because
there is no such entries now.

(ozaki-r)

2018-03-06 07:24:01 UTC MAIN commitmail json YAML

Fix reference leaks of llentry

callout_reset and callout_halt can cancel a pending callout without telling us.
Detect a cancel and remove a reference by using callout_pending and
callout_stop (it's a bit tricy though, we can detect it).

While here, we can remove remaining abuses of mutex_owned for softnet_lock.

(ozaki-r)

2018-03-06 07:20:41 UTC MAIN commitmail json YAML

Add assertions

We must not destroy llentries holding mbufs.

(ozaki-r)

2018-03-06 07:19:03 UTC MAIN commitmail json YAML

Tweak sanity checks

Scheduling a timer of static entries is wrong.

(ozaki-r)

2018-03-06 06:04:21 UTC MAIN commitmail json YAML

if_xsh needs mii_bitbang; make a pared down kernel build

(spz)

2018-03-06 05:46:06 UTC pgoyette-compat commitmail json YAML

Untangle some networking compat code so we can build a kernel with
networking and MODULAR, but without any actual COMPAT_* code (ie,
assuming that all the compat stuff can be added later via modules).

(pgoyette)

2018-03-06 05:44:37 UTC pgoyette-compat commitmail json YAML

Don't include the compat_mod.c here

(pgoyette)

2018-03-06 05:43:02 UTC pgoyette-compat commitmail json YAML

Include utilities required by compat stuff

(pgoyette)

2018-03-06 05:41:51 UTC pgoyette-compat commitmail json YAML

Include the list of compat files

(pgoyette)

2018-03-06 05:40:32 UTC pgoyette-compat commitmail json YAML

No longer build the libcompat.o which ends up including most of the
compat_netbsd code without creating the module entry that other
modules are depending on, which in turn causes the modules to fail
to load because of redefined symbols.

(pgoyette)

2018-03-06 05:38:20 UTC pgoyette-compat commitmail json YAML

Add a files.common to list all the compat source files.

(pgoyette)

2018-03-06 04:45:04 UTC pgoyette-compat commitmail json YAML

Add a NOCOMPAT kernel definition to serve as a baseline for getting
the incremental COMPAT_xx options working.

While here, add some additional "requires COMPAT_xxx" to some of the
options in GENERIC

(pgoyette)

2018-03-06 03:47:23 UTC MAIN commitmail json YAML

Move the location of "struct work" as FreeBSD's "struct task" in ixgbe.h.
No functional change.

(msaitoh)

2018-03-06 03:33:26 UTC MAIN commitmail json YAML

[tail] Fix type of 'len'

ok pgoyette

(eadler)

2018-03-06 01:14:41 UTC MAIN commitmail json YAML

2018-03-06 00:15:24 UTC MAIN commitmail json YAML

Add new branch pgoyette-compat for cleaning up the compat modules

While here, note that prg-localcount2 core content was merged a
while ago, and no further activity is expected.

(pgoyette)

2018-03-05 23:00:55 UTC MAIN commitmail json YAML

comment out unused variable.

(christos)

2018-03-05 21:14:34 UTC MAIN commitmail json YAML

switch everyone but vax to OpenSSL1.1.

(christos)

2018-03-05 16:43:50 UTC MAIN commitmail json YAML

2018-03-05 12:42:28 UTC MAIN commitmail json YAML

Improve stupid check, style, and fix leak (m, not m0).

(maxv)

2018-03-05 11:50:25 UTC MAIN commitmail json YAML

Call m_pullup earlier, fixes one branch.

(maxv)

2018-03-05 11:24:35 UTC MAIN commitmail json YAML

Remove PT_GET_SIGMASK / PT_SET_SIGMASK

These operations cloned Linux's specific PTRACE_GETSIGMASK / PTRACE_SETSIGMASK.
This feature was useful in applications like rr/criu/reptyr-like, where
the ptrace(2) interface is abused for the purpose of constructing an arbitrary
process. It's not reliable and not portable. For the NetBSD case it will be
better to invent something dedicated for serializing and deserializing a
process with threads.

Noted on tech-toolchain@ and blog entry

"LLDB restoration and return to ptrace(2)"
https://blog.netbsd.org/tnf/entry/lldb_restoration_and_return_to

(kamil)

2018-03-05 10:54:05 UTC MAIN commitmail json YAML

Calculate way and number of entries correctly from CPUID leaf 18H.

(msaitoh)

2018-03-05 10:23:44 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2018-03-05 09:37:30 UTC MAIN commitmail json YAML

Adapt to the new device name for interface attachments.

(ws)

2018-03-05 09:35:01 UTC MAIN commitmail json YAML

Fix last:

Since config(1) could not distinguish between device and
interface attachments, it was generating only the latter.
Thus devices without their own driver wouldn't match the
ugen driver anymore.

Fix this by using a different device name for interface attachments.

(ws)

2018-03-05 09:17:42 UTC MAIN commitmail json YAML

switch sh3 to GCC 6.  tested on landisk in emul and hardware.

actually do this by reversing the check to look for m68* and vax
to choose GCC 5, and otherwise default to GCC 6.

(mrg)

2018-03-05 08:56:49 UTC MAIN commitmail json YAML

KNF in comment. No functional change.

(msaitoh)

2018-03-05 08:08:06 UTC MAIN commitmail json YAML

switch arm ports to GCC 6.

this is the last GCC that will support these ports:
- epoc32
- netwinder
- shark
- acorn32
- cats
- most hpcarm systems (only NETBOOKPRO and WZERO3 remain)

(mrg)

2018-03-05 07:47:21 UTC MAIN commitmail json YAML

enums might be unsigned.

(mlelstv)

2018-03-05 07:03:27 UTC MAIN commitmail json YAML

swtich ia64 to GCC 6.

(mrg)

2018-03-05 05:50:37 UTC MAIN commitmail json YAML

- Parse the TLB info from `cpuid leaf 18H' on Intel processor. Currently,
  this change doesn't decode perfectly.  Tested with Gemini Lake. It has
  two L2 Shared TLB. One is 4MB and another is 2MB/4MB but former isn't
  printed yet:

cpu0: ITLB 1 4KB entries 48-way
cpu0: DTLB 1 4KB entries 32-way
cpu0: L2 STLB 8 4MB entries 4-way

  Need some rework for struct x86_cache_info.
- Use aprint_error_dev() for error output.

(msaitoh)

2018-03-05 05:44:07 UTC MAIN commitmail json YAML

Add Intel Deterministic Address Translation Parameter Leaf(0x18) definitions.

(msaitoh)

2018-03-05 04:59:54 UTC MAIN commitmail json YAML

[fish] don't allow users to request cards they have made books for

While here, don't re-renter pro mode

PR bin/52973

ok maya@ dh@

(eadler)

2018-03-05 04:23:00 UTC MAIN commitmail json YAML

Remove duplicate vgaw() accidentally introduced in the previous revision.

(rin)

2018-03-05 04:21:36 UTC MAIN commitmail json YAML

- Add AMD CPUID leaf 0x80000008 ebx's xsaveerptr, ibpb, ibrs, stibp.
- Add Intel CPUID leaf 7 ebx's umip, avx512_vbmi2, gfni, vaes, vpclmulqdq,
  avx512_vnni and avx512_bitalg.
- Add Intel CPUID leaf 7 edx's avx512_4vnniw, avx512_4fmaps and
  arch_capabilities.

(msaitoh)

2018-03-05 02:41:19 UTC MAIN commitmail json YAML

use an inline function for the "4 reads"

(christos)

2018-03-05 02:41:03 UTC MAIN commitmail json YAML

gcc-6 passes -m68040 to the assembler, so reset it to -m68030...

(christos)

2018-03-05 02:39:06 UTC MAIN commitmail json YAML

can't use fnop directly now, explain why.

(christos)