svn commit: r368756 - head/contrib/jemalloc/src

2020-12-18 Thread Marcin Wojtas
Author: mw Date: Fri Dec 18 10:09:21 2020 New Revision: 368756 URL: https://svnweb.freebsd.org/changeset/base/368756 Log: Fix abort in jemalloc extent coalescing. Fix error in extent_try_coalesce_impl(), which could cause abort to happen when trying to coalesce extents backwards. The

svn commit: r367799 - in head/sys: contrib/ena-com contrib/ena-com/ena_defs dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 14:59:22 2020 New Revision: 367799 URL: https://svnweb.freebsd.org/changeset/base/367799 Log: Adjust ENA driver files to latest ena-com changes * Use the new API of ena_trace_* * Fix typo syndrom --> syndrome * Remove validation of the Rx req ID (already

svn commit: r367805 - head/sys/dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:25:38 2020 New Revision: 367805 URL: https://svnweb.freebsd.org/changeset/base/367805 Log: Update ENA driver version to v2.3.0 The v2.3.0 introduces new ena_com layer, ENI metrics updates and SPDX license tags. Submitted by: Michal Krawczyk

svn commit: r367801 - in head: share/man/man4 sys/dev/ena sys/modules/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:07:34 2020 New Revision: 367801 URL: https://svnweb.freebsd.org/changeset/base/367801 Log: Add SPDX license tag to the ENA driver files Refering to guide: https://wiki.freebsd.org/SPDX the SPDX tag should not replace the standard license text, however it

svn commit: r367800 - head/sys/dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:02:12 2020 New Revision: 367800 URL: https://svnweb.freebsd.org/changeset/base/367800 Log: Add Rx offsets support for the ENA driver For the first descriptor in a chain the data may start at an offset. It is optional feature of some devices, so the driver

svn commit: r367803 - head/sys/dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:20:01 2020 New Revision: 367803 URL: https://svnweb.freebsd.org/changeset/base/367803 Log: Rename descriptions of the supported ENA devices Some of the PCI ID were described as ENA with LLQ support - it's not fully accurate and because of that, their names

svn commit: r367795 - in head/sys: contrib/ena-com dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 14:50:12 2020 New Revision: 367795 URL: https://svnweb.freebsd.org/changeset/base/367795 Log: Fix completion descriptors alignment for the ENA The latest generation hardware requires IO CQ (completion queue) descriptors memory to be aligned to a 4K. It needs

svn commit: r367802 - head/sys/dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:17:55 2020 New Revision: 367802 URL: https://svnweb.freebsd.org/changeset/base/367802 Log: Add ENI metrics for the ENA driver The new HAL allows the driver to read extra ENI stats. Exact meaning of each of them can be found in base/ena_defs/ena_admin_defs.h

Re: svn commit: r366106 - head/sys/arm64/arm64

2020-11-01 Thread Marcin Wojtas
Hi, With this commit SDHCI fails to allocate a bounce buffer for SDMA (sdhci_dma_alloc() routine). The same behavior was observed on LS1046A and Armada 7k8k. Example log: sdhci_xenon0: mem 0x78-0x7802ff irq 38 on simplebus3 getaddr: error 27 sdhci_xenon0-slot0: Can't load DMA memory for

svn commit: r321651 - head/sys/arm/mv

2017-07-28 Thread Marcin Wojtas
of them, actual values from the table were used (PTE2_ATTR_), when applying work-around for Marvell Armada 38x SoCs. Submitted by: Marcin Wojtas (m...@semihalf.com) Reported by: Rafal Kozik (r...@semihalf.com) Reviewed by: cognet (mentor) Approved by: cognet (mentor) Obtained from

svn commit: r321860 - head/usr.bin/calendar/calendars

2017-08-01 Thread Marcin Wojtas
@@ 05/10 Markus Brueffer <mar...@freebsd.org> born in Gronau, Nordrhein-Westfalen, Germany, 1977 05/11 Kurt Lidl <l...@freebsd.org> born in Rockville, Maryland, United States, 1968 05/11 Jesus Rodriguez <jes...@freebsd.org> born in Barcelona, Spain, 1972 +05/11

svn commit: r322359 - head/sys/dev/ofw

2017-08-10 Thread Marcin Wojtas
Author: mw Date: Thu Aug 10 13:45:56 2017 New Revision: 322359 URL: https://svnweb.freebsd.org/changeset/base/322359 Log: Enable OF_setprop API function to add property in FDT This patch modifies function ofw_fdt_setprop (called by OF_setprop), so that it can add property, when replacing

svn commit: r321392 - head/share/misc

2017-07-23 Thread Marcin Wojtas
+250,7 @@ mmel [label="Michal Meloun\nm...@freebsd.org\n2015/11/ monthadar [label="Monthadar Al Jaberi\nmontha...@freebsd.org\n2012/04/02"] mp [label="Mark Peek\n...@freebsd.org\n2001/07/27"] mr [label="Michael Reifenberger\n...@freebsd.org\n2001/09/30

svn commit: r322285 - head/sys/dev/fdt

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 00:45:25 2017 New Revision: 322285 URL: https://svnweb.freebsd.org/changeset/base/322285 Log: Enable parsing simple-bus 'ranges' with multiple entries This patch makes possible to boot with up to 8 ranges in soc. Dynamic allocation cannot be used, because

svn commit: r322286 - head/sys/boot/fdt/dts/arm

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 00:51:45 2017 New Revision: 322286 URL: https://svnweb.freebsd.org/changeset/base/322286 Log: Restore original /soc ranges on Marvell Armada 38x boards Because fdt_get_ranges can process now multiple 'ranges' entries, restoring the ranges from original Linux

svn commit: r322294 - head/sys/arm/mv/armada38x

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:25:47 2017 New Revision: 322294 URL: https://svnweb.freebsd.org/changeset/base/322294 Log: Enable pl310 coherent operation in platform init for Armada 38x Updating PL310 sotfware context sc_io_coherent field in platform_pl310_init() routine for Armada 38x

svn commit: r322289 - head/sys/dev/ofw

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:06:40 2017 New Revision: 322289 URL: https://svnweb.freebsd.org/changeset/base/322289 Log: Enable using ofw_bus_find_compatible in early platform code Before this patch function ofw_bus_find_compatible was using memory allocations in order to find

svn commit: r322292 - head/sys/boot/fdt/dts/arm

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:20:53 2017 New Revision: 322292 URL: https://svnweb.freebsd.org/changeset/base/322292 Log: Remove clock-frequency properties from Armada 38x timer nodes Since the timers' base frequency setting is added to the platform code, this patch removes

svn commit: r322287 - head/sys/dev/ofw

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 00:56:29 2017 New Revision: 322287 URL: https://svnweb.freebsd.org/changeset/base/322287 Log: Add support for "compatible" parameter in ofw_fdt_fixup Sometimes it's convenient to provide fixup to many boards that use the same SoC family (eg. Marvell Armada

svn commit: r322295 - head/sys/boot/fdt/dts/arm

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:31:05 2017 New Revision: 322295 URL: https://svnweb.freebsd.org/changeset/base/322295 Log: Update pl310 node in Armada 38x DTS to match the one used in Linux Since the cache controller nodes fixup is added to the platform code, this patch aligns it to the

svn commit: r322290 - head/sys/arm/mv

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:14:29 2017 New Revision: 322290 URL: https://svnweb.freebsd.org/changeset/base/322290 Log: Dynamically configure timers' base frequency for Armada 38x Instead of using 'clock-frequency' device tree property for global/twd mpcore timers of Armada 38x SoCs,

svn commit: r321864 - head/sys/contrib/ena-com

2017-08-01 Thread Marcin Wojtas
Author: mw Date: Tue Aug 1 11:00:04 2017 New Revision: 321864 URL: https://svnweb.freebsd.org/changeset/base/321864 Log: Merge ena-com 1.1.4.2 Update ENA HAL after fixing gcc build in r321861. Submitted by: rlibby Reviewed by: cognet (mentor) Approved by: cognet (mentor)

Re: svn commit: r323362 - in head/sys: conf dev/neta

2017-09-11 Thread Marcin Wojtas
2017-09-11 11:38 GMT+02:00 Andrew Turner <and...@fubar.geek.nz>: > >> On 9 Sep 2017, at 12:54, Marcin Wojtas <m...@freebsd.org> wrote: >> >> Author: mw >> Date: Sat Sep 9 11:54:04 2017 >> New Revision: 323362 >> URL: https://svnweb.freebsd.o

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

2017-09-11 Thread Marcin Wojtas
Author: mw Date: Mon Sep 11 10:41:42 2017 New Revision: 323432 URL: https://svnweb.freebsd.org/changeset/base/323432 Log: Improve HW type checking in mv_ehci driver This patch adds hwtype parameter which keeps information about hardware revision of Marvell EHCI controller. It allows to

svn commit: r323353 - in head/sys: conf dev/usb/controller

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 10:54:13 2017 New Revision: 323353 URL: https://svnweb.freebsd.org/changeset/base/323353 Log: Add support for xhci in Armada 3700 and 7k/8k This driver will be used by Marvell Armada 3700 and 7k/8k SoC families. The same, generic xhci device also appears in

svn commit: r323359 - in head/sys: conf dev/uart modules/uart

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:42:32 2017 New Revision: 323359 URL: https://svnweb.freebsd.org/changeset/base/323359 Log: Introduce UART driver module for Armada 3700 This patch adds support for UART in Armada 3700 family. It exposes both low-level UART interface, as well as standard

svn commit: r323362 - in head/sys: conf dev/neta

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:54:04 2017 New Revision: 323362 URL: https://svnweb.freebsd.org/changeset/base/323362 Log: Add support for Armada 3700 in the NETA driver This patch enables using NETA driver on Marvell Armada 3700 SoC by introducing new compatible string, modifying clock

svn commit: r323363 - head/sys/arm64/conf

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:56:48 2017 New Revision: 323363 URL: https://svnweb.freebsd.org/changeset/base/323363 Log: Enable compilation of Marvell NETA controller with arm64 GENERIC This patch enables network operation on Marvell Armada 3700 SoC. Submitted by: Patryk Duda

svn commit: r323358 - head/sys/arm64/conf

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:16:10 2017 New Revision: 323358 URL: https://svnweb.freebsd.org/changeset/base/323358 Log: Enable compilation of Marvell EHCI driver in arm64 GENERIC Enabled driver can be used on boards equipped with Marvell Armada 3700 SoC. Submitted by: Patryk Duda

svn commit: r323360 - head/sys/arm64/conf

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:46:34 2017 New Revision: 323360 URL: https://svnweb.freebsd.org/changeset/base/323360 Log: Add support for uart_mvebu driver arm64 GENERIC config This patch enables console output on Armada 3700 SoCs with kernel GENERIC. Submitted by: Patryk Duda

svn commit: r323356 - head/sys/dev/ahci

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:01:44 2017 New Revision: 323356 URL: https://svnweb.freebsd.org/changeset/base/323356 Log: Add support for AHCI in Armada 3700 This patch simply AHCI generic driver by extending compatible list. Submitted by: Patryk Duda Obtained

svn commit: r323354 - head/sys/arm64/conf

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 10:58:45 2017 New Revision: 323354 URL: https://svnweb.freebsd.org/changeset/base/323354 Log: Enable compilation of Marvell XHCI driver in arm64 GENERIC Enabled driver can be used on boards equipped with Marvell Armada 3700/7k/8k SoCs. Submitted by:

svn commit: r323361 - head/sys/dev/neta

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:49:36 2017 New Revision: 323361 URL: https://svnweb.freebsd.org/changeset/base/323361 Log: Store virtual address of buffer in mvneta_rx_ring Now the virtual address of received buffer is taken from a software ring. Thanks to this, we can use the NETA driver

svn commit: r323457 - head/sys/arm64/conf

2017-09-11 Thread Marcin Wojtas
Author: mw Date: Mon Sep 11 19:00:53 2017 New Revision: 323457 URL: https://svnweb.freebsd.org/changeset/base/323457 Log: Expand Marvell NIC description in arm64 GENERIC config Suggested by: emaste Modified: head/sys/arm64/conf/GENERIC Modified: head/sys/arm64/conf/GENERIC

svn commit: r323459 - head/sys/modules/uart

2017-09-11 Thread Marcin Wojtas
Author: mw Date: Mon Sep 11 19:07:53 2017 New Revision: 323459 URL: https://svnweb.freebsd.org/changeset/base/323459 Log: Restore alphabetical order in UART Makefile Commit r323359 introduced new Marvell UART controller driver and by mistake it broke correct order in the Makefile. Fix

svn commit: r323172 - head/sys/arm/mv/armada38x

2017-09-04 Thread Marcin Wojtas
Author: mw Date: Tue Sep 5 05:45:57 2017 New Revision: 323172 URL: https://svnweb.freebsd.org/changeset/base/323172 Log: Add Armada 80x0/70x0 compatible to 38x RTC driver Marvell Armada 80x0/70x0 SoC family uses same RTC IP as Armada 38x. This patch adds Armada 8k compatible to Marvell

svn commit: r323174 - head/sys/boot/efi/loader

2017-09-04 Thread Marcin Wojtas
Author: mw Date: Tue Sep 5 05:53:43 2017 New Revision: 323174 URL: https://svnweb.freebsd.org/changeset/base/323174 Log: Fix loader bug causing too many pages allocation when bootloader is U-Boot FreeBSD loader expects to have mmsz variable set by bootloader. U-Boot behaviour is that if

svn commit: r323171 - in head/sys/arm: conf mv/armada38x

2017-09-04 Thread Marcin Wojtas
Author: mw Date: Tue Sep 5 05:42:37 2017 New Revision: 323171 URL: https://svnweb.freebsd.org/changeset/base/323171 Log: Change name of Marvell Armada38x RTC driver Two modules with the same name cannot be loaded, so Marvell specific drivers cannot have the same name as generic drivers.

svn commit: r323173 - in head/sys: arm64/conf conf

2017-09-04 Thread Marcin Wojtas
Author: mw Date: Tue Sep 5 05:50:01 2017 New Revision: 323173 URL: https://svnweb.freebsd.org/changeset/base/323173 Log: Add Marvell RTC driver to arm64 GENERIC config Marvell Armada 80x0/70x0 SoC family uses same RTC IP as Armada 38x. This patch adds necessary files and enable driver

svn commit: r323357 - in head/sys: conf dev/usb/controller

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:06:58 2017 New Revision: 323357 URL: https://svnweb.freebsd.org/changeset/base/323357 Log: Add support for Armada 3700 EHCI This patch reuses ehci_mv driver by adding a support for the new compatible string and adding ehci_mv.c to list of available options

svn commit: r323983 - head/sys/dev/neta

2017-09-24 Thread Marcin Wojtas
Author: mw Date: Mon Sep 25 02:06:51 2017 New Revision: 323983 URL: https://svnweb.freebsd.org/changeset/base/323983 Log: Fix gcc compilation issues in the mvneta driver Compiling mvneta driver with gcc unveiled two issues, that required fixing. Reported by: andrew Obtained from:

svn commit: r323138 - in head/sys/arm64: arm64 include

2017-09-03 Thread Marcin Wojtas
Author: mw Date: Sun Sep 3 08:32:33 2017 New Revision: 323138 URL: https://svnweb.freebsd.org/changeset/base/323138 Log: Add ARM Cortex A72 to CPU list This change is required to properly detect CPUs on Marvell Armada 80x0/70x0 SoC family. Submitted by: Rafal Kozik

svn commit: r325511 - head/sys/dev/ena

2017-11-07 Thread Marcin Wojtas
Author: mw Date: Tue Nov 7 13:20:41 2017 New Revision: 325511 URL: https://svnweb.freebsd.org/changeset/base/325511 Log: Fix ENA driver error handling in attach and basic style fixes The patch contains following changes: * In conditional checks, always check for NULL or 0 instead of

svn commit: r325512 - head/sys/dev/ena

2017-11-07 Thread Marcin Wojtas
Author: mw Date: Tue Nov 7 13:26:11 2017 New Revision: 325512 URL: https://svnweb.freebsd.org/changeset/base/325512 Log: Change function validate_tx_req_id() to inline in ENA driver The function is in hot path of the driver (TX) and asking compiler for making this function inline was

svn commit: r325579 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:54:32 2017 New Revision: 325579 URL: https://svnweb.freebsd.org/changeset/base/325579 Log: Fix error handling in the ENA driver and lock drbr_free() call Some goto tags were renamed for consistency, and few error handling routines were reworked. The

svn commit: r325578 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:52:52 2017 New Revision: 325578 URL: https://svnweb.freebsd.org/changeset/base/325578 Log: Destroy admin queue after freeing interrupts in ENA driver On heavy load, when interrupt handling routine was slowed down, there could appear memory corruption,

svn commit: r325582 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:01:46 2017 New Revision: 325582 URL: https://svnweb.freebsd.org/changeset/base/325582 Log: Remove deprecated and unused counters in ENA driver Few counters were imported from the Linux driver and never used, because of differences between the Linux and

svn commit: r325577 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:50:52 2017 New Revision: 325577 URL: https://svnweb.freebsd.org/changeset/base/325577 Log: Split function checking for missing TX completion in ENA driver Pure cosmetic change for better readability of the driver. Submitted by: Michal Krawczyk

svn commit: r325574 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:45:59 2017 New Revision: 325574 URL: https://svnweb.freebsd.org/changeset/base/325574 Log: Add RX OOO completion feature The RX out of order completion feature, allows to complete RX descriptors out of order, by keeping trace of all free descriptors in

svn commit: r325583 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:03:06 2017 New Revision: 325583 URL: https://svnweb.freebsd.org/changeset/base/325583 Log: Allow partial MSI-x allocation in ENA driver The situation, where part of the MSI-x was not configured properly, was not properly handled. Now, the driver reduces

svn commit: r325576 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:48:22 2017 New Revision: 325576 URL: https://svnweb.freebsd.org/changeset/base/325576 Log: Check for Rx ring state to prevent from stall in the ENA driver In case when Rx ring is full and driver will fail to allocate Rx mbufs, the ring could be stalled.

svn commit: r325584 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:07:02 2017 New Revision: 325584 URL: https://svnweb.freebsd.org/changeset/base/325584 Log: Cleanup of the ENA driver header file Remove unused macros and fields - some of them were only initialized, without further usage. Implement minor style fixes

svn commit: r325581 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:59:21 2017 New Revision: 325581 URL: https://svnweb.freebsd.org/changeset/base/325581 Log: Cover ENA driver code with branch predictioning statements The driver was using it in only few places, so the rest of the code was covered with those statement.

svn commit: r325580 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:57:02 2017 New Revision: 325580 URL: https://svnweb.freebsd.org/changeset/base/325580 Log: Refactor style of the ENA driver * Change all conditional checks in "if" statement to boolean expressions * Initialize variables with too complex values outside the

svn commit: r325593 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:38:17 2017 New Revision: 325593 URL: https://svnweb.freebsd.org/changeset/base/325593 Log: Fix setting AENQ group in ENA driver With the current state of the AENQ handlers in the ENA driver, only implemented handlers should be indicated. Submitted by:

svn commit: r325587 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:39:26 2017 New Revision: 325587 URL: https://svnweb.freebsd.org/changeset/base/325587 Log: Fix comparing L3 type with L4 enum on RX hash in ENA driver This bug wasn't impacting anything, because both enums are indicating the same value, but it could cause a

svn commit: r325591 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:35:07 2017 New Revision: 325591 URL: https://svnweb.freebsd.org/changeset/base/325591 Log: Read max MTU from the ENA device The device now provides driver with max available MTU value it can handle. The function setting MTU for the interface was

svn commit: r325585 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:32:10 2017 New Revision: 325585 URL: https://svnweb.freebsd.org/changeset/base/325585 Log: Fix checking if the DF flag was set in ENA driver The previous way of checking for DF was not valid. When DF is enabled, the DF bit should be 1. The original way

svn commit: r325592 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:36:42 2017 New Revision: 325592 URL: https://svnweb.freebsd.org/changeset/base/325592 Log: Allow usage of more RX descriptors than 1 in ENA driver Using only 1 descriptor on RX could be an issue, if system would be low on resources and could not provide

svn commit: r325586 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:37:19 2017 New Revision: 325586 URL: https://svnweb.freebsd.org/changeset/base/325586 Log: Fix compilation warnings when building ENA driver with gcc compiler The gcc compiler is more sensitive when variable is having an value assigned, but it is not used

svn commit: r325590 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:33:02 2017 New Revision: 325590 URL: https://svnweb.freebsd.org/changeset/base/325590 Log: Fix calculating io queues number in ENA driver The maximum number of io_cq was the same number as maximum io_sq indicated by the device working in normal mode

svn commit: r325589 - in head/sys: contrib/ena-com dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:30:39 2017 New Revision: 325589 URL: https://svnweb.freebsd.org/changeset/base/325589 Log: Rework printouts and logging level in ENA driver The driver was printing out a lot of information upon failure, which does not have to be interested for the user.

svn commit: r325236 - in head/sys: contrib/ena-com contrib/ena-com/ena_defs dev/ena

2017-10-31 Thread Marcin Wojtas
Author: mw Date: Tue Oct 31 12:41:07 2017 New Revision: 325236 URL: https://svnweb.freebsd.org/changeset/base/325236 Log: Update ena-com HAL to v1.1.4.3 and update driver accordingly The newest ena-com HAL supports LLQv2 and introduces API changes. In order not to break the driver

svn commit: r333450 - head/sys/dev/ena

2018-05-10 Thread Marcin Wojtas
Author: mw Date: Thu May 10 09:06:21 2018 New Revision: 333450 URL: https://svnweb.freebsd.org/changeset/base/333450 Log: Upgrade ENA version to v0.8.1 Submitted by: Michal Krawczyk Obtained from: Semihalf Sponsored by: Amazon, Inc. Modified:

svn commit: r333454 - head/sys/dev/ena

2018-05-10 Thread Marcin Wojtas
Author: mw Date: Thu May 10 09:32:59 2018 New Revision: 333454 URL: https://svnweb.freebsd.org/changeset/base/333454 Log: Skip setting the MTU for ENA if it is not changing On AWS, a network interface can get reinitialized every 30 minutes due to the MTU being (re)set when a new DHCP

svn commit: r333456 - head/sys/dev/ena

2018-05-10 Thread Marcin Wojtas
Author: mw Date: Thu May 10 09:37:54 2018 New Revision: 333456 URL: https://svnweb.freebsd.org/changeset/base/333456 Log: Do not pass header length to the ENA controller Header length is optional hint for the ENA device. Because It is not guaranteed that every packet header will be in

svn commit: r333453 - head/sys/contrib/ena-com

2018-05-10 Thread Marcin Wojtas
Author: mw Date: Thu May 10 09:25:51 2018 New Revision: 333453 URL: https://svnweb.freebsd.org/changeset/base/333453 Log: Apply fixes in ena-com * Change ena-com BIT macro to work on unsigned value. To make the shifting operations safer, they should be working on unsigned values.

svn commit: r333190 - head/sys/arm/mv

2018-05-02 Thread Marcin Wojtas
Author: mw Date: Thu May 3 01:10:41 2018 New Revision: 333190 URL: https://svnweb.freebsd.org/changeset/base/333190 Log: Fix SoC identification issue on Marvell platforms Marvell SoC identification function was called by SYSINIT on all armv7 platforms, which brakes platforms other than

svn commit: r333191 - head/sys/arm/conf

2018-05-02 Thread Marcin Wojtas
Author: mw Date: Thu May 3 01:23:42 2018 New Revision: 333191 URL: https://svnweb.freebsd.org/changeset/base/333191 Log: Add Marvell ArmadaXP and Armada38X to GENERIC config Include source files and drivers for Marvell ArmadaXP and Armada38X in GENERIC kernel config. Submitted by:

svn commit: r333031 - in head/sys: arm/mv dts dts/arm

2018-04-26 Thread Marcin Wojtas
Author: mw Date: Thu Apr 26 19:00:48 2018 New Revision: 333031 URL: https://svnweb.freebsd.org/changeset/base/333031 Log: Update mv_gpio driver to new FreeBSD API This patch implements and exports functions described in gpio_if.m file. It also uses new gpiobus_attach_bus function

svn commit: r333050 - head/sys/arm/conf

2018-04-26 Thread Marcin Wojtas
Author: mw Date: Fri Apr 27 05:32:09 2018 New Revision: 333050 URL: https://svnweb.freebsd.org/changeset/base/333050 Log: Revert r333035 due broken booting on !Marvell GENERIC platforms Reported by: manu Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

svn commit: r338351 - head/sys/dev/al_eth

2018-08-28 Thread Marcin Wojtas
Author: mw Date: Tue Aug 28 17:09:41 2018 New Revision: 338351 URL: https://svnweb.freebsd.org/changeset/base/338351 Log: Use ip/ipv6 structures in al_eth only if they are supported The ip/ipv6 header files are included only if the appropriate definition exists, but the driver was

svn commit: r336259 - in head/sys: arm/xilinx arm64/conf conf

2018-07-13 Thread Marcin Wojtas
Author: mw Date: Fri Jul 13 19:54:22 2018 New Revision: 336259 URL: https://svnweb.freebsd.org/changeset/base/336259 Log: Enable UART support for Xilinx Ultrascale+ SoCs Xilinx Ultrascale+ are based on Cortex-A53 and use existing UART driver (uart_dev_cdnc). Enable it in arm64 GENERIC

Re: svn commit: r327876 - in head/sys/arm64: arm64 include

2018-01-13 Thread Marcin Wojtas
e: >> >> >> >>> On 12 Jan 2018, at 14:37, Warner Losh <i...@bsdimp.com >>> <mailto:i...@bsdimp.com>> wrote: >>> >>> >>> >>> On Fri, Jan 12, 2018 at 7:15 AM, Andrew Turner <and...@freebsd.org >&g

Re: svn commit: r327876 - in head/sys/arm64: arm64 include

2018-01-12 Thread Marcin Wojtas
Hi Andrew, 2018-01-12 15:01 GMT+01:00 Andrew Turner : > Author: andrew > Date: Fri Jan 12 14:01:38 2018 > New Revision: 327876 > URL: https://svnweb.freebsd.org/changeset/base/327876 > > Log: > Workaround Spectre Variant 2 on arm64. > > We need to handle two cases: > >

svn commit: r332362 - head/sys/dts/arm

2018-04-10 Thread Marcin Wojtas
Author: mw Date: Tue Apr 10 13:25:42 2018 New Revision: 332362 URL: https://svnweb.freebsd.org/changeset/base/332362 Log: Remove deprecated DT sources of Armada 38x SoCs Now, as all platform code and drivers support Linux DT binding, safely remove deprecated sources and rely on

svn commit: r332354 - head/sys/dev/etherswitch/e6000sw

2018-04-10 Thread Marcin Wojtas
Author: mw Date: Tue Apr 10 08:35:43 2018 New Revision: 332354 URL: https://svnweb.freebsd.org/changeset/base/332354 Log: Improve detection of addressing mode in e6000sw Some devices cannot rely on the switch MDIO address passed in the DTB for specifying single/multi-chip addressing

svn commit: r332002 - in head/sys/arm/mv: . armada

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 10:14:43 2018 New Revision: 332002 URL: https://svnweb.freebsd.org/changeset/base/332002 Log: Make Marvell Armada reset registers usage generic Define reset registers for both Armada38X and ArmadaXP and choose proper one during runtime based on information

svn commit: r332015 - in head/sys: arm/mv dts/arm

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:41:42 2018 New Revision: 332015 URL: https://svnweb.freebsd.org/changeset/base/332015 Log: Match Marvell Armada38X PCI compatible with Linux In Linux FDT pcie does not have compatible string. Configuration of windows in mv_common was based on fdt

svn commit: r332016 - head/sys/dev/ofw

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:47:41 2018 New Revision: 332016 URL: https://svnweb.freebsd.org/changeset/base/332016 Log: Add api for creating resource list based on 'assigned-addresses' According to device tree binding 'assigned-addresses' can refer to PCIE MMIO register space. New

svn commit: r332021 - head/sys/arm/mv

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 13:12:49 2018 New Revision: 332021 URL: https://svnweb.freebsd.org/changeset/base/332021 Log: Improve interrupt and resource allocation in Marvell GPIO driver This patch adds support for more than one interrupts in GPIO controller. It reads necessary

svn commit: r332024 - head/sys/arm/mv

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 13:20:29 2018 New Revision: 332024 URL: https://svnweb.freebsd.org/changeset/base/332024 Log: Enable Marvell gpio driver to work with many controllers This patch moves all global data structures into mv_gpio_softc, and puts device_t parameter to functions

svn commit: r332011 - in head/sys/arm/mv: . armada

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:30:52 2018 New Revision: 332011 URL: https://svnweb.freebsd.org/changeset/base/332011 Log: Make Marvell armv7 timer and wdt registers definitions common Define timers registers for both SoCs and choose proper one during runtime based on information from

svn commit: r332019 - in head/sys: arm/mv dts/arm

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 13:01:14 2018 New Revision: 332019 URL: https://svnweb.freebsd.org/changeset/base/332019 Log: Match Marvell Armada38X PCIE ranges in dts with Linux If driver cannot determine ranges based on fdt, it will calculate them based on number and type of current port.

svn commit: r332020 - head/sys/arm/mv

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 13:08:51 2018 New Revision: 332020 URL: https://svnweb.freebsd.org/changeset/base/332020 Log: Introduce port debouncing mechanism in mv_gpio driver This patch introduces gpio debouncing mechanism with fixed memory allocation in critical section. When you

svn commit: r332017 - in head/sys: arm/mv dts/arm

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:54:18 2018 New Revision: 332017 URL: https://svnweb.freebsd.org/changeset/base/332017 Log: Change reg in Marvell Armada38X pcie FDT Ranges in pcie-controller are unused, so could be changed to match Linux device tree represntation. Same with interrupt-cells

svn commit: r332014 - head/sys/arm/mv

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:36:55 2018 New Revision: 332014 URL: https://svnweb.freebsd.org/changeset/base/332014 Log: Add support of PCI_RES_BUS to Marvell PCI driver GENERIC ARM config use NEW_PCIB driver (https://wiki.freebsd.org/NEW_PCIB). To satisfy it, allocation and

svn commit: r332344 - in head/sys: arm/mv dev/cesa

2018-04-09 Thread Marcin Wojtas
Author: mw Date: Mon Apr 9 23:36:52 2018 New Revision: 332344 URL: https://svnweb.freebsd.org/changeset/base/332344 Log: Enable cesa driver to work with Linux DT binding Linux device tree binding, whose usage is obligatory, comprises faulty representation of Marvell cryptographic

svn commit: r331951 - in head/sys/arm: conf include mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:17:19 2018 New Revision: 331951 URL: https://svnweb.freebsd.org/changeset/base/331951 Log: Enable ArmadaXP using INTRNG interrupt controller Defining INTRNG remove some necessary registers and declarations of pic_init_secondary, pic_ipi_send, pic_ipi_read

svn commit: r331953 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:25:15 2018 New Revision: 331953 URL: https://svnweb.freebsd.org/changeset/base/331953 Log: Make Marvell mv_pci.c driver generic PCI ports differ between Marvell SoCs, but have the same compatible in FDT. Identification is made based on parent compatible

svn commit: r331954 - in head/sys/arm/mv: . armada38x armadaxp

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:38:11 2018 New Revision: 331954 URL: https://svnweb.freebsd.org/changeset/base/331954 Log: Split get_sar_value function for Marvell ArmadaXP and Armada38X get_sar_value is implemented only for ArmadaXP and Armada38X. Splitting it for two different functions

svn commit: r331964 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 23:27:07 2018 New Revision: 331964 URL: https://svnweb.freebsd.org/changeset/base/331964 Log: Add missing flag check in Marvell PCIE driver Flag was introduced in r331953, but eventually not used. Obtained from: Semihalf Sponsored by: Stormshield

Re: svn commit: r331961 - in head/sys: arm/mv dts/arm

2018-04-03 Thread Marcin Wojtas
Hi Manu, 2018-04-04 0:28 GMT+02:00 Emmanuel Vadot <m...@bidouilliste.com>: > On 2018-04-04 00:21, Marcin Wojtas wrote: >> >> Author: mw >> Date: Tue Apr 3 22:21:12 2018 >> New Revision: 331961 >> URL: https://svnweb.freebsd.org/changeset/base/331961 >

svn commit: r331965 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 23:29:34 2018 New Revision: 331965 URL: https://svnweb.freebsd.org/changeset/base/331965 Log: Split out delay code in Marvell timer driver for PLATFORM The PLATFORM code will perform the software loop in the early boot, so extract the actual delay code to

svn commit: r331958 - in head/sys/arm/mv: . armada38x armadaxp

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 22:10:50 2018 New Revision: 331958 URL: https://svnweb.freebsd.org/changeset/base/331958 Log: Make get_tclk and get_cpu_freq generic for Marvell armv7 SoCs In GENERIC kernel choosing proper get_tclk and get_cpu_freq implementation must be done in runtime.

svn commit: r331960 - in head/sys/arm/mv: . armada

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 22:15:53 2018 New Revision: 331960 URL: https://svnweb.freebsd.org/changeset/base/331960 Log: Make Marvell Armada watchdog driver more generic Store platform dependent functions and constants in mv_wdt_config structure and select proper configuration on

svn commit: r331961 - in head/sys: arm/mv dts/arm

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 22:21:12 2018 New Revision: 331961 URL: https://svnweb.freebsd.org/changeset/base/331961 Log: Make Marvell AmadaXP timer driver more generic Store pointers to SoC specific functions in mv_timer_config structure and determine proper config in runtime based on

svn commit: r331966 - in head/sys: arm/mv dev/ahci

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 23:49:35 2018 New Revision: 331966 URL: https://svnweb.freebsd.org/changeset/base/331966 Log: Fix kernel modules names for Marvell armv7 Two modules with the same name cannot be loaded, so Marvell specific drivers cannot have the same name as the generic

svn commit: r331956 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:46:28 2018 New Revision: 331956 URL: https://svnweb.freebsd.org/changeset/base/331956 Log: Make validation in Marvell mv_common.c generic Validate only drivers used by given platform. Pointers to validation function are added to soc_node_spec structure.

svn commit: r331957 - head/sys/arm/mv

2018-04-03 Thread Marcin Wojtas
Author: mw Date: Tue Apr 3 21:54:36 2018 New Revision: 331957 URL: https://svnweb.freebsd.org/changeset/base/331957 Log: Make mv_common.c generic for Marvell Armada38X and ArmadaXP Preparation for adding Armada38X and ArmadaXP SoC to GENERIC config. Supported platform are listed in

  1   2   3   >