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 (1h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 16:28:03 UTC Now

2019-07-05 17:08:56 UTC MAIN commitmail json YAML

More inlines, prerequisites for future changes. Also, remove fngetsw(),
which was a duplicate of fnstsw().

(maxv)

2019-07-05 15:33:07 UTC MAIN commitmail json YAML

2019-07-05 08:29:19 UTC MAIN commitmail json YAML

Change dtrace toxic range to "0 .. VM_MIN_KERNEL_ADDRESS_DEFAULT",
the direct map may be mapped below "VM_MIN_KERNEL_ADDRESS".

(hannken)

2019-07-05 08:28:52 UTC MAIN commitmail json YAML

Change module type to "MODULE_CLASS_MISC" to allow preloading.

Change "dtrace_nullop()" to return zero, it gets casted to "int (*)(...)".

(hannken)

2019-07-05 08:28:16 UTC MAIN commitmail json YAML

When building a module keep symbols if built with "MKCTF" and "COPTS=-g".

(hannken)

2019-07-05 06:19:49 UTC MAIN commitmail json YAML

2019-07-05 06:19:24 UTC MAIN commitmail json YAML

Add some Intel Whisky Lake devices.

(msaitoh)

2019-07-05 05:09:24 UTC MAIN commitmail json YAML

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.

(mlelstv)

2019-07-04 15:54:09 UTC MAIN commitmail json YAML

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.

(thorpej)

2019-07-04 15:31:37 UTC MAIN commitmail json YAML

ADDDC AEDC IBPI LMCE POR PPR SAF-TE SDDC SSC WHEA

(sevan)

2019-07-04 13:55:31 UTC MAIN commitmail json YAML

2019-07-04 11:13:26 UTC MAIN commitmail json YAML

Avoid workqueue_check_duplication().

(hkenken)

2019-07-04 09:02:24 UTC MAIN commitmail json YAML

On ENETRESET case, not continue and quit the ifflags_cb() function because
if_init() will do the same thing.

(msaitoh)

2019-07-04 08:56:35 UTC MAIN commitmail json YAML

Fix hung queue check when the queue number >= 31.

(msaitoh)

2019-07-04 02:49:30 UTC MAIN commitmail json YAML

Bump the version for if_description

Welcome to 8.99.50

(ozaki-r)

2019-07-04 02:46:40 UTC MAIN commitmail json YAML

Add ATF test for a description.

From t-kusaba@IIJ

(ozaki-r)

2019-07-04 02:45:46 UTC MAIN commitmail json YAML

Add descr,description/-descr,-description commands to ifconfig(8) to handle a description.

From t-kusaba@IIJ

(ozaki-r)

2019-07-04 02:44:25 UTC MAIN commitmail json YAML

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

(ozaki-r)

2019-07-03 23:10:43 UTC MAIN commitmail json YAML

Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_32BIT_ACCESS flags

(jmcneill)

2019-07-03 23:10:08 UTC MAIN commitmail json YAML

If switching to fixed sampling clock, do not return an error to the sdmmc layer.

(jmcneill)

2019-07-03 20:55:22 UTC MAIN commitmail json YAML

Set correct bits when enabling gpio tshut mode

(jmcneill)

2019-07-03 20:47:22 UTC MAIN commitmail json YAML

Improve nouveau pci attachment code so it waits for the availability of /
before trying to load firmware.

Fixes my PR 54274.

LGTM mrg

(wiz)

2019-07-03 20:26:16 UTC MAIN commitmail json YAML

2019-07-03 19:46:02 UTC MAIN commitmail json YAML

Enforce 32-bit limits on ADMA2 capable controllers that do not support 64-bit descriptors

(jmcneill)

2019-07-03 19:45:14 UTC MAIN commitmail json YAML

Define _ARM32_NEED_BUS_DMA_BOUNCE for aarch64 so we can use bus_dmamap_subregion

(jmcneill)

2019-07-03 18:40:33 UTC MAIN commitmail json YAML

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...

(dholland)

2019-07-03 18:24:50 UTC MAIN commitmail json YAML

Stack buffers mustn't escape their scope. PR 54326 from David Binderman

(dholland)

2019-07-03 17:40:30 UTC MAIN commitmail json YAML

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.

(maxv)

2019-07-03 17:31:32 UTC MAIN commitmail json YAML

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.

(maxv)

2019-07-03 17:24:37 UTC MAIN commitmail json YAML

Inline x86_cpuid2(), prerequisite for future changes. Also, add "memory"
on certain other inlines, to make sure GCC does not reorder.

(maxv)

2019-07-03 15:52:35 UTC MAIN commitmail json YAML

2019-07-03 15:50:40 UTC MAIN commitmail json YAML

Change the default to be slim

(christos)

2019-07-03 15:50:16 UTC MAIN commitmail json YAML

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.

(christos)

2019-07-03 15:49:21 UTC MAIN commitmail json YAML

Sync with 2019b (field name change)

(christos)

2019-07-03 13:31:58 UTC MAIN commitmail json YAML

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@

(fcambus)

2019-07-03 12:38:28 UTC MAIN commitmail json YAML

New Postfix release.
Add a date field

(sevan)

2019-07-03 10:21:41 UTC MAIN commitmail json YAML

Fix enable mask for RK808 LDO regulators

(jmcneill)

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

Fix NATIVELABEL_ONLY build.

(mlelstv)

2019-07-02 16:47:20 UTC MAIN commitmail json YAML

Sort and unify a bit. Add more macros.

(wiz)

2019-07-02 16:23:48 UTC MAIN commitmail json YAML

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.

(mlelstv)

2019-07-02 16:10:15 UTC MAIN commitmail json YAML

MHU, SCPI and another SCP

(sevan)

2019-07-02 15:53:51 UTC MAIN commitmail json YAML

DTB, DTC, and another DTS from the world of device trees

(sevan)

2019-07-02 15:46:06 UTC MAIN commitmail json YAML

2019-07-02 08:38:48 UTC MAIN commitmail json YAML

Sync with FreeBSD ix-3.3.10 part 2:
- Calculate vector's bit location correctly when the vector >= 31
  in ixgbe_allocate_msix().

(msaitoh)

2019-07-02 08:32:18 UTC MAIN commitmail json YAML

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.

(msaitoh)

2019-07-02 07:53:23 UTC MAIN commitmail json YAML

2019-07-02 07:52:58 UTC MAIN commitmail json YAML

Modify some descriptions of Virtio devices from OpenBSD to identify the
functions.

(msaitoh)

2019-07-02 07:20:07 UTC MAIN commitmail json YAML

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.

(msaitoh)

2019-07-02 04:09:03 UTC MAIN commitmail json YAML

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().

(msaitoh)

2019-07-01 21:06:47 UTC MAIN commitmail json YAML

2019-07-01 17:15:43 UTC MAIN commitmail json YAML

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.

(maxv)

2019-07-01 07:57:01 UTC MAIN commitmail json YAML

Fix debug sets for curses bump

(martin)

2019-07-01 07:16:25 UTC MAIN commitmail json YAML

Improve formatting, fix a typo, bump date for previous.

(wiz)

2019-07-01 02:04:38 UTC MAIN commitmail json YAML

Avoid GCC warning on NetBSD/i386

Cast note_hdr.n_namesz to ssize_t through size_t to avoid potential
signedness bit shifts.

(kamil)

2019-07-01 00:57:06 UTC MAIN commitmail json YAML

Lay down some comments related to the previous few revisions of ufs_vnops.c.

(dholland)

2019-06-30 22:37:11 UTC MAIN commitmail json YAML

2019-06-30 22:21:33 UTC MAIN commitmail json YAML

Enable mvscanw test since libcurses is now correct.

(blymn)

2019-06-30 22:19:55 UTC MAIN commitmail json YAML

remove a few items that are done, and mark a few others as working
since i've personally tested.  most in the "drivers testing" i think
are working now since it's been a few releases and we've had minor
bug reports in them fixed, this list was rarely updated.

(mrg)

2019-06-30 22:18:08 UTC MAIN commitmail json YAML

Bump major number due to libcurses major bump

(blymn)

2019-06-30 22:17:46 UTC MAIN commitmail json YAML

Bump major number due to libcurses major bump

(blymn)

2019-06-30 22:17:22 UTC MAIN commitmail json YAML

Bump major number due to libcurses major bump

(blymn)

2019-06-30 22:16:20 UTC MAIN commitmail json YAML

Fix return for mvscanw to return ERR/OK instead of the number of
elements scanned, now matches SUSv2 specification

Bump lib major due to return change.

(blymn)

2019-06-30 22:15:06 UTC MAIN commitmail json YAML

Bump libcurses major and all dependent libraries.

(blymn)

2019-06-30 21:20:04 UTC MAIN commitmail json YAML

Add a test for verifying procinfo note inside coredumps.

Add a first test for triggering a core dump in the debugged process
(via PT_DUMPCORE) and verifying it.  The test finds procinfo note
and checks its contents.

The core dump is processed through libelf.  However, it only provides
for finding all note segments (or sections?).  I had to implement
finding and processing individual notes myself.  I've added
a core_find_note() function that will be reused in future tests.

Reviewed by kamil.

(mgorny)

2019-06-30 19:57:24 UTC MAIN commitmail json YAML

Make the scaling of the "bytes written" sticky, so that if we go
to K, we don't return to unscaled, and similar for higher scales
(though it takes some effort, due to the wide field...)
Fixes PR#54334.

(he)

2019-06-30 19:00:38 UTC netbsd-8 commitmail json YAML

2019-06-30 19:00:10 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1283):

sys/dev/ic/mvsata.c: revision 1.47
sys/dev/ic/mvsata.c: revision 1.48

Fix "mvsata:0:0:1: buffer load failed: error=27" failure.  PR/54205
Ok'ed by jdolecek@.
Should be pulled up to netbsd-8.

Add a missing newline in an error message.  Noticed in PR/54205

(martin)

2019-06-30 17:33:59 UTC MAIN commitmail json YAML

Cleanup ThunderX quirk and print cache / shareability details for ITT tables

(jmcneill)

2019-06-30 14:37:33 UTC MAIN commitmail json YAML

This code is used in 32 bit arm emulations so always expose the stack32_t
and the 32 bit machine context structure definition and types.

(christos)

2019-06-30 13:30:15 UTC MAIN commitmail json YAML

Add a comment explaining why we don't use DO here. Correct the attribution
on the previous patch: The patch was from Jordan Lewis and the report from
Raphael Poss.

(christos)

2019-06-30 11:38:16 UTC MAIN commitmail json YAML

2019-06-30 11:22:54 UTC MAIN commitmail json YAML

2019-06-30 11:21:40 UTC MAIN commitmail json YAML

Add John von Neumann's date of death

(sevan)

2019-06-30 11:11:38 UTC MAIN commitmail json YAML

Fix size of LPI pending table allocation and enable caching of LPI conf
and pending tables where possible.

(jmcneill)

2019-06-30 10:10:20 UTC MAIN commitmail json YAML

Enable caching of ITS tables when possible

(jmcneill)

2019-06-30 08:49:21 UTC MAIN commitmail json YAML

Provide the compat structures even if not building 64bit kernels, as
we have same-bitness netbsd32 emulations for different ABIs on some
architectures.

(martin)

2019-06-30 05:04:49 UTC MAIN commitmail json YAML

2019-06-30 02:11:56 UTC MAIN commitmail json YAML

2019-06-29 21:35:09 UTC MAIN commitmail json YAML

PR/54329: Raphael Ross: According to https://www.gnu.org/software/termutils/\
manual/termcap-1.3/html_chapter/termcap_4.html#SEC23 the cursor move multiple
escapes have undefined results when moving out of the screen. Stop using DO
to move down multiple lines and use a loop of newlines instead.

(christos)

2019-06-29 20:50:01 UTC MAIN commitmail json YAML

2019-06-29 17:42:36 UTC MAIN commitmail json YAML

Appease GCC and initialize arps_ip

Fixes build as GCC errors with maybe-uninitialized that is a false
positive.

(kamil)

2019-06-29 16:48:07 UTC MAIN commitmail json YAML

Restore original size calculation for MAPD and don't disable MSI/MSIX on devices before making changes

(jmcneill)

2019-06-29 16:41:19 UTC MAIN commitmail json YAML

2019-06-29 16:37:49 UTC MAIN commitmail json YAML

Misc cosmetics and cleanup.

(tsutsui)

2019-06-29 16:29:24 UTC MAIN commitmail json YAML

2019-06-29 14:45:10 UTC MAIN commitmail json YAML

Fix name of suspend voltage selector property

(jmcneill)

2019-06-29 13:30:59 UTC MAIN commitmail json YAML

Rename lpi pic to gicv3-its when an ITS is found

(jmcneill)

2019-06-29 12:53:05 UTC MAIN commitmail json YAML

Add support for multiple PMUs

(jmcneill)

2019-06-29 11:37:17 UTC MAIN commitmail json YAML

Fix bug, don't release the reflock if we didn't take it in the first place.
Looks like there are other locking issues in here.

Reported-by: syzbot+81d2c90809163ab1e13c@syzkaller.appspotmail.com

(maxv)

2019-06-29 11:13:23 UTC MAIN commitmail json YAML

The big pool allocators use pool_page_alloc(), which allocates page-aligned
storage. So if we switch to a big pool, set PR_NOALIGN, because the address
of the storage is not aligned to the item size.

Should fix PR/54319.

(maxv)

2019-06-29 10:34:59 UTC MAIN commitmail json YAML

GARP MMRP MRP MVR MWRP PAGP PVRST SABRE SAGE SRR STRG WTD

(sevan)

2019-06-29 07:47:41 UTC MAIN commitmail json YAML

Remove an item that doesn't need to happen

(skrll)

2019-06-29 07:46:19 UTC MAIN commitmail json YAML

2019-06-29 06:57:49 UTC MAIN commitmail json YAML

expat 2.2.7 is out.

(wiz)

2019-06-29 03:22:53 UTC MAIN commitmail json YAML

2019-06-29 03:19:49 UTC MAIN commitmail json YAML

Fix PR/54325 (use of dangling pointer).

(tsutsui)

2019-06-29 03:10:51 UTC MAIN commitmail json YAML

2019-06-29 02:41:17 UTC MAIN commitmail json YAML

Handle sti(4) graphics at sgc on HP9000/425t properly.  PR port-hp300/54255

Should be pulled up to netbsd-8.

(tsutsui)

2019-06-28 23:25:13 UTC MAIN commitmail json YAML

Revert previous and do the off == 1 case after we've taken the mask.

(christos)

2019-06-28 15:17:44 UTC MAIN commitmail json YAML

2019-06-28 15:10:32 UTC MAIN commitmail json YAML

Added "b_ci" field to struct buf.

Welcome to 8.99.49.

(jmcneill)

2019-06-28 15:08:47 UTC MAIN commitmail json YAML

Fix a performance issue where one busy queue can starve all other queues.

In normal operations with multiple queues, the nvme driver will attempt
to schedule I/O requests on the submitting CPU. This breaks down when any
one of the queues becomes full; the driver returns EAGAIN to the disk
layer, which causes the disk layer to stop submitting more requests until
the blocked request is consumed. When space becomes available in the full
queue, it pulls the next buffer from the bufq and fills the queue again,
until finally hitting EAGAIN and preventing other queues from processing
requests.

Two changes here to fix the problem:

- When processing requests from the bufq, attempt to assign them to the
  queue associated with the CPU that originated the request.
- If that queue is busy, try to find another queue with available space
  before returning EAGAIN. This way, only when all queues are full will
  the disk layer stop submitting more requests.

Now for some real numbers. On a Rockchip RK3399 board (6 CPUs), with 6
concurrent readers:

Old code:
4294967296 bytes transferred in 52.420 secs (81933752 bytes/sec)
4294967296 bytes transferred in 53.969 secs (79582117 bytes/sec)
4294967296 bytes transferred in 55.391 secs (77539082 bytes/sec)
4294967296 bytes transferred in 55.649 secs (77179595 bytes/sec)
4294967296 bytes transferred in 56.102 secs (76556402 bytes/sec)
4294967296 bytes transferred in 72.901 secs (58915066 bytes/sec)

New code:
4294967296 bytes transferred in 37.171 secs (115546186 bytes/sec)
4294967296 bytes transferred in 37.611 secs (114194445 bytes/sec)
4294967296 bytes transferred in 37.655 secs (114061009 bytes/sec)
4294967296 bytes transferred in 38.247 secs (112295534 bytes/sec)
4294967296 bytes transferred in 38.496 secs (111569183 bytes/sec)
4294967296 bytes transferred in 38.595 secs (111282997 bytes/sec)

(jmcneill)

2019-06-28 14:56:46 UTC MAIN commitmail json YAML

Store a reference to the CPU that submitted the I/O request with the
request itself.

(jmcneill)

2019-06-28 10:47:13 UTC MAIN commitmail json YAML

RADIUS SCCP TACACS XTACACS

(sevan)

2019-06-28 06:46:04 UTC MAIN commitmail json YAML

tests: test state transitions of neighbor caches

(ozaki-r)

2019-06-28 06:45:16 UTC MAIN commitmail json YAML

nd6: restore a missing reachability confirmation

On sending a packet over a STALE cache, the cache should be tried a reachability
confirmation, which is described in RFC 2461/4861 7.3.3.  On the fast path in
nd6_resolve, however, the treatment for STALE caches has been skipped
accidentally.  So STALE caches never be back to the REACHABLE state.

To fix the issue, branch to the fast path only when the cache entry is the
REACHABLE state and leave other caches to the slow path that includes the
treatment.  To this end we need to allow to return a link-layer address if a
valid address is available on the slow path too, which is the same behavior as
FreeBSD and OpenBSD.

(ozaki-r)

2019-06-28 01:57:43 UTC MAIN commitmail json YAML

more smp cleanup for ure(4)/axen(4)/cdce(4):

- convert IFF_ALLMULTI to ETHER_F_ALLMULTI, using ETHER_LOCK()
- remove IFF_OACTIVE use, and simply check the ring count in start
- assert/take more locks
- XXX: IFF_RUNNING is not properly protected (all driver problem)
- fix axen_timer setting so it actually runs
- document a locking issue in stop callback:
  stop is called with the softc lock held, but the lock order
  in all other places is ifnet -> softc -> rx -> tx, so taking
  ifnet lock when softc lock is held would be problematic
- in rxeof check for stopping/dying more often.  i managed to
  trigger a pagefault in cdce_rxeof() when yanking an active
  device as it attempted to usbd_setup_xfer() on closed pipes.
- add missing USBD_MPSAFE and cdce_stopping resetting for cdce(4)

between this and other recent clean ups increase performance of
these drivers mostly.  some numbers (in mbit/sec):

old: new:
driver in out in+out in out in+out
---- -- ---    ------ -- --- ------
cdce 39 32 44 38 33 54
axen 44 34 45 48 37 42
ure 36 34 35 36 38 38

i'm not sure why axen drops a little with in+out.  cdce is
helped quite a lot, and ure a little.  it is disappointing that
ure does not outperform cdce -- it's the same actual hardware,
and the device-specific (ure) should outperform the generic
cdce driver...

(mrg)

2019-06-27 19:56:10 UTC MAIN commitmail json YAML

Fix this fucking shit once and for all, for fuck's sake.

(maxv)

2019-06-27 17:09:31 UTC MAIN commitmail json YAML

remove offs initialization and XXX gcc comment. Offs should always be
initialized. Pointed out by maxv.

(christos)

2019-06-27 17:07:51 UTC MAIN commitmail json YAML

Return an error if the path was too long. Pointed out by maxv

(christos)

2019-06-27 15:47:10 UTC MAIN commitmail json YAML

Fix typo in via openchrome driver description (no "s")

(maya)

2019-06-27 14:51:33 UTC MAIN commitmail json YAML

2019-06-27 13:18:28 UTC netbsd-8 commitmail json YAML

2019-06-27 13:17:17 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1282):

sys/arch/x86/include/bootinfo.h: revision 1.30

PR/54147: Increase BOOTINFO_MAXSIZE to 16Kib.

Some systems require a larger bootinfo size for memory descriptors.

(martin)

2019-06-27 11:30:21 UTC MAIN commitmail json YAML

Add comment/description for new packages

(uki)

2019-06-27 09:56:39 UTC MAIN commitmail json YAML

Don't call set_vfta() if any VLAN is attached.
XXX pullup-8.

(msaitoh)

2019-06-27 06:00:11 UTC MAIN commitmail json YAML

Sync with FreeBSD ix-3.3.8 part 2:
- Add missing XFI support into ixgbe_get_link_capabilities_X550em().

(msaitoh)

2019-06-27 05:55:40 UTC MAIN commitmail json YAML

Sync with FreeBSD ix-3.3.8 part 1. No functional change in this part:
- Move ixgbe_toggle_txdctl() to ixgbe_common.c and modify a bit.
  No functional change because this function is currently used for SR-IOV
  and it's not used in NetBSD.
- Some modification to match the latest netmap API.
- Modify ixgbe_hic_unlocked(). No functional change because neither
  IXGBE_HOST_INTERFACE_APPLY_UPDATE_CMD(0x38) nor
  IXGBE_HOST_INTERFACE_SHADOW_RAM_READ_CMD(0x31) are used.
- Add ixgbe_clear_mbx(). No functional change because this function is not
  used yet.
- Add some not-yet-used register definitions.
- Whitespace fixes.

(msaitoh)

2019-06-27 02:44:54 UTC MAIN commitmail json YAML

This actually needs the netbsd32 stuff present since the struct for the
32 bit syscall has a netbsd32_voidp... This header is used also for
compat/common, so just revert (helped us to fix a bug though :-)

(christos)

2019-06-27 02:36:27 UTC MAIN commitmail json YAML

2019-06-27 02:00:31 UTC MAIN commitmail json YAML

Although this is correct, I will let maxv commit it. Still waiting.

(christos)

2019-06-27 01:59:30 UTC MAIN commitmail json YAML

2019-06-27 01:58:49 UTC MAIN commitmail json YAML

Always include the 32 bit structure and definitions on _LP64 regardless
of compat32 being on or off, because we want the headers to work when
compiling modular kernels. Of course the 32 bit structs do not make sense
on platforms that don't have 32 bit modes (alpha), but we don't have
a define for that and it does not hurt.

(christos)

2019-06-26 23:10:42 UTC MAIN commitmail json YAML

2019-06-26 23:00:10 UTC MAIN commitmail json YAML

Change how we detect secure vs non-secure access.

Write 0xff to ICC_PMR_EL1 and read back how many bits are implemented,
then do the same with a GICD_IPRIORITYR<n> priority value field.

If the values differ, assume we have a shifted view of IPRIORITYR.

(jmcneill)

2019-06-26 22:58:59 UTC MAIN commitmail json YAML

Fix typos

Some were found by OpenBSD.

(khorben)

2019-06-26 22:18:44 UTC MAIN commitmail json YAML

Enable beep test, return is correct.

(blymn)

2019-06-26 22:04:12 UTC MAIN commitmail json YAML

2019-06-26 20:28:59 UTC MAIN commitmail json YAML

Remove useless debugging messages which achieved nothing but hiding bugs.

(maxv)

2019-06-26 17:50:22 UTC MAIN commitmail json YAML

Note import of dhcpcd-7.2.3

(roy)

2019-06-26 17:47:47 UTC MAIN commitmail json YAML

2019-06-26 16:51:29 UTC phil-wifi commitmail json YAML

Remove extra if_register() call.
Move temporary call to vap_create() to end of attach to make sure
attach works when vap_create() will not be called as part of attach.

(phil)

2019-06-26 15:31:17 UTC MAIN commitmail json YAML

Conform to RFC 3128 by dropping TCP fragments with offset = 1.
In addition to dropping these fragments, add a DTrace probe to allow
for more detailed monitoring and diagnosis if required.
From FreeBSD r349399, reported vy Cy Schubert

(christos)

2019-06-26 15:26:58 UTC MAIN commitmail json YAML

Remove fd_local, it is not used, from FreeBSD r349401, reported by Cy Schubert

(christos)

2019-06-26 15:21:52 UTC MAIN commitmail json YAML

Remove redundant off != 0 check, from FreeBSD r349400, reported by Cy Schubert

(christos)

2019-06-26 13:31:48 UTC MAIN commitmail json YAML

Use Vt for variable types. New sentence, new line. Add a missing ')'.
Add/remove some articles or other missing words.

(wiz)

2019-06-26 12:30:13 UTC MAIN commitmail json YAML

Implement PT_GETXSTATE and PT_SETXSTATE

Introduce two new ptrace() requests: PT_GETXSTATE and PT_SETXSTATE,
that provide access to the extended (and extensible) set of FPU
registers on amd64 and i386.  At the moment, this covers AVX (YMM)
and AVX-512 (ZMM, opmask) registers.  It can be easily extended
to cover further register types without breaking backwards
compatibility.

PT_GETXSTATE issues the XSAVE instruction with all kernel-supported
extended components enabled.  The data is copied into 'struct xstate'
(which -- unlike the XSAVE area itself -- has stable format
and offsets).

PT_SETXSTATE issues the XRSTOR instruction to restore the register
values from user-provided 'struct xstate'.  The function replaces only
the specific XSAVE components that are listed in 'xs_rfbm' field,
making it possible to issue partial updates.

Both syscalls take a 'struct iovec' pointer rather than a direct
argument.  This requires the caller to explicitly specify the buffer
size.  As a result, existing code will continue to work correctly
when the structure is extended (performing partial reads/updates).

(mgorny)

2019-06-26 12:29:01 UTC MAIN commitmail json YAML

Fetch XSAVE area component offsets and sizes when initializing x86 CPU

Introduce two new arrays, x86_xsave_offsets and x86_xsave_sizes,
and initialize them with XSAVE area component offsets and sizes queried
via CPUID.  This will be needed to implement getters and setters for
additional register types.

While at it, add XSAVE_* constants corresponding to specific XSAVE
components.

(mgorny)

2019-06-26 12:21:40 UTC MAIN commitmail json YAML

Fix return value.  fo_poll expects revents, not errno.

(isaki)

2019-06-26 11:53:15 UTC MAIN commitmail json YAML

Style fixes.  No functional changes intended.
- Rename some functions for consistency.
- Rearrange some functions for readability.
- Unify to struct pad_softc.

(isaki)

2019-06-26 10:20:06 UTC MAIN commitmail json YAML

Fix updating "Multiple Message Enable" field for MSI multiple vectors. Pointed out by jmcneill@n.o, thanks.

I tested ahcisata for MSI single vector regression.

(knakahara)

2019-06-26 07:47:25 UTC MAIN commitmail json YAML

Improve debug message and remove duplicated one.

(isaki)

2019-06-26 07:33:19 UTC MAIN commitmail json YAML

Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise)

(martin)

2019-06-26 06:57:45 UTC MAIN commitmail json YAML

Improve audiobell (and interfaces with audio).
- Generate pseudo sine wave if possible.  It may improve timbre.
  If it cannot represent a sine wave, it falls back to a triangular
  wave or a rectangular wave.
- Volume adjustment.
- Calculate playback frequency based on mixer frequency.
  Now audiobellopen() initializes playback parameters other than
  sample_rate, and new audiobellsetrate() sets sample_rate.

(isaki)

2019-06-26 00:54:04 UTC MAIN commitmail json YAML

Similar to changes made for x86, allow for the boot-loader to auto-push
a list of modules for file-system support.  This allows, for example,
booting from an ext2fs file-system when the kernel has no built-in ufs
or ext2fs modules.

XXX Untested, as I have no sandpoint hardware.  I'd appreciate it if
XXX someone with hardware can build and test.

(pgoyette)

2019-06-26 00:30:39 UTC MAIN commitmail json YAML

whitespace around operators

(christos)

2019-06-25 22:23:39 UTC MAIN commitmail json YAML

Honour _CRS mem ranges and translation offsets instead of assuming 1:1
mappings. Tested on Overdrive 1000.

(jmcneill)

2019-06-25 22:19:29 UTC MAIN commitmail json YAML

Fixed mvscanw test but leave disabled for the moment, the return for
mvscanw is incorrect in libcurses, we need a major lib version bump
to correct it.

(blymn)

2019-06-25 21:32:58 UTC MAIN commitmail json YAML

Fail if getcwd fails. Pointed out by maxv@

(christos)

2019-06-25 21:26:04 UTC MAIN commitmail json YAML

2019-06-25 21:09:33 UTC MAIN commitmail json YAML

Do the fmtcheck for both message lookups to satisfy format string
literal checks.

(joerg)

2019-06-25 19:47:35 UTC MAIN commitmail json YAML

Fix word (direct -> directory) in comment.

(wiz)

2019-06-25 18:06:29 UTC MAIN commitmail json YAML

add a comment explaining what this does.

(christos)

2019-06-25 16:58:02 UTC MAIN commitmail json YAML

Fix buffer overflow. It seems that some people need to go back to the
basics of C programming.

Reported-by: syzbot+8665827f389a9fac5cc9@syzkaller.appspotmail.com

(maxv)

2019-06-25 15:33:56 UTC MAIN commitmail json YAML

2019-06-25 14:52:56 UTC MAIN commitmail json YAML

Limit maximum owner name to appease gcc

(martin)

2019-06-25 13:07:48 UTC MAIN commitmail json YAML

Put the lowered mixing volume back when all playback tracks are closed.
TODO: about long life descriptor.

(isaki)

2019-06-25 12:30:50 UTC MAIN commitmail json YAML

Simplify "LIST_HEAD();" to make the code more understandable.
No functional change.

(msaitoh)

2019-06-25 10:30:29 UTC MAIN commitmail json YAML

move a .WAIT such that it helps all the target code below,
not just radeon.  should fix build issues reported:

AArch64BaseInfo.h:297:12: fatal error:
AArch64GenSystemOperands.inc: No such file or directory

(mrg)

2019-06-25 07:14:45 UTC MAIN commitmail json YAML

Assert that the label data is valid before invoking disklabel(8)

(martin)

2019-06-25 05:04:35 UTC MAIN commitmail json YAML

note new gpt(8) uuid subcommand

(jnemeth)

2019-06-25 04:53:41 UTC MAIN commitmail json YAML

Add an "uuid" command to generate a new UUID for a portion.  The
primary intention is for use for after cloning disks to prevent
collisions.

(jnemeth)

2019-06-25 04:25:12 UTC MAIN commitmail json YAML

adjust gpt_uuid_generate() to accept gpt==NULL

(jnemeth)

2019-06-25 03:50:18 UTC MAIN commitmail json YAML

Add gpt_change_hdr() similar to gpt_change_ent() for changing
arbitrary header fields.

(jnemeth)

2019-06-25 03:42:46 UTC MAIN commitmail json YAML

2019-06-25 03:41:05 UTC MAIN commitmail json YAML

Belated bump to account for splitting the ufs stuff out of the ffs
module, and making ext2fs and ffs depend on ufs.

Welcome to 8.99.48

(pgoyette)

2019-06-24 20:29:41 UTC MAIN commitmail json YAML

the tracer, not the tracee determine if we are going to convert the ptrace
data from 64 to 32.

(christos)

2019-06-24 18:48:08 UTC MAIN commitmail json YAML

If low on ram, mount the proper swap partition before doing the main
upgrade work.

(martin)

2019-06-24 13:58:24 UTC MAIN commitmail json YAML

Now that the ufs module has been split out from ffs and ext2fs, we need
to update the boot-loader to push all modules required to support the
booted filesystem.  We treat the fsmod string as a slash-separated list
of module names (relative to kern.module.path), rather than as a single
module path name.

Note that ffsv1 and ffsv2 are still exempted from the boot-loader's
auto-push, but the list of required filesystems is still noted in the
source.

Also note that arch/sandpoint needs a similar change.  I have not made
this change because I am totally unable to test it.

Tested on my kernel with _no_ built-in file-systems and with the ffs
bootloader settings of fsmod enabled.

(pgoyette)

2019-06-24 13:57:31 UTC MAIN commitmail json YAML

Put back correct recieve ring allocation size which was lost just over
five years ago mae culpa.

Found by msaitoh@

Should fix PR kern/54320 once pulled up.

(jakllsch)

2019-06-24 13:36:07 UTC MAIN commitmail json YAML

nouveau uses firmload, add dependency.

(wiz)

2019-06-24 08:27:21 UTC MAIN commitmail json YAML

Sync with upstream r315983.

Move files originating from upstream below "dist/":

  OPENSOLARIS.LICENSE -> dist/OPENSOLARIS.LICENSE
  usr.sbin/zdb/zdb.8 -> dist/cmd/zdb/zdb.8
  sbin/zfs/zfs.8 -> dist/cmd/zfs/zfs.8
  sbin/zpool/zpool-features.7 -> dist/cmd/zpool/zpool-features.7
  sbin/zpool/zpool.8 -> dist/cmd/zpool/zpool.8
  include/libintl.h -> dist/head/libintl.h
  include/stdio_ext.h -> dist/head/stdio_ext.h
  include/thread.h -> dist/head/thread.h
  sys/kern/callb.c -> dist/uts/common/os/callb.c
  sys/kern/fm.c -> dist/uts/common/os/fm.c
  sys/sys/extdirent.h -> dist/uts/common/sys/extdirent.h
  sys/sys/isa_defs.h -> dist/uts/common/sys/isa_defs.h
  sys/sys/procset.h -> dist/uts/common/sys/procset.h
  sys/sys/sysmacros.h -> dist/uts/common/sys/sysmacros.h

Adapt "usr.sbin/fstyp/Makefile".

(hannken)

2019-06-24 06:26:30 UTC MAIN commitmail json YAML

Another spello of 'unknown'

(skrll)

2019-06-24 06:24:33 UTC MAIN commitmail json YAML

2019-06-24 04:42:06 UTC MAIN commitmail json YAML

actually set ure_stopping, and don't follow it in init.

pointed out by sc.dying on source-changes-d.  thanks.

(mrg)

2019-06-24 02:48:51 UTC MAIN commitmail json YAML

Remove double-include for reboot.h

(pgoyette)

2019-06-23 22:48:15 UTC MAIN commitmail json YAML

Use OPT_NOMENU instead of -1

(christos)

2019-06-23 22:47:22 UTC MAIN commitmail json YAML

2019-06-23 22:46:53 UTC MAIN commitmail json YAML

don't cast malloc.

(christos)

2019-06-23 22:46:41 UTC MAIN commitmail json YAML

define as hex and make MC_VALID smaller so it fits in a short.

(christos)

2019-06-23 22:06:03 UTC MAIN commitmail json YAML

Use ARM_PCI_INTR_* definitions from pci_machdep.h instead of own copies

(jmcneill)

2019-06-23 17:17:18 UTC MAIN commitmail json YAML

2019-06-23 16:19:51 UTC MAIN commitmail json YAML

Pass correct EventID to MOVI and INV commands

(jmcneill)

2019-06-23 16:15:43 UTC MAIN commitmail json YAML

2019-06-23 16:04:52 UTC MAIN commitmail json YAML

Remove unused variable (build fix)

(jmcneill)

2019-06-23 16:04:34 UTC MAIN commitmail json YAML

ALSA DDI DKI EDSAC EDVAC ENIAC NDIS ODI UDI

(sevan)

2019-06-23 16:03:30 UTC MAIN commitmail json YAML

Ensure that the "size" parameter of MAPD matches the size of the ITT being
mapped and subtract the LPI base from EventID. Fixes multi-vector MSI/MSI-X
on RK3399.

(jmcneill)

2019-06-23 11:47:08 UTC MAIN commitmail json YAML

Ignore corrupt GPTs

(martin)

2019-06-23 11:31:10 UTC MAIN commitmail json YAML

Menu 0 does not exist anymore (it is now OPT_NOMENU), so emit an empty
menu defintion for it.

(martin)

2019-06-23 11:22:48 UTC MAIN commitmail json YAML

Use OPT_NOMENU as error return for new_menu (instead of old hard coded -1).
Update man page for the OPT_NOMENU change.

(martin)

2019-06-23 06:33:17 UTC MAIN commitmail json YAML

Add a missing newline in an error message.  Noticed in PR/54205

(tsutsui)

2019-06-23 06:29:22 UTC MAIN commitmail json YAML

Fix "mvsata:0:0:1: buffer load failed: error=27" failure.  PR/54205

Ok'ed by jdolecek@.
Should be pulled up to netbsd-8.

(tsutsui)

2019-06-23 02:14:15 UTC MAIN commitmail json YAML

make cdce(4) and ure(4) usb and mpsafe:

- introduce locking ala smsc(4)/axen(4) style
- convert to mpsafe interfaces
- add tick task to cdce(4) to deal with missing watchdog, and
  actually make the watchdog do something
- convert DELAY() to usbd_delay_ms() in cdce(4) and don't increase
  the time in a potentially unbounded way
- remove spl calls

tested with network cable and usb adapter pullouts, reboots and
many many GBs of data transferred in either direction under load.

(mrg)

2019-06-23 01:46:56 UTC MAIN commitmail json YAML

Restore sysctl_teardown which was unintentionally dropped.

(isaki)

2019-06-22 23:42:44 UTC MAIN commitmail json YAML

More fat trimming defines and we managed to feat in our tight jeans.

(christos)

2019-06-22 23:40:53 UTC MAIN commitmail json YAML

trim down error checking if we are small.

(christos)

2019-06-22 23:40:33 UTC MAIN commitmail json YAML

make this compile again with -DNO_PROGRESS

(christos)

2019-06-22 22:50:39 UTC MAIN commitmail json YAML

2019-06-22 22:49:18 UTC MAIN commitmail json YAML

bsd-family-tree++

(sevan)

2019-06-22 22:47:01 UTC MAIN commitmail json YAML

sync with FreeBSD r349295

(sevan)