Author: mmel
Date: Thu Dec 17 13:17:26 2020
New Revision: 368717
URL: https://svnweb.freebsd.org/changeset/base/368717
Log:
MFC r368167,r368187,r368203:
r368167:
NVME: Don't try to swap data on little endian machines. These swapping
functions violate BUSDMA contract - we
Author: mmel
Date: Thu Dec 17 12:58:05 2020
New Revision: 368715
URL: https://svnweb.freebsd.org/changeset/base/368715
Log:
MFC r368364:
DesignWare PCIe driver: Don't call bus_generic_attach() twice.
bus_generic_attach() should be called from the attach function of the real
On 16.12.2020 15:48, Jessica Clarke wrote:
Author: jrtc27
Date: Wed Dec 16 14:48:46 2020
New Revision: 368700
URL: https://svnweb.freebsd.org/changeset/base/368700
Log:
Fix whitespace in r368698
MFC with: r368698
I just started to be ashamed :(
Thanks for fixing the bugs created
Author: mmel
Date: Wed Dec 16 14:39:24 2020
New Revision: 368698
URL: https://svnweb.freebsd.org/changeset/base/368698
Log:
Use the standard method for localizing of MSI-X table bar.
Current way, hardcoded value plus heuristic is not conform to the PCI(e)
specification and it fails on
Author: mmel
Date: Wed Dec 16 14:36:57 2020
New Revision: 368697
URL: https://svnweb.freebsd.org/changeset/base/368697
Log:
Allocate right number of pages for the bounced buffers crossing the page.
One of the disadvantages of our current busdma code is the fact that
we process the
Author: mmel
Date: Mon Dec 14 14:00:54 2020
New Revision: 368635
URL: https://svnweb.freebsd.org/changeset/base/368635
Log:
Remove unused functions and variables in cpufunc.[ch].
Modified:
head/sys/arm/arm/cpufunc.c
head/sys/arm/arm/cpufunc_asm.S
head/sys/arm/include/cpufunc.h
Author: mmel
Date: Mon Dec 14 13:10:19 2020
New Revision: 368634
URL: https://svnweb.freebsd.org/changeset/base/368634
Log:
Finish implementation of ARM PMU interrupts.
The ARM PMU may use single per-core interrupt or may use multiple generic
interrupts, one per core. In this case, special
Author: mmel
Date: Mon Dec 14 11:57:43 2020
New Revision: 368633
URL: https://svnweb.freebsd.org/changeset/base/368633
Log:
Verify (and fix) the context_id argument passed to the mpentry () by PSCI.
Some older PSCI implementations corrupt (or do not pass) the context_id
argument to newly
Author: mmel
Date: Mon Dec 14 11:09:07 2020
New Revision: 368631
URL: https://svnweb.freebsd.org/changeset/base/368631
Log:
MFC r368161:
Store MPIDR register in pcpu.
Modified:
stable/12/sys/arm/arm/machdep.c
stable/12/sys/arm/arm/mp_machdep.c
stable/12/sys/arm/include/pcpu.h
Author: mmel
Date: Mon Dec 14 10:16:59 2020
New Revision: 368630
URL: https://svnweb.freebsd.org/changeset/base/368630
Log:
MFC r367955:
Ensure that the buffer is in nvme_single_map() mapped to single segment.
Not a functional change.
Modified:
Author: mmel
Date: Mon Dec 14 10:14:32 2020
New Revision: 368629
URL: https://svnweb.freebsd.org/changeset/base/368629
Log:
MFC r367865:
Also pass interrupt binding request to non-root interrupt controllers.
There
are message based controllers that can bind interrupts even if they
Author: mmel
Date: Mon Dec 14 09:49:07 2020
New Revision: 368628
URL: https://svnweb.freebsd.org/changeset/base/368628
Log:
MFC r367447:
Add a method to determine whether given interrupt is per CPU or not.
Modified:
stable/12/sys/kern/subr_intr.c
stable/12/sys/sys/intr.h
Directory
On 05.12.2020 17:18, Mateusz Guzik wrote:
On 11/29/20, Michal Meloun wrote:
Author: mmel
Date: Sun Nov 29 17:42:32 2020
New Revision: 368159
URL: https://svnweb.freebsd.org/changeset/base/368159
Log:
Remove unused options.
Marvell files and their related SOC_MV_ options should
Author: mmel
Date: Sat Dec 5 19:44:00 2020
New Revision: 368373
URL: https://svnweb.freebsd.org/changeset/base/368373
Log:
Remove remaning definition of GFB_ options.
They are not used in source files.
This fixes build of some arm boards after r368159.
Reported by: mjg
Modified:
Author: mmel
Date: Sat Dec 5 14:06:01 2020
New Revision: 368370
URL: https://svnweb.freebsd.org/changeset/base/368370
Log:
Simplify startup of secondary cores and store MPIDR register to pcpu.
- record MPIDR for all started cores in pcpu, they will be used as link
between physical
t Dec 5 12:08:37 2020
(r368369)
@@ -0,0 +1,211 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright 2020 Michal Meloun
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+
Author: mmel
Date: Sat Dec 5 11:17:54 2020
New Revision: 368367
URL: https://svnweb.freebsd.org/changeset/base/368367
Log:
Connect DTB files based on LX2160A SoC to build.
Mainly LX2K Honeycomb and ClearFog-CX boards.
Added:
head/sys/modules/dtb/freescale/
Author: mmel
Date: Sat Dec 5 10:55:09 2020
New Revision: 368364
URL: https://svnweb.freebsd.org/changeset/base/368364
Log:
DesignWare PCIe driver: Don't call bus_generic_attach() twice.
bus_generic_attach() should be called from the attach function of the real
implementation, not from the
Author: mmel
Date: Sat Dec 5 10:10:25 2020
New Revision: 368363
URL: https://svnweb.freebsd.org/changeset/base/368363
Log:
Connect RK3288 to GENERIC kernel.
Modified:
head/sys/arm/conf/GENERIC
Modified: head/sys/arm/conf/GENERIC
Author: mmel
Date: Sat Dec 5 10:00:39 2020
New Revision: 368362
URL: https://svnweb.freebsd.org/changeset/base/368362
Log:
Also build DTB files for Asus Tinker board (RK3288 based).
Modified:
head/sys/modules/dtb/rockchip/Makefile
Modified: head/sys/modules/dtb/rockchip/Makefile
(r368340)
@@ -0,0 +1,126 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 Michal Meloun
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions
+ *
+ * Copyright (c) 2016 Jared McNeill
+ * Copyright (c) 2018 Emmanuel Vadot
+ * Copyright (c) 2019 Michal Meloun
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source
Author: mmel
Date: Fri Dec 4 15:09:42 2020
New Revision: 368332
URL: https://svnweb.freebsd.org/changeset/base/368332
Log:
Add a driver for HYM8563 based RTC.
Added:
head/sys/dev/iicbus/rtc/hym8563.c (contents, props changed)
Added: head/sys/dev/iicbus/rtc/hym8563.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/iicbus/pmic/act8846.c Fri Dec 4 14:57:12 2020
(r368331)
@@ -0,0 +1,258 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 Michal Meloun
Author: mmel
Date: Wed Dec 2 16:54:24 2020
New Revision: 368279
URL: https://svnweb.freebsd.org/changeset/base/368279
Log:
NVME: Multiple busdma related fixes.
- in nvme_qpair_process_completions() do dma sync before completion buffer
is used.
- in nvme_qpair_submit_tracker(), don't do
Author: mmel
Date: Wed Dec 2 08:14:56 2020
New Revision: 368273
URL: https://svnweb.freebsd.org/changeset/base/368273
Log:
Fix r368153. Wrong branch of #ifdef __ARMEB__ was deleted.
Modified:
head/sys/arm/arm/support.S
Modified: head/sys/arm/arm/support.S
Author: mmel
Date: Tue Dec 1 09:18:18 2020
New Revision: 368204
URL: https://svnweb.freebsd.org/changeset/base/368204
Log:
Remove duplicated SV_ASLR from the elf flags.
Reported by: lattera
Modified:
head/sys/arm/arm/elf_machdep.c
Modified: head/sys/arm/arm/elf_machdep.c
Author: mmel
Date: Tue Dec 1 08:52:13 2020
New Revision: 368203
URL: https://svnweb.freebsd.org/changeset/base/368203
Log:
Always use the __unused attribute even for potentially unused parameters.
Requested by: ian, imp
MFC with: r368167
Modified:
head/sys/dev/nvme/nvme.h
On 30.11.2020 17:02, Ian Lepore wrote:
On Mon, 2020-11-30 at 14:51 +, Michal Meloun wrote:
Author: mmel
Date: Mon Nov 30 14:51:48 2020
New Revision: 368187
URL: https://svnweb.freebsd.org/changeset/base/368187
Log:
Unbreak r368167 in userland. Decorate unused arguments
On 30.11.2020 11:35, Michael Tuexen wrote:
On 30. Nov 2020, at 08:01, Michal Meloun wrote:
Author: mmel
Date: Mon Nov 30 07:01:12 2020
New Revision: 368167
URL: https://svnweb.freebsd.org/changeset/base/368167
Log:
NVME: Don't try to swap data on little endian machines.
These swapping
Author: mmel
Date: Mon Nov 30 14:51:48 2020
New Revision: 368187
URL: https://svnweb.freebsd.org/changeset/base/368187
Log:
Unbreak r368167 in userland. Decorate unused arguments.
Reported by: kp, tuexen, jenkins, and many others
MFC with: r368167
Modified:
Author: mmel
Date: Mon Nov 30 07:01:12 2020
New Revision: 368167
URL: https://svnweb.freebsd.org/changeset/base/368167
Log:
NVME: Don't try to swap data on little endian machines.
These swapping functions violate BUSDMA contract - we cannot write
to armed (by bus_dmamap_sync(PRE_..))
Author: mmel
Date: Sun Nov 29 18:59:01 2020
New Revision: 368161
URL: https://svnweb.freebsd.org/changeset/base/368161
Log:
Store MPIDR register in pcpu.
MPIDR represents physical locality of given core and it should be used as
the only viable/robust connection between cpuid (which have
On 29.11.2020 18:46, Ed Maste wrote:
On Sun, 29 Nov 2020 at 12:36, Konstantin Belousov wrote:
I think it is reasonable to return to 128KB for 32bit systems.
...
+#ifndef MAXPHYS/* max raw I/O transfer size */
+#ifdef __ILP32__
+#define MAXPHYS
Author: mmel
Date: Sun Nov 29 17:42:32 2020
New Revision: 368159
URL: https://svnweb.freebsd.org/changeset/base/368159
Log:
Remove unused options.
Marvell files and their related SOC_MV_ options should be cleaned up
in another pass.
Modified:
head/sys/arm/conf/NOTES
Author: mmel
Date: Sun Nov 29 16:44:22 2020
New Revision: 368158
URL: https://svnweb.freebsd.org/changeset/base/368158
Log:
_ARM_ARCH_5E is always defined, we not support older CPUs.
Modified:
head/sys/arm/arm/bcopy_page.S
head/sys/arm/arm/bcopyinout.S
head/sys/arm/arm/in_cksum_arm.S
Author: mmel
Date: Sun Nov 29 15:39:54 2020
New Revision: 368155
URL: https://svnweb.freebsd.org/changeset/base/368155
Log:
Remove orphaned configs.
Deleted:
head/sys/arm/conf/ARNDALE
head/sys/arm/conf/ARNDALE-OCTA
head/sys/arm/conf/EA3250.hints
head/sys/arm/conf/SAM9G20EK.hints
Author: mmel
Date: Sun Nov 29 15:24:00 2020
New Revision: 368154
URL: https://svnweb.freebsd.org/changeset/base/368154
Log:
Remove remaining fragments of code for older already ceased ARM versions.
Deleted:
head/sys/arm/arm/cpufunc_asm_arm9.S
head/sys/arm/arm/cpufunc_asm_armv4.S
Author: mmel
Date: Sun Nov 29 15:04:39 2020
New Revision: 368153
URL: https://svnweb.freebsd.org/changeset/base/368153
Log:
Remove remaining support of big endian byte order.
Big endian support was ceased by removing ARMv4 sub architecture.
Modified:
head/sys/arm/arm/bcopyinout_xscale.S
On 28.11.2020 13:12, Konstantin Belousov wrote:
Author: kib
Date: Sat Nov 28 12:12:51 2020
New Revision: 368124
URL: https://svnweb.freebsd.org/changeset/base/368124
Log:
Make MAXPHYS tunable. Bump MAXPHYS to 1M.
Unfortunately, bumping MAXPHYS broke arm kernel. The kernel runs out of
KVA
Author: mmel
Date: Sun Nov 29 08:40:12 2020
New Revision: 368141
URL: https://svnweb.freebsd.org/changeset/base/368141
Log:
Remove the pre-ARMv6 and pre-INTRNG code.
ARM has required ARMV6+ and INTRNg for some time now, so remove
always false #ifdefs and unconditionally do always true
Author: mmel
Date: Sat Nov 28 15:00:08 2020
New Revision: 368126
URL: https://svnweb.freebsd.org/changeset/base/368126
Log:
Remove now unused armv4 and not-INTRNG files.
Deleted:
head/sys/arm/arm/identcpu-v4.c
head/sys/arm/arm/intr.c
head/sys/arm/arm/locore-v4.S
Author: mmel
Date: Sat Nov 28 09:06:51 2020
New Revision: 368121
URL: https://svnweb.freebsd.org/changeset/base/368121
Log:
MFC r366700:
Add 'netserver' command to EFI loader.
Modified:
stable/12/stand/efi/loader/main.c
Directory Properties:
stable/12/ (props changed)
Modified:
Author: mmel
Date: Mon Nov 23 14:30:22 2020
New Revision: 367955
URL: https://svnweb.freebsd.org/changeset/base/367955
Log:
Ensure that the buffer is in nvme_single_map() mapped to single segment.
Not a functional change.
MFC after:1 week
Modified:
head/sys/dev/nvme/nvme_private.h
Author: mmel
Date: Fri Nov 20 09:05:36 2020
New Revision: 367865
URL: https://svnweb.freebsd.org/changeset/base/367865
Log:
Also pass interrupt binding request to non-root interrupt controllers.
There are message based controllers that can bind interrupts even if they are
not implemented as
Author: mmel
Date: Sat Nov 7 14:58:01 2020
New Revision: 367447
URL: https://svnweb.freebsd.org/changeset/base/367447
Log:
Add a method to determine whether given interrupt is per CPU or not.
MFC after:2 weeks
Modified:
head/sys/kern/subr_intr.c
head/sys/sys/intr.h
Modified:
Author: mmel
Date: Mon Nov 2 08:26:19 2020
New Revision: 367268
URL: https://svnweb.freebsd.org/changeset/base/367268
Log:
Improve loading of multipage aligned buffers.
The multipage alignment requirements is incompatible with many aspects
of actual busdma code. Multi-page alignment
Author: mmel
Date: Sat Oct 31 17:26:56 2020
New Revision: 367227
URL: https://svnweb.freebsd.org/changeset/base/367227
Log:
MFC r366197:
Don't send a signal with uninitialized 'sig' and 'code' fields. We have a
few shortcuts in the arm trap code to speed up obvious "must fail"
Author: mmel
Date: Sat Oct 31 17:18:18 2020
New Revision: 367226
URL: https://svnweb.freebsd.org/changeset/base/367226
Log:
MFC r366312:
Fix the inverted condition in mtx_asserts. Mutex should be owned in
affected
functions.
Modified:
Author: mmel
Date: Sat Oct 31 17:10:55 2020
New Revision: 367225
URL: https://svnweb.freebsd.org/changeset/base/367225
Log:
MFC r366161:
Refine locking inside of syscon driver. In some cases, the syscon driver
may
be used by consumer requiring better control about locking (ie. it
Author: mmel
Date: Sat Oct 31 17:09:25 2020
New Revision: 367224
URL: https://svnweb.freebsd.org/changeset/base/367224
Log:
MFC r366156:
Correctly handle nodes compatible with "syscon", "simple-bus". Syscon can
also have child nodes that share a registration file with it. To do
Author: mmel
Date: Sat Oct 31 17:07:43 2020
New Revision: 367223
URL: https://svnweb.freebsd.org/changeset/base/367223
Log:
MFC r342008,r363799,r366146:
r342008:
fdt: Add support for simple-mfd bus
r363799:
Allow child classes of simplebus to call attach directly
Author: mmel
Date: Sat Oct 31 16:51:19 2020
New Revision: 367222
URL: https://svnweb.freebsd.org/changeset/base/367222
Log:
MFC r365929:
Adjust DMA alignment for USB stack. It should be at least as large as the
maximum value of caheline size for currently known CPUs.
Modified:
Author: mmel
Date: Sat Oct 31 16:24:11 2020
New Revision: 367220
URL: https://svnweb.freebsd.org/changeset/base/367220
Log:
MFC r363123,r363510:
r363123:
Reverse the processing order of assigned clocks property. Linux processes
these clocks in reverse order and some DT
Author: mmel
Date: Sat Oct 31 16:18:55 2020
New Revision: 367219
URL: https://svnweb.freebsd.org/changeset/base/367219
Log:
MFC r362387:
Improve DesignWare PCIe driver: - only normal memory window is mandatory,
prefetchable memory and
I/O windows should be optional
- full
Author: mmel
Date: Sat Oct 31 16:15:19 2020
New Revision: 367218
URL: https://svnweb.freebsd.org/changeset/base/367218
Log:
MFC r363121:
Fix the module name for some arm drivers. Module name (unlike of the of
driver name) must be system wide unique.
Modified:
Author: mmel
Date: Sat Oct 31 16:05:24 2020
New Revision: 367217
URL: https://svnweb.freebsd.org/changeset/base/367217
Log:
MFC r362388:
Use native-sized accesses when accessing memory from kdb. Not all MMIO
mapped devices supports byte access.
Modified:
ot;, 1 },
-#endif
{ NULL, 0 }
};
Copied: stable/12/sys/arm/mv/mvebu_gpio.c (from r362385,
head/sys/arm/mv/mvebu_gpio.c)
======
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ st
Author: mmel
Date: Sat Oct 31 15:58:05 2020
New Revision: 367215
URL: https://svnweb.freebsd.org/changeset/base/367215
Log:
MFC r362053:
Fix grabbing of tegra uart. An attempt to write to FCR register may corrupt
transmit FIFO, so we should wait for the FIFO to be empty before we
Author: mmel
Date: Sat Oct 31 15:40:52 2020
New Revision: 367214
URL: https://svnweb.freebsd.org/changeset/base/367214
Log:
MFC r360466:
Export tracing facility of GIC500 ITS block. Possibility of tracing of
processing message based interrupts is very useful for debugging of PCIe
Author: mmel
Date: Sat Oct 31 15:38:41 2020
New Revision: 367213
URL: https://svnweb.freebsd.org/changeset/base/367213
Log:
MFC r360464:
Don't try to set frequendcy for enumerated but never started CPUs.
Modified:
stable/12/sys/kern/kern_cpu.c
Directory Properties:
stable/12/
Author: mmel
Date: Sat Oct 31 15:36:41 2020
New Revision: 367212
URL: https://svnweb.freebsd.org/changeset/base/367212
Log:
MFC r360463,r360469:
r360463:
Don't allow to use FPU inside of rtld library. Clang10 may use FPU
instructions for optimizing operations with memory
Author: mmel
Date: Sat Oct 31 15:30:27 2020
New Revision: 367211
URL: https://svnweb.freebsd.org/changeset/base/367211
Log:
MFC r360462:
Don't try to re-initialize already preseted regulator.
Modified:
stable/12/sys/arm64/rockchip/rk805.c
Directory Properties:
stable/12/ (props
Author: mmel
Date: Sat Oct 31 15:28:21 2020
New Revision: 367210
URL: https://svnweb.freebsd.org/changeset/base/367210
Log:
MFC r360293,r360461:
r360293:
Reorder initialization steps for given pin. If pin is switched from fixed
function to GPIO, it should have prepared
, copy of r355755, head/sys/arm64/rockchip/rk_pcie_phy.c)
@@ -0,0 +1,369 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 Michal Meloun
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the follow
/12/sys/dev/pci/pci_dw.c Sat Oct 31 14:59:39 2020
(r367206, copy of r353774, head/sys/dev/pci/pci_dw.c)
@@ -0,0 +1,697 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 Michal Meloun
+ *
+ * Redistribution and use in source and binary forms
cu_teardown_intr(device_t dev, struct intr_i
struct mv_cp110_icu_softc *sc;
sc = device_get_softc(dev);
+ data = mv_cp110_icu_convert_map_data(sc, data);
+ if (data == NULL)
+ return (EINVAL);
return (PIC_TEARDOWN_INTR(sc->par
Author: mmel
Date: Wed Oct 14 13:13:14 2020
New Revision: 366700
URL: https://svnweb.freebsd.org/changeset/base/366700
Log:
Add 'netserver' command to EFI loader.
In some environments is difficult to access bootp/dhcp
configuration as "standard user". Add a command that allows to set
On 30.09.2020 18:33, Ed Maste wrote:
> On Fri, 25 Sep 2020 at 12:44, Michal Meloun wrote:
>>
>> Author: mmel
>> Date: Fri Sep 25 16:44:01 2020
>> New Revision: 366161
>> URL: https://svnweb.freebsd.org/changeset/base/366161
>
> The pine64 in CI
Author: mmel
Date: Thu Oct 1 09:50:08 2020
New Revision: 366312
URL: https://svnweb.freebsd.org/changeset/base/366312
Log:
Fix the inverted condition in mtx_asserts.
Mutex should be owned in affected functions.
Reborted by: emaste
MFC after:4 weeks
MFC with: r366161
On 27.09.2020 19:51, Bjoern A. Zeeb wrote:
> On 27 Sep 2020, at 10:15, Michal Meloun wrote:
>
>> Author: mmel
>> Date: Sun Sep 27 10:15:03 2020
>> New Revision: 366196
>> URL: https://svnweb.freebsd.org/changeset/base/366196
>>
>> Log:
>>
Author: mmel
Date: Mon Sep 28 09:16:27 2020
New Revision: 366219
URL: https://svnweb.freebsd.org/changeset/base/366219
Log:
Fix booting arm64 EFI with LINUX_BOOT_ABI enabled.
Use address of the pointer passed to kernel to determine whether the pointer
is a FDT block (physical address) or a
Author: mmel
Date: Sun Sep 27 16:15:03 2020
New Revision: 366200
URL: https://svnweb.freebsd.org/changeset/base/366200
Log:
Check the result of the function, not the pointer to it.
Modified:
head/sys/arm64/qoriq/clk/qoriq_clkgen.c
Modified: head/sys/arm64/qoriq/clk/qoriq_clkgen.c
Author: mmel
Date: Sun Sep 27 11:37:17 2020
New Revision: 366197
URL: https://svnweb.freebsd.org/changeset/base/366197
Log:
Don't send a signal with uninitialized 'sig' and 'code' fields.
We have a few shortcuts in the arm trap code to speed up obvious "must fail"
cases. In these
Author: mmel
Date: Sun Sep 27 10:15:03 2020
New Revision: 366196
URL: https://svnweb.freebsd.org/changeset/base/366196
Log:
Add LINUX_BOOT_ABI back to arm64 GENERIC kernel.
It was removed in r355289 but forgot to return it back when new u-boot booti
support was committed. Although booti
Author: mmel
Date: Sun Sep 27 09:27:39 2020
New Revision: 366195
URL: https://svnweb.freebsd.org/changeset/base/366195
Log:
Reapply r366193 with proper commit log.
Don't map same physical memory multiple times with different cache attributes.
This is explicitly stated as architectural
Author: mmel
Date: Sun Sep 27 09:24:31 2020
New Revision: 366194
URL: https://svnweb.freebsd.org/changeset/base/366194
Log:
Revert r366193, it was committed with unsaved commit log.
Modified:
head/sys/arm64/arm64/locore.S
Modified: head/sys/arm64/arm64/locore.S
Author: mmel
Date: Sun Sep 27 09:14:16 2020
New Revision: 366193
URL: https://svnweb.freebsd.org/changeset/base/366193
Log:
Don't map same physical memory multiple times with different cache
attributes.
This is explicitly stated as architectural undefined behavior, leadint to
coherencz
Author: mmel
Date: Sun Sep 27 09:12:36 2020
New Revision: 366192
URL: https://svnweb.freebsd.org/changeset/base/366192
Log:
Don't try to print EFI memeory map if it doesn't exist.
MFC after: 1 week
Modified:
head/sys/arm64/arm64/machdep.c
Modified: head/sys/arm64/arm64/machdep.c
Author: mmel
Date: Fri Sep 25 16:44:01 2020
New Revision: 366161
URL: https://svnweb.freebsd.org/changeset/base/366161
Log:
Refine locking inside of syscon driver.
In some cases, the syscon driver may be used by consumer requiring better
control about locking (ie. it may be used as registe
Author: mmel
Date: Fri Sep 25 13:52:31 2020
New Revision: 366156
URL: https://svnweb.freebsd.org/changeset/base/366156
Log:
Correctly handle nodes compatible with "syscon", "simple-bus".
Syscon can also have child nodes that share a registration file with it.
To do this correctly, follow
Author: mmel
Date: Fri Sep 25 09:56:50 2020
New Revision: 366146
URL: https://svnweb.freebsd.org/changeset/base/366146
Log:
Make simplebus friendlier for subclassing.
MFC after:1 week
Modified:
head/sys/dev/fdt/simplebus.c
head/sys/dev/fdt/simplebus.h
Modified:
return (bus_space_poke_##width(tag, hnd, offset, value)); \
> ^
> :64:1: note: expanded from here
> bus_space_poke_8
> ^
> 2 errors generated.
> --- subr_csan.o ---
> *** [subr_csan.o] Error code 1
>
>
>
Author: mmel
Date: Thu Sep 24 08:40:32 2020
New Revision: 366107
URL: https://svnweb.freebsd.org/changeset/base/366107
Log:
Add missing declarations of 64-bit variants of bus_peek/bus_poke on amd64.
It fixes GENERIC-KCSAN build.
Reported by: rpokala
MFC after:1 month
MFC with:
Author: mmel
Date: Sun Sep 20 17:28:24 2020
New Revision: 365929
URL: https://svnweb.freebsd.org/changeset/base/365929
Log:
Adjust DMA alignment for USB stack.
It should be at least as large as the maximum value of caheline size
for currently known CPUs.
MFC after:2 weeks
Author: mmel
Date: Sun Sep 20 15:11:52 2020
New Revision: 365926
URL: https://svnweb.freebsd.org/changeset/base/365926
Log:
Add missing assignment forgotten in r365899
Noticed by: mav
MFC after:1 month
MFC with: r365899
Modified:
head/sys/arm/include/bus.h
Author: mmel
Date: Sat Sep 19 11:27:16 2020
New Revision: 365900
URL: https://svnweb.freebsd.org/changeset/base/365900
Log:
Implement workaround for broken access to configuration space.
Due to a HW bug in the RockChip PCIe implementation, attempting to access
a non-existent register in the
Author: mmel
Date: Sat Sep 19 11:06:41 2020
New Revision: 365899
URL: https://svnweb.freebsd.org/changeset/base/365899
Log:
Add NetBSD compatible bus_space_peek_N() and bus_space_poke_N() functions.
One problem with the bus_space_read_N() and bus_space_write_N() family of
functions is that
On 08.09.2020 9:10, Andriy Gapon wrote:
> On 08/09/2020 08:46, Andriy Gapon wrote:
>> Author: avg
>> Date: Tue Sep 8 05:46:10 2020
>> New Revision: 365445
>> URL: https://svnweb.freebsd.org/changeset/base/365445
>>
>> Log:
>> mmc_da: make sure that part_index is not used uninitialized in
On 01.09.2020 15:32, Niclas Zeising wrote:
> On 2020-09-01 15:16, Emmanuel Vadot wrote:
>> On Tue, 1 Sep 2020 15:13:53 +0200
>> Michal Meloun wrote:
>>
>>>
>>>
>>> On 25.08.2020 0:53, Niclas Zeising wrote:
>>>> Author: zeising (doc,p
On 01.09.2020 15:16, Emmanuel Vadot wrote:
> On Tue, 1 Sep 2020 15:13:53 +0200
> Michal Meloun wrote:
>
>>
>>
>> On 25.08.2020 0:53, Niclas Zeising wrote:
>>> Author: zeising (doc,ports committer)
>>> Date: Mon Aug 24 22:53:23 2020
>>> Ne
On 25.08.2020 0:53, Niclas Zeising wrote:
> Author: zeising (doc,ports committer)
> Date: Mon Aug 24 22:53:23 2020
> New Revision: 364737
> URL: https://svnweb.freebsd.org/changeset/base/364737
>
> Log:
> drm2: Update deprecation message
>
> Update the deprecation message in the drm2
On 29.08.2020 13:02, Warner Losh wrote:
> On Sat, Aug 29, 2020 at 4:38 AM Michal Meloun
> wrote:
>
>>
>>
>> On 29.08.2020 12:04, Warner Losh wrote:
>>> On Sat, Aug 29, 2020 at 1:09 AM Mateusz Guzik wrote:
>>>
>>>> This crashes on b
On 29.08.2020 12:04, Warner Losh wrote:
> On Sat, Aug 29, 2020 at 1:09 AM Mateusz Guzik wrote:
>
>> This crashes on boot for me:
>>
>
> I wasn't able to get it to crash on boot for me, but I was able to recreate
> it.
It crashed on ofw based systems where some enumerated devices have not a
Oups, next module dependency on autogenerated header...
Fixed in r363758.
Thanks for report
Michal
On 01.08.2020 6:39, Mateusz Guzik wrote:
> This breaks tinderbox for several arm kernels.
>
> On 7/30/20, Michal Meloun wrote:
>> Author: mmel
>> Date: Thu Jul 30 14:45:05
Author: mmel
Date: Sat Aug 1 09:06:16 2020
New Revision: 363758
URL: https://svnweb.freebsd.org/changeset/base/363758
Log:
Add missing dependency for cpsw module.
Reported by: mjg
MFC with: r363700
Modified:
head/sys/modules/cpsw/Makefile
Modified:
Author: mmel
Date: Thu Jul 30 14:45:05 2020
New Revision: 363700
URL: https://svnweb.freebsd.org/changeset/base/363700
Log:
Move Ti AM335x to dev/extres/clk framework.
Re-implement clocks for these SoC by using now standard extres/clk framework.
This is necessary for future expansion of
Author: mmel
Date: Sat Jul 25 06:32:23 2020
New Revision: 363510
URL: https://svnweb.freebsd.org/changeset/base/363510
Log:
Revert r363123.
As Emanuel poited me the Linux processes these clock assignments in forward
order, not in reversed. I misread the original code.
Tha problem with
Author: mmel
Date: Sun Jul 12 07:59:15 2020
New Revision: 363123
URL: https://svnweb.freebsd.org/changeset/base/363123
Log:
Reverse the processing order of assigned clocks property.
Linux processes these clocks in reverse order and some DT relies
on this fact. For example, the frequency
Author: mmel
Date: Sun Jul 12 07:42:21 2020
New Revision: 363122
URL: https://svnweb.freebsd.org/changeset/base/363122
Log:
Assigned clocks: fix off-by-one bug, don't leak allocated memory.
MFC after: 1 week
Modified:
head/sys/dev/extres/clk/clk.c
Modified:
1 - 100 of 457 matches
Mail list logo