Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-23 Thread Michal Meloun
Dne 21.07.2016 v 23:35 John Baldwin napsal(a): > On Thursday, July 21, 2016 01:37:42 PM Andrew Turner wrote: >> On Wed, 20 Jul 2016 13:28:53 +0200 >> Michal Meloun <m...@freebsd.org> wrote: >>> Dne 19.07.2016 v 17:06 Nathan Whitehorn napsal(a): >>>> 2.

Re: svn commit: r313042 - in head/sys/boot: efi/include efi/libefi efi/loader forth

2017-02-02 Thread Michal Meloun
On 01.02.2017 9:46, Toomas Soome wrote: > Author: tsoome > Date: Wed Feb 1 08:46:59 2017 > New Revision: 313042 > URL: https://svnweb.freebsd.org/changeset/base/313042 > > Log: > loader.efi environment related cleanups > > Since we have dedicated libefi/env.c file for variable support,

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

2017-01-27 Thread Michal Meloun
This breaks DB-88F6XXX kernel with: --- cesa.o --- ... /usr2/Meloun/git/tegra/sys/dev/cesa/cesa.c:960:57: error: use of undeclared identifier 'CESA_SA_CMD_SHA2' CESA_REG_WRITE(sc, CESA_SA_CMD, CESA_SA_CMD_ACTVATE | CESA_SA_CMD_SHA2);

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

2017-02-19 Thread Michal Meloun
On 18.02.2017 23:06, Mateusz Guzik wrote: > Author: mjg > Date: Sat Feb 18 22:06:03 2017 > New Revision: 313928 > URL: https://svnweb.freebsd.org/changeset/base/313928 > > Log: > locks: clean up trylock primitives > > In particular thius reduces accesses of the lock itself. > >

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

2017-02-19 Thread Michal Meloun
On 19.02.2017 11:30, Mateusz Guzik wrote: > On Sun, Feb 19, 2017 at 09:30:44AM +0100, Michal Meloun wrote: >> >> On 18.02.2017 23:06, Mateusz Guzik wrote: >>> Author: mjg >>> Date: Sat Feb 18 22:06:03 2017 >>> New Revision: 313928 >>> UR

svn commit: r313873 - head/lib/libc/arm

2017-02-17 Thread Michal Meloun
Author: mmel Date: Fri Feb 17 13:49:46 2017 New Revision: 313873 URL: https://svnweb.freebsd.org/changeset/base/313873 Log: Publish fp[get][set]sticky() for ARMv6. Although fp[get][set]sticky() functions are obsolete, they are still required for GNU fortran49 library. MFC after: 2

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

2017-02-17 Thread Michal Meloun
On 17.02.2017 6:39, Mateusz Guzik wrote: > Author: mjg > Date: Fri Feb 17 05:39:40 2017 > New Revision: 313855 > URL: https://svnweb.freebsd.org/changeset/base/313855 > > Log: > locks: let primitives for modules unlock without always goging to the slsow > path > > It is only needed if

svn commit: r313866 - head/lib/libc/arm/aeabi

2017-02-17 Thread Michal Meloun
:16:19 2017 (r313866) @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2017 Michal Meloun + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions

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

2016-08-19 Thread Michal Meloun
Author: mmel Date: Fri Aug 19 10:53:17 2016 New Revision: 304460 URL: https://svnweb.freebsd.org/changeset/base/304460 Log: TEGRA: Implement MSI/MSIX interrupts for pcie controller. Modified: head/sys/arm/nvidia/tegra_pcie.c Modified: head/sys/arm/nvidia/tegra_pcie.c

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

2016-08-19 Thread Michal Meloun
Author: mmel Date: Fri Aug 19 11:12:59 2016 New Revision: 304461 URL: https://svnweb.freebsd.org/changeset/base/304461 Log: TEGRA: Remove forgotten debug printf. Modified: head/sys/arm/nvidia/tegra_pcie.c Modified: head/sys/arm/nvidia/tegra_pcie.c

svn commit: r304459 - in head/sys: arm/arm arm/nvidia arm/ti/omap4 arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-08-19 Thread Michal Meloun
Author: mmel Date: Fri Aug 19 10:52:39 2016 New Revision: 304459 URL: https://svnweb.freebsd.org/changeset/base/304459 Log: INTRNG: Rework handling with resources. Partially revert r301453. - Read interrupt properties at bus enumeration time and store it into global mapping table. -

svn commit: r306445 - head/sys/arm/nvidia/tegra124

2016-09-29 Thread Michal Meloun
Author: mmel Date: Thu Sep 29 12:54:27 2016 New Revision: 306445 URL: https://svnweb.freebsd.org/changeset/base/306445 Log: TEGRA: Return back kern_clocksource.c into tegra config file. It was removed in r306444 by mistake. Modified: head/sys/arm/nvidia/tegra124/files.tegra124 Modified:

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

2016-09-29 Thread Michal Meloun
Author: mmel Date: Thu Sep 29 13:54:09 2016 New Revision: 306447 URL: https://svnweb.freebsd.org/changeset/base/306447 Log: TEGRA: Rename (cut & pasted) genahci to tegra_ahci. Make device class definition static. Modified: head/sys/arm/nvidia/tegra_ahci.c Modified:

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

2016-09-29 Thread Michal Meloun
Author: mmel Date: Fri Sep 30 05:30:16 2016 New Revision: 306479 URL: https://svnweb.freebsd.org/changeset/base/306479 Log: ALLWINNER: ahci_devclass is local variable, don't export it. Modified: head/sys/arm/allwinner/a10_ahci.c Modified: head/sys/arm/allwinner/a10_ahci.c

svn commit: r306477 - in head/sys/arm/nvidia: . tegra124

2016-09-29 Thread Michal Meloun
Author: mmel Date: Fri Sep 30 05:25:15 2016 New Revision: 306477 URL: https://svnweb.freebsd.org/changeset/base/306477 Log: TEGRA: Prepare Tegra subtree for inclusion into ARM generic kernel. - use DEFINE_CLASS_0() for driver classes - unify driver names - cleanup driver definitions

svn commit: r306703 - head/sys/conf

2016-10-05 Thread Michal Meloun
Author: mmel Date: Wed Oct 5 12:17:43 2016 New Revision: 306703 URL: https://svnweb.freebsd.org/changeset/base/306703 Log: ARM: Disconnect elf_trampoline.c from ARMv6 build. The trampoline code never functioned properly for Cortex CPUs, and its functionality is already provided by ubldr.

svn commit: r306704 - in head/sys/arm: arm include

2016-10-05 Thread Michal Meloun
Author: mmel Date: Wed Oct 5 12:19:09 2016 New Revision: 306704 URL: https://svnweb.freebsd.org/changeset/base/306704 Log: ARM: Remove next bunch of unused cpu_functions from ARMv6. Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/arm/machdep.c head/sys/arm/include/cpufunc.h Modified:

svn commit: r306756 - in head/sys/arm: allwinner altera/socfpga amlogic/aml8726 arm broadcom/bcm2835 freescale/imx include mv/armada38x nvidia/tegra124 rockchip samsung/exynos ti/omap4 xilinx

2016-10-06 Thread Michal Meloun
Author: mmel Date: Thu Oct 6 13:18:18 2016 New Revision: 306756 URL: https://svnweb.freebsd.org/changeset/base/306756 Log: ARM: SEV/WFE instructions are implemented starting from ARMv6K, use it directly. MFC after: 1 week Modified: head/sys/arm/allwinner/aw_mp.c

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

2016-10-06 Thread Michal Meloun
Author: mmel Date: Thu Oct 6 13:53:17 2016 New Revision: 306759 URL: https://svnweb.freebsd.org/changeset/base/306759 Log: ARM: Remove ARMv4 #defines from busdma_machdep-v6.c, it's ARMv6 specific file. Consistently use BUSDMA_DCACHE_ALIGN for cache line alignment. MFC after: 1 week

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

2016-10-06 Thread Michal Meloun
Author: mmel Date: Thu Oct 6 11:54:42 2016 New Revision: 306754 URL: https://svnweb.freebsd.org/changeset/base/306754 Log: ARM: Remove unused variable. Not a functional change. MFC after: 3 days Modified: head/sys/arm/arm/locore-v6.S Modified: head/sys/arm/arm/locore-v6.S

svn commit: r306755 - in head/sys/arm: arm include

2016-10-06 Thread Michal Meloun
Author: mmel Date: Thu Oct 6 12:01:10 2016 New Revision: 306755 URL: https://svnweb.freebsd.org/changeset/base/306755 Log: ARM: Add identifiers for ARM Cortex v8 and Marvell Sheeva v7 cores. Not a functional change. MFC after: 3 days Modified: head/sys/arm/arm/cpuinfo.c

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

2016-10-04 Thread Michal Meloun
Author: mmel Date: Tue Oct 4 09:59:37 2016 New Revision: 306668 URL: https://svnweb.freebsd.org/changeset/base/306668 Log: ARM: Add mising early clobber modifier in atomic_swap_32(). MFC after: 2 weeks Modified: head/sys/arm/include/atomic-v6.h Modified:

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

2016-10-04 Thread Michal Meloun
Author: mmel Date: Tue Oct 4 09:51:54 2016 New Revision: 306667 URL: https://svnweb.freebsd.org/changeset/base/306667 Log: ARM: Add atomic_swap_64(). It's need by linuxkpi and drm-next-4.7. MFC after: 2 weeks Modified: head/sys/arm/include/atomic-v6.h Modified:

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

2016-10-04 Thread Michal Meloun
Author: mmel Date: Tue Oct 4 09:14:48 2016 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: TEGRA: Fix PCIe link timeout. MFC after: 2 weeks Modified: head/sys/arm/nvidia/tegra_pcie.c Modified: head/sys/arm/nvidia/tegra_pcie.c

svn commit: r306902 - in head/sys/arm: allwinner amlogic/aml8726 at91 broadcom/bcm2835 freescale/imx lpc mv rockchip ti ti/am335x ti/omap4 ti/twl xscale/i8134x xscale/ixp425

2016-10-09 Thread Michal Meloun
Author: mmel Date: Sun Oct 9 10:25:47 2016 New Revision: 306902 URL: https://svnweb.freebsd.org/changeset/base/306902 Log: ARM: Remove unused includes. MFC after: 1 week Modified: head/sys/arm/allwinner/a10_gpio.c head/sys/arm/allwinner/aw_wdog.c

svn commit: r306442 - in head/sys/arm: conf nvidia/tegra124

2016-09-29 Thread Michal Meloun
Author: mmel Date: Thu Sep 29 11:13:51 2016 New Revision: 306442 URL: https://svnweb.freebsd.org/changeset/base/306442 Log: TEGRA: Add support for MULTIDELAY option. Modified: head/sys/arm/conf/TEGRA124 head/sys/arm/nvidia/tegra124/tegra124_machdep.c Modified: head/sys/arm/conf/TEGRA124

svn commit: r306550 - head/sys/arm/nvidia/tegra124

2016-09-30 Thread Michal Meloun
Author: mmel Date: Sat Oct 1 03:35:03 2016 New Revision: 306550 URL: https://svnweb.freebsd.org/changeset/base/306550 Log: TEGRA: Extend timeout for PLLs lock to 5 ms. Real lock time for PLLA has been very near to old limit. Modified: head/sys/arm/nvidia/tegra124/tegra124_clk_pll.c

svn commit: r306551 - head/sys/arm/nvidia/tegra124

2016-10-01 Thread Michal Meloun
Author: mmel Date: Sat Oct 1 06:50:16 2016 New Revision: 306551 URL: https://svnweb.freebsd.org/changeset/base/306551 Log: TEGRA: Fix bindings for cpufreq and coretemp drivers, it was broken in r306477. Correct a description for coretemp driver. Modified:

svn commit: r306444 - head/sys/arm/nvidia/tegra124

2016-09-29 Thread Michal Meloun
Author: mmel Date: Thu Sep 29 12:25:04 2016 New Revision: 306444 URL: https://svnweb.freebsd.org/changeset/base/306444 Log: TEGRA: Don't include files already included by system or arch configs. Modified: head/sys/arm/nvidia/tegra124/files.tegra124 Modified:

svn commit: r308391 - in head/sys: arm/conf arm/nvidia arm/nvidia/tegra124 boot/fdt/dts/arm contrib/dev/nvidia

2016-11-06 Thread Michal Meloun
iic arm/nvidia/as3722_regulators.c optionaliic Added: head/sys/arm/nvidia/tegra_xhci.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/nvidia/tegra_xhci.cMon Nov 7 05:37:10

svn commit: r308390 - head/sys/arm/nvidia/tegra124

2016-11-06 Thread Michal Meloun
Author: mmel Date: Mon Nov 7 05:34:44 2016 New Revision: 308390 URL: https://svnweb.freebsd.org/changeset/base/308390 Log: Rework NVIDIA Tegra124 XUSBPAD driver. - Adapt it for new, incompatible, DT bindings introduced by r306197. - Add support for USB super speed pads/ports. MFC

svn commit: r307637 - head/sys/arm/nvidia/tegra124

2016-10-19 Thread Michal Meloun
Author: mmel Date: Wed Oct 19 14:28:51 2016 New Revision: 307637 URL: https://svnweb.freebsd.org/changeset/base/307637 Log: TEGRA: Raise minimum voltage for CPU, original 0.9 V was too optimistic. While I'm in, remove duplicated line from CPU frequency table. MFC after: 2 weeks

svn commit: r307557 - head/sys/arm/nvidia/tegra124

2016-10-18 Thread Michal Meloun
Author: mmel Date: Tue Oct 18 12:26:22 2016 New Revision: 307557 URL: https://svnweb.freebsd.org/changeset/base/307557 Log: TEGRA: Attach cpufreq and coretemp drivers only on tegra124 SoC. It's needed by GENERIC kernel. MFC after: 2 weeks Modified:

svn commit: r307558 - in head/sys: arm/nvidia dev/extres/regulator

2016-10-18 Thread Michal Meloun
Author: mmel Date: Tue Oct 18 12:27:46 2016 New Revision: 307558 URL: https://svnweb.freebsd.org/changeset/base/307558 Log: REGULATOR: Move functions for handling with regulator ranges to common file. They can be useful for other PMICs. MFC after: 2 weeks Modified:

svn commit: r307556 - head/sys/arm/nvidia/tegra124

2016-10-18 Thread Michal Meloun
Author: mmel Date: Tue Oct 18 12:21:45 2016 New Revision: 307556 URL: https://svnweb.freebsd.org/changeset/base/307556 Log: TEGRA: Really implement early printf. The original version was cut from another SoC. Pointy-hat to: mmel MFC after: 2 weeks Modified:

svn commit: r308614 - head/sys/conf

2016-11-13 Thread Michal Meloun
Author: mmel Date: Sun Nov 13 16:31:23 2016 New Revision: 308614 URL: https://svnweb.freebsd.org/changeset/base/308614 Log: Allow embeding DRM2 code into kernel. It's usefull for development (for netboot) and it also helps to boot FreeBSD on some embeded platforms (where we must boot kernel

svn commit: r308612 - in head/sys/dev/drm2: . ttm

2016-11-13 Thread Michal Meloun
Author: mmel Date: Sun Nov 13 13:31:23 2016 New Revision: 308612 URL: https://svnweb.freebsd.org/changeset/base/308612 Log: Allow DRM2 code to be built on platforms without AGP. This patch is taken from original drm-3.8 code. Differential Revision: https://reviews.freebsd.org/D8454 MFC

svn commit: r308286 - in head/sys/arm/nvidia: . tegra124

2016-11-04 Thread Michal Meloun
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/nvidia/tegra_mc.c Fri Nov 4 11:39:19 2016 (r308286) @@ -0,0 +1,311 @@ +/*- + * Copyright (c) 2016 Michal Meloun <m...@freebsd.

svn commit: r308287 - head/sys/arm/nvidia/tegra124

2016-11-04 Thread Michal Meloun
Author: mmel Date: Fri Nov 4 11:40:11 2016 New Revision: 308287 URL: https://svnweb.freebsd.org/changeset/base/308287 Log: TEGRA: Fix numerous issues in clock code. Define and export clocks related to XUSB driver. Modified: head/sys/arm/nvidia/tegra124/tegra124_car.c

svn commit: r306901 - in head/sys: arm/arm arm/include conf

2016-10-09 Thread Michal Meloun
Author: mmel Date: Sun Oct 9 10:24:10 2016 New Revision: 306901 URL: https://svnweb.freebsd.org/changeset/base/306901 Log: ARM: Split identify_arm_cpu() into ARMv4 and ARMv6 variant. On ARMv6, be more verbose about supported CPU features and/or optional instructions. Added:

Re: svn commit: r309531 - head/sys/arm/include

2016-12-06 Thread Michal Meloun
a meeting @work at now'. You are right of course, I will fix it later today. Michal On 06.12.2016 23:01, John Baldwin wrote: > On Sunday, December 04, 2016 03:27:39 PM Michal Meloun wrote: >> Author: mmel >> Date: Sun Dec 4 15:27:39 2016 >> New Revision: 309531 >> URL:

svn commit: r309537 - head/sys/dev/extres/clk

2016-12-04 Thread Michal Meloun
Author: mmel Date: Sun Dec 4 16:02:59 2016 New Revision: 309537 URL: https://svnweb.freebsd.org/changeset/base/309537 Log: Clock framework fixes: - The clk_test_freq() (aka CLK_SET_DRYRUN) doesn't change frequency, don't cache it result. - Fix busy condition for clk_set_freq().

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

2016-12-04 Thread Michal Meloun
Author: mmel Date: Sun Dec 4 15:27:39 2016 New Revision: 309531 URL: https://svnweb.freebsd.org/changeset/base/309531 Log: Implement fake pmap_mapdev_attr() for ARMv6. This function is referenced, but never called from DRM2 code. Also, real behavior of pmap_mapdev_attr() in ARM world is

svn commit: r309532 - head/sys/dev/sound/pci/hda

2016-12-04 Thread Michal Meloun
Author: mmel Date: Sun Dec 4 15:28:30 2016 New Revision: 309532 URL: https://svnweb.freebsd.org/changeset/base/309532 Log: Add IDs for HDA codecs found on Nvidia Tegra SoCs. MFC after: 2 weeks Modified: head/sys/dev/sound/pci/hda/hdac.h head/sys/dev/sound/pci/hda/hdacc.c Modified:

svn commit: r309538 - head/sys/arm/nvidia/tegra124

2016-12-04 Thread Michal Meloun
Author: mmel Date: Sun Dec 4 16:04:22 2016 New Revision: 309538 URL: https://svnweb.freebsd.org/changeset/base/309538 Log: Fixes for NVIDIA Tegra124 clocks: - EMC clock have standard peripheral clock block. Use it. - Implement full frequency set method for PLLD2. This PLL is used as

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

2016-12-05 Thread Michal Meloun
Author: mmel Date: Mon Dec 5 15:55:51 2016 New Revision: 309553 URL: https://svnweb.freebsd.org/changeset/base/309553 Log: Fix build breakage caused by r309531. Reported by: andrew MFC after: 2 weeks X-MFC with: r309531 Modified: head/sys/arm/include/pmap.h Modified:

Re: svn commit: r309531 - head/sys/arm/include

2016-12-05 Thread Michal Meloun
Fixed in r309553. Sorry for breakage and thanks for report. Michal On 05.12.2016 12:25, Andrew Turner wrote: > On Sun, 4 Dec 2016 15:27:39 + (UTC) > Michal Meloun <m...@freebsd.org> wrote: > >> Author: mmel >> Date: Sun Dec 4 15:27:39 2016 >> N

svn commit: r310674 - head/sys/dev/sound/pci/hda

2016-12-27 Thread Michal Meloun
Author: mmel Date: Wed Dec 28 07:37:26 2016 New Revision: 310674 URL: https://svnweb.freebsd.org/changeset/base/310674 Log: Limit number of stripes supported by HDA codec to maximum number announced by HDA controller. Incorrectly implermented HDA codec may report support for more stripes

Re: svn commit: r310559 - in head/sys/compat/linuxkpi/common: include/linux src

2016-12-26 Thread Michal Meloun
On 26.12.2016 2:18, Hans Petter Selasky wrote: > Author: hselasky > Date: Mon Dec 26 01:18:07 2016 > New Revision: 310559 > URL: https://svnweb.freebsd.org/changeset/base/310559 > > Log: > Implement register and unregister chrdev in the LinuxKPI. > > Obtained from: kmacy @ > MFC

svn commit: r310593 - head/sys/dev/drm2

2016-12-26 Thread Michal Meloun
Author: mmel Date: Mon Dec 26 11:20:40 2016 New Revision: 310593 URL: https://svnweb.freebsd.org/changeset/base/310593 Log: Fix late monitor hotplug event. If system starts without attached monitor, DRM create framebuffer for VT console. Later, when monitor is attached, the hotplug event

svn commit: r310599 - in head/sys: conf dev/drm2

2016-12-26 Thread Michal Meloun
Author: mmel Date: Mon Dec 26 14:28:23 2016 New Revision: 310599 URL: https://svnweb.freebsd.org/changeset/base/310599 Log: Import drm_patform.c, an implementation of non-PCI based attachment for graphics drivers. It will be used in upcoming driver for Nvidia Tegra boards. MFC after: 1

svn commit: r310600 - in head/sys/arm: conf nvidia/drm2 nvidia/tegra124

2016-12-26 Thread Michal Meloun
Author: mmel Date: Mon Dec 26 14:36:05 2016 New Revision: 310600 URL: https://svnweb.freebsd.org/changeset/base/310600 Log: Implement drivers for NVIDIA tegra124 display controller, HDMI source and host1x module. Unfortunately, tegra124 SoC doesn't have 2D acceleration engine and 3D

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

2017-03-23 Thread Michal Meloun
Author: mmel Date: Thu Mar 23 08:15:11 2017 New Revision: 315843 URL: https://svnweb.freebsd.org/changeset/base/315843 Log: Revert r315800, it was committed with invalid (unsaved) commit log. Modified: head/sys/arm/nvidia/tegra_sdhci.c Modified: head/sys/arm/nvidia/tegra_sdhci.c

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

2017-03-23 Thread Michal Meloun
Author: mmel Date: Thu Mar 23 08:16:53 2017 New Revision: 315845 URL: https://svnweb.freebsd.org/changeset/base/315845 Log: Restore original (pre r315760) naming for Tegra SDHCI device. Newbus handles multiple equally named device classes without problems, so there is no reason to use

svn commit: r315900 - in head: lib/libthread_db/arch/arm sys/arm/arm sys/arm/include

2017-03-24 Thread Michal Meloun
Author: mmel Date: Fri Mar 24 11:46:49 2017 New Revision: 315900 URL: https://svnweb.freebsd.org/changeset/base/315900 Log: Cleanup structures related to VFP and/or mcontext_t. - in mcontext_t, rename newer used 'union __vfp' to equaly sized 'mc_spare'. Space allocated by 'union __vfp' is

Re: svn commit: r315974 - in head: lib/libthread_db/arch/arm sys/arm/arm sys/arm/include

2017-03-28 Thread Michal Meloun
On 27.03.2017 19:40, Warner Losh wrote: > On Mon, Mar 27, 2017 at 11:07 AM, John Baldwin <j...@freebsd.org> wrote: >> On Sunday, March 26, 2017 08:36:56 AM Michal Meloun wrote: >>> Author: mmel >>> Date: Sun Mar 26 08:36:56 2017 >>> New Revision:

svn commit: r315974 - in head: lib/libthread_db/arch/arm sys/arm/arm sys/arm/include

2017-03-26 Thread Michal Meloun
Author: mmel Date: Sun Mar 26 08:36:56 2017 New Revision: 315974 URL: https://svnweb.freebsd.org/changeset/base/315974 Log: Preserve VFP state across signal delivery. We don't have enouch space to store full VFP context within mcontext stucture. Due to this: - follow i386/amd64 way

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

2017-03-26 Thread Michal Meloun
Author: mmel Date: Sun Mar 26 08:36:20 2017 New Revision: 315973 URL: https://svnweb.freebsd.org/changeset/base/315973 Log: Save VFP state on fork(). Update the copy of VFP state in PCB before it is cloned for new process. MFC after:2 weeks Modified: head/sys/arm/arm/vm_machdep.c

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

2017-03-22 Thread Michal Meloun
Author: mmel Date: Thu Mar 23 05:54:03 2017 New Revision: 315800 URL: https://svnweb.freebsd.org/changeset/base/315800 Log: Release all previously allocated resources. Modified: head/sys/arm/nvidia/tegra_sdhci.c Modified: head/sys/arm/nvidia/tegra_sdhci.c

svn commit: r315411 - head/contrib/traceroute

2017-03-16 Thread Michal Meloun
Author: mmel Date: Thu Mar 16 13:01:23 2017 New Revision: 315411 URL: https://svnweb.freebsd.org/changeset/base/315411 Log: Unbreak traceroute on system built without CAPSICUM Modified: head/contrib/traceroute/traceroute.c Modified: head/contrib/traceroute/traceroute.c

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

2017-03-08 Thread Michal Meloun
Author: mmel Date: Wed Mar 8 14:52:03 2017 New Revision: 314914 URL: https://svnweb.freebsd.org/changeset/base/314914 Log: Release all previously allocated resources. Modified: head/sys/dev/sdhci/sdhci_fdt_gpio.c Modified: head/sys/dev/sdhci/sdhci_fdt_gpio.c

Re: svn commit: r315051 - in head: . gnu/usr.bin gnu/usr.bin/diff usr.bin usr.bin/diff usr.bin/diff/tests

2017-03-13 Thread Michal Meloun
On 11.03.2017 6:01, Baptiste Daroussin wrote: > Author: bapt > Date: Sat Mar 11 05:01:29 2017 > New Revision: 315051 > URL: https://svnweb.freebsd.org/changeset/base/315051 > > Log: > Import diff from OpenBSD and remove GNU diff > > Some of the modifications from the previous summer of

svn commit: r315059 - in head/sys: arm/arm arm/at91 arm/include conf

2017-03-10 Thread Michal Meloun
Author: mmel Date: Sat Mar 11 07:07:41 2017 New Revision: 315059 URL: https://svnweb.freebsd.org/changeset/base/315059 Log: Split overbloated machep.c to multiple files and do basic cleanup of these fragments. Added: head/sys/arm/arm/machdep_boot.c - copied, changed from r315058,

svn commit: r314907 - head/contrib/compiler-rt/lib/builtins

2017-03-08 Thread Michal Meloun
Author: mmel Date: Wed Mar 8 11:40:27 2017 New Revision: 314907 URL: https://svnweb.freebsd.org/changeset/base/314907 Log: Unbreak ARMv6 world. The new compiler_rt library imported with clang 4.0.0 have several fatal issues (non-functional __udivsi3 for example) with ARM specific

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

2017-03-05 Thread Michal Meloun
Author: mmel Date: Sun Mar 5 15:34:32 2017 New Revision: 314703 URL: https://svnweb.freebsd.org/changeset/base/314703 Log: Add support for card detect and write protect gpio pins to Tegra SDHCI. Modified: head/sys/arm/nvidia/tegra_sdhci.c Modified: head/sys/arm/nvidia/tegra_sdhci.c

svn commit: r318021 - in head/sys/arm: arm include

2017-05-09 Thread Michal Meloun
Author: mmel Date: Tue May 9 11:05:32 2017 New Revision: 318021 URL: https://svnweb.freebsd.org/changeset/base/318021 Log: Introduce pmap_remap_vm_attr(), it allows to remap one VM memattr class to another. This function is intent to be used as workaround for various SoC bugs, mainly

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

2017-05-16 Thread Michal Meloun
On 16.05.2017 6:47, Luiz Otavio O Souza wrote: > Author: loos > Date: Tue May 16 04:47:50 2017 > New Revision: 318336 > URL: https://svnweb.freebsd.org/changeset/base/318336 > > Log: > Add the SDHCI Address Decoder registers and routines for ARMADA 38X. > > Tested on: ClearFog Pro >

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

2017-05-13 Thread Michal Meloun
Author: mmel Date: Sat May 13 10:00:24 2017 New Revision: 318251 URL: https://svnweb.freebsd.org/changeset/base/318251 Log: Clarify usage rules for pmap_remap_vm_attr(). Not a functional change. MFC with: r318021 MFC after:2 weeks Modified: head/sys/arm/arm/pmap-v6.c

Re: svn commit: r318021 - in head/sys/arm: arm include

2017-05-10 Thread Michal Meloun
On 09.05.2017 17:09, Andrew Turner wrote: >> On 9 May 2017, at 13:40, Michal Meloun <melounmic...@gmail.com> wrote: >> >> >> >> On 09.05.2017 13:34, Andrew Turner wrote: >>>> On 9 May 2017, at 12:05, Michal Meloun <m...@freebsd.org> wrote:

svn commit: r318135 - head/contrib/binutils/gas/config

2017-05-09 Thread Michal Meloun
Author: mmel Date: Wed May 10 05:07:41 2017 New Revision: 318135 URL: https://svnweb.freebsd.org/changeset/base/318135 Log: Fix parsing of 'vmov Q.F32,Q.F32' instruction. parse_qfloat_immediate() accidentaly parses register with size qualifier as immediate constant (It takes '.'

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

2017-05-09 Thread Michal Meloun
Author: mmel Date: Tue May 9 12:32:31 2017 New Revision: 318025 URL: https://svnweb.freebsd.org/changeset/base/318025 Log: Revert accidentally changed std.armv6 in r318024. MFC with: r318024 MFC after:2 weeks Modified: head/sys/arm/conf/std.armv6 Modified:

Re: svn commit: r318021 - in head/sys/arm: arm include

2017-05-09 Thread Michal Meloun
On 09.05.2017 13:34, Andrew Turner wrote: >> On 9 May 2017, at 12:05, Michal Meloun <m...@freebsd.org> wrote: >> >> Author: mmel >> Date: Tue May 9 11:05:32 2017 >> New Revision: 318021 >> URL: https://svnweb.freebsd.org/changeset/base/318021 &

svn commit: r318024 - in head: contrib/gcc contrib/gcc/config/arm sys/arm/conf

2017-05-09 Thread Michal Meloun
Author: mmel Date: Tue May 9 12:14:00 2017 New Revision: 318024 URL: https://svnweb.freebsd.org/changeset/base/318024 Log: Fix _Unwind_Backtrace symbol version for ARM. In real GNU libgcc, _Unwind_Backtrace is published with GCC_3.3 version for all architectures but ARM. For ARM it's

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

2017-05-19 Thread Michal Meloun
Author: mmel Date: Fri May 19 11:45:14 2017 New Revision: 318530 URL: https://svnweb.freebsd.org/changeset/base/318530 Log: Increase maximum text segment size. LLVM binaries are huge... MFC after:3 days Modified: head/sys/arm/include/vmparam.h Modified:

svn commit: r319047 - in head/lib/msun: . man src

2017-05-28 Thread Michal Meloun
Author: mmel Date: Sun May 28 06:13:38 2017 New Revision: 319047 URL: https://svnweb.freebsd.org/changeset/base/319047 Log: Implement sincos, sincosf, and sincosl. The primary benefit of these functions is that argument reduction is done once instead of twice in independent calls to sin()

svn commit: r319896 - in head/sys/arm: arm include

2017-06-13 Thread Michal Meloun
Author: mmel Date: Tue Jun 13 12:07:18 2017 New Revision: 319896 URL: https://svnweb.freebsd.org/changeset/base/319896 Log: Implement tunable CPU quirks. These quirks are intended for optimizing CPU performance, not for applying errata workarounds. Nobody can expect that CPU with unfixed

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

2017-06-17 Thread Michal Meloun
Author: mmel Date: Sat Jun 17 14:36:25 2017 New Revision: 320054 URL: https://svnweb.freebsd.org/changeset/base/320054 Log: Manually load tunable CPU quirks. These are needed too early, far before SYSINIT is processed. Reported by: zbb Pointy hat to:mmel MFC after:3

Re: svn commit: r320062 - in head/sys: fs/nfs fs/nfsclient kern sys

2017-06-18 Thread Michal Meloun
On 18.06.2017 0:24, Rick Macklem wrote: > Author: rmacklem > Date: Sat Jun 17 22:24:19 2017 > New Revision: 320062 > URL: https://svnweb.freebsd.org/changeset/base/320062 > > Log: > Make MAXBCACHEBUF a tunable called vfs.maxbcachebuf. > > By making MAXBCACHEBUF a tunable, it can be

svn commit: r324660 - in head: lib/libc/arm/gen sys/arm/arm sys/arm/include

2017-10-16 Thread Michal Meloun
ause file is newly added) +++ head/lib/libc/arm/gen/getcontextx.c Mon Oct 16 12:53:54 2017 (r324660) @@ -0,0 +1,99 @@ +/* + * Copyright (c) 2017 Michal Meloun <m...@freebsd.org> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * mod

svn commit: r326232 - head/lib/libzstd

2017-11-26 Thread Michal Meloun
Author: mmel Date: Sun Nov 26 16:41:30 2017 New Revision: 326232 URL: https://svnweb.freebsd.org/changeset/base/326232 Log: Addd work around for LLVM bug 35023. Clang crashes when compiling zstd_compress.c with optimization for ARM targets. https://bugs.llvm.org/show_bug.cgi?id=35023

svn commit: r325364 - head/lib/libc/gen

2017-11-03 Thread Michal Meloun
Author: mmel Date: Fri Nov 3 15:57:27 2017 New Revision: 325364 URL: https://svnweb.freebsd.org/changeset/base/325364 Log: Add alignment support to __libc_allocate_tls(). For statically linked binaries, where all relocation are solved by static linker, the linker expect that offset to

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

2017-11-05 Thread Michal Meloun
Author: mmel Date: Sun Nov 5 16:52:54 2017 New Revision: 325438 URL: https://svnweb.freebsd.org/changeset/base/325438 Log: All CP15 registers are bit fields or counters, don't use signed type when accessing them. MFC after:3 weeks Modified: head/sys/arm/include/cpu-v4.h

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

2017-11-05 Thread Michal Meloun
Author: mmel Date: Sun Nov 5 17:14:44 2017 New Revision: 325439 URL: https://svnweb.freebsd.org/changeset/base/325439 Log: Remove support for ARMv6/v7 platform from elf_trampoline. The elf_trampoline.c is not connected to build for ARMv6/v7 for long time and it uses outdated low level

svn commit: r326740 - head/contrib/jemalloc/include/jemalloc/internal

2017-12-10 Thread Michal Meloun
Author: mmel Date: Sun Dec 10 08:55:48 2017 New Revision: 326740 URL: https://svnweb.freebsd.org/changeset/base/326740 Log: Relax too restrictive assert. The problem has been reported to upstream and similar change will be included in next jemalloc release. Submitted by: David

svn commit: r326741 - head/contrib/jemalloc/include/jemalloc/internal

2017-12-10 Thread Michal Meloun
Author: mmel Date: Sun Dec 10 09:15:37 2017 New Revision: 326741 URL: https://svnweb.freebsd.org/changeset/base/326741 Log: Revert r326740. I committed wrong diff. Modified: head/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h Modified:

svn commit: r326742 - head/contrib/jemalloc/include/jemalloc/internal

2017-12-10 Thread Michal Meloun
Author: mmel Date: Sun Dec 10 09:17:21 2017 New Revision: 326742 URL: https://svnweb.freebsd.org/changeset/base/326742 Log: Relax too restrictive assert. The problem has been reported to upstream and similar change will be included in next jemalloc release. Submitted by: David

svn commit: r326794 - head/lib/libc/gen

2017-12-12 Thread Michal Meloun
Author: mmel Date: Tue Dec 12 11:25:30 2017 New Revision: 326794 URL: https://svnweb.freebsd.org/changeset/base/326794 Log: Rework alignment handling in __libc_allocate_tls() for Variant I of TLS layout. There are two versions of variant I of TLS - ARM and aarch64 uses original version

svn commit: r325103 - head/lib/libthr/arch/arm/include

2017-10-29 Thread Michal Meloun
Author: mmel Date: Sun Oct 29 14:26:37 2017 New Revision: 325103 URL: https://svnweb.freebsd.org/changeset/base/325103 Log: Fix misleading comment. Not a functional change. MFC after:3 days Modified: head/lib/libthr/arch/arm/include/pthread_md.h Modified:

svn commit: r324815 - in head: lib/libc/gen sys/sys

2017-10-21 Thread Michal Meloun
head/sys/sys/auxv.h Sat Oct 21 12:06:18 2017 (r324815) @@ -0,0 +1,37 @@ +/*- + * Copyright (c) 2017 Michal Meloun + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. R

svn commit: r324814 - in head/sys: arm/include arm64/include kern mips/include powerpc/include riscv/include sparc64/include sys x86/include

2017-10-21 Thread Michal Meloun
Author: mmel Date: Sat Oct 21 12:05:01 2017 New Revision: 324814 URL: https://svnweb.freebsd.org/changeset/base/324814 Log: Add AT_HWCAP2 ELF auxiliary vector. - allocate value for new AT_HWCAP2 auxiliary vector on all platforms. - expand 'struct sysentvec' by new 'u_long *sv_hwcap2', in

svn commit: r324816 - head/sys/sys

2017-10-21 Thread Michal Meloun
Author: mmel Date: Sat Oct 21 12:15:12 2017 New Revision: 324816 URL: https://svnweb.freebsd.org/changeset/base/324816 Log: Add C++ decoration to auxv.v forgotten in r324815. MFC after:1 month Modified: head/sys/sys/auxv.h Modified: head/sys/sys/auxv.h

svn commit: r324817 - in head/sys/arm: arm include

2017-10-21 Thread Michal Meloun
Author: mmel Date: Sat Oct 21 12:16:21 2017 New Revision: 324817 URL: https://svnweb.freebsd.org/changeset/base/324817 Log: Fullify implementation of AT_HWCAP and AT_HWCAP2 for ARMv6,7. This makes elf_aux_info(3) useable for ARM ports. MFC after:1 month Modified:

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

2017-10-21 Thread Michal Meloun
Author: mmel Date: Sat Oct 21 15:48:16 2017 New Revision: 324821 URL: https://svnweb.freebsd.org/changeset/base/324821 Log: Fix spelling. Reported by: lidl MFC after:1 month Modified: head/sys/arm/arm/cpuinfo.c Modified: head/sys/arm/arm/cpuinfo.c

svn commit: r335249 - head/sys/dev/extres/regulator

2018-06-16 Thread Michal Meloun
Author: mmel Date: Sat Jun 16 08:25:38 2018 New Revision: 335249 URL: https://svnweb.freebsd.org/changeset/base/335249 Log: Fix handling of enable counter for shared GPIO line in fixed regulator. For most regulators, the regulator_stop() method can be transformed to regulator disable.

Re: svn commit: r335173 - head/sys/dev/extres/regulator

2018-06-15 Thread Michal Meloun
On 14.06.2018 22:37, Kyle Evans wrote: > Author: kevans > Date: Thu Jun 14 20:37:25 2018 > New Revision: 335173 > URL: https://svnweb.freebsd.org/changeset/base/335173 > > Log: > extres/regulator: Properly refcount gpio regulators > > regnode::enable_cnt is generally used to refcount

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Michal Meloun
On 23.10.2017 23:31, Dimitry Andric wrote: > Author: dim > Date: Mon Oct 23 21:31:04 2017 > New Revision: 324938 > URL: https://svnweb.freebsd.org/changeset/base/324938 > > Log: > After jemalloc was updated to version 5.0.0 in r319971, i386 executables > linked with AddressSanitizer (even

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Michal Meloun
On 27.10.2017 9:53, Dimitry Andric wrote: > On 27 Oct 2017, at 08:33, Michal Meloun <melounmic...@gmail.com> wrote: >> >> On 23.10.2017 23:31, Dimitry Andric wrote: >>> Author: dim >>> Date: Mon Oct 23 21:31:04 2017 >>> New Revision: 324938 &g

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Michal Meloun
iginal data was copied to unaligned address. because for aligned binary p *tsd is {state = 0 '\000', ... p *(tsd - 8 bytes) is {state = 5 '\005' I'm right? Kib, please, can you help us? On 27.10.2017 9:53, Dimitry Andric wrote: > On 27 Oct 2017, at 08:33, Michal Meloun <melounmic...@gm

Re: svn commit: r325042 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2017-10-27 Thread Michal Meloun
On 27.10.2017 18:23, Ed Maste wrote: > Author: emaste > Date: Fri Oct 27 16:23:45 2017 > New Revision: 325042 > URL: https://svnweb.freebsd.org/changeset/base/325042 > > Log: > libdtrace: replace "DOODAD" with more descriptive string > > Previously some unimplemented libdtrace routines

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Michal Meloun
On 27.10.2017 17:21, Brooks Davis wrote: > On Fri, Oct 27, 2017 at 06:08:41PM +0300, Konstantin Belousov > wrote: >> On Fri, Oct 27, 2017 at 02:53:26PM +0200, Michal Meloun wrote: >>> Sorry for top posting That's pity, we have clear problem in

<    1   2   3   4   >