svn commit: r353778 - head/sys/dev/e1000

2019-10-20 Thread Marius Strobl
Author: marius Date: Sun Oct 20 17:40:50 2019 New Revision: 353778 URL: https://svnweb.freebsd.org/changeset/base/353778 Log: - In em_intr(), just call em_handle_link() instead of duplicating it. - In em_msix_link(), properly handle IGB-class devices after the iflib(4) conversion again by

svn commit: r349414 - head/sys/net

2019-06-26 Thread Marius Strobl
Author: marius Date: Wed Jun 26 15:28:21 2019 New Revision: 349414 URL: https://svnweb.freebsd.org/changeset/base/349414 Log: o In iflib_txq_drain(): - Remove desc_used, which is only ever written to. - Remove a dead store to reclaimed. - Don't recycle avail. - Sort variables

Re: svn commit: r349055 - head/sys/net

2019-06-15 Thread Marius Strobl
On Sat, Jun 15, 2019 at 09:08:05AM -0400, Andrew Gallatin wrote: > On 2019-06-15 07:07, Marius Strobl wrote: > > Author: marius > > Date: Sat Jun 15 11:07:41 2019 > > New Revision: 349055 > > > Log: > >- Replace unused and only ever written to members

svn commit: r349055 - head/sys/net

2019-06-15 Thread Marius Strobl
Author: marius Date: Sat Jun 15 11:07:41 2019 New Revision: 349055 URL: https://svnweb.freebsd.org/changeset/base/349055 Log: - Replace unused and only ever written to members of public iflib(9) structs with placeholders (in the latter case, IFLIB_MAX_TX_BYTES etc. are also only ever

svn commit: r349054 - head/tools/build

2019-06-15 Thread Marius Strobl
Author: marius Date: Sat Jun 15 09:45:00 2019 New Revision: 349054 URL: https://svnweb.freebsd.org/changeset/base/349054 Log: Add required for libnv to SYSINCS, too, apparently missed in r336335. Modified: head/tools/build/Makefile Modified: head/tools/build/Makefile

svn commit: r347390 - head/sys/net

2019-05-09 Thread Marius Strobl
Author: marius Date: Thu May 9 11:34:46 2019 New Revision: 347390 URL: https://svnweb.freebsd.org/changeset/base/347390 Log: - Merge r338254 from cxgbe(4): Use fcmpset instead of cmpset when appropriate. - Revert r277226 of cxgbe(4), obsolete since r334320. Modified:

Re: svn commit: r347221 - head/sys/net

2019-05-08 Thread Marius Strobl
On Tue, May 07, 2019 at 08:38:57PM -0700, Conrad Meyer wrote: > Hi Marius, > > This change seems to break LINT-NOIP tinderbox builds; one reference > to tcp_lro_free() is covered by #if defined(INET) || defined(INET6), > but the one added in iflib_rx_structures_free() is not. Ah, thanks for the

svn commit: r347245 - head/sys/net

2019-05-08 Thread Marius Strobl
Author: marius Date: Wed May 8 09:03:43 2019 New Revision: 347245 URL: https://svnweb.freebsd.org/changeset/base/347245 Log: Allow to build without INET and INET6 again after r347221. Submitted by: cam Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c

svn commit: r347222 - head/sys/dev/e1000

2019-05-07 Thread Marius Strobl
Author: marius Date: Tue May 7 08:31:54 2019 New Revision: 347222 URL: https://svnweb.freebsd.org/changeset/base/347222 Log: o Avoid determining the MAC class (LEM/EM or IGB) - possibly even multiple times - on every interrupt by using an own set of device methods for the IGB class.

svn commit: r347221 - head/sys/net

2019-05-07 Thread Marius Strobl
Author: marius Date: Tue May 7 08:28:35 2019 New Revision: 347221 URL: https://svnweb.freebsd.org/changeset/base/347221 Log: o Use iflib_fast_intr_rxtx() also for "legacy" interrupts, i. e. INTx and MSI. Unlike as with iflib_fast_intr_ctx(), the former will also enqueue _task_fn_tx()

svn commit: r347211 - head/sys/net

2019-05-06 Thread Marius Strobl
Author: marius Date: Mon May 6 20:56:41 2019 New Revision: 347211 URL: https://svnweb.freebsd.org/changeset/base/347211 Log: - Remove the unused ifc_link_irq and ifc_mtx_name members of struct iflib_ctx. - Remove the only ever written to ift_db_mtx_name member of struct iflib_txq. - Remove

svn commit: r344069 - head/sys/modules/hwpmc

2019-02-12 Thread Marius Strobl
Author: marius Date: Tue Feb 12 23:39:18 2019 New Revision: 344069 URL: https://svnweb.freebsd.org/changeset/base/344069 Log: With r344062 in place, hwpmc_mod.c generally needs bus_if.h and device_if.h. Modified: head/sys/modules/hwpmc/Makefile Modified: head/sys/modules/hwpmc/Makefile

svn commit: r344064 - head/sys/net

2019-02-12 Thread Marius Strobl
Author: marius Date: Tue Feb 12 22:33:17 2019 New Revision: 344064 URL: https://svnweb.freebsd.org/changeset/base/344064 Log: Fix the build with ALTQ after r344060. Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c

svn commit: r344062 - in head/sys: compat/linuxkpi/common/src kern net sys

2019-02-12 Thread Marius Strobl
Author: marius Date: Tue Feb 12 21:23:59 2019 New Revision: 344062 URL: https://svnweb.freebsd.org/changeset/base/344062 Log: Make taskqgroup_attach{,_cpu}(9) work across architectures So far, intr_{g,s}etaffinity(9) take a single int for identifying a device interrupt. This approach

svn commit: r344060 - head/sys/net

2019-02-12 Thread Marius Strobl
Author: marius Date: Tue Feb 12 21:08:44 2019 New Revision: 344060 URL: https://svnweb.freebsd.org/changeset/base/344060 Log: Further correct and optimize the bus_dma(9) usage of iflib(4): o Correct the obvious bugs in the netmap(4) parts: - No longer check for the existence of DMA maps

svn commit: r343979 - head/sys/opencrypto

2019-02-10 Thread Marius Strobl
Author: marius Date: Sun Feb 10 21:27:03 2019 New Revision: 343979 URL: https://svnweb.freebsd.org/changeset/base/343979 Log: As struct cryptop is wrapped in #ifdef _KERNEL, userland doesn't need to drag in either. Modified: head/sys/opencrypto/cryptodev.h Modified:

svn commit: r343934 - head/sys/dev/e1000

2019-02-09 Thread Marius Strobl
Author: marius Date: Sat Feb 9 11:58:40 2019 New Revision: 343934 URL: https://svnweb.freebsd.org/changeset/base/343934 Log: - Remove the redundant device disabled hint handling; ever since r241119 that's performed globally by device_attach(9). - As for the EM-class of devices, em(4)

Re: svn commit: r343772 - head/sys/dev/netmap

2019-02-07 Thread Marius Strobl
On Tue, Feb 05, 2019 at 12:10:49PM +, Vincenzo Maffione wrote: > Author: vmaffione > Date: Tue Feb 5 12:10:48 2019 > New Revision: 343772 > URL: https://svnweb.freebsd.org/changeset/base/343772 > > Log: > netmap: refactor logging macros and pipes > > Changelist: > - Replace ND,

Re: svn commit: r342634 - in head/sys: arm/broadcom/bcm2835 arm/nvidia arm/ti dev/sdhci

2019-02-06 Thread Marius Strobl
On Tue, Feb 05, 2019 at 05:45:06PM -0500, Ed Maste wrote: > On Sun, 30 Dec 2018 at 18:08, Marius Strobl wrote: > > > > Author: marius > > Date: Sun Dec 30 23:08:06 2018 > > New Revision: 342634 > > URL: https://svnweb.freebsd.org/changeset/base/342634 > > &g

svn commit: r343753 - head/sys/net

2019-02-04 Thread Marius Strobl
Author: marius Date: Mon Feb 4 20:46:57 2019 New Revision: 343753 URL: https://svnweb.freebsd.org/changeset/base/343753 Log: o As illustrated by e. g. figure 7-14 of the Intel 82599 10 GbE controller datasheet revision 3.3, in the context of Ethernet MACs the control data describing

Re: svn commit: r343578 - in head/sys: dev/e1000 dev/ixgbe dev/ixl dev/vmware/vmxnet3 net

2019-01-30 Thread Marius Strobl
On Wed, Jan 30, 2019 at 06:47:44AM -0800, Rodney W. Grimes wrote: > > Author: marius > > Date: Wed Jan 30 13:21:26 2019 > > New Revision: 343578 > > URL: https://svnweb.freebsd.org/changeset/base/343578 > > > > Log: > > - Stop iflib(4) from leaking MSI messages on detachment by calling > >

svn commit: r343578 - in head/sys: dev/e1000 dev/ixgbe dev/ixl dev/vmware/vmxnet3 net

2019-01-30 Thread Marius Strobl
Author: marius Date: Wed Jan 30 13:21:26 2019 New Revision: 343578 URL: https://svnweb.freebsd.org/changeset/base/343578 Log: - Stop iflib(4) from leaking MSI messages on detachment by calling bus_teardown_intr(9) before pci_release_msi(9). - Ensure that iflib(4) and associated drivers

svn commit: r343481 - head/sys/net

2019-01-26 Thread Marius Strobl
Author: marius Date: Sat Jan 26 21:35:51 2019 New Revision: 343481 URL: https://svnweb.freebsd.org/changeset/base/343481 Log: - In _iflib_fl_refill(), don't mark an RX buffer as available in the corresponding bitmap before adding an mbuf has actually succeeded. Previously,

svn commit: r342634 - in head/sys: arm/broadcom/bcm2835 arm/nvidia arm/ti dev/sdhci

2018-12-30 Thread Marius Strobl
Author: marius Date: Sun Dec 30 23:08:06 2018 New Revision: 342634 URL: https://svnweb.freebsd.org/changeset/base/342634 Log: o Don't allocate resources for SDMA in sdhci(4) if the controller or the front-end doesn't support SDMA or the latter implements a platform- specific transfer

svn commit: r341041 - head/sys/contrib/ck/include/gcc/sparcv9

2018-11-27 Thread Marius Strobl
Author: marius Date: Tue Nov 27 12:35:51 2018 New Revision: 341041 URL: https://svnweb.freebsd.org/changeset/base/341041 Log: Import CK as of 21d3e319407d19dece16ee317c757ffc54a452bc, which makes its sparcv9 atomics compatible with the FreeBSD kernel by using instructions which access the

svn commit: r341016 - in head: . sys/modules/iavf

2018-11-27 Thread Marius Strobl
Author: marius Date: Tue Nov 27 12:11:16 2018 New Revision: 341016 URL: https://svnweb.freebsd.org/changeset/base/341016 Log: - Add a belated UPDATING entry for the ixlv(4) -> iavf(4) rename in r339338. - Likewise, add ixlv.4.gz to OLD_FILES, - and link if_ixlv.ko to if_iavf.ko in order to

svn commit: r340656 - head/sys/sparc64/sparc64

2018-11-19 Thread Marius Strobl
Author: marius Date: Tue Nov 20 00:08:33 2018 New Revision: 340656 URL: https://svnweb.freebsd.org/changeset/base/340656 Log: Given that the idea of D15374 was to "make memmove a first class citizen", provide a _MEMMOVE extension of _MEMCPY that deals with overlap based on the previous

svn commit: r340654 - head/sys/dev/sdhci

2018-11-19 Thread Marius Strobl
Author: marius Date: Mon Nov 19 23:56:33 2018 New Revision: 340654 URL: https://svnweb.freebsd.org/changeset/base/340654 Log: For consistency within the front-end, prefer SDHCI_{READ,WRITE}_{2,4}() to sdhci_acpi_{read,write}_{2,4}() in the sdhci_acpi_set_uhs_timing() added in r340543.

svn commit: r340543 - head/sys/dev/sdhci

2018-11-17 Thread Marius Strobl
Author: marius Date: Sun Nov 18 00:52:27 2018 New Revision: 340543 URL: https://svnweb.freebsd.org/changeset/base/340543 Log: Add a quirk handling for AMDI0040 controllers allowing them to do HS400. Submitted by: Shreyank Amartya (original version) Modified: head/sys/dev/sdhci/sdhci.c

svn commit: r340495 - head/sys/dev/mmc

2018-11-17 Thread Marius Strobl
Author: marius Date: Sat Nov 17 17:21:36 2018 New Revision: 340495 URL: https://svnweb.freebsd.org/changeset/base/340495 Log: - Restore setting the clock for devices which support the default/legacy transfer mode only (lost with r321385). [1] - Similarly, don't try to set the power class

svn commit: r338513 - head/sys/dev/mmc

2018-09-06 Thread Marius Strobl
Author: marius Date: Thu Sep 6 21:24:14 2018 New Revision: 338513 URL: https://svnweb.freebsd.org/changeset/base/338513 Log: Avoid uninitialized read of ext_csd. Reported by:Coverity CID:1395275 Approved by: re (gjb, kib) Modified: head/sys/dev/mmc/mmc.c Modified:

svn commit: r338512 - head/sys/dev/sdhci

2018-09-06 Thread Marius Strobl
Author: marius Date: Thu Sep 6 21:09:54 2018 New Revision: 338512 URL: https://svnweb.freebsd.org/changeset/base/338512 Log: - Explicitly compare a pointer to NULL. The __builtin_expect() of clang 3.4.1 otherwise isn't able to cope with the expression. - Fix a nearby whitespace bug.

svn commit: r338304 - head/sys/dev/mmc

2018-08-24 Thread Marius Strobl
Author: marius Date: Fri Aug 24 21:08:05 2018 New Revision: 338304 URL: https://svnweb.freebsd.org/changeset/base/338304 Log: The read accessors generated by __BUS_ACCESSOR() have the problem that they don't check the result of BUS_READ_IVAR(9) and silently return stack garbage on failure

svn commit: r338283 - head/tools/boot

2018-08-23 Thread Marius Strobl
Author: marius Date: Thu Aug 23 22:57:42 2018 New Revision: 338283 URL: https://svnweb.freebsd.org/changeset/base/338283 Log: Following r335259, don't copy boot1 from the running system for sparc64 either. Modified: head/tools/boot/rootgen.sh Modified: head/tools/boot/rootgen.sh

svn commit: r338280 - head/sys/dev/mmc

2018-08-23 Thread Marius Strobl
Author: marius Date: Thu Aug 23 21:26:58 2018 New Revision: 338280 URL: https://svnweb.freebsd.org/changeset/base/338280 Log: - Use le32dec(9) for decoding EXT_CSD values where it makes sense. [1] - Locally cache some instance variable values in mmc_discover_cards() in order to improve

svn commit: r338275 - head/sys/dev/mmc

2018-08-23 Thread Marius Strobl
Author: marius Date: Thu Aug 23 20:25:27 2018 New Revision: 338275 URL: https://svnweb.freebsd.org/changeset/base/338275 Log: Obtain the bus mode (MMC or SD) from the directly superordinated bus rather than reaching up to the bridge and use the cached mode in mmcsd_delete(), too. Modified:

svn commit: r338264 - head/sys/dev/ixl

2018-08-23 Thread Marius Strobl
Author: marius Date: Thu Aug 23 18:11:55 2018 New Revision: 338264 URL: https://svnweb.freebsd.org/changeset/base/338264 Log: Remove a duplicated interface capability bit missed in r336313. Modified: head/sys/dev/ixl/ixl.h Modified: head/sys/dev/ixl/ixl.h

svn commit: r338261 - head/sys/dev/sdhci

2018-08-23 Thread Marius Strobl
Author: marius Date: Thu Aug 23 17:50:41 2018 New Revision: 338261 URL: https://svnweb.freebsd.org/changeset/base/338261 Log: - According to section 2.2.5 of the SDHCI specification version 4.20, SDHCI_TRNS_ACMD12 is to be set only for multiple-block read/write commands without data

svn commit: r337726 - head/sys/dev/e1000

2018-08-13 Thread Marius Strobl
Author: marius Date: Mon Aug 13 20:29:39 2018 New Revision: 337726 URL: https://svnweb.freebsd.org/changeset/base/337726 Log: Remove the duplicated CSUM_IP6_TCP introduced in r311849 from the TX checksum capabilities of IGB-class MACs. While at it, fix the line wrapping. PR: 230571

svn commit: r337434 - head/sys/compat/linuxkpi/common/include/asm

2018-08-07 Thread Marius Strobl
Author: marius Date: Tue Aug 7 18:59:02 2018 New Revision: 337434 URL: https://svnweb.freebsd.org/changeset/base/337434 Log: Update the list of architectures having atomic_fcmpset_{8,16,64}(9) and atomic_swap_{64,int}(9) respectively as of r337433. Modified:

svn commit: r337433 - head/sys/riscv/include

2018-08-07 Thread Marius Strobl
Author: marius Date: Tue Aug 7 18:56:51 2018 New Revision: 337433 URL: https://svnweb.freebsd.org/changeset/base/337433 Log: Implement atomic_swap_{int,long,ptr}(9). Modified: head/sys/riscv/include/atomic.h Modified: head/sys/riscv/include/atomic.h

svn commit: r337432 - head/sys/arm/include

2018-08-07 Thread Marius Strobl
Author: marius Date: Tue Aug 7 18:56:01 2018 New Revision: 337432 URL: https://svnweb.freebsd.org/changeset/base/337432 Log: Implement atomic_swap_64(9). Modified: head/sys/arm/include/atomic-v4.h Modified: head/sys/arm/include/atomic-v4.h

svn commit: r336832 - head/sys/sparc64/include

2018-07-28 Thread Marius Strobl
Author: marius Date: Sat Jul 28 15:42:57 2018 New Revision: 336832 URL: https://svnweb.freebsd.org/changeset/base/336832 Log: Implement atomic_swap_{32,64,int,long,ptr}(9). Modified: head/sys/sparc64/include/atomic.h Modified: head/sys/sparc64/include/atomic.h

svn commit: r336690 - head/sys/net

2018-07-24 Thread Marius Strobl
Author: marius Date: Tue Jul 24 23:40:27 2018 New Revision: 336690 URL: https://svnweb.freebsd.org/changeset/base/336690 Log: Since r336611, n is only used for INET in iflib_parse_header(). Reported by: rpokala Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c

Re: svn commit: r336313 - in head/sys: dev/bnxt dev/e1000 dev/ixgbe dev/ixl net sys

2018-07-22 Thread Marius Strobl
On Wed, Jul 18, 2018 at 10:33:13PM +0200, Alexander Leidinger wrote: > Quoting Marius Strobl (from Sun, 15 Jul 2018 > 19:04:23 + (UTC)): > > > Author: marius > > Date: Sun Jul 15 19:04:23 2018 > > New Revision: 336313 > > URL: https://svnweb.freebsd.org/

svn commit: r336612 - head/sys/net

2018-07-22 Thread Marius Strobl
Author: marius Date: Sun Jul 22 17:51:11 2018 New Revision: 336612 URL: https://svnweb.freebsd.org/changeset/base/336612 Log: Use the maximum of isc_tx_{nsegments,tso_segments_max} for MAX_TX_DESC. Since r336313, TSO support for LEM-class devices is removed again as it was before the

svn commit: r336611 - head/sys/net

2018-07-22 Thread Marius Strobl
Author: marius Date: Sun Jul 22 17:45:44 2018 New Revision: 336611 URL: https://svnweb.freebsd.org/changeset/base/336611 Log: - Given that the controlling expression of the receive loop in iflib_rxeof() tests for avail > 0, avail can never be 0 within that loop. Thus, move decrementing

svn commit: r336610 - head/sys/dev/e1000

2018-07-22 Thread Marius Strobl
Author: marius Date: Sun Jul 22 17:40:13 2018 New Revision: 336610 URL: https://svnweb.freebsd.org/changeset/base/336610 Log: o In em_if_update_admin_status(): - Don't bother calling if_setbaudrate(9) as iflib_link_state_change(9) takes care of that, - correctly check for

svn commit: r336356 - head/sys/dev/e1000

2018-07-16 Thread Marius Strobl
Author: marius Date: Mon Jul 16 19:47:57 2018 New Revision: 336356 URL: https://svnweb.freebsd.org/changeset/base/336356 Log: Update igb_sctx_init for r336313, missed when incorporating shurd@'s feedback on the initial D15720. Reported by: kib Modified: head/sys/dev/e1000/if_em.c

svn commit: r336313 - in head/sys: dev/bnxt dev/e1000 dev/ixgbe dev/ixl net sys

2018-07-15 Thread Marius Strobl
Author: marius Date: Sun Jul 15 19:04:23 2018 New Revision: 336313 URL: https://svnweb.freebsd.org/changeset/base/336313 Log: Assorted TSO fixes for em(4)/iflib(9) and dead code removal: - Ever since the workaround for the silicon bug of TSO4 causing MAC hangs was committed in r295133,

svn commit: r336311 - head/sys/dev/ixgbe

2018-07-15 Thread Marius Strobl
Author: marius Date: Sun Jul 15 18:03:56 2018 New Revision: 336311 URL: https://svnweb.freebsd.org/changeset/base/336311 Log: Remove code to disable IFCAP_VLAN_HWFILTER by default for ixgbe(4) as VLAN events are passed through by lagg(4) ever since r203548. Deactivation of this capability

svn commit: r336309 - head/sys/dev/ixl

2018-07-15 Thread Marius Strobl
Author: marius Date: Sun Jul 15 18:02:50 2018 New Revision: 336309 URL: https://svnweb.freebsd.org/changeset/base/336309 Log: As suggested by a comment in ixl_initialize_vsi(), use if_getcapenable(9) instead of directly interrogating ifp->if_capenable. Reviewed by: erj

svn commit: r335303 - head/sys/net

2018-06-17 Thread Marius Strobl
Author: marius Date: Sun Jun 17 20:33:02 2018 New Revision: 335303 URL: https://svnweb.freebsd.org/changeset/base/335303 Log: Assorted fixes to MSI-X/MSI/INTx setup in iflib(9): - In iflib_msix_init(), VMMs with broken MSI-X activation are trying to be worked around by manually enabling

svn commit: r334805 - head/release/amd64

2018-06-07 Thread Marius Strobl
Author: marius Date: Thu Jun 7 18:24:25 2018 New Revision: 334805 URL: https://svnweb.freebsd.org/changeset/base/334805 Log: - Once we have shifted arguments up to thrice, base-bits-dir is $1 rather than $4. Introduce $BASEBITSDIR for clarity and to avoid repeating this mistake in the

svn commit: r334293 - head/sys/dev/usb/controller

2018-05-28 Thread Marius Strobl
Author: marius Date: Mon May 28 19:55:51 2018 New Revision: 334293 URL: https://svnweb.freebsd.org/changeset/base/334293 Log: Describe Fresco Logic FL1100 USB 3.0 controllers. Modified: head/sys/dev/usb/controller/xhci_pci.c Modified: head/sys/dev/usb/controller/xhci_pci.c

svn commit: r333955 - in head/stand: common ofw/libofw sparc64/loader

2018-05-20 Thread Marius Strobl
Author: marius Date: Mon May 21 01:20:19 2018 New Revision: 333955 URL: https://svnweb.freebsd.org/changeset/base/333955 Log: - Unbreak booting sparc64 kernels after the metadata unification in r329190; sparc64 kernels are always 64-bit but with that revision in place, the loader was

svn commit: r333647 - head/sys/dev/mmc

2018-05-15 Thread Marius Strobl
Author: marius Date: Tue May 15 21:15:09 2018 New Revision: 333647 URL: https://svnweb.freebsd.org/changeset/base/333647 Log: - If present, take advantage of the R/W cache of eMMC revision 1.5 and later devices. These caches work akin to the ones found in HDDs/SSDs that ada(4)/da(4)

svn commit: r333646 - head/sys/dev/mmc

2018-05-15 Thread Marius Strobl
Author: marius Date: Tue May 15 21:07:11 2018 New Revision: 333646 URL: https://svnweb.freebsd.org/changeset/base/333646 Log: Restore style(9) conformance after r320844 (actually requested pre- commit) and bring the r320844 additions in line with existing bits. Modified:

svn commit: r333614 - head/sys/dev/mmc

2018-05-14 Thread Marius Strobl
Author: marius Date: Mon May 14 21:57:45 2018 New Revision: 333614 URL: https://svnweb.freebsd.org/changeset/base/333614 Log: Let mmcsd_ioctl() ensure appropriate privileges via priv_check(9). Modified: head/sys/dev/mmc/mmcsd.c Modified: head/sys/dev/mmc/mmcsd.c

svn commit: r333613 - head/sys/dev/sdhci

2018-05-14 Thread Marius Strobl
Author: marius Date: Mon May 14 21:46:06 2018 New Revision: 333613 URL: https://svnweb.freebsd.org/changeset/base/333613 Log: The broken DDR52 support of Intel Bay Trail eMMC controllers rumored in the commit log of r321385 has been confirmed via the public VLI54 erratum. Thus, stop

Re: svn commit: r327314 - head/sys/x86/x86

2018-03-14 Thread Marius Strobl
On Wed, Mar 14, 2018 at 07:18:41PM -0400, Ed Maste wrote: > On 28 December 2017 at 16:46, Marius Strobl <mar...@freebsd.org> wrote: > > Author: marius > > Date: Thu Dec 28 21:46:09 2017 > > New Revision: 327314 > > URL: https://svnweb.freebsd.org/

svn commit: r329758 - head/stand/sparc64/loader

2018-02-21 Thread Marius Strobl
Author: marius Date: Wed Feb 21 22:24:49 2018 New Revision: 329758 URL: https://svnweb.freebsd.org/changeset/base/329758 Log: Fix compilation with LOADER_DEBUG defined after r329725. Modified: head/stand/sparc64/loader/main.c Modified: head/stand/sparc64/loader/main.c

svn commit: r328865 - head/tools/boot

2018-02-04 Thread Marius Strobl
Author: marius Date: Mon Feb 5 00:18:21 2018 New Revision: 328865 URL: https://svnweb.freebsd.org/changeset/base/328865 Log: Flesh out the creation of sparc64 UFS images. This has only been verified to yield working images in a native build as rootgen.sh generally doesn't support

svn commit: r328834 - in head: lib/libc/sparc64/sys libexec/rtld-elf libexec/rtld-elf/aarch64 libexec/rtld-elf/amd64 libexec/rtld-elf/arm libexec/rtld-elf/i386 libexec/rtld-elf/mips libexec/rtld-el...

2018-02-03 Thread Marius Strobl
Author: marius Date: Sat Feb 3 23:14:11 2018 New Revision: 328834 URL: https://svnweb.freebsd.org/changeset/base/328834 Log: o Let rtld(1) set up psABI user trap handlers prior to executing the objects' init functions instead of doing the setup via a constructor in libc as the init

svn commit: r328639 - in head/contrib/jemalloc: . include/jemalloc

2018-01-31 Thread Marius Strobl
Author: marius Date: Wed Jan 31 21:56:23 2018 New Revision: 328639 URL: https://svnweb.freebsd.org/changeset/base/328639 Log: Account for the fact that jemalloc 5.0.0 dropped STATIC_PAGE_SHIFT in favor for using LG_PAGE directly and, thus, for the fact that host and target don't necessarily

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-16 Thread Marius Strobl
On Mon, Jan 15, 2018 at 03:20:49PM -0800, Nathan Whitehorn wrote: > > > On 01/15/18 09:53, Konstantin Belousov wrote: > > On Mon, Jan 15, 2018 at 09:32:56AM -0800, Nathan Whitehorn wrote: > >> That seems fine to me. I don't think a less-clumsy way that does not > >> involve extra indirection is

svn commit: r327929 - head/sys/dev/mmc

2018-01-13 Thread Marius Strobl
Author: marius Date: Sat Jan 13 17:36:11 2018 New Revision: 327929 URL: https://svnweb.freebsd.org/changeset/base/327929 Log: Use the correct revision specifier (EXT_CSD revision rather than system specification version) for deciding whether the EXT_CSD register includes the

svn commit: r327926 - head/sys/dev/mmc

2018-01-13 Thread Marius Strobl
Author: marius Date: Sat Jan 13 16:32:09 2018 New Revision: 327926 URL: https://svnweb.freebsd.org/changeset/base/327926 Log: Fix a bug introduced in r327355; in mmcsd_ioctl_cmd() when ensuring that userland doesn't switch partitions on its own, compare against the partition

svn commit: r327924 - head/sys/dev/sdhci

2018-01-13 Thread Marius Strobl
Author: marius Date: Sat Jan 13 16:21:13 2018 New Revision: 327924 URL: https://svnweb.freebsd.org/changeset/base/327924 Log: Fix a bug introduced in r327339; at the point in time re-tuning is executed, the interrupt aggregation code might have disabled the SDHCI_INT_DMA_END and/or

svn commit: r327355 - head/sys/dev/mmc

2017-12-29 Thread Marius Strobl
Author: marius Date: Fri Dec 29 19:07:50 2017 New Revision: 327355 URL: https://svnweb.freebsd.org/changeset/base/327355 Log: - Don't allow userland to switch partitions; it's next to impossible to recover from that, especially when something goes wrong. - When userland changes EXT_CSD,

svn commit: r327339 - head/sys/dev/sdhci

2017-12-29 Thread Marius Strobl
Author: marius Date: Fri Dec 29 12:48:19 2017 New Revision: 327339 URL: https://svnweb.freebsd.org/changeset/base/327339 Log: - There is no need to keep the tuning error and re-tuning interrupts enabled (though, no interrupt generation enabled for them) all the time as soon as

svn commit: r327315 - head/sys/dev/sdhci

2017-12-28 Thread Marius Strobl
Author: marius Date: Thu Dec 28 22:03:08 2017 New Revision: 327315 URL: https://svnweb.freebsd.org/changeset/base/327315 Log: Probe Intel Denverton eMMC 5.0 controllers. Modified: head/sys/dev/sdhci/sdhci_pci.c Modified: head/sys/dev/sdhci/sdhci_pci.c

svn commit: r327314 - head/sys/x86/x86

2017-12-28 Thread Marius Strobl
Author: marius Date: Thu Dec 28 21:46:09 2017 New Revision: 327314 URL: https://svnweb.freebsd.org/changeset/base/327314 Log: With the advent of interrupt remapping, Intel has repurposed bit 11 (now: Interrupt_Index[15]) and assigned the previously reserved bits 55:48 (Interrupt_Index[14:0]

svn commit: r324776 - head/sys/dev/mmc

2017-10-19 Thread Marius Strobl
Author: marius Date: Thu Oct 19 21:57:14 2017 New Revision: 324776 URL: https://svnweb.freebsd.org/changeset/base/324776 Log: Correct an inverted conditional for determining the multiplier of the user data area size. Modified: head/sys/dev/mmc/mmcsd.c Modified: head/sys/dev/mmc/mmcsd.c

svn commit: r323382 - head/contrib/zlib

2017-09-09 Thread Marius Strobl
Author: marius Date: Sun Sep 10 01:25:15 2017 New Revision: 323382 URL: https://svnweb.freebsd.org/changeset/base/323382 Log: MFV: r323381 Permit a deflateParams() parameter change as soon as possible. This change fixes compression errors seen when the embedded Tomcat web server of

svn commit: r322986 - head/sys/dev/e1000

2017-08-28 Thread Marius Strobl
Author: marius Date: Mon Aug 28 22:09:12 2017 New Revision: 322986 URL: https://svnweb.freebsd.org/changeset/base/322986 Log: Don't set any WOL enabling hardware bits if WOL isn't requested according to the enabled interface capability bits. Also remove some dead code, which tried to

svn commit: r322726 - head/etc/periodic/daily

2017-08-20 Thread Marius Strobl
Author: marius Date: Sun Aug 20 20:38:15 2017 New Revision: 322726 URL: https://svnweb.freebsd.org/changeset/base/322726 Log: Bring back the much more readable unified format for differences in /etc/{group,master.passwd}. This was originally turned on for all of

svn commit: r322209 - head/sys/dev/mmc

2017-08-07 Thread Marius Strobl
Author: marius Date: Mon Aug 7 23:33:05 2017 New Revision: 322209 URL: https://svnweb.freebsd.org/changeset/base/322209 Log: - If available, use TRIM instead of ERASE for implementing BIO_DELETE. This also involves adding a quirk table as TRIM is broken for some Kingston eMMC devices,

svn commit: r322203 - head/usr.sbin/tzsetup

2017-08-07 Thread Marius Strobl
Author: marius Date: Mon Aug 7 21:38:10 2017 New Revision: 322203 URL: https://svnweb.freebsd.org/changeset/base/322203 Log: Revert the parts of r322097 related to /etc/wall_cmos_clock handling as the previous behavior actually is required for setting up configurations in which the RTC is

svn commit: r322097 - head/usr.sbin/tzsetup

2017-08-05 Thread Marius Strobl
Author: marius Date: Sat Aug 5 12:59:03 2017 New Revision: 322097 URL: https://svnweb.freebsd.org/changeset/base/322097 Log: - Move creation and unlinking of /etc/wall_cmos_clock from the handling of the initial UTC dialog to install_zoneinfo() so that file gets the necessary treatment

svn commit: r321948 - head/sys/dev/mmc

2017-08-02 Thread Marius Strobl
Author: marius Date: Wed Aug 2 21:11:51 2017 New Revision: 321948 URL: https://svnweb.freebsd.org/changeset/base/321948 Log: - Correct the remainder of confusing and error prone mix-ups between "br" or "bridge" where - according to the terminology outlined in comments of bridge.h and

svn commit: r321589 - head/sys/dev/sdhci

2017-07-26 Thread Marius Strobl
Author: marius Date: Wed Jul 26 22:04:23 2017 New Revision: 321589 URL: https://svnweb.freebsd.org/changeset/base/321589 Log: - Check the slot type capability, set SDHCI_SLOT_{EMBEDDED,NON_REMOVABLE} for embedded slots. Fail in the sdhci(4) initialization for slot type shared, which is

svn commit: r321588 - head/sys/dev/mmc

2017-07-26 Thread Marius Strobl
Author: marius Date: Wed Jul 26 21:59:37 2017 New Revision: 321588 URL: https://svnweb.freebsd.org/changeset/base/321588 Log: Correctly use the size of a pointer rather than that of a pointer to a pointer. Reported by: Coverity CID: 1378432 Modified: head/sys/dev/mmc/mmc.c

svn commit: r321490 - head/sys/dev/mmc

2017-07-25 Thread Marius Strobl
Author: marius Date: Tue Jul 25 20:36:44 2017 New Revision: 321490 URL: https://svnweb.freebsd.org/changeset/base/321490 Log: Improve the clarity of a comment added in r321385 by not referring to volatile SDHCI specification lingo. Modified: head/sys/dev/mmc/mmcsd.c Modified:

svn commit: r321385 - in head/sys/dev: mmc sdhci

2017-07-23 Thread Marius Strobl
Author: marius Date: Sun Jul 23 16:11:47 2017 New Revision: 321385 URL: https://svnweb.freebsd.org/changeset/base/321385 Log: o Add support for eMMC HS200 and HS400 bus speed modes at 200 MHz to sdhci(4), mmc(4) and mmcsd(4). For the most part, this consists of: - Correcting and

Re: svn commit: r320844 - in head: etc/mtree include lib/libcam sys/amd64/conf sys/arm/broadcom/bcm2835 sys/arm/conf sys/arm/ti sys/cam sys/cam/mmc sys/cam/scsi sys/conf sys/dev/mmc sys/dev/sdhci sys/

2017-07-09 Thread Marius Strobl
On Sun, Jul 09, 2017 at 02:49:56PM -0600, Warner Losh wrote: > On Sun, Jul 9, 2017 at 2:40 PM, Warner Losh <i...@bsdimp.com> wrote: > > > > > > > On Sun, Jul 9, 2017 at 12:42 PM, Marius Strobl <mar...@freebsd.org> wrote: > > > >> On Sun,

Re: svn commit: r320844 - in head: etc/mtree include lib/libcam sys/amd64/conf sys/arm/broadcom/bcm2835 sys/arm/conf sys/arm/ti sys/cam sys/cam/mmc sys/cam/scsi sys/conf sys/dev/mmc sys/dev/sdhci sys/

2017-07-09 Thread Marius Strobl
On Sun, Jul 09, 2017 at 04:57:24PM +, Warner Losh wrote: > Author: imp > Date: Sun Jul 9 16:57:24 2017 > New Revision: 320844 > URL: https://svnweb.freebsd.org/changeset/base/320844 > > Log: > An MMC/SD/SDIO stack using CAM > > Implement the MMC/SD/SDIO protocol within a CAM

svn commit: r320620 - head/sys/dev/sdhci

2017-07-03 Thread Marius Strobl
Author: marius Date: Mon Jul 3 20:47:32 2017 New Revision: 320620 URL: https://svnweb.freebsd.org/changeset/base/320620 Log: Correct a typo in the comment part of r320577, later on copied into the commit message; as actually implemented, the intent is to retry up to 2 ms for controllers to

svn commit: r320577 - head/sys/dev/sdhci

2017-07-02 Thread Marius Strobl
Author: marius Date: Sun Jul 2 19:13:01 2017 New Revision: 320577 URL: https://svnweb.freebsd.org/changeset/base/320577 Log: Retry up to 20 ms to enable bus power as at least with some Intel SDHCI/eMMC controllers the first attempt after a D3 to D0 transition, i. e. when the firmware has

svn commit: r318282 - head/sys/dev/sdhci

2017-05-14 Thread Marius Strobl
Author: marius Date: Sun May 14 21:33:01 2017 New Revision: 318282 URL: https://svnweb.freebsd.org/changeset/base/318282 Log: - Unlike as in the PCI case, when attached to ACPI, Intel Bay Trail and Braswell eMMC and SDXC controllers share the same IDs. Like in the PCI case, Braswell

svn commit: r318276 - head/sys/dev/usb/controller

2017-05-14 Thread Marius Strobl
Author: marius Date: Sun May 14 14:27:59 2017 New Revision: 318276 URL: https://svnweb.freebsd.org/changeset/base/318276 Log: Describe Intel Apollo Lake and Braswell USB 3.0 controllers. Modified: head/sys/dev/usb/controller/xhci_pci.c Modified: head/sys/dev/usb/controller/xhci_pci.c

svn commit: r317982 - in head/sys: kern sys

2017-05-08 Thread Marius Strobl
Author: marius Date: Mon May 8 21:08:39 2017 New Revision: 317982 URL: https://svnweb.freebsd.org/changeset/base/317982 Log: - Also outside of the KOBJOPLOOKUP macro - which in turn is used by the code auto-generated for *.m - kobj_lookup_method(9) is useful; for example in back-ends

svn commit: r317981 - head/sys/modules/mmcsd

2017-05-08 Thread Marius Strobl
Author: marius Date: Mon May 8 20:58:32 2017 New Revision: 317981 URL: https://svnweb.freebsd.org/changeset/base/317981 Log: Revise r315430; there's no need to build mmc_subr.c into both mmc.ko and mmcsd.ko. Modified: head/sys/modules/mmcsd/Makefile Modified:

svn commit: r317578 - head/sys/sparc64/pci

2017-04-28 Thread Marius Strobl
Author: marius Date: Sat Apr 29 00:53:17 2017 New Revision: 317578 URL: https://svnweb.freebsd.org/changeset/base/317578 Log: Fix a bug introduced as part of r287726; use the right device_t for determining the softc of the bridge in psycho_route_interrupt(). [1] While at it, update the

svn commit: r317343 - head/sbin/ipfw

2017-04-23 Thread Marius Strobl
Author: marius Date: Sun Apr 23 21:17:59 2017 New Revision: 317343 URL: https://svnweb.freebsd.org/changeset/base/317343 Log: In fill_ip6(), the value of the pointer av changes before it is free(3)ed. Thus, introduce a new variable to track the original value. Submitted by: Tom

svn commit: r315760 - head/sys/arm/nvidia

2017-03-22 Thread Marius Strobl
Author: marius Date: Thu Mar 23 00:41:33 2017 New Revision: 315760 URL: https://svnweb.freebsd.org/changeset/base/315760 Log: Correct the dependency of mmc(4) on sdhci_tegra(4) after r314887. Modified: head/sys/arm/nvidia/tegra_sdhci.c Modified: head/sys/arm/nvidia/tegra_sdhci.c

svn commit: r315598 - in head/sys/dev: mmc sdhci

2017-03-19 Thread Marius Strobl
2017(r315598) @@ -1,6 +1,7 @@ /*- * Copyright (c) 2006 Bernd Walter. All rights reserved. * Copyright (c) 2006 M. Warner Losh. All rights reserved. + * Copyright (c) 2017 Marius Strobl <mar...@freebsd.org> * * Redistribution and use in source and binary forms, with

Re: svn commit: r315466 - in head/sys/dev: mmc sdhci

2017-03-17 Thread Marius Strobl
On Fri, Mar 17, 2017 at 05:09:26PM -0600, Ian Lepore wrote: > On Fri, 2017-03-17 at 22:57 +0000, Marius Strobl wrote: > > Author: marius > > Date: Fri Mar 17 22:57:37 2017 > > New Revision: 315466 > > URL: https://svnweb.freebsd.org/changeset/base/315466 > > >

Re: svn commit: r315466 - in head/sys/dev: mmc sdhci

2017-03-17 Thread Marius Strobl
On Sat, Mar 18, 2017 at 12:39:47AM +0100, Marius Strobl wrote: > On Fri, Mar 17, 2017 at 05:09:26PM -0600, Ian Lepore wrote: > > On Fri, 2017-03-17 at 22:57 +0000, Marius Strobl wrote: > > > Author: marius > > > Date: Fri Mar 17 22:57:37 2017 > > > N

svn commit: r315466 - in head/sys/dev: mmc sdhci

2017-03-17 Thread Marius Strobl
Author: marius Date: Fri Mar 17 22:57:37 2017 New Revision: 315466 URL: https://svnweb.freebsd.org/changeset/base/315466 Log: Again, fixes regarding style(4), to comments, includes and unused parameters. Modified: head/sys/dev/mmc/bridge.h head/sys/dev/mmc/mmc.c

  1   2   3   4   5   6   7   8   >