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
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: 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: 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:
Author: mmel
Date: Sun Jul 12 07:27:21 2020
New Revision: 363121
URL: https://svnweb.freebsd.org/changeset/base/363121
Log:
Fix the module name for some arm drivers.
Module name (unlike of the of driver name) must be system wide unique.
Reported by: Mark Millard(bcm_pci),
Author: mmel
Date: Fri Jun 19 19:26:55 2020
New Revision: 362415
URL: https://svnweb.freebsd.org/changeset/base/362415
Log:
Improve if_dwc:
- refactorize packet receive path. Make sure that we don't leak mbufs
and/or that we don't create holes in RX descriptor ring
- slightly
Author: mmel
Date: Fri Jun 19 18:34:27 2020
New Revision: 362405
URL: https://svnweb.freebsd.org/changeset/base/362405
Log:
Finish renaming in if_dwc.
By using DWC TRM terminology, normal descriptor format should be named
extended and alternate descriptor format should be named normal.
Author: mmel
Date: Fri Jun 19 18:04:41 2020
New Revision: 362399
URL: https://svnweb.freebsd.org/changeset/base/362399
Log:
Use naming nomenclature used in DesignWare TRM.
Use naming nomenclature used in DesignWare TRM.
This driver was written by using Altera (now Intel) documentation for
Author: mmel
Date: Fri Jun 19 17:33:54 2020
New Revision: 362392
URL: https://svnweb.freebsd.org/changeset/base/362392
Log:
Adapt ARMADA8k PCIe driver to newly imported 5.7 DT.
- temporarily disable handling with phy, we don't have driver for it yet
- always clear cause for administartive
Author: mmel
Date: Fri Jun 19 17:32:50 2020
New Revision: 362391
URL: https://svnweb.freebsd.org/changeset/base/362391
Log:
Revert r362389, it was committed with .diff instead of .txt as
commit log.
Modified:
head/sys/dev/pci/pci_dw_mv.c
Modified: head/sys/dev/pci/pci_dw_mv.c
Author: mmel
Date: Fri Jun 19 17:25:54 2020
New Revision: 362389
URL: https://svnweb.freebsd.org/changeset/base/362389
Log:
diff --git a/sys/dev/pci/pci_dw_mv.c b/sys/dev/pci/pci_dw_mv.c
index 06a29fefbdd..571fc00f6c1 100644
--- a/sys/dev/pci/pci_dw_mv.c
+++ b/sys/dev/pci/pci_dw_mv.c
@@
Author: mmel
Date: Fri Jun 19 16:26:42 2020
New Revision: 362388
URL: https://svnweb.freebsd.org/changeset/base/362388
Log:
Use native-sized accesses when accessing memory from kdb.
Not all MMIO mapped devices supports byte access.
MFC after:4 weeks
Modified:
Author: mmel
Date: Fri Jun 19 16:15:06 2020
New Revision: 362387
URL: https://svnweb.freebsd.org/changeset/base/362387
Log:
Improve DesignWare PCIe driver:
- only normal memory window is mandatory, prefetchable memory and
I/O windows should be optional
- full PCIe configuration space is
Author: mmel
Date: Fri Jun 19 15:32:55 2020
New Revision: 362386
URL: https://svnweb.freebsd.org/changeset/base/362386
Log:
Add specific stub for ARMADA 8k SoC to Marvell RTC driver.
The AXI bridge is different between ARMADA 38x and 8K, and both platforms
needs specific setup to mitigate
{ NULL, 0 }
};
Added: head/sys/arm/mv/mvebu_gpio.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/mv/mvebu_gpio.cFri Jun 19 15:21:33 2020
(r362385)
@@ -0,0 +1,869 @@
+/*-
Author: mmel
Date: Fri Jun 19 14:28:56 2020
New Revision: 362384
URL: https://svnweb.freebsd.org/changeset/base/362384
Log:
Add DTB files for ARMADA 8040 based boards.
MFC after:2 weeks
Modified:
head/sys/modules/dtb/mv/Makefile
Modified: head/sys/modules/dtb/mv/Makefile
Author: mmel
Date: Thu Jun 11 12:53:22 2020
New Revision: 362053
URL: https://svnweb.freebsd.org/changeset/base/362053
Log:
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 can modify it.
MFC
On 29.04.2020 17:20, Konstantin Belousov wrote:
> On Wed, Apr 29, 2020 at 02:06:42PM +0000, Michal Meloun wrote:
>> Author: mmel
>> Date: Wed Apr 29 14:06:42 2020
>> New Revision: 360463
>> URL: https://svnweb.freebsd.org/changeset/base/360463
>>
>>
Author: mmel
Date: Wed Apr 29 16:05:50 2020
New Revision: 360469
URL: https://svnweb.freebsd.org/changeset/base/360469
Log:
Move ARM specific flags to arm/Makefile.inc
Requested by: kib
MFC with: r360463
Modified:
head/libexec/rtld-elf/Makefile
Author: mmel
Date: Wed Apr 29 14:36:50 2020
New Revision: 360467
URL: https://svnweb.freebsd.org/changeset/base/360467
Log:
Fix style(9). Strip write only variables.
Not a functional change.
MFC after:1 week
Modified:
head/sys/dev/dwc/if_dwc.c
head/sys/dev/dwc/if_dwcvar.h
Author: mmel
Date: Wed Apr 29 14:31:25 2020
New Revision: 360466
URL: https://svnweb.freebsd.org/changeset/base/360466
Log:
Export tracing facility of GIC500 ITS block.
Possibility of tracing of processing message based interrupts is very
useful for debugging of PCIe driver, mainly for its
Author: mmel
Date: Wed Apr 29 14:14:15 2020
New Revision: 360464
URL: https://svnweb.freebsd.org/changeset/base/360464
Log:
Don't try to set frequendcy for enumerated but newer started CPUs.
Openfirmare enumerates and installs the driver for all processors,
regardless of whether they
Author: mmel
Date: Wed Apr 29 14:06:42 2020
New Revision: 360463
URL: https://svnweb.freebsd.org/changeset/base/360463
Log:
Don't allow to use FPU inside of rtld library.
Clang10 may use FPU instructions for optimizing operations with
memory blocks. But we don't want to do lengthy
Author: mmel
Date: Wed Apr 29 13:45:21 2020
New Revision: 360462
URL: https://svnweb.freebsd.org/changeset/base/360462
Log:
Don't try to re-initialize already preseted regulator.
Don't set initial voltage for regulators having their voltage already
in allowed range. As side effect of
Author: mmel
Date: Wed Apr 29 13:43:15 2020
New Revision: 360461
URL: https://svnweb.freebsd.org/changeset/base/360461
Log:
Multiple fixes for rockchip iodomain driver:
- always initialize selector of voltage signaling standard.
Various versions of U-boot leaves voltage signaling standard
Author: mmel
Date: Sat Apr 25 09:17:49 2020
New Revision: 360293
URL: https://svnweb.freebsd.org/changeset/base/360293
Log:
Reorder initialization steps for given pin.
If pin is switched from fixed function to GPIO, it should have prepared
direction, pull-up/down and default value before
Author: mmel
Date: Mon Mar 9 13:36:45 2020
New Revision: 358807
URL: https://svnweb.freebsd.org/changeset/base/358807
Log:
Add the missing brackets to the logical expression.
Reported by: clang10 via dim
MFC with: r355755
Modified:
head/sys/arm64/rockchip/rk_pcie.c
Modified:
Author: mmel
Date: Wed Jan 8 07:25:37 2020
New Revision: 356483
URL: https://svnweb.freebsd.org/changeset/base/356483
Log:
Switch 32-bit arm back to LLVM libunwind.
Actual LLVM libunwind passed all testing without issues, switch back to it.
PR: 233664
Modified:
Author: mmel
Date: Mon Dec 16 14:08:49 2019
New Revision: 355803
URL: https://svnweb.freebsd.org/changeset/base/355803
Log:
Fix LLVM libunwnwind _Unwind_Backtrace symbol version for ARM.
In original GNU libgcc, _Unwind_Backtrace is published with GCC_3.3 version
for all architectures but
Author: mmel
Date: Sun Dec 15 14:28:38 2019
New Revision: 355774
URL: https://svnweb.freebsd.org/changeset/base/355774
Log:
Properly synchronize completion DMA buffers.
Within command completion processing the callback function may access
DMAed data buffer. Synchronize it before use, not
(r355755)
@@ -0,0 +1,1411 @@
+/*-
+ * 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
1 - 100 of 361 matches
Mail list logo