Age | Commit message (Collapse) | Author |
|
a common bus space tag that can be used for early console attachment.
ok kettenis@
|
|
|
|
This change fixes the issues.
from hshoexer@; reported and tested by semarie@; OK deraadt@
|
|
Extend the logic already present for panic() to any DDB-related
operation such that if ddb(4) is entered because of a fault or
other trap it is still possible to call 'boot reboot'.
While here stop printing splassert() messages as well, to not fill
the buffer.
ok visa@, deraadt@
|
|
Prevents a rwlock recursion found by stsp@.
ok stsp@, deraadt@, visa@
|
|
|
|
ok deraadt@
|
|
sdmmc chipset driver, currently only implemented in sdhc(4), but
mostly uses the regular path. sdhc(4) also needed the ability to
perform IO while cold.
ok deraadt@
|
|
frequency.
ok patrick@, visa@
|
|
Linux kernel for encoding pin functions.
ok patrick@
|
|
needed as the full configuration table for an SoC can specify a function
(maybe erroneously) more than once, and the tables are designed so that
the first match counts. This is in preparation for a followup diff that
makes use of the full table.
ok kettenis@
|
|
Previous commit has no OK's or discussion about testing.
|
|
if the tcpcb exits.
OK mpi@
|
|
instead of just returning 0s.
Initial diff from Adam Steen, thanks!
ok pd@
|
|
Armada 7K and 8K SoCs.
ok patrick@
|
|
ok visa@
|
|
Most of the resume work is already done in the audio(4) layer, so, to
fix suspend/resume we just need to reinitize the device.
ok kettenis@
|
|
The allocm() functions are supposed to allocate memory and it's bad
style to access the hardware there, so move the DMA base pointers
setup to the trigger_xxx().
ok kettenis@
|
|
ok visa@, patrick@
|
|
From Raf Czlonka, ok sthen@
|
|
Going by changes in FreeBSD and Linux it is almost identical to pch_spt
but doesn't need one of the workarounds for a pch_spt specific errata.
|
|
The maximum number of commands may be specified in outbound scratch register
3, should be limited to 1024, and should further be reduced by one to ensure
the reply queue doesn't overflow.
The maximum number of sges in a command should be the highest power of two
that fits in the space available in the io frame and in a chained sge frame.
The maximum size of a chained frame is specified in outbound scratch
register 2.
part of a diff from Naoki Fukaumi
ok dlg@
|
|
part of a diff from Naoki Fukaumi
ok dlg@
|
|
commands later.
part of a diff from Naoki Fukaumi
ok dlg@
|
|
- remove extra blank line
- call ifq_deq_rollback() when ugl_send() failed
- call ifq_clr_oactive() before splx()
ok mpi@
|
|
The check prevents incomming multicast packages from arriving at the gif
interface (eg. OSPF) when the traffic is protected by IPsec in transport
mode.
ok dlg@
|
|
safely to disk. The subsystem seems to be working as intended! :)
|
|
ok deraadt@
|
|
the packet length.
found by Maxime Villard; from FreeBSD; OK procter@ markus@
|
|
|
|
feedback and ok jsg@
|
|
the SMBIOS table. Some machines even have IPMI defined in both tables.
This attachment driver makes ipmi(4) available via ACPI. There can only
attach one ipmi(4) device, either on ACPI or SMBIOS.
Akin to the SMBIOS-attached ipmi(4) this driver is disabled by default.
Feedback from jsg@
ok deraadt@
|
|
ok deraadt@
|
|
|
|
_MAX_PAGE_SHIFT)
Discussion with kettenis
|
|
continuous. The length of the hardware and protocol address are
provided in the network packet and have to be checked first. So
enforce that we only deal with internet over ethernet arp headers
with the address length filled correctly.
found by Maxime Villard; OK claudio@
|
|
slaacd(8).
RFC 7217 states (section 5, page 9):
| The Interface Identifier is finally obtained by taking as many
| bits from the RID value (computed in the previous step) as
| necessary, starting from the least significant bit.
Problem in slaacd pointed out by semarie@.
OK sthen, phessler
|
|
- provide a cpu_softc for cpu_attach() etc.
- replace per PCB TSS with per CPU TSS
The first change prepares for cpu_info being embedded in a
cpu_full_info. Therefore during autoconf/cpu_attach we hand down
a softc.
The second change removes the per PCB TSS. We now have one TSS per
CPU, thus in cpu_switchto() we only have to patch the ring 0 stack
pointer instead of loading a new TSS. This also allows for cleaning
up the GDT, so we only have a single slot for the TSS.
from hshoexer@; OK deraadt@
|
|
From Kai-Heng Feng
5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119
06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux
|
|
From Harry Wentland
c088f7bc3310bb57e0aaea297c7e2f467015d215 in linux 4.4.y/4.4.94
6cecdf7a161d2b909dc7c8979176bbc4f0669968 in mainline linux
|
|
so inline the assignments, pushing them through the callers into
several other functions. This shows that pmap_free_ptp() was doing
a duplicate set of pmap_tlb_shootpage() calls: delete the extras.
ok deraadt@ mlarkin@
|
|
rather reset GS.base and restore FS.base to what was set via __tcb_set(),
so we can't really support the wr{fs,gs}base instructions by userspace.
Enabling CR4_FSGSBASE is therefore incorrect so stop doing so.
ok jsg@ krw@
|
|
|
|
if the mac address is not for the interface, it must be multicast
or broadcast. this is instead of if the packet is not
multicast/broadcast, it must be for the interface.
this allows ethernet interfaces to have multicast mac addresses
without having to special case it themselves. eg, carp load balancing
should become easier with this.
ok mpi@
|
|
previously it took a shortcut when emptying an mbuf by only setting
m_len to 0, but leaving m_data alone. this interacts badly with
m_pullup, which tries to maintain the alignment of the data
payload. if there was a 14 byte ethernet header on its own that was
m_adjed off, and then the stack wants an ip header, m_pullup
would put the ip header on the ethernet header alignment, which is
off by 2 bytes.
found by stsp@ with pair(4) on sparc64.
ok stsp@ too
|
|
From Artturi Alm.
|
|
ok jsg@
|
|
ok jsg@
|
|
(forget to remove from repository)
ok visa@
|
|
ok visa@
|