Commit Graph

268536 Commits

Author SHA1 Message Date
sevan 38f983952f SEMB SGPIO 2019-07-05 15:33:07 +00:00
hannken 19f44db6df Change dtrace toxic range to "0 .. VM_MIN_KERNEL_ADDRESS_DEFAULT",
the direct map may be mapped below "VM_MIN_KERNEL_ADDRESS".
2019-07-05 08:29:18 +00:00
hannken 30c4137c4d Change module type to "MODULE_CLASS_MISC" to allow preloading.
Change "dtrace_nullop()" to return zero, it gets casted to "int (*)(...)".
2019-07-05 08:28:52 +00:00
hannken ce2428b9c3 When building a module keep symbols if built with "MKCTF" and "COPTS=-g". 2019-07-05 08:28:16 +00:00
msaitoh 8131c50e5e Regen. 2019-07-05 06:19:49 +00:00
msaitoh 3d68d2fa6f Add some Intel Whisky Lake devices. 2019-07-05 06:19:24 +00:00
mlelstv cdb8872cc5 Resynchronizing the input stream could infinitely wait when the touchpad
is in the wrong (relative) mode. The detection of relative mode is never
reached.

Limit the resynchronization to 6 bytes, then trigger a reset.
2019-07-05 05:09:24 +00:00
thorpej 5d5d89b89e Get the very generically-named put_uint32(), etc. out of the application
namespace.  These symbols are not intended to be used outside of the
dns_sd library.
2019-07-04 15:54:09 +00:00
sevan 204825b73f ADDDC AEDC IBPI LMCE POR PPR SAF-TE SDDC SSC WHEA 2019-07-04 15:31:37 +00:00
wiz 4785fe6db5 Formatting nit. 2019-07-04 13:55:31 +00:00
hkenken f5808f43a4 Avoid workqueue_check_duplication(). 2019-07-04 11:13:26 +00:00
msaitoh 2d5bf6b9e2 On ENETRESET case, not continue and quit the ifflags_cb() function because
if_init() will do the same thing.
2019-07-04 09:02:24 +00:00
msaitoh 1c56691b77 Fix hung queue check when the queue number >= 31. 2019-07-04 08:56:35 +00:00
ozaki-r 8fc34cb71c Bump the version for if_description
Welcome to 8.99.50
2019-07-04 02:49:30 +00:00
ozaki-r 24bc91d9f1 Add ATF test for a description.
From t-kusaba@IIJ
2019-07-04 02:46:40 +00:00
ozaki-r 86e9de9cad Add descr,description/-descr,-description commands to ifconfig(8) to handle a description.
From t-kusaba@IIJ
2019-07-04 02:45:45 +00:00
ozaki-r aa0ca9e9b1 Add support for a network interface description.
ioctl(2):
- Add SIOCGIFDESCR/SIOCSIFDESCR commands to get/set the description.

This enables to make a memo for interface, like "Home network" or "Remote VPN".

From t-kusaba@IIJ
2019-07-04 02:44:25 +00:00
jmcneill 339e525973 Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_32BIT_ACCESS flags 2019-07-03 23:10:43 +00:00
jmcneill 1caa0d51d2 If switching to fixed sampling clock, do not return an error to the sdmmc layer. 2019-07-03 23:10:08 +00:00
jmcneill 0445ffd25d Set correct bits when enabling gpio tshut mode 2019-07-03 20:55:21 +00:00
wiz 2804fa84ba Improve nouveau pci attachment code so it waits for the availability of /
before trying to load firmware.

Fixes my PR 54274.

LGTM mrg
2019-07-03 20:47:22 +00:00
sevan 9af28e64c5 HEVC IDCT VDPAU VLD 2019-07-03 20:26:16 +00:00
jmcneill 320724ba7e Enforce 32-bit limits on ADMA2 capable controllers that do not support 64-bit descriptors 2019-07-03 19:46:02 +00:00
jmcneill d44d9e7c3c Define _ARM32_NEED_BUS_DMA_BOUNCE for aarch64 so we can use bus_dmamap_subregion 2019-07-03 19:45:14 +00:00
dholland c2e7ae765c Fix up mangled logic, hopefully. PR 54323 from David Binderman.
XXX: This code is pretty dodgy in general and would benefit from a
XXX: workover by someone who knows what it's supposed to be doing.
XXX: E.g. it appears that a read error will cause an infinite loop...
2019-07-03 18:40:33 +00:00
dholland 51c5c5e8ad Stack buffers mustn't escape their scope. PR 54326 from David Binderman 2019-07-03 18:24:50 +00:00
maxv 2247b7936d Check the return value of PHY_READ(). Because, if it fails, 'reg' is not
initialized. On Qemu, this read systematically fails.

Print an error in this case, and act as if there was no fiber. Maybe there
is a smarter way to fix this kind of things.
2019-07-03 17:40:29 +00:00
maxv 54e07df912 Invert two conditions, to fix uninitialized memory access. If the node is
an immediate, then the 64 bits of nnode.sysctl_data may not all be
initialized, since this is an union.

Obviously, this is harmless; but still a bug, so fix it.
2019-07-03 17:31:32 +00:00
maxv 98e13329bf Inline x86_cpuid2(), prerequisite for future changes. Also, add "memory"
on certain other inlines, to make sure GCC does not reorder.
2019-07-03 17:24:37 +00:00
christos 3d103253a8 new tzcode 2019-07-03 15:52:35 +00:00
christos 1779c60f24 Change the default to be slim 2019-07-03 15:50:40 +00:00
christos 7005738d9a Sync with 2019b:
zic's new -b option supports a way to control data bloat and to
    test for year-2038 bugs in software that reads TZif files.
    'zic -b fat' and 'zic -b slim' generate larger and smaller output;
    for example, changing from fat to slim shrinks the Europe/London
    file from 3648 to 1599 bytes, saving about 56%.  Fat and slim
    files represent the same set of timestamps and use the same TZif
    format as documented in tzfile(5) and in Internet RFC 8536.
    Fat format attempts to work around bugs or incompatibilities in
    older software, notably software that mishandles 64-bit TZif data
    or uses obsolete TZ strings like "EET-2EEST" that lack DST rules.
    Slim format is more efficient and does not work around 64-bit bugs
    or obsolete TZ strings.  Currently zic defaults to fat format
    unless you compile with -DZIC_BLOAT_DEFAULT=\"slim\"; this
    out-of-the-box default is intended to change in future releases
    as the buggy software often mishandles timestamps anyway.

    zic no longer treats a set of rules ending in 2037 specially.
    Previously, zic assumed that such a ruleset meant that future
    timestamps could not be predicted, and therefore omitted a
    POSIX-like TZ string in the TZif output.  The old behavior is no
    longer needed for current tzdata, and caused problems with newlib
    when used with older tzdata (reported by David Gauchard).

    zic no longer generates some artifact transitions.  For example,
    Europe/London no longer has a no-op transition in January 1996.
2019-07-03 15:50:16 +00:00
christos 44e58967a6 Sync with 2019b (field name change) 2019-07-03 15:49:21 +00:00
fcambus 1ad77dac2f Update Spleen kernel fonts to the latest released version, bringing
the following improvements:

- Shift the middle bar of the upper case 'G' one pixel down in the 12x24
  version
- Shift lower case 'k' character right, for better alignment in the 12x24,
  16x32, and 32x64 versions
- Make upper case 'X' thicker in the 16x32 and 32x64 versions
- Make upper case 'V' thicker in the 32x64 version
- Make lower case 'g' character smoother in the 16x32 and 32x64 versions
- Add some artefacts on each side of the lower case 'i' characters

OK kamil@
2019-07-03 13:31:57 +00:00
sevan ef421348e2 New Postfix release.
Add a date field
2019-07-03 12:38:28 +00:00
jmcneill 24d9f43329 Fix enable mask for RK808 LDO regulators 2019-07-03 10:21:41 +00:00
mlelstv 45a6f3d566 Fix NATIVELABEL_ONLY build. 2019-07-03 07:05:27 +00:00
wiz 400b2bc13c Sort and unify a bit. Add more macros. 2019-07-02 16:47:19 +00:00
mlelstv 1b979fcca7 Add options to define labelsector and -offset and number of slices.
Make options to chose alternate label position for systems using MBR
more intuitive. -m now selects mode with MBR, -n selects mode without,
independent of the machine defaults.
2019-07-02 16:23:47 +00:00
sevan ebe30d7d2d MHU, SCPI and another SCP 2019-07-02 16:10:15 +00:00
sevan 67d8ee6f67 DTB, DTC, and another DTS from the world of device trees 2019-07-02 15:53:50 +00:00
sevan 5d714e90d9 SBSA 2019-07-02 15:46:06 +00:00
msaitoh 7ace5c1161 Sync with FreeBSD ix-3.3.10 part 2:
- Calculate vector's bit location correctly when the vector >= 31
  in ixgbe_allocate_msix().
2019-07-02 08:38:48 +00:00
msaitoh 7321f0df23 Sync with FreeBSD ix-3.3.10 part 1. No functional change in this part:
- "(u64)1" -> "1ULL"
 - Add some not-yet-used register definitions.
2019-07-02 08:32:18 +00:00
msaitoh 213c2de74d Regen. 2019-07-02 07:53:23 +00:00
msaitoh 77cdf945c8 Modify some descriptions of Virtio devices from OpenBSD to identify the
functions.
2019-07-02 07:52:58 +00:00
msaitoh 74cd28bc7f Sync with FreeBSD's ixv-1.5.17:
- When ixv_check_link() failed in the watchdog function, reset the interface.
 - Remove RXCSUM register modification in ixv_initialize_receive_units().
   It seems it's not required.
 - Remove some debug printf in ixv_print_debug_info().
 - Modify to match the newer NETMAP interface. No functional change.
2019-07-02 07:20:07 +00:00
msaitoh fb09e61dae Other than IXGBE_VF_RESET should wait ACK, so use ixgbevf_write_msg_read_ack()
instead of write_posted() in ixgbe_update_mc_addr_list_vf().
2019-07-02 04:09:03 +00:00
jmcneill 5e1f754b4b Fix gpu clock parent 2019-07-01 21:06:47 +00:00
maxv 413b53f543 Restrict the size given to copyoutstr. It is safer to do that; even if
there is no actual bug here, since the buffer is guaranteed to be NUL
terminated.

With KASAN we check the whole buffer to cover the "worst" case, and here
it triggered false positives because the buffer size was not filtered.
2019-07-01 17:15:43 +00:00