Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 05:27:47 UTC Now

2018-08-29 17:04:45 UTC netbsd-7 commitmail json YAML

Adjust path for mdoc.local

(martin)

2018-08-29 16:51:51 UTC MAIN commitmail json YAML

Note added for a strange value of residual counts in successful read/write.
Seems like a H/W bug. The best thing we can do would be to leave the code as is.

No binary changes.

(rin)

2018-08-29 16:26:25 UTC MAIN commitmail json YAML

2018-08-29 15:52:27 UTC MAIN commitmail json YAML

2018-08-29 15:46:31 UTC MAIN commitmail json YAML

Let's try not to use uninitialized memory as a bus size, shall we?

From rjs@.

(riastradh)

2018-08-29 15:40:37 UTC netbsd-7 commitmail json YAML

2018-08-29 15:37:27 UTC netbsd-7 commitmail json YAML

Revert previous, this is the wrong place

(martin)

2018-08-29 14:53:46 UTC MAIN commitmail json YAML

Return timeout left, not error, if fence is already signaled.

fence_add_callback returns -ENOENT if fence is already signaled;
radeon_fence_default_wait is supposed to wait until fence is
signaled; this means its job is done.

Should fix spurious ENOENT in DRM_IOCTL_RADEON_GEM_WAIT_IDLE (or
_IOW('d',0x64,0x8) for you ktracers out there).

(riastradh)

2018-08-29 13:27:28 UTC netbsd-7 commitmail json YAML

2018-08-29 13:23:58 UTC netbsd-7 commitmail json YAML

Add a bunch of NetBSD versions

(martin)

2018-08-29 12:59:12 UTC netbsd-7 commitmail json YAML

Fix swapped version numbers, remove huge and useless "We are" section.
Bump date.

(martin)

2018-08-29 11:29:27 UTC MAIN commitmail json YAML

2018-08-29 11:08:30 UTC MAIN commitmail json YAML

Initialize transition slew rate if specified in the DT

(jmcneill)

2018-08-29 09:05:17 UTC MAIN commitmail json YAML

Make sure getnewbuf() runs bawrite() inside fstrans.
Use fstrans_start_nowait() to skip buffers that would block.

(hannken)

2018-08-29 09:04:40 UTC MAIN commitmail json YAML

Add two new states FSS_CREATING and FSS_DESTROYING and use them
while creating or destroying a snapshot.

Remove now unneeded sc_lock that made fss_ioctl mutually exclusive.

Fss_ioctl no longer blocks forever because a snapshot gets
created or destroyed.

Serialize snapshot creation and make it interruptible.

(hannken)

2018-08-29 09:04:03 UTC MAIN commitmail json YAML

Convert flags FSS_ACTIVE and FSS_ERROR into new member sc_state
with states FSS_IDLE, FSS_ACTIVE and FSS_ERROR.

No functional change intended.

(hannken)

2018-08-29 09:03:15 UTC MAIN commitmail json YAML

Fix a bug that media change may fail. I noticed that ifconfig ixgN media XXX
took a 10 or more seconds on a Denverton machie. I occurred by trying take a
lock and timed out. The reason was that ixgbe_media_change() didn't take
CORE_LOCK. Do it.

This problem was from FreeBSD's pre-iflib ixgbe (I don't know whether this
problem really occurs on FreeBSD or not). Post-iflib ixgbe has no problem
because iflib_media_change() takes a lock.

XXX pullup-8

(msaitoh)

2018-08-29 07:58:14 UTC netbsd-7-0 commitmail json YAML

2018-08-29 07:57:14 UTC netbsd-7-1 commitmail json YAML

2018-08-29 07:55:51 UTC netbsd-7-0 commitmail json YAML

Apply patch, requested by mrg in ticket #1635:

xsrc/external/mit/libX11/dist/src/FontNames.c
xsrc/external/mit/libX11/dist/src/GetFPath.c
xsrc/external/mit/libX11/dist/src/LiHosts.c
xsrc/external/mit/libX11/dist/src/ListExt.c

Apply fixes from libX11 1.6.5 for the following vulnerabilities:
Fixed off-by-one writes (CVE-2018-14599)
Validation of server response in XListHosts
Fixed out of boundary write (CVE-2018-14600)
Fixed crash on invalid reply (CVE-2018-14598)
(Backport of upstream git commits b469da1430cdcee06e31c6251b83aede072a1ff0,
d81da209fd4d0c2c9ad0596a8078e58864479d0d,
dbf72805fd9d7b1846fe9a11b46f3994bfc27fea,
e83722768fd5c467ef61fa159e8c6278770b45c2 resp)

(martin)

2018-08-29 07:55:08 UTC netbsd-7-1 commitmail json YAML

Apply patch, requested by mrg in ticket #1635:

xsrc/external/mit/libX11/dist/src/FontNames.c
xsrc/external/mit/libX11/dist/src/GetFPath.c
xsrc/external/mit/libX11/dist/src/LiHosts.c
xsrc/external/mit/libX11/dist/src/ListExt.c

Apply fixes from libX11 1.6.5 for the following vulnerabilities:
Fixed off-by-one writes (CVE-2018-14599)
Validation of server response in XListHosts
Fixed out of boundary write (CVE-2018-14600)
Fixed crash on invalid reply (CVE-2018-14598)
(Backport of upstream git commits b469da1430cdcee06e31c6251b83aede072a1ff0,
d81da209fd4d0c2c9ad0596a8078e58864479d0d,
dbf72805fd9d7b1846fe9a11b46f3994bfc27fea,
e83722768fd5c467ef61fa159e8c6278770b45c2 resp)

(martin)

2018-08-29 06:28:51 UTC MAIN commitmail json YAML

Remove the constants of the DMAP, they are unused, and move NL4_SLOT_DIRECT
into amd64/.

(maxv)

2018-08-29 06:17:26 UTC MAIN commitmail json YAML

Simplify the ASLR stuff, we don't care about resizable areas now, and it
makes the code more complicated for no good reason.

(maxv)

2018-08-29 06:16:40 UTC MAIN commitmail json YAML

Update coherency_unit if needed.

Pointed out by skrll@

(ryo)

2018-08-29 01:58:54 UTC MAIN commitmail json YAML

Add (commented out) EARLYCONS entry for rk3399

(jmcneill)

2018-08-29 01:58:17 UTC MAIN commitmail json YAML

2018-08-29 01:57:38 UTC MAIN commitmail json YAML

Add driver for Silergy SY827/SY828 step down regulator.

(jmcneill)

2018-08-28 20:59:21 UTC MAIN commitmail json YAML

move spin_lock_destroy() of the nouveau_fence_chan into
nouveau_fence_context_put() so it's available until all uses are done.
fixes a panic at reboot time.  idea from riastradh@.

(nv still has a off screen.)

(mrg)

2018-08-28 20:11:58 UTC MAIN commitmail json YAML

TODO.sanitizers: Mark switch of syscall(2)/__syscall(2) to libc done

Implemented in pkgsrc-wip, patches will land upstream review.

(kamil)

2018-08-28 16:25:19 UTC netbsd-8 commitmail json YAML

2018-08-28 16:24:24 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #994):
sys/arch/prep/prep/machdep.c: revision 1.76
sys/arch/prep/prep/mainbus.c: revision 1.34
Fix initialization order so we can boot again on IBM PPS Model 6015
(which needs pci interrupt fixup quirks).
From Artyom Tarasenko.

(snj)

2018-08-28 15:04:58 UTC MAIN commitmail json YAML

For module build assume multiprocessor.

(riastradh)

2018-08-28 15:04:02 UTC MAIN commitmail json YAML

Issue __insn_barrier after loading hardclock_ticks.

For some reason this isn't volatile...

(riastradh)

2018-08-28 15:03:39 UTC MAIN commitmail json YAML

Assert EWOULDBLOCK happens only with timeout.

(riastradh)

2018-08-28 14:57:04 UTC MAIN commitmail json YAML

Fix arm non-MULTIPROCESSOR build for RPI2

(skrll)

2018-08-28 14:45:33 UTC MAIN commitmail json YAML

Fix arguments to align and align_offset for pmap_l2ptp_cache, i.e.align
is now L2_TABLE_SIZE_REAL and align_offset is now 0.  (There were
reversed previously)

(skrll)

2018-08-28 14:23:03 UTC MAIN commitmail json YAML

With no timeout, fence_default_wait must return 1 on success, never 0.

(riastradh)

2018-08-28 13:29:22 UTC netbsd-8 commitmail json YAML

2018-08-28 13:27:24 UTC netbsd-8 commitmail json YAML

Apply patch, requested by mrg in ticket #995:

xsrc/external/mit/libX11/dist/src/FontNames.c
xsrc/external/mit/libX11/dist/src/GetFPath.c
xsrc/external/mit/libX11/dist/src/LiHosts.c
xsrc/external/mit/libX11/dist/src/ListExt.c

Apply fixes from libX11 1.6.5 for the following vulnerabilities:
Fixed off-by-one writes (CVE-2018-14599)
Validation of server response in XListHosts
Fixed out of boundary write (CVE-2018-14600)
Fixed crash on invalid reply (CVE-2018-14598)
(Backport of upstream git commits b469da1430cdcee06e31c6251b83aede072a1ff0,
d81da209fd4d0c2c9ad0596a8078e58864479d0d,
dbf72805fd9d7b1846fe9a11b46f3994bfc27fea,
e83722768fd5c467ef61fa159e8c6278770b45c2 resp)

(martin)

2018-08-28 13:23:34 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #993):

sbin/fdisk/fdisk.c: revision 1.155

Add missing -z flag to usage()

(martin)

2018-08-28 13:21:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #992):

external/bsd/top/dist/top.1.in: revision 1.11
sbin/gpt/main.c: revision 1.12
sbin/amrctl/amrctl.c: revision 1.11
bin/df/df.c: revision 1.93
sbin/fsck_ext2fs/fsck_ext2fs.8: revision 1.21
sbin/fsck_ext2fs/main.c: revision 1.38
bin/ksh/ksh.Man: revision 1.26
bin/ln/ln.c: revision 1.40
bin/df/df.1: revision 1.48
bin/df/df.1: revision 1.49

Document the WCPU field.

Match SYNOPSIS with usage()

-G cannot be specified alongside -i or -P.
Heads up by <leot>

Add -l to SYNOPSIS

Update usage to include -w

Match sequence as per SYNOPSIS in manual

Remove reference to -c flag which was never implemented.

Remove references to -c flag which was never included.

Add the -T flag to usage()

(martin)

2018-08-28 13:17:03 UTC netbsd-7 commitmail json YAML

2018-08-28 13:14:50 UTC netbsd-7 commitmail json YAML

Apply patch, requested by mrg in ticket #1635:

xsrc/external/mit/libX11/dist/src/FontNames.c
xsrc/external/mit/libX11/dist/src/GetFPath.c
xsrc/external/mit/libX11/dist/src/LiHosts.c
xsrc/external/mit/libX11/dist/src/ListExt.c

Apply fixes from libX11 1.6.5 for the following vulnerabilities:
Fixed off-by-one writes (CVE-2018-14599)
Validation of server response in XListHosts
Fixed out of boundary write (CVE-2018-14600)
Fixed crash on invalid reply (CVE-2018-14598)
(Backport of upstream git commits b469da1430cdcee06e31c6251b83aede072a1ff0,
d81da209fd4d0c2c9ad0596a8078e58864479d0d,
dbf72805fd9d7b1846fe9a11b46f3994bfc27fea,
e83722768fd5c467ef61fa159e8c6278770b45c2 resp.)

(martin)

2018-08-28 11:11:18 UTC MAIN commitmail json YAML

2018-08-28 09:42:11 UTC MAIN commitmail json YAML

2018-08-28 09:25:21 UTC MAIN commitmail json YAML

Remove stuff now in sys/external/bsd/common

(skrll)

2018-08-28 09:10:28 UTC MAIN commitmail json YAML

2018-08-28 08:50:46 UTC MAIN commitmail json YAML

2018-08-28 08:48:43 UTC MAIN commitmail json YAML

Sort KERN_* macros according to severity (worst first)

(skrll)

2018-08-28 08:45:20 UTC MAIN commitmail json YAML

set mmap_arg.flags before calling DRM_IOCTL_I915_GEM_MMAP.

(mrg)

2018-08-28 08:37:53 UTC MAIN commitmail json YAML

s/drm // in the KERN_* macros as this is common

(skrll)

2018-08-28 08:20:27 UTC MAIN commitmail json YAML

2018-08-28 08:17:10 UTC MAIN commitmail json YAML

Fix non-DIAGNOSTIC build

(skrll)

2018-08-28 07:28:01 UTC MAIN commitmail json YAML

No need to update mlen also in the case of (meln & 16) != 0.

(rin)

2018-08-28 05:52:12 UTC MAIN commitmail json YAML

2018-08-28 03:48:38 UTC MAIN commitmail json YAML

2018-08-28 03:41:40 UTC MAIN commitmail json YAML

Rework PCI and AGP conditionalization.

- Push drm_pci_set_unique into driver callback.
- Eliminate drm_pci_set_unique_hook.
- Gather all drm_agp_* functions into struct drm_agp_hooks.
- Replace the nonsensical old atomic garbage by serious locking.
- Make drm_agpsupport.c its own module.
- Eliminate NDRMKMS_PCI.
- Use NAGP from "agp.h" only in drm_module.c for horrible hack.
  => See comment in file for rationale.
- Always define CONFIG_PCI=1 and CONFIG_AGP=1.
- Always go through the drm_agp_* function hooks.
- Ifdef out nouveau agp stuff that doesn't go through drm_agp_*
  for reasons that I'm too frustrated to figure out tonight.
- pci_iomap no longer automagically does agp_i810_borrow.
  => Use drm_agp_borrow instead.

(riastradh)

2018-08-28 03:35:08 UTC MAIN commitmail json YAML

2018-08-28 03:34:53 UTC MAIN commitmail json YAML

Return the node we found.  From tnn@.

(riastradh)

2018-08-28 03:34:40 UTC MAIN commitmail json YAML

2018-08-28 03:34:07 UTC MAIN commitmail json YAML

Move nouveau pci initialization to nouveau_pci where it belongs.

Somehow I forgot this was a separate module.

(riastradh)

2018-08-28 03:33:54 UTC MAIN commitmail json YAML

2018-08-28 01:24:39 UTC MAIN commitmail json YAML

Remove call to fdt_pack, it is causing problems with memory detection

(jmcneill)

2018-08-27 22:51:55 UTC MAIN commitmail json YAML

Fix typo in a panic string.

(alnsn)

2018-08-27 22:41:56 UTC MAIN commitmail json YAML

Copy bootaa64.efi to releasedir

(jmcneill)

2018-08-27 22:40:51 UTC MAIN commitmail json YAML

2018-08-27 22:36:49 UTC MAIN commitmail json YAML

Install ELF kernel to the FFS partition and boot it with bootaa64.efi
instead of loading kernel.img from the MSDOS partition with extlinux.conf

(jmcneill)

2018-08-27 22:22:16 UTC MAIN commitmail json YAML

Fix lying comment; the point of the KERN_FILE2 sysctl, or much of it,
is to not expose struct file directly.

(dholland)

2018-08-27 17:47:48 UTC MAIN commitmail json YAML

annotate pthread_exit as __dead (to appease clang)

(tnn)

2018-08-27 17:17:25 UTC MAIN commitmail json YAML

Fix initialization order so we can boot again on IBM PPS Model 6015
(which needs pci interrupt fixup quirks).
From Artyom Tarasenko.

(martin)

2018-08-27 17:13:07 UTC MAIN commitmail json YAML

2018-08-27 16:46:13 UTC MAIN commitmail json YAML

delete __{ge,lt,gt,le,eq,ne,unordt}tf2.
these should not be defined in libc.

pointed out by joerg@. thanks.

(ryo)

2018-08-27 16:30:51 UTC MAIN commitmail json YAML

Add amdgpu to amd64/ALL.

(riastradh)

2018-08-27 16:29:18 UTC MAIN commitmail json YAML

Add amdgpu to i386/ALL.

(riastradh)

2018-08-27 16:20:35 UTC MAIN commitmail json YAML

Ifdef out pnpbios for now.  Presumably needs to use bus_space_alloc.

(riastradh)

2018-08-27 16:16:16 UTC MAIN commitmail json YAML

Expand to __nothing, not to empty.

(riastradh)

2018-08-27 16:16:02 UTC MAIN commitmail json YAML

Include some needful header files and forward declarations.

(riastradh)

2018-08-27 16:15:48 UTC MAIN commitmail json YAML

Use offsetof, not undefined behaviour.

(riastradh)

2018-08-27 16:15:35 UTC MAIN commitmail json YAML

Simulate bus_space_read_8 with two bus_space_read_4 on 32-bit x86.

(riastradh)

2018-08-27 16:15:23 UTC MAIN commitmail json YAML

Convert to uintmax_t if we're going to use %jx.

(riastradh)

2018-08-27 16:15:09 UTC MAIN commitmail json YAML

2018-08-27 16:14:55 UTC MAIN commitmail json YAML

Omit print with wrong format -- vestige of merge.

(riastradh)

2018-08-27 16:06:01 UTC MAIN commitmail json YAML

2018-08-27 16:04:45 UTC MAIN commitmail json YAML

Bump config(5) version for OPT.foo.c variables.

(riastradh)

2018-08-27 16:04:32 UTC MAIN commitmail json YAML

Tag with nouveau, not just nouveau_pci, to get CWARNFLAGS.nouveau.

(riastradh)

2018-08-27 15:50:39 UTC MAIN commitmail json YAML

Add the -T flag to usage()

(sevan)

2018-08-27 15:45:06 UTC MAIN commitmail json YAML

2018-08-27 15:43:37 UTC MAIN commitmail json YAML

need to add VM_PROT_READ when pmap_kenter_pa(va, pa, VM_PROT_WRITE, 0) or pmap_kenter_pa(va, pa, VM_PROT_EXECUTE, 0).
VM_PROT_READ is treated as an access permission inernally.

(ryo)

2018-08-27 15:32:51 UTC MAIN commitmail json YAML

Make sure to create and destroy the lock too...

(riastradh)

2018-08-27 15:32:39 UTC MAIN commitmail json YAML

2018-08-27 15:32:20 UTC MAIN commitmail json YAML

Implement BUS_DMA_TO_PHYS/PHYS_TO_BUS_DMA on arm respecting ranges.

(riastradh)

2018-08-27 15:32:06 UTC MAIN commitmail json YAML

Tread carefully around DMA subregions.

Not all platforms support it.

- If we want to limit to 32-bit DMA, just use a known 32-bit DMA tag.
- If we want to limit to >32-bit DMA, but the host only has a known
  32-bit DMA tag, then just use that anyway.
- If we want to limit to >32-bit DMA, but the host doesn't support
  bus_dmatag_subregion, then just use the 32-bit DMA tag anyway.

Gives powerpc, sparc a chance of working.

(riastradh)

2018-08-27 15:31:51 UTC MAIN commitmail json YAML

2018-08-27 15:31:27 UTC MAIN commitmail json YAML

2018-08-27 15:29:54 UTC MAIN commitmail json YAML

2018-08-27 15:29:42 UTC MAIN commitmail json YAML

Unhook upstream drm_pci.c, apparently overridden by files.drmkms_pci.

(riastradh)

2018-08-27 15:29:31 UTC MAIN commitmail json YAML

At chuq's suggestion, use paddr_t rather than struct vm_page *.

Doesn't make much of a substantive difference.

(riastradh)

2018-08-27 15:29:19 UTC MAIN commitmail json YAML

2018-08-27 15:29:08 UTC MAIN commitmail json YAML

sparc seems to treat bus/phys addrs in bus dmamem the same.

This is just about bus dmamem -- not about bus dmamap, which rightly
uses an iommu to remap things and which we don't interfere with.

(riastradh)

2018-08-27 15:28:53 UTC MAIN commitmail json YAML

Ifdef out label used only by !__HAVE_MM_MD_DIRECT_MAPPED_PHYS.

(riastradh)

2018-08-27 15:28:39 UTC MAIN commitmail json YAML

Work around broken null bus_dmatag_destroy expansion.

(riastradh)

2018-08-27 15:28:27 UTC MAIN commitmail json YAML

Expand docstring for reservation_object_poll.

(riastradh)

2018-08-27 15:28:16 UTC MAIN commitmail json YAML

Let's try not to step on each others' toes, shall we?

(riastradh)

2018-08-27 15:28:03 UTC MAIN commitmail json YAML

Clarify what bus_dmat and dmat are.

(riastradh)

2018-08-27 15:27:43 UTC MAIN commitmail json YAML

Use dmat, not bus_dmat, to respect drm_limit_dma_space.

(riastradh)

2018-08-27 15:27:28 UTC MAIN commitmail json YAML

Eliminate now-unused bus_dmamap_load_pgarray.

(riastradh)

2018-08-27 15:27:16 UTC MAIN commitmail json YAML

drm_gem_cma_create_internal can fail.

(riastradh)

2018-08-27 15:27:04 UTC MAIN commitmail json YAML

Include amdgpu_prime.c now that it will compile.

(riastradh)

2018-08-27 15:26:50 UTC MAIN commitmail json YAML

Rework drm prime guts.

- Our faux struct sg_table is now just an array of _pages_, not of
  bus dma segments.

- We handle bus dma segments only in the presence of an adult bus dma
  tag.

- All bus dma hacks are once again confined to bus_dma_hacks.h, and
  more neatly organized:
  . bus_dmamem_export_pages translates bus dma segs to vm_page array
  . bus_dmamem_import_pages translates vm_page array to bus dma segs

(riastradh)

2018-08-27 15:26:33 UTC MAIN commitmail json YAML

2018-08-27 15:26:16 UTC MAIN commitmail json YAML

2018-08-27 15:26:00 UTC MAIN commitmail json YAML

Fill out drm_prime_* API a little more for NetBSD.

Add comment explaining our use of struct sg_table.

(riastradh)

2018-08-27 15:25:43 UTC MAIN commitmail json YAML

Workqueue lock must be at IPL_VM for use in interrupts, duh.

(riastradh)

2018-08-27 15:25:28 UTC MAIN commitmail json YAML

Work around broken SDT_PROBE* in !KDTRACE_HOOKS until we merge HEAD.

(riastradh)

2018-08-27 15:25:14 UTC MAIN commitmail json YAML

2018-08-27 15:24:53 UTC MAIN commitmail json YAML

2018-08-27 15:24:40 UTC MAIN commitmail json YAML

Simplify.  Destroy the mutex too.

(riastradh)

2018-08-27 15:24:27 UTC MAIN commitmail json YAML

Factor mfence out.  Simplify a little.

(riastradh)

2018-08-27 15:24:11 UTC MAIN commitmail json YAML

Return the fd we just allocated.

(riastradh)

2018-08-27 15:23:57 UTC MAIN commitmail json YAML

Need sync after a series of dcbf's on powerpc.

(riastradh)

2018-08-27 15:23:40 UTC MAIN commitmail json YAML

Forgot to commit drm_trace_netbsd.h.  Too late to force an update...

(riastradh)

2018-08-27 15:22:55 UTC MAIN commitmail json YAML

src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_display.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_drv.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gem.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_ttm.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/drm_gem.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/drm2/dist/drm/drm_internal.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/drm_ioctl.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/drm_prime.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.27 / diff / nxr@1.27
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c@1.54 / diff / nxr@1.54
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_dmabuf.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_gem.c@1.8 / diff / nxr@1.8
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_drv.c@1.8 / diff / nxr@1.8
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_gem.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/drm2/dist/include/drm/drmP.h@1.27 / diff / nxr@1.27
      :
(more 11 files)
Draft support for drm prime.

(riastradh)

2018-08-27 15:16:49 UTC MAIN commitmail json YAML

Remove references to -c flag which was never included.

(sevan)

2018-08-27 15:13:17 UTC MAIN commitmail json YAML

2018-08-27 15:13:05 UTC MAIN commitmail json YAML

Omit vestigial diff from radeon_mode.h.

(riastradh)

2018-08-27 15:12:35 UTC MAIN commitmail json YAML

Convert to long for format expedience.

(riastradh)

2018-08-27 15:12:21 UTC MAIN commitmail json YAML

Try agp_i810_borrow only if CONFIG_AGP is enabled.

(riastradh)

2018-08-27 15:12:09 UTC MAIN commitmail json YAML

2018-08-27 15:11:58 UTC MAIN commitmail json YAML

Use PHYS_TO_BUS_MEM in generic bus_dmamap_load_pglist code.

For arm and x86, this is a noop.  For powerpc, it is defined by some
relevant header file.

(riastradh)

2018-08-27 15:11:46 UTC MAIN commitmail json YAML

Implement drm_md_clflush_* for powerpc with dcbf.

(riastradh)

2018-08-27 15:11:33 UTC MAIN commitmail json YAML

Use Linux atomic64 for ww mutex class.

This way we can take advantage of the hash-locked atomic64 on
platforms that lack native atomic_inc_64_nv.

(riastradh)

2018-08-27 15:11:17 UTC MAIN commitmail json YAML

2018-08-27 15:11:04 UTC MAIN commitmail json YAML

2018-08-27 15:10:53 UTC MAIN commitmail json YAML

Fix argument types of atomic64_add/sub to be sensible.

Technically Linux does use long long rather than int64_t, but that's
silly.

(riastradh)

2018-08-27 15:10:41 UTC MAIN commitmail json YAML

2018-08-27 15:10:26 UTC MAIN commitmail json YAML

2018-08-27 15:10:12 UTC MAIN commitmail json YAML

2018-08-27 15:09:59 UTC MAIN commitmail json YAML

Work around a namespacing clash between dtrace and linux symbol.

(riastradh)

2018-08-27 15:09:35 UTC MAIN commitmail json YAML

2018-08-27 15:08:54 UTC MAIN commitmail json YAML

2018-08-27 15:08:25 UTC MAIN commitmail json YAML

Delete spurious file accidentally committed.

(riastradh)

2018-08-27 15:07:59 UTC MAIN commitmail json YAML

dtrace sdt probes for linux rcu.

(riastradh)

2018-08-27 15:07:44 UTC MAIN commitmail json YAML

Don't skimp on the last batch of work when worker is dying.

This is capitalism.  We can't afford to waste time the worker could
spend on labour even if we work 'em to death!

(riastradh)

2018-08-27 15:07:29 UTC MAIN commitmail json YAML

Work around broken empty expansion of SDT_PROBE* if !KDTRACE_HOOKS.

(riastradh)

2018-08-27 15:07:12 UTC MAIN commitmail json YAML

sdt dtrace probes for linux kmap.

(riastradh)

2018-08-27 15:06:54 UTC MAIN commitmail json YAML

sdt dtrace probes for linux idr.

(riastradh)

2018-08-27 15:06:37 UTC MAIN commitmail json YAML

Sprinkle dtrace probes all over the Linux workqueue stuff.

(riastradh)

2018-08-27 15:06:20 UTC MAIN commitmail json YAML

Fix post-cancellation case of queue_delayed_work.

Request the callout queue immediately, as if it hadn't been cancelled
at all, rather than reschedule for the next tick.

(riastradh)

2018-08-27 15:06:02 UTC MAIN commitmail json YAML

Rework Linux workqueue synchronization yet again.

- Use a low bit in the pointer to the queue, rather than whether the
  pointer is null or not, to determine whether the work item is
  queued/scheduled.

- _Preserve_ the pointer to the queue after we release the work.

- Release the work _before_ executing the function, not after.

This simplifies some things: we no longer have to distinguish whether
the work is queued or running in the functions where we are trying to
modify it.  The pointer has to be preserved even after the work is
released so that we can flush the workqueue after the work has been
released.

(riastradh)

2018-08-27 15:05:45 UTC MAIN commitmail json YAML

Fix flush_delayed_work semantics: run it now if it was scheduled.

(riastradh)

2018-08-27 15:05:30 UTC MAIN commitmail json YAML

Reorder fields to get better space savings than bit fields.

(riastradh)

2018-08-27 15:05:16 UTC MAIN commitmail json YAML

Document workqueue semantics as I understand it.

(riastradh)

2018-08-27 15:05:02 UTC MAIN commitmail json YAML

Avoid the prospect of callout calls piling up.

Don't ever callout_schedule the callout while an existing call may be
in progress.

Echo some cases from cancel_delayed_work in flush_delayed_work.

(riastradh)

2018-08-27 15:04:45 UTC MAIN commitmail json YAML

Don't let more than one thread claim credit for cancellation.

(riastradh)

2018-08-27 15:04:32 UTC MAIN commitmail json YAML

Factor out waiting for current work.

(riastradh)

2018-08-27 15:04:19 UTC MAIN commitmail json YAML

2018-08-27 15:03:59 UTC MAIN commitmail json YAML

2018-08-27 15:03:45 UTC MAIN commitmail json YAML

Deduplicate callout initialization.

(riastradh)

2018-08-27 15:03:33 UTC MAIN commitmail json YAML

Handle a bazillion additional cases I hadn't considered.

There's a lot of duplication here.  To be deduplicated in a
subsequent commit.

(riastradh)

2018-08-27 15:03:21 UTC MAIN commitmail json YAML

Fix semantics of flush_work and flush_delayed_work.

- Change return type to void.
  => Upstream it is bool, but exactly one of hundreds of callers
    actually use it, and I don't think the semantics is clear.

- Make sure to wait for whichever of the current work _and_ the next
  batch queued is currently there in the workqueue.

- Don't retry a cancelled callout.  Cancellation in the state
  DELAYED_WORK_CANCELLED is guaranteed.

(riastradh)

2018-08-27 15:03:07 UTC MAIN commitmail json YAML

Reverse the sense of some branches for simplicity.

(riastradh)

2018-08-27 15:02:52 UTC MAIN commitmail json YAML

Fix bugs in workqueue destruction.

(riastradh)

2018-08-27 15:02:38 UTC MAIN commitmail json YAML

Fully initialize workqueue struct. Zalloc for paranoia.

(riastradh)

2018-08-27 15:02:19 UTC MAIN commitmail json YAML

No need to retry in cancel_delayed_work_sync after all.

(riastradh)

2018-08-27 15:02:08 UTC MAIN commitmail json YAML

Deduplicate post-cancellation logic.

(riastradh)

2018-08-27 15:01:47 UTC MAIN commitmail json YAML

Don't touch a work after it is released.

(riastradh)

2018-08-27 15:01:13 UTC MAIN commitmail json YAML

Non-waiting cancellation may need to release work too.

(riastradh)

2018-08-27 15:00:58 UTC MAIN commitmail json YAML

After cancel and callout_halt, may need to reload workqueue.

(riastradh)

2018-08-27 15:00:27 UTC MAIN commitmail json YAML

Don't wait forever to flush if the worker thread has no work.

(riastradh)

2018-08-27 14:59:58 UTC MAIN commitmail json YAML

2018-08-27 14:59:20 UTC MAIN commitmail json YAML

Exercise greater care in acquiring and releasing work.

(riastradh)

2018-08-27 14:59:04 UTC MAIN commitmail json YAML

Check ifp->if_capenable, not ifp->if_capabilities, when enable some features.
Not a real problem since ifp->if_capabilities = 0 at the moment.

(rin)

2018-08-27 14:58:57 UTC MAIN commitmail json YAML

2018-08-27 14:58:40 UTC MAIN commitmail json YAML

Add missing namespace for flush_scheduled_work.

(riastradh)

2018-08-27 14:58:24 UTC MAIN commitmail json YAML

Add KASSERT about state after callout fires.

(riastradh)

2018-08-27 14:58:09 UTC MAIN commitmail json YAML

Work is not necessarily queued in flush_work either.

Regularize style: use initializer only if the wq is guaranteed, and
confirmed by KASSERT, to be set

(riastradh)

2018-08-27 14:57:55 UTC MAIN commitmail json YAML

Work is not necessarily queued in cancel_work.

(riastradh)

2018-08-27 14:57:21 UTC MAIN commitmail json YAML

Draft rewrite of Linux workqueue reimplementation.

Just use an explicit thread; don't attempt to fudge it with
workqueue(9).  No doubt there are various mistakes in here, but they
should be easier to get right than the mega-kludgerific nonsense that
preceded this draft.

(riastradh)

2018-08-27 14:55:47 UTC MAIN commitmail json YAML

Add missing -z flag to usage()

(sevan)

2018-08-27 14:54:33 UTC MAIN commitmail json YAML

2018-08-27 14:54:08 UTC MAIN commitmail json YAML

Read from the data register, not the index we just wrote.

(riastradh)

2018-08-27 14:53:54 UTC MAIN commitmail json YAML

Scale offset by size of unit, gen6_pte_t.

(riastradh)

2018-08-27 14:53:30 UTC MAIN commitmail json YAML

Pass the vaddr we mapped to kunmap_px.  Thanks, void *.

(riastradh)

2018-08-27 14:53:12 UTC MAIN commitmail json YAML

Simplify loop with bus_space_set_region_4

Match the original copypasta in intel_ringbuffer.c.

(riastradh)

2018-08-27 14:52:56 UTC MAIN commitmail json YAML

2018-08-27 14:52:40 UTC MAIN commitmail json YAML

2018-08-27 14:52:16 UTC MAIN commitmail json YAML

Split bitmap_set/clear into begin/middle/end sections.

For clarity and speed.  Largely from uwe@ with tweaks from me.

(riastradh)

2018-08-27 14:51:55 UTC MAIN commitmail json YAML

2018-08-27 14:51:34 UTC MAIN commitmail json YAML

2018-08-27 14:51:06 UTC MAIN commitmail json YAML

Name the number of words in bitmap_zero too.

(riastradh)

2018-08-27 14:50:52 UTC MAIN commitmail json YAML

Be consistent about nbits >= bpl.

(riastradh)

2018-08-27 14:50:37 UTC MAIN commitmail json YAML

Name bpl in bitmap_and/or.  Fix and clarify comments.

(riastradh)

2018-08-27 14:50:24 UTC MAIN commitmail json YAML

Try setting and clearing the bits we meant, not other bits.

Fix comments to match intent while we're fixing reality too.

(riastradh)

2018-08-27 14:50:04 UTC MAIN commitmail json YAML

Handle uvm object reference counts in uvm_map more carefully.

Acquire a reference unconditionally first; then let uvm_map consume
it on success, and release it ourselves on failure.

As we did before -- acquiring a fresh reference on success -- another
thread might release the reference with a concurrent uvm_unmap before
we could acquire it back, thereby destroying the object.

XXX pullup-7 in part (i915_gem_fault)
XXX pullup-8 in part (i915_gem_fault)

(riastradh)

2018-08-27 14:49:39 UTC MAIN commitmail json YAML

Pass waitok/nowait flags to bus_dma.  Use boundary=0.

(riastradh)

2018-08-27 14:49:22 UTC MAIN commitmail json YAML

2018-08-27 14:49:05 UTC MAIN commitmail json YAML

2018-08-27 14:48:48 UTC MAIN commitmail json YAML

Make flush_delayed_work actually run it.  Oops.

XXX pullup-7
XXX pullup-8

(riastradh)

2018-08-27 14:48:35 UTC MAIN commitmail json YAML

2018-08-27 14:48:21 UTC MAIN commitmail json YAML