<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include, branch upstream/10.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2017-06-07T11:43:36Z</updated>
<entry>
<title>MFC r318780:</title>
<updated>2017-06-07T11:43:36Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2017-06-07T11:43:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=33eaf07f8a3b1952189c759f952dcaa22ad502ce'/>
<id>urn:sha1:33eaf07f8a3b1952189c759f952dcaa22ad502ce</id>
<content type='text'>
Use __BSD_VISIBLE test instead checking for absense of _POSIX_SOURCE.
</content>
</entry>
<entry>
<title>MFC: r292180 (partial), r297127 (partial), r311911, r311923, r312939,</title>
<updated>2017-05-11T21:01:02Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2017-05-11T21:01:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=594616d18bcb924ec68174d012774886479f19b5'/>
<id>urn:sha1:594616d18bcb924ec68174d012774886479f19b5</id>
<content type='text'>
     r313250, r313712, r314811 (partial), r314887 (partial), r315430,
     r317981, r315466

o Move the DRIVER_MODULE() statements that declare mmc(4) to be a child
  of the various bridge drivers out of dev/mmc.c and into the bridge
  drivers.

o Add ACPI platform support for SDHCI driver.

o Fix some overly long lines, whitespace and other bugs according to
  style(9) as well as spelling etc. in mmc(4), mmcsd(4) and sdhci(4).

o In the mmc(4) bridges and sdhci(4) (bus) front-ends:
  - Remove redundant assignments of the default bus_generic_print_child
    device method,
  - use DEVMETHOD_END,
  - use NULL instead of 0 for pointers.

o Trim/adjust includes.

o Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges
  as kernel drivers and their dependency onto mmc(4).

o Add support for eMMC "partitions". Besides the user data area, i. e.
  the default partition, eMMC v4.41 and later devices can additionally
  provide up to:
  1 enhanced user data area partition
  2 boot partitions
  1 RPMB (Replay Protected Memory Block) partition
  4 general purpose partitions (optionally with a enhanced or extended
    attribute)

  Besides simply subdividing eMMC devices, some Intel NUCs having UEFI
  code in the boot partitions etc., another use case for the partition
  support is the activation of pseudo-SLC mode, which manufacturers of
  eMMC chips typically associate with the enhanced user data area and/
  or the enhanced attribute of general purpose partitions.

  CAVEAT EMPTOR: Partitioning eMMC devices is a one-time operation.

o Now that properly issuing CMD6 is crucial (so data isn't written to
  the wrong partition for example), make a step into the direction of
  correctly handling the timeout for these commands in the MMC layer.
  Also, do a SEND_STATUS when CMD6 is invoked with an R1B response as
  recommended by relevant specifications.

o Add an IOCTL interface to mmcsd(4); this is sufficiently compatible
  with Linux so that the GNU mmc-utils can be ported to and used with
  FreeBSD (note that due to the remaining deficiencies outlined above
  SANITIZE operations issued by/with `mmc` currently most likely will
  fail). These latter have been added to ports as sysutils/mmc-utils.
  Among others, the `mmc` tool of mmc-utils allows for partitioning
  eMMC devices (tested working).

o For devices following the eMMC specification v4.41 or later, year 0
  is 2013 rather than 1997; so correct this for assembling the device
  ID string properly.

o Let mmcsd.ko depend on mmc.ko. Additionally, bump MMC_VERSION as at
  least for some of the above a matching pair is required.
</content>
</entry>
<entry>
<title>MFC r291310:</title>
<updated>2017-04-13T19:48:45Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2017-04-13T19:48:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d6db9f58602d5dae9ca3244eceab793e864b0aa'/>
<id>urn:sha1:3d6db9f58602d5dae9ca3244eceab793e864b0aa</id>
<content type='text'>
Stop building vers.c in include/ and only build the needed osreldate.h.

Because of how osreldate.h was being built with newvers.sh, which always
spat out a vers.c dependent on SVN or git, the meta mode build was
considering osreldate.h to depend on the current git or SVN index.  This
would lead to entire tree rebuilds when modifying git's index.  There's
no reason to be generating vers.c here so just skip it.

While here, in mk-osreldate.sh rename PARAM_H to proper PARAMFILE (which
newvers.sh already has a default for) and remove unneeded export.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>MFC r313819:</title>
<updated>2017-02-19T21:10:34Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-02-19T21:10:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5a890f1dd26edd2811870900bfc160f2436ce49a'/>
<id>urn:sha1:5a890f1dd26edd2811870900bfc160f2436ce49a</id>
<content type='text'>
Remove outdated claim.

Despite wishful thinking the removal of these old functions hasn't
happened yet.
</content>
</entry>
<entry>
<title>MFC r310630: libkvm: support access to vmm guest memory, allow writes to</title>
<updated>2017-01-18T14:14:00Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2017-01-18T14:14:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0801dc96e2cfdd73651fc49931ea87fcc2d971c5'/>
<id>urn:sha1:0801dc96e2cfdd73651fc49931ea87fcc2d971c5</id>
<content type='text'>
fwmem and vmm

Sponsored by:	 Panzura
</content>
</entry>
<entry>
<title>MFC 310048,310101</title>
<updated>2017-01-04T01:58:38Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-01-04T01:58:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=700fead3d620e55665647fdba9135c2f4aa170a9'/>
<id>urn:sha1:700fead3d620e55665647fdba9135c2f4aa170a9</id>
<content type='text'>
310048
    hyperv: Implement "enlightened" time counter, which is rdtsc based.

    Reviewed by:    kib
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8763

310101
    hyperv: Allow userland to ro-mmap reference TSC page

    This paves way to implement VDSO for the enlightened time counter.

    Reviewed by:    kib
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8768
</content>
</entry>
<entry>
<title>MFC 308664,308742,308743</title>
<updated>2016-12-29T05:32:34Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2016-12-29T05:32:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=275950d3c2796027089b77b9cf36c3198b7074d0'/>
<id>urn:sha1:275950d3c2796027089b77b9cf36c3198b7074d0</id>
<content type='text'>
308664
    hyperv/vss: Add driver and tools for VSS

    VSS stands for "Volume Shadow Copy Service".  Unlike virtual machine
    snapshot, it only takes snapshot for the virtual disks, so both
    filesystem and applications have to aware of it, and cooperate the
    whole VSS process.

    This driver exposes two device files to the userland:

        /dev/hv_fsvss_dev

        Normally userland programs should _not_ mess with this device file.
        It is currently used by the hv_vss_daemon(8), which freezes and
        thaws the filesystem.  NOTE: currently only UFS is supported, if
        the system mounts _any_ other filesystems, the hv_vss_daemon(8)
        will veto the VSS process.

        If hv_vss_daemon(8) was disabled, then this device file must be
        opened, and proper ioctls must be issued to keep the VSS working.

        /dev/hv_appvss_dev

        Userland application can opened this device file to receive the
        VSS freeze notification, hold the VSS for a while (mainly to flush
        application data to filesystem), release the VSS process, and
        receive the VSS thaw notification i.e. applications can run again.

        The VSS will still work, even if this device file is not opened.
        However, only filesystem consistency is promised, if this device
        file is not opened or is not operated properly.

    hv_vss_daemon(8) is started by devd(8) by default.  It can be disabled
    by editting /etc/devd/hyperv.conf.

    Submitted by:   Hongjiang Zhang &lt;honzhan microsoft com&gt;
    Reviewed by:    kib, mckusick
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8224

308742
    hyperv/vss: Nuke unused variables.

    Submitted by:   markj
    Reported by:    markj
    Sponsored by:   Microsoft

308743
    hyperv/vss: Install the userland daemon to /usr/sbin instead of /

    Submitted by:   markj
    Reported by:    markj
    Sponsored by:   Microsoft
</content>
</entry>
<entry>
<title>MFC 309274:</title>
<updated>2016-12-16T01:14:00Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-12-16T01:14:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fea29f2a4d44ec897364b41a6b98d3ea1e11904e'/>
<id>urn:sha1:fea29f2a4d44ec897364b41a6b98d3ea1e11904e</id>
<content type='text'>
Use the correct name for the GCC macro indicating max_align_t is defined.
</content>
</entry>
<entry>
<title>MFC r296133:</title>
<updated>2016-12-03T18:56:28Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2016-12-03T18:56:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7952cac8899a588d7af77a7a124216dbc3b091a1'/>
<id>urn:sha1:7952cac8899a588d7af77a7a124216dbc3b091a1</id>
<content type='text'>
r296133 (by pfg):

RPC: update the getrpcbyname() definition to include a const qualifier.

Add const qualifier making getrpcbyname() and getrpcbyname_r()
prototypes match those used in latest Sun RPC code (TI-RPC 2.3).

Obtained from:	NetBSD
</content>
</entry>
<entry>
<title>MFC 307756: Define max_align_t for C11.</title>
<updated>2016-11-28T18:36:37Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-11-28T18:36:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1bc529caf5f4429c520dabcab28d6ff403f3d8d9'/>
<id>urn:sha1:1bc529caf5f4429c520dabcab28d6ff403f3d8d9</id>
<content type='text'>
libc++'s stddef.h includes an existing definition of max_align_t for
C++11, but it is only defined for C++, not for C.  In addition, GCC and
clang both define an alternate version of max_align_t that uses a
union of multiple types rather than a plain long double as in libc++.
This adds a __max_align_t to &lt;sys/_types.h&gt; that matches the GCC and
clang definition that is mapped to max_align_t in &lt;stddef.h&gt;.

PR:		210890
</content>
</entry>
</feed>
