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

2018-12-14 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 15 02:35:48 2018 New Revision: 342106 URL: https://svnweb.freebsd.org/changeset/base/342106 Log: [mv_pci] Do not attempt to attach disabled PCI ports Fail probe for PCI port if the respective FDT node is not enabled Differential Revision:https://revi

Re: svn commit: r342084 - in head/sys: conf dev/tpm

2018-12-14 Thread Konstantin Belousov
On Fri, Dec 14, 2018 at 04:14:36PM +, Marcin Wojtas wrote: > Author: mw > Date: Fri Dec 14 16:14:36 2018 > New Revision: 342084 > URL: https://svnweb.freebsd.org/changeset/base/342084 > > Log: > Introduce driver for TPM 2.0 in CRB and FIFO (TIS) modes > > It was written basing on: > T

svn commit: r342105 - head/sys/tools/fdt

2018-12-14 Thread Alex Richardson
Author: arichardson Date: Fri Dec 14 23:53:28 2018 New Revision: 342105 URL: https://svnweb.freebsd.org/changeset/base/342105 Log: make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH This fixes building in CheriBSD with a strict tmp path since we don't bootstrap a cpp but pass

Re: svn commit: r342085 - head/sys/dev/tpm

2018-12-14 Thread Marcin Wojtas
Hi John, pt., 14 gru 2018 o 18:57 John Baldwin napisał(a): > > On 12/14/18 9:43 AM, Marcin Wojtas wrote: > > Author: mw > > Date: Fri Dec 14 17:43:35 2018 > > New Revision: 342085 > > URL: https://svnweb.freebsd.org/changeset/base/342085 > > > > Log: > > Fix TPM driver compilation from r342084

svn commit: r342104 - head/sys/dev/tpm

2018-12-14 Thread Marcin Wojtas
Author: mw Date: Fri Dec 14 22:22:43 2018 New Revision: 342104 URL: https://svnweb.freebsd.org/changeset/base/342104 Log: Fix error check for ACPI_ID_PROBE in the TPM2.0 driver Updated API does not return pointer, so adjust the TPM2.0 driver accordingly. Reported by: jhb Obtained f

svn commit: r342102 - head/sys/dev/iicbus/twsi

2018-12-14 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Dec 14 21:17:42 2018 New Revision: 342102 URL: https://svnweb.freebsd.org/changeset/base/342102 Log: [twsi] Make extres/clk part conditional based on the EXT_RESOURCES option value This should fix kernel build for ARMADA38X and possibly some other ARM configs A

svn commit: r342101 - head/lib/libnv

2018-12-14 Thread Alex Richardson
Author: arichardson Date: Fri Dec 14 21:16:04 2018 New Revision: 342101 URL: https://svnweb.freebsd.org/changeset/base/342101 Log: Allow bootstrapping libnv on macOS and Linux MacOS/Linux do not define struct cmsgcred but we need to bootstrap libnv when building on non-FreeBSD systems. Si

svn commit: r342100 - head/sys/riscv/riscv

2018-12-14 Thread Mark Johnston
Author: markj Date: Fri Dec 14 21:07:12 2018 New Revision: 342100 URL: https://svnweb.freebsd.org/changeset/base/342100 Log: Add some more checking to the RISC-V page fault handler. - Panic immediately if witness says we're holding non-sleepable locks. This helps ensure that we don't re

svn commit: r342099 - head/sys/riscv/riscv

2018-12-14 Thread Mark Johnston
Author: markj Date: Fri Dec 14 21:04:30 2018 New Revision: 342099 URL: https://svnweb.freebsd.org/changeset/base/342099 Log: Avoid needless TLB invalidations in pmap_remove_pages(). pmap_remove_pages() is called during process termination, when it is guaranteed that no other CPU may acces

svn commit: r342098 - head/sys/riscv/riscv

2018-12-14 Thread Mark Johnston
Author: markj Date: Fri Dec 14 21:03:01 2018 New Revision: 342098 URL: https://svnweb.freebsd.org/changeset/base/342098 Log: Assume that pmap_l1() will return a PTE. pmaps on RISC-V always have an L1 page table page, so we don't need to check for this when performing lookups. Reviewe

svn commit: r342097 - head/sys/riscv/conf

2018-12-14 Thread Mark Johnston
Author: markj Date: Fri Dec 14 21:00:41 2018 New Revision: 342097 URL: https://svnweb.freebsd.org/changeset/base/342097 Log: Add a QEMU config for RISC-V. Reviewed by: jhb MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.

svn commit: r342096 - head/sys/riscv/conf

2018-12-14 Thread Mark Johnston
Author: markj Date: Fri Dec 14 20:57:57 2018 New Revision: 342096 URL: https://svnweb.freebsd.org/changeset/base/342096 Log: Enable witness(4) in the RISC-V GENERIC config. Reviewed by: jhb MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:https:

svn commit: r342095 - head/sys/mips/include

2018-12-14 Thread Warner Losh
Author: imp Date: Fri Dec 14 19:48:42 2018 New Revision: 342095 URL: https://svnweb.freebsd.org/changeset/base/342095 Log: atomic_cmpset return value is also an int. Modified: head/sys/mips/include/atomic.h Modified: head/sys/mips/include/atomic.h

svn commit: r342094 - head/sys/mips/include

2018-12-14 Thread Warner Losh
Author: imp Date: Fri Dec 14 19:14:51 2018 New Revision: 342094 URL: https://svnweb.freebsd.org/changeset/base/342094 Log: atomic_fcmpset* return int, not the type of *. fcmpset returns true/false as a int, so make the return types and variables match the int to be consistent with other a

svn commit: r342093 - head/sys/riscv/riscv

2018-12-14 Thread Mark Johnston
Author: markj Date: Fri Dec 14 18:50:32 2018 New Revision: 342093 URL: https://svnweb.freebsd.org/changeset/base/342093 Log: Clean up the riscv pmap_bootstrap() implementation. - Build up phys_avail[] in a single loop, excluding memory used by the loaded kernel. - Fix an array indexin

svn commit: r342091 - head/sys/arm/allwinner

2018-12-14 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 14 18:39:17 2018 New Revision: 342091 URL: https://svnweb.freebsd.org/changeset/base/342091 Log: allwinner: aw_pwm: Read value at attach The booloaded might have configured the pwm controller so read the values. Modified: head/sys/arm/allwinner/aw_pwm.c Modifi

svn commit: r342088 - head/usr.sbin/pwm

2018-12-14 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 14 18:38:10 2018 New Revision: 342088 URL: https://svnweb.freebsd.org/changeset/base/342088 Log: pwm(8): Add percentage value support for duty cycle Modified: head/usr.sbin/pwm/pwm.8 head/usr.sbin/pwm/pwm.c Modified: head/usr.sbin/pwm/pwm.8 ==

svn commit: r342087 - in head: sys/arm/allwinner sys/dev/pwm sys/sys usr.sbin/pwm

2018-12-14 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 14 18:37:26 2018 New Revision: 342087 URL: https://svnweb.freebsd.org/changeset/base/342087 Log: pwm: Convert period and duty to unsigned int We don't need a 64 bits value to store nanoseconds Discused with:ian, jhibbits Modified: head/sys/arm/allw

Re: svn commit: r342057 - head/crypto/openssl/crypto/engine

2018-12-14 Thread Jung-uk Kim
On 18. 12. 13., Kevin Bowling wrote: > But why, you can trivially see the open() call with truss or more > advanced tracers if you are debugging this Sure. I just followed OpenSSL coding style. Jung-uk Kim > On Thu, Dec 13, 2018 at 6:39 PM Kubilay Kocak > wrote: > >

Re: svn commit: r342057 - head/crypto/openssl/crypto/engine

2018-12-14 Thread Jung-uk Kim
On 18. 12. 13., Kubilay Kocak wrote: > On 14/12/2018 12:06 pm, Jung-uk Kim wrote: >> Author: jkim >> Date: Fri Dec 14 01:06:34 2018 >> New Revision: 342057 >> URL: https://svnweb.freebsd.org/changeset/base/342057 >> >> Log: >>    Do not complain when /dev/crypto does not exist. >>       Now the new

svn commit: r342086 - head/sys/dev/nfe

2018-12-14 Thread Mark Johnston
Author: markj Date: Fri Dec 14 18:16:35 2018 New Revision: 342086 URL: https://svnweb.freebsd.org/changeset/base/342086 Log: Add support for the nForce MCP89 adapter. PR: 234015 Submitted by: Andrejs Bogdanovs MFC after:1 week Modified: head/sys/dev/nfe/if_nfe.c head

Re: svn commit: r342085 - head/sys/dev/tpm

2018-12-14 Thread John Baldwin
On 12/14/18 9:43 AM, Marcin Wojtas wrote: > Author: mw > Date: Fri Dec 14 17:43:35 2018 > New Revision: 342085 > URL: https://svnweb.freebsd.org/changeset/base/342085 > > Log: > Fix TPM driver compilation from r342084 > > Include recent ACPI_ID_PROBE API change. > > Modified: > head/sys/

svn commit: r342085 - head/sys/dev/tpm

2018-12-14 Thread Marcin Wojtas
Author: mw Date: Fri Dec 14 17:43:35 2018 New Revision: 342085 URL: https://svnweb.freebsd.org/changeset/base/342085 Log: Fix TPM driver compilation from r342084 Include recent ACPI_ID_PROBE API change. Modified: head/sys/dev/tpm/tpm_crb.c head/sys/dev/tpm/tpm_tis.c Modified: head/sys

svn commit: r342084 - in head/sys: conf dev/tpm

2018-12-14 Thread Marcin Wojtas
Author: mw Date: Fri Dec 14 16:14:36 2018 New Revision: 342084 URL: https://svnweb.freebsd.org/changeset/base/342084 Log: Introduce driver for TPM 2.0 in CRB and FIFO (TIS) modes It was written basing on: TCG PC Client Platform TPM Profile (PTP) Specification Version 22, Revision 1.03.

svn commit: r342079 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 10:49:48 2018 New Revision: 342079 URL: https://svnweb.freebsd.org/changeset/base/342079 Log: Compilation failure on ppc and mips due to Revision 342066. Adding extra memset on chain frame. Submitted by: Sumit Saxena Reviewed by: Kashyap Desai Appro

Re: svn commit: r342020 - in head/sys: arm/mv arm64/conf conf

2018-12-14 Thread Emmanuel Vadot
Hi Marcin, On Fri, 14 Dec 2018 09:43:49 +0100 Marcin Wojtas wrote: > Hi Manu, > > Imo the new driver is adding code duplication - please check > sys/arm/mv/armada/thermal.c. It contains support for armada38x (which > has BTW exactly same coefficients as CP110). Basically it would be > enough

svn commit: r342076 - head/sys/arm/allwinner

2018-12-14 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 14 10:26:17 2018 New Revision: 342076 URL: https://svnweb.freebsd.org/changeset/base/342076 Log: arm64: allwinner: axp81x: Fix double invertion for FLDO1 This fix booting on A64 boards when disabling the unused regulators at boot. We did disable all the regulato

svn commit: r342073 - head/sys/dev/ichwd

2018-12-14 Thread Andriy Gapon
Author: avg Date: Fri Dec 14 09:30:43 2018 New Revision: 342073 URL: https://svnweb.freebsd.org/changeset/base/342073 Log: ichwd: add Sunrise Point-LP ID Submitted by: Tetsuya Uemura Tested by:Tetsuya Uemura MFC after:2 weeks Relnotes: maybe Modified: head/sys/dev/ich

svn commit: r342072 - head/sys/dev/ichwd

2018-12-14 Thread Andriy Gapon
Author: avg Date: Fri Dec 14 09:28:20 2018 New Revision: 342072 URL: https://svnweb.freebsd.org/changeset/base/342072 Log: ichwd: add support for clearing No Reboot bit in TCOv4 This is based on a patch developed by Tetsuya Uemura . Many thanks! Submitted by: Tetsuya Uemura (earli

svn commit: r342071 - head/share/man/man4

2018-12-14 Thread Eugene Grosbein
Author: eugen Date: Fri Dec 14 09:24:14 2018 New Revision: 342071 URL: https://svnweb.freebsd.org/changeset/base/342071 Log: ng_bpf.4: fix EXAMPLES: do not activate promiscuous mode PR: 102719 MFC after:3 days Modified: head/share/man/man4/ng_bpf.4 Modified: head/share/m

Re: svn commit: r342020 - in head/sys: arm/mv arm64/conf conf

2018-12-14 Thread Marcin Wojtas
Hi Manu, Imo the new driver is adding code duplication - please check sys/arm/mv/armada/thermal.c. It contains support for armada38x (which has BTW exactly same coefficients as CP110). Basically it would be enough to add 2 structures for ap806 and cp110. Best regards, Marcinśr., 12 gru 2018 o 23:

svn commit: r342069 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:06:39 2018 New Revision: 342069 URL: https://svnweb.freebsd.org/changeset/base/342069 Log: Driver version upgrade 07.708.02.00-fbsd Submitted by: Sumit Saxena Reviewed by: Kashyap Desai Approved by: ken MFC after: 3 days Sponsored by: Broad

svn commit: r342068 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:05:49 2018 New Revision: 342068 URL: https://svnweb.freebsd.org/changeset/base/342068 Log: This patch will increase debug level as current logging level has very minimal prints and even few important messages will not get logged. Submitted by: Sumit Sax

svn commit: r342067 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:05:01 2018 New Revision: 342067 URL: https://svnweb.freebsd.org/changeset/base/342067 Log: Change IOC INIT wait time to 180 secs to keep it inline with timeout used by internal DCMDs. Submitted by: Sumit Saxena Reviewed by: Kashyap Desai Approved

svn commit: r342066 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:04:16 2018 New Revision: 342066 URL: https://svnweb.freebsd.org/changeset/base/342066 Log: This patch will add support for NVME PRPs creation by driver for fastpath capable IOs. NVME specification supports specific type of scatter gather list called as PRP

svn commit: r342065 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:03:28 2018 New Revision: 342065 URL: https://svnweb.freebsd.org/changeset/base/342065 Log: This patch will add support for new DCMD to get PD information and a single data structure to specify LD and JBOD. Submitted by: Sumit Saxena Reviewed by: Ka

svn commit: r342064 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:02:44 2018 New Revision: 342064 URL: https://svnweb.freebsd.org/changeset/base/342064 Log: To improve RAID 1/10 Write performance, OS drivers need to issue the required Write IOs as Fast Path IOs (after the appropriate checks allowing Fast Path to be used)

svn commit: r342063 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:01:49 2018 New Revision: 342063 URL: https://svnweb.freebsd.org/changeset/base/342063 Log: Detect sequential Write IOs and pass the hint that it is part of sequential stream to help HBA Firmware do the Full Stripe Writes. For read IOs on certain RAID volum

svn commit: r342062 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:00:45 2018 New Revision: 342062 URL: https://svnweb.freebsd.org/changeset/base/342062 Log: This patch will add new interface to support more than 256 JBODs. Submitted by: Sumit Saxena Reviewed by: Kashyap Desai Approved by: ken MFC after: 3 day

svn commit: r342061 - head/sys/dev/mrsas

2018-12-14 Thread Kashyap D Desai
Author: kadesai Date: Fri Dec 14 08:00:01 2018 New Revision: 342061 URL: https://svnweb.freebsd.org/changeset/base/342061 Log: This patch will add support for divert bitmap in RAID map. Divert bitmap is supported for SAS3.5 adapters only. Submitted by: Sumit Saxena Reviewed by: Kashy