svn commit: r359647 - in head/sys: arm64/broadcom arm64/broadcom/brcmmdio conf dev/mdio

2020-04-05 Thread Wojciech Macek
Author: wma Date: Mon Apr 6 05:48:58 2020 New Revision: 359647 URL: https://svnweb.freebsd.org/changeset/base/359647 Log: Add MDIO PHY driver for NS2 ARM64 platform. Obtained from: Semihalf Authored by: Kornel Duleba Approved by: wma Differential

svn commit: r346593 - head/sys/sys

2019-09-03 Thread Wojciech Macek
Author: wma Date: Tue Apr 23 06:36:32 2019 New Revision: 346593 URL: https://svnweb.freebsd.org/changeset/base/346593 Log: This patch offers a workaround to buf_ring reordering visible on armv7 and armv8. Similar issue to rS302292. Obtained from: Semihalf Authored by:

Re: svn commit: r346593 - head/sys/sys

2019-04-24 Thread Wojciech Macek
of patches should be the least impacting in perfomrance as possible. Adding unconditional memory barrier causes significant performance drop on Intel, where in fact, the issue was never seen. Wojtek czw., 25 kwi 2019 o 06:08 Mark Johnston napisaƂ(a): > On Tue, Apr 23, 2019 at 06:36:32AM +0000, W

svn commit: r346593 - head/sys/sys

2019-04-23 Thread Wojciech Macek
Author: wma Date: Tue Apr 23 06:36:32 2019 New Revision: 346593 URL: https://svnweb.freebsd.org/changeset/base/346593 Log: This patch offers a workaround to buf_ring reordering visible on armv7 and armv8. Similar issue to rS302292. Obtained from: Semihalf Authored by:

svn commit: r336166 - head/sys/dev/pci

2018-07-10 Thread Wojciech Macek
Author: wma Date: Tue Jul 10 09:49:27 2018 New Revision: 336166 URL: https://svnweb.freebsd.org/changeset/base/336166 Log: Fix build broken by r336130 Add ifdef's to compile parts of pci_host_generic only on armv8 Modified: head/sys/dev/pci/pci_host_generic.c Modified:

Re: svn commit: r336130 - head/sys/dev/pci

2018-07-09 Thread Wojciech Macek
: > >> This breaks at least armv7. Please either fix, or revert this. >> >> I have some comments below I was planning on adding to the review, but >> you committed before I had the time to do so. >> >> On 9 Jul 2018, at 10:00, Wojciech Macek wrote: >>> &

svn commit: r336130 - head/sys/dev/pci

2018-07-09 Thread Wojciech Macek
Author: wma Date: Mon Jul 9 09:00:16 2018 New Revision: 336130 URL: https://svnweb.freebsd.org/changeset/base/336130 Log: ARM64: Add quirk mechanism to pci_host_generic_acpi Add few quirks which are necessary to use AHCI on ThX2 Submitted by: Patryk Duda Obtained from:

svn commit: r336129 - in head/sys/dev: acpica pci

2018-07-09 Thread Wojciech Macek
Author: wma Date: Mon Jul 9 08:55:07 2018 New Revision: 336129 URL: https://svnweb.freebsd.org/changeset/base/336129 Log: ARM64: Add support for ThunderX2 PCIe Submitted by: Patryk Duda Obtained from: Semihalf Sponsored by: Cavium Differential revision:

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

2018-07-09 Thread Wojciech Macek
Author: wma Date: Mon Jul 9 08:41:54 2018 New Revision: 336128 URL: https://svnweb.freebsd.org/changeset/base/336128 Log: ARM64: Add ThunderX2 CPU revision macro. Add ThunderX2 name in identcpu.c Submitted by: Patryk Duda Obtained from: Semihalf Sponsored by:

svn commit: r330971 - in head/sys: conf powerpc/powernv

2018-03-15 Thread Wojciech Macek
Author: wma Date: Thu Mar 15 06:19:45 2018 New Revision: 330971 URL: https://svnweb.freebsd.org/changeset/base/330971 Log: Reverting r330925 for now Modified: head/sys/conf/files.powerpc head/sys/powerpc/powernv/opal_i2c.c head/sys/powerpc/powernv/opal_i2cm.c

svn commit: r330925 - in head/sys: conf powerpc/powernv

2018-03-14 Thread Wojciech Macek
Author: wma Date: Wed Mar 14 09:20:03 2018 New Revision: 330925 URL: https://svnweb.freebsd.org/changeset/base/330925 Log: PowerNV: Fix I2C to compile if FDT is disabled Submitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by:

Re: svn commit: r324099 - in head: share/mk sys/boot

2018-03-01 Thread Wojciech Macek
Thanks, I'll handle this. Regards, Wojtek 2018-02-28 16:01 GMT+01:00 Ed Maste <ema...@freebsd.org>: > On 29 September 2017 at 02:36, Wojciech Macek <w...@freebsd.org> wrote: > > Author: wma > > Date: Fri Sep 29 06:36:19 2017 > > New Revision: 324099 > > UR

svn commit: r330240 - in head/sys: conf powerpc/conf powerpc/powernv

2018-03-01 Thread Wojciech Macek
token management Submitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: IBM, QCM Technologies Added: head/sys/powerpc/powernv/opal_i2c.c (contents, props changed) head/sys/powerpc/powernv/opal_i2cm.c (contents, props c

svn commit: r329862 - head/sys/powerpc/conf

2018-02-22 Thread Wojciech Macek
Author: wma Date: Fri Feb 23 07:43:52 2018 New Revision: 329862 URL: https://svnweb.freebsd.org/changeset/base/329862 Log: powerpc64: add NVMe to GENERIC64 NVMe support is ready and should be compiled-in to the ppc64 kernel. Submitted by: Wojciech Macek <w...@semihalf.

Re: svn commit: r329824 - in head: sbin/nvmecontrol sys/cam/nvme sys/conf sys/dev/mpr sys/dev/nvme

2018-02-22 Thread Wojciech Macek
e done this > morning... > > Warner > > > On Thu, Feb 22, 2018 at 9:31 AM, Wojciech Macek <w...@semihalf.com> wrote: > >> Thanks and sorry for troubles! >> These lines must have got lost somewhere during rebase as we run >> tinderbox with this patch yesterday.

Re: svn commit: r329824 - in head: sbin/nvmecontrol sys/cam/nvme sys/conf sys/dev/mpr sys/dev/nvme

2018-02-22 Thread Wojciech Macek
d.org> wrote: > >> On Thu, Feb 22, 2018 at 10:19 AM, Alan Somers <asom...@freebsd.org> >> wrote: >> > On Thu, Feb 22, 2018 at 6:32 AM, Wojciech Macek <w...@freebsd.org> >> wrote: >> > >> >> Author: wma >> >> Date: Thu Feb 22 13:

svn commit: r329824 - in head: sbin/nvmecontrol sys/cam/nvme sys/conf sys/dev/mpr sys/dev/nvme

2018-02-22 Thread Wojciech Macek
Author: wma Date: Thu Feb 22 13:32:31 2018 New Revision: 329824 URL: https://svnweb.freebsd.org/changeset/base/329824 Log: NVMe: Add big-endian support Remove bitfields from defined structures as they are not portable. Instead use shift and mask macros in the driver and nvmecontrol

svn commit: r329822 - head/sbin

2018-02-22 Thread Wojciech Macek
Author: wma Date: Thu Feb 22 12:31:28 2018 New Revision: 329822 URL: https://svnweb.freebsd.org/changeset/base/329822 Log: Add bsdlabel and fdisk to powerpc64 Submitted by: Wojciech Macek <w...@semihalf.org> Obtained from: Semihalf Sponsored by: IB

svn commit: r329712 - in head/sys: conf powerpc/aim powerpc/include powerpc/powernv powerpc/powerpc

2018-02-21 Thread Wojciech Macek
Author: wma Date: Wed Feb 21 14:28:40 2018 New Revision: 329712 URL: https://svnweb.freebsd.org/changeset/base/329712 Log: PowerNV: Put processor to power-save state in idle thread When processor enters power-save state it releases resources shared with other cpu threads which makes

svn commit: r329702 - head/sys/powerpc/powernv

2018-02-21 Thread Wojciech Macek
Author: wma Date: Wed Feb 21 08:13:17 2018 New Revision: 329702 URL: https://svnweb.freebsd.org/changeset/base/329702 Log: PowerNV: add missing RTC_WRITE support Add function which can store RTC values to OPAL. Submitted by: Wojciech Macek <w...@semihalf.org> Obtaine

svn commit: r329701 - head/sys/dev/cxgbe

2018-02-21 Thread Wojciech Macek
Author: wma Date: Wed Feb 21 08:05:56 2018 New Revision: 329701 URL: https://svnweb.freebsd.org/changeset/base/329701 Log: CXGBE: implement prefetch on non-Intel architectures Submitted by: Michal Stanek Obtained from: Semihalf Reviewed by:

svn commit: r329635 - head/sys/powerpc/powerpc

2018-02-19 Thread Wojciech Macek
Author: wma Date: Tue Feb 20 07:30:57 2018 New Revision: 329635 URL: https://svnweb.freebsd.org/changeset/base/329635 Log: PowerPC: Switch to more accurate unit to avoid division rounding On POWER8 architecture there is a timer with 512Mhz frequency. It has about 1,95ns period, but it is

svn commit: r329634 - head/sys/powerpc/powerpc

2018-02-19 Thread Wojciech Macek
Author: wma Date: Tue Feb 20 06:38:55 2018 New Revision: 329634 URL: https://svnweb.freebsd.org/changeset/base/329634 Log: PowerNV: Send SIGILL on HEA illegal instruction exception Currently Hypervisor Emulation Assistance interrupt is unhandled. Executing an undefined instruction in

svn commit: r328616 - head/sys/powerpc/aim

2018-01-30 Thread Wojciech Macek
Author: wma Date: Wed Jan 31 06:42:01 2018 New Revision: 328616 URL: https://svnweb.freebsd.org/changeset/base/328616 Log: PowerNV: fix compilation on non-NV platforms Submitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by:

Re: svn commit: r328537 - in head/sys/powerpc: aim powernv

2018-01-30 Thread Wojciech Macek
way of doing things breaks important abstraction barriers. > > Since it also breaks booting on pHyp systems, I would appreciate it if you > could revert this pending review. > -Nathan > > > On 01/29/18 01:27, Wojciech Macek wrote: > >> Author: wma >> Date:

svn commit: r328537 - in head/sys/powerpc: aim powernv

2018-01-29 Thread Wojciech Macek
should set it as early as possible. Authored by: Patryk Duda <p...@semihalf.com> Submitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: IBM, QCM Technologies Modified: head/sys/powerpc/aim/mp_cpudep.

svn commit: r328536 - in head/stand: common powerpc/kboot

2018-01-29 Thread Wojciech Macek
kernel is always big-endian, so the load_elf_* routines must be aware of proper endianness of all fields. Submitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: IBM, QCM Technologies Differential revision:

svn commit: r328534 - in head/sys/powerpc: powernv pseries

2018-01-29 Thread Wojciech Macek
the CPU IDs reported to the scheduler dense and with the BSP at 0. Submitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: IBM, QCM Technologies Differential revision: https://reviews.freebsd.org/D14011 Modified: he

svn commit: r328533 - in head/sys/powerpc: powernv powerpc

2018-01-29 Thread Wojciech Macek
robust. Previously, some races were seen if more than 90CPUs were online. Authored by: Patryk Duda <p...@semihalf.com> Submitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: IBM, QCM Technologies Different

svn commit: r328435 - head/sys/powerpc/powerpc

2018-01-26 Thread Wojciech Macek
mitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: IBM, QCM Technologies Modified: head/sys/powerpc/powerpc/intr_machdep.c Modified: head/sys/powerpc/powerpc/in

svn commit: r328394 - head/sys/net

2018-01-25 Thread Wojciech Macek
to 32 bit commpatible mode. This patch prevents switching when we are dealing with 64 bit executable. It fixes issue mentioned here Authored by: Patryk Duda <p...@semihalf.com> Submitted by: Wojciech Macek <w...@semihalf.com> Reviewed by:

svn commit: r328330 - head/sys/kern

2018-01-24 Thread Wojciech Macek
Author: wma Date: Wed Jan 24 13:57:01 2018 New Revision: 328330 URL: https://svnweb.freebsd.org/changeset/base/328330 Log: Reverting r328320 Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c ==

svn commit: r328325 - head/sys/powerpc/powerpc

2018-01-24 Thread Wojciech Macek
Author: wma Date: Wed Jan 24 12:01:32 2018 New Revision: 328325 URL: https://svnweb.freebsd.org/changeset/base/328325 Log: PPC: Add KASSERT in intrcnt_add which checks for buffer overflow Authored by: Patryk Duda <p...@semihalf.com> Submitted by: Wojciech Ma

svn commit: r328320 - head/sys/kern

2018-01-23 Thread Wojciech Macek
a deadlock). Fix this by assigned new threads to the BSP explicitly and add some asserts to see that this problem does not recur. Authored by: Nathan Whitehorn <nwhiteh...@freebsd.org> Submitted by: Wojciech Macek <w...@semihalf.com> Obtained

svn commit: r328278 - head/sys/powerpc/powernv

2018-01-23 Thread Wojciech Macek
and will never recover. Perform MSI_EOI always after unmask to give a chance for PHB/XICS to send an interrupt again if MSI/MSI-x pending bit is set in MSI/MSI-x BAR space. Submitted by: Wojciech Macek <w...@semihalf.org> Obtained from: Semihalf Sponsored by: IB

Re: svn commit: r328110 - head/sys/kern

2018-01-18 Thread Wojciech Macek
Adding author wma 2018-01-18 11:43 GMT+01:00 Andriy Gapon <a...@freebsd.org>: > On 18/01/2018 09:38, Wojciech Macek wrote: > > Author: wma > > Date: Thu Jan 18 07:38:54 2018 > > New Revision: 328110 > > URL: https://svnweb.freebsd.org/changeset/base/328110 >

svn commit: r328113 - head/sys/powerpc/powerpc

2018-01-18 Thread Wojciech Macek
Author: wma Date: Thu Jan 18 08:34:20 2018 New Revision: 328113 URL: https://svnweb.freebsd.org/changeset/base/328113 Log: Call platform_smp_ap_init before decr_ap_init In platform_smp_ap_init we are doing some crucial code (eg. set LPCR register) which have influence over

svn commit: r328111 - head/sys/powerpc/powerpc

2018-01-18 Thread Wojciech Macek
Author: wma Date: Thu Jan 18 07:41:04 2018 New Revision: 328111 URL: https://svnweb.freebsd.org/changeset/base/328111 Log: PPC: machdep, zero BSS always but BookE Zero BSS always. The only case when this operation is ommitted is when booting on BookE. Created by:Wojciech

svn commit: r328110 - head/sys/kern

2018-01-17 Thread Wojciech Macek
. Created by:Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Reviewed by: nwhitehorn Differential revision: https://reviews.freebsd.org/D13949 Sponsored by: QCM Technologies Modified: head/sys/kern/subr_kdb.c Modified: head/sy

svn commit: r328112 - head/sys/powerpc/powerpc

2018-01-17 Thread Wojciech Macek
pointer once the thread is being created. Created by:Patryk Duda <p...@semihalf.com> Submitted by: Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Reviewed by: nwhitehorn Differential revision: https://reviews.freebs

Re: svn commit: r328078 - head/sys/powerpc/conf

2018-01-17 Thread Wojciech Macek
can't load any module along with the kernel. If then someone wants to boot the board from the network or use NFS filestytem, cxgbe must be compiled in. Regards, Wojtek 2018-01-17 16:41 GMT+01:00 Navdeep Parhar <n...@freebsd.org>: > On Wed, Jan 17, 2018 at 09:33:17AM +, Wojciech Ma

svn commit: r328109 - head/sys/powerpc/conf

2018-01-17 Thread Wojciech Macek
Author: wma Date: Thu Jan 18 06:28:21 2018 New Revision: 328109 URL: https://svnweb.freebsd.org/changeset/base/328109 Log: PPC64: add AHCI back to GENERIC64 > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected

svn commit: r328080 - head/sys/powerpc/powerpc

2018-01-17 Thread Wojciech Macek
. Created by:Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: QCM Technologies Modified: head/sys/powerpc/powerpc/bus_machdep.c Modified: head/sys/powerpc/powerpc/bus_mac

svn commit: r328079 - head/sys/powerpc/powerpc

2018-01-17 Thread Wojciech Macek
base address which could cause data integrity issues. Created by:Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: QCM Technologies Modified: head/sys/powerpc/powerpc/copyinout.c Modified: head/sys/powerpc/powerpc/copyi

svn commit: r328078 - head/sys/powerpc/conf

2018-01-17 Thread Wojciech Macek
. Created by:Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: QCM Technologies Modified: head/sys/powerpc/conf/GENERIC64 Modified: head/sys/powerpc/conf/GEN

svn commit: r328077 - head/sys/powerpc/powernv

2018-01-17 Thread Wojciech Macek
overflow and loosing data. Created by:Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: QCM Technologies Modified: head/sys/powerpc/powernv/opal_console.c Modified: head/sys/powerpc/powernv/opal_con

svn commit: r328076 - head/sys/powerpc/powernv

2018-01-16 Thread Wojciech Macek
PE0) - add TCE reset and alignment (required by OPAL) Created by:Wojciech Macek <w...@semihalf.com> Obtained from: Semihalf Sponsored by: QCM Technologies Modified: head/sys/powerpc/powernv/opal.h head/sys/powerpc/powernv/opal_pci.c Modified: he

svn commit: r328042 - in head/sys: conf powerpc/conf powerpc/powernv powerpc/pseries

2018-01-15 Thread Wojciech Macek
mitted by: Wojciech Macek <w...@semihalf.com> Sponsored by: FreeBSD Foundation Modified: head/sys/conf/options.powerpc head/sys/powerpc/conf/GENERIC64 head/sys/powerpc/powernv/opal.h head/sys/powerpc/pseries/xics.c Modified: head/sys/conf/opt

svn commit: r327873 - head/sys/powerpc/powernv

2018-01-12 Thread Wojciech Macek
by:Nathan Whitehorn <nwhiteh...@freebsd.org> Submitted by: Wojciech Macek <w...@semihalf.com> Sponsored by: FreeBSD Foundation Modified: head/sys/powerpc/powernv/opal.h head/sys/powerpc/powernv/opal_console.c head/sys/powerpc/powernv/opal_dev.

svn commit: r327867 - in head/sys: conf powerpc/powernv

2018-01-11 Thread Wojciech Macek
enumeration, but does not guarantee DMA operations are working. Created by:Nathan Whitehorn <nwhiteh...@freebsd.org> Submitted by: Wojciech Macek <w...@semihalf.com> Sponsored by: FreeBSD Foundation Added: head/sys/powerpc/powernv/opal_pci.c (con

svn commit: r327815 - head/sys/powerpc/powernv

2018-01-11 Thread Wojciech Macek
cannot acquire locks for some reason. This allows the idle thread to use printf() (e.g. the SMP startup messages) without crashing the kernel. Created by:Nathan Whitehorn <nwhiteh...@freebsd.org> Submitted by: Wojciech Macek <w...@freebsd.org>

svn commit: r327814 - in head/sys/powerpc: include powernv

2018-01-11 Thread Wojciech Macek
interrupt handlers would get the wrong MSR value when executing, causing eventual madness. Created by:Nathan Whitehorn <nwhiteh...@freebsd.org> Submitted by: Wojciech Macek <w...@freebsd.org> Sponsored by: FreeBSD Foundation Modified: head/sys/pow

svn commit: r327813 - head/sys/powerpc/powernv

2018-01-11 Thread Wojciech Macek
mitted by: Wojciech Macek <w...@freebsd.org> Sponsored by: FreeBSD Foundation Modified: head/sys/powerpc/powernv/platform_powernv.c Modified: head/sys/powerpc/powernv/platform_powernv.c == --- head/sys/pow

svn commit: r327812 - head/sys/powerpc/powernv

2018-01-11 Thread Wojciech Macek
there. Created by:Nathan Whitehorn <n...@freebsd.org> Submitted by: Wojciech Macek <w...@freebsd.org> Sponsored by: FreeBSD Foundation Added: head/sys/powerpc/powernv/opal_dev.c (contents, props changed) Modified: head/sys/powerpc/powernv/opal.h head/sys/pow

svn commit: r327811 - head/sys/dev/cxgbe

2018-01-11 Thread Wojciech Macek
by: Wojciech Macek <w...@freebsd.org> Reviewed by: np Obtained from: Semihalf Sponsored by: IBM, QCM Technologies Differential revision: https://reviews.freebsd.org/D13102 Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4

svn commit: r327810 - in head/sys: conf powerpc/conf powerpc/powernv

2018-01-10 Thread Wojciech Macek
by:Nathan Whitehorn <n...@freebsd.org> Submitted by: Wojciech Macek <w...@freebsd.org> Added: head/sys/powerpc/powernv/ head/sys/powerpc/powernv/opal.c (contents, props changed) head/sys/powerpc/powernv/opal.h (contents, props changed) head/sys/powerpc/powernv/op

Re: svn commit: r326109 - in head/sys: conf dev/bhnd dev/bhnd/cores/chipc mips/conf modules/bhnd

2017-11-24 Thread Wojciech Macek
Hi, The patch breaks the build for ppc64. Could you please add missing ofw_bus_if.h to the Makefile? cc -isystem /home/wma/ppc64-freebsd/obj/home/wma/ppc64-freebsd/powerpc.powerpc64/tmp/usr/include -L/home/wma/ppc64-freebsd/obj/home/wma/ppc64-freebsd/powerpc.powerpc64/tmp/usr/lib

svn commit: r325840 - head/sys/dev/cxgbe

2017-11-14 Thread Wojciech Macek
. The ffs() function accepts int as the parameter, which is big-endian. Use uint8_t here to avoid mismatch, as we have only 4 doorbells. Submitted by: Wojciech Macek <w...@freebsd.org> Reviewed by: np Obtained from: Semihalf Sponsored by:

svn commit: r324187 - head/sys/powerpc/include

2017-10-02 Thread Wojciech Macek
Author: wma Date: Mon Oct 2 06:05:19 2017 New Revision: 324187 URL: https://svnweb.freebsd.org/changeset/base/324187 Log: PPC: increase MAX_PICS to 32 Previous value was too low on dual-socket POWER8 system. Submitted by: Wojciech Macek <w...@freebsd.org> Re

svn commit: r324099 - in head: share/mk sys/boot

2017-09-29 Thread Wojciech Macek
WITH_LOADER_FORCE_LE=yes -C sys/boot all Submitted by: Wojciech Macek <w...@freebsd.org> Reviewed by: imp, nwhitehorn Obtained from: Semihalf Sponsored by: QCM Technologies Differential revision: https://reviews.freebsd.org/D12421 Modified:

svn commit: r319117 - head/sys/cam/scsi

2017-05-29 Thread Wojciech Macek
, depending on used firmware, GL3224 can be recognized either as 'storage device' or 'mass storage class' - enable both variants in scsi_quirk_table. Submitted by:Wojciech Macek <w...@semihalf.com> Konrad Adamczyk <k...@semihalf.com> Obtained from

svn commit: r319116 - head/sys/dev/ath/ath_hal

2017-05-29 Thread Wojciech Macek
Author: wma Date: Mon May 29 09:21:38 2017 New Revision: 319116 URL: https://svnweb.freebsd.org/changeset/base/319116 Log: Increase timeout in Atheros HAL It turned out, that some models of the Atheros PCIe adapters (e.g. AR983x family) may fail to attach due to insufficient timeout

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

2017-05-29 Thread Wojciech Macek
Author: wma Date: Mon May 29 09:20:20 2017 New Revision: 319115 URL: https://svnweb.freebsd.org/changeset/base/319115 Log: Enable wireless Atheros cards in ARMADA38X Submitted by: Bartosz Szczepanek Dominik Ermel Obtained from:

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

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:26:41 2017 New Revision: 318526 URL: https://svnweb.freebsd.org/changeset/base/318526 Log: Fix boot up on ARMADA38X uniprocessor variant Marvell Armada 380 is a uni-processor variant of the 38x SoC family. A function platform_mp_setmaxid() was setting a

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

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:25:40 2017 New Revision: 318525 URL: https://svnweb.freebsd.org/changeset/base/318525 Log: Fix MPIC mask/unmask Before the fix for single interrupt, both percpu and non-percpu routes were enabled/disable at the same time. Submitted by: Marcin Wojtas

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

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:24:23 2017 New Revision: 318524 URL: https://svnweb.freebsd.org/changeset/base/318524 Log: Poll PHY status using internal e6000sw registers e6000sw family automatically reflects PHY status in each port's registers. Therefore it is not necessary to do a

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

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:19:39 2017 New Revision: 318522 URL: https://svnweb.freebsd.org/changeset/base/318522 Log: Enable proper configuration of CESA MBUS windows For all Marvell devices, MBUS windows configuration is done in a common place. Only CESA was an exception, so move

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

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:16:47 2017 New Revision: 318521 URL: https://svnweb.freebsd.org/changeset/base/318521 Log: Improve busy-wait loop during switch phy access in e6000sw Hitherto implementation of PHY polling resulted in a risk of an endless loop and very high occupation of

svn commit: r313089 - head/sys/dev/cesa

2017-02-01 Thread Wojciech Macek
Author: wma Date: Thu Feb 2 06:07:39 2017 New Revision: 313089 URL: https://svnweb.freebsd.org/changeset/base/313089 Log: Remove remaining ifdefs from CESA header Commit r312743 ("Use SoC ID - based detection in CESA") resulted in build failing for Marvell armv5 platforms, which don't

Re: svn commit: r312747 - head/sys/arm/mv

2017-01-26 Thread Wojciech Macek
Fixed in https://svnweb.freebsd.org/changeset/base/312812 Regards, Wojtek 2017-01-26 2:56 GMT+01:00 Ed Maste <ema...@freebsd.org>: > On 25 January 2017 at 05:31, Wojciech Macek <w...@freebsd.org> wrote: > > Author: wma > > Date: Wed Jan 25 10:31:16 2017 > > Ne

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

2017-01-26 Thread Wojciech Macek
Author: wma Date: Thu Jan 26 11:14:23 2017 New Revision: 312812 URL: https://svnweb.freebsd.org/changeset/base/312812 Log: Add dummy functions for Marvell SoC's not equipped with AHCI Commit r312747 ("Setup decoding windows for ARMADA38X") resulted in build failing for Marvell platforms,

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

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 12:18:21 2017 New Revision: 312751 URL: https://svnweb.freebsd.org/changeset/base/312751 Log: Extend AHCI_Q_BIT_STRING after adding new quirk for soft reset delay Adding new quirk (AHCI_Q_MRVL_SR_DEL) requires according extention of AHCI_Q_BIT_STRING.

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

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:34:37 2017 New Revision: 312749 URL: https://svnweb.freebsd.org/changeset/base/312749 Log: Add support for AHCI on ARMADA38X This file provides support for AHCI mode on Armada38x and adds new optional AHCI device to arm/mv/files.mv. Submitted by:

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

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:32:57 2017 New Revision: 312748 URL: https://svnweb.freebsd.org/changeset/base/312748 Log: Enable optional soft reset in AHCI It occurred that some Marvell integrated controllers require additional time after soft reset to work properly. Introduce new

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

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:31:16 2017 New Revision: 312747 URL: https://svnweb.freebsd.org/changeset/base/312747 Log: Setup decoding windows for ARMADA38X It is necesarry to open memory windows on internal bus for AHCI driver to work correctly. Submitted by: Konrad

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

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:29:46 2017 New Revision: 312746 URL: https://svnweb.freebsd.org/changeset/base/312746 Log: Fix node detection for MBUS windows configuration Configure decoding windows only for devices with enabled nodes in FDT. Submitted by: Konrad Adamczyk

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

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:28:21 2017 New Revision: 312745 URL: https://svnweb.freebsd.org/changeset/base/312745 Log: Expand OpenFirmware API with ofw_bus_node_status_okay method Method could be used before we can access device_t structure. As per simple phandle_t handle we can

svn commit: r312744 - head/sys/dev/cesa

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:25:59 2017 New Revision: 312744 URL: https://svnweb.freebsd.org/changeset/base/312744 Log: Fix SHA256 usage on older CESA versions Adding SHA256 support to Marvell crypto driver resulted in regression for older SoC's, not capable of handling this mode in

svn commit: r312743 - head/sys/dev/cesa

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:22:07 2017 New Revision: 312743 URL: https://svnweb.freebsd.org/changeset/base/312743 Log: Use SoC ID - based detection in CESA This commit introduces following changes in order to get rid of ifdef's from all around the driver. * Introduce sc_soc_id

svn commit: r312740 - head/sys/dev/cesa

2017-01-24 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 06:11:07 2017 New Revision: 312740 URL: https://svnweb.freebsd.org/changeset/base/312740 Log: Add misssing Armada38x ID's in CESA attach Marvell Armada 38x is supported in 3 variants, so take all into consideration in crypto driver attach routine.

svn commit: r312739 - in head/sys/arm/mv: armada armada38x

2017-01-24 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 06:08:10 2017 New Revision: 312739 URL: https://svnweb.freebsd.org/changeset/base/312739 Log: Introduce armada_thermal driver for Armada family platforms * Currently supports only Armada38X family but other Marvell SoC's can be added if needed. * Provides

svn commit: r307670 - in head/sys: arm/conf arm64/conf conf dev/al_eth

2016-10-20 Thread Wojciech Macek
Author: wma Date: Thu Oct 20 11:31:11 2016 New Revision: 307670 URL: https://svnweb.freebsd.org/changeset/base/307670 Log: Driver for PCI Ethernet NIC on Alpine V1 and V2. Obtained from: Semihalf Submitted by: Michal Stanek Sponsored by:

svn commit: r307669 - in head/sys: arm/annapurna/alpine boot/fdt/dts/arm conf

2016-10-20 Thread Wojciech Macek
Author: wma Date: Thu Oct 20 11:26:51 2016 New Revision: 307669 URL: https://svnweb.freebsd.org/changeset/base/307669 Log: Support for Alpine Serializer/Deserializer. The exported functions will be used by Alpine Ethernet driver. Obtained from: Semihalf Submitted by:

svn commit: r307668 - in head/sys: arm/annapurna/alpine boot/fdt/dts/arm conf

2016-10-20 Thread Wojciech Macek
Author: wma Date: Thu Oct 20 11:23:59 2016 New Revision: 307668 URL: https://svnweb.freebsd.org/changeset/base/307668 Log: Support for MSI-X on Annapurna Alpine This patch adds support for MSI-X interrupts on Annapurna Alpine platform. MSI-X on Alpine work similarly to GICv2m, i.e.

svn commit: r306070 - head/sys/arm/arm

2016-09-20 Thread Wojciech Macek
Author: wma Date: Wed Sep 21 05:33:18 2016 New Revision: 306070 URL: https://svnweb.freebsd.org/changeset/base/306070 Log: Add support for SPI-mapped MSI interrupts outside of GICv2m. SPI-mapped MSI interrupts coming from a controller other than GICv2m need to have their trigger and

svn commit: r306069 - head/sys/arm64/arm64

2016-09-20 Thread Wojciech Macek
Author: wma Date: Wed Sep 21 05:22:49 2016 New Revision: 306069 URL: https://svnweb.freebsd.org/changeset/base/306069 Log: Add support for SPI-mapped MSI interrupts in GICv3. PIC_SETUP_INTR implementation in GICv3 did not allow for setting up interrupts without included FDT

svn commit: r306068 - head/sys/arm64/arm64

2016-09-20 Thread Wojciech Macek
Author: wma Date: Wed Sep 21 05:15:50 2016 New Revision: 306068 URL: https://svnweb.freebsd.org/changeset/base/306068 Log: Register GICv3 xref. This allows other drivers to retrieve interrupt parent node. Obtained from: Semihalf Submitted by: Michal Stanek

svn commit: r306021 - in head/sys: arm/annapurna/alpine arm/conf arm64/conf boot/fdt/dts/arm conf

2016-09-20 Thread Wojciech Macek
Author: wma Date: Tue Sep 20 11:11:06 2016 New Revision: 306021 URL: https://svnweb.freebsd.org/changeset/base/306021 Log: Add driver for PCIe root complex on Annapurna Alpine platform. The driver subclasses pci-host-generic and additionally performs configuration of vendor-specific PCIe

svn commit: r306019 - in head/sys/contrib/alpine-hal: . eth eth/eth

2016-09-20 Thread Wojciech Macek
Author: wma Date: Tue Sep 20 09:19:22 2016 New Revision: 306019 URL: https://svnweb.freebsd.org/changeset/base/306019 Log: Update Annapurna Alpine HAL alpine-hal SerDes file was omitted in the previous commit. Files added here. All unnecessary (old) files were also removed. Merge

svn commit: r305523 - in head/sys/arm: annapurna/alpine conf

2016-09-06 Thread Wojciech Macek
Author: wma Date: Wed Sep 7 05:36:55 2016 New Revision: 305523 URL: https://svnweb.freebsd.org/changeset/base/305523 Log: Remove messy machdep code for Alpine V1 and use proper drivers instead Let drivers for Alpine CCU, NB and Serdes take care of internal SoC configuration.

svn commit: r305522 - in head/sys: arm/annapurna/alpine arm64/conf boot/fdt/dts/arm conf

2016-09-06 Thread Wojciech Macek
Author: wma Date: Wed Sep 7 05:34:41 2016 New Revision: 305522 URL: https://svnweb.freebsd.org/changeset/base/305522 Log: Introduce support for Annapurna Alpine CCU and NB devices This commit adds drivers for Alpine Cache Coherency Unit and North Bridge Service whose task is to

svn commit: r305479 - head/sys/dev/pci

2016-09-06 Thread Wojciech Macek
Author: wma Date: Tue Sep 6 15:11:37 2016 New Revision: 305479 URL: https://svnweb.freebsd.org/changeset/base/305479 Log: Import missing enum declaration in pci_host_generic header file Other files including pci_host_generic.h failed to compile due to missing declaration of enum

svn commit: r305478 - head/sys/dev/pci

2016-09-06 Thread Wojciech Macek
Author: wma Date: Tue Sep 6 15:06:08 2016 New Revision: 305478 URL: https://svnweb.freebsd.org/changeset/base/305478 Log: Remove check for 64-bit FDT ranges in pci-host-generic This allows 32-bit platforms to use pci-host-generic. Obtained from: Semihalf Submitted by:

svn commit: r305477 - in head/sys/contrib/alpine-hal: . eth eth/eth

2016-09-06 Thread Wojciech Macek
Author: wma Date: Tue Sep 6 14:59:13 2016 New Revision: 305477 URL: https://svnweb.freebsd.org/changeset/base/305477 Log: Update Annapurna Alpine HAL to a newer version. HAL version: 2.7a Import from vendor-sys, r305475 Added: head/sys/contrib/alpine-hal/al_hal_serdes_25g.c

svn commit: r305415 - head/usr.sbin/bsdinstall/partedit

2016-09-05 Thread Wojciech Macek
Author: wma Date: Mon Sep 5 08:42:36 2016 New Revision: 305415 URL: https://svnweb.freebsd.org/changeset/base/305415 Log: bsdinstall: add warning when unsupported partition is modified Right now is possible to modify bootable partition type to non-bootable type without getting warning

svn commit: r302387 - head/release/arm64

2016-07-06 Thread Wojciech Macek
Author: wma Date: Thu Jul 7 05:47:42 2016 New Revision: 302387 URL: https://svnweb.freebsd.org/changeset/base/302387 Log: ARM64: move to GPT scheme in sysinstall It's time to abandon MBR installations on ARM64 platforms. Obtained from: Semihalf

svn commit: r302292 - head/sys/sys

2016-06-29 Thread Wojciech Macek
Author: wma Date: Thu Jun 30 05:18:37 2016 New Revision: 302292 URL: https://svnweb.freebsd.org/changeset/base/302292 Log: ARM, ARM64: Workaround for buf_ring reordering This patch offers a workaround to buf_ring reordering visible on armv7 and armv8. This is supposed to be

svn commit: r302291 - head/sys/arm64/include

2016-06-29 Thread Wojciech Macek
Author: wma Date: Thu Jun 30 04:58:19 2016 New Revision: 302291 URL: https://svnweb.freebsd.org/changeset/base/302291 Log: ARM64: fix DMAP calculation Use arithmetic operators instead of logical. This fixes DMAP ranges calculation for ThunderX Dual Socket. Obtained from:

svn commit: r302025 - head/usr.sbin/bsdinstall/partedit

2016-06-20 Thread Wojciech Macek
Author: wma Date: Mon Jun 20 06:40:58 2016 New Revision: 302025 URL: https://svnweb.freebsd.org/changeset/base/302025 Log: ARM64: bsdinstall support for creating EFI partitions This patch enables bsdinstall to create EFI partition during installation and uploading it's contents,

svn commit: r300295 - head/sys/dev/vnic

2016-05-20 Thread Wojciech Macek
Author: wma Date: Fri May 20 11:02:04 2016 New Revision: 300295 URL: https://svnweb.freebsd.org/changeset/base/300295 Log: Fix VNIC module unloading Fix panics which were present when BGX and PF module were unloaded. Reviewed by: zbb Obtained from:Semihalf Sponsored by:

  1   2   >