summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2020-07-03Pass the expected 'scsibus_attach_args *' to scsibus_attach() viaKenneth R Westerback
config_found(), not a 'scsi_link *'. Part of matthew@'s 2010 work.
2020-07-02timecounting: make the dummy counter interrupt- and MP-safecheloha
The dummy counter should be deterministic with respect to interrupts and multiple threads of execution.
2020-07-02Add RAMDISK config for powerpc64.Mark Kettenis
2020-07-02Shuffle things around so that sc->sc_link initialization isKenneth R Westerback
even more concentrated just before config_found().
2020-07-02Make the copyin(9) functions work when crossing a segment boundary.Mark Kettenis
2020-07-02For now an empty file is good enough to get libkvm to build on powerpc64.Mark Kettenis
2020-07-02Use IPL_TTY, at least for now, as the only consumer of OPAL interruptsMark Kettenis
is opalcons(4).
2020-07-02Shuffle things around so that sc->sc_link initialization isKenneth R Westerback
even more concentrated just before config_found().
2020-07-02Fix pte_lookup() for pages using the secondary hash.Mark Kettenis
Reduce dmesg spam a bit now that I'm hitting the secondary hash.
2020-07-02Shuffle things around so that sc->sc_link initialization isKenneth R Westerback
done just before config_found(), as all other drivers do.
2020-07-02Shuffle things around so that sc->sc_link initialization isKenneth R Westerback
done just before config_found(), as all other drivers do.
2020-07-02remove unused timespec interfaces no longer in linuxJonathan Gray
2020-07-02powerpc64 has ci_idepthJonathan Gray
2020-07-02Preseed modify bits in pmap_enter(9). For some reason the hardware bitsMark Kettenis
aren't propagated properly. This hack makes things work such that we can make progress in other areas while we figure out why.
2020-07-02Whitespace.Mark Kettenis
2020-07-02use intr_barrier(9) for synchronize_irq() and synchronize_hardirq()Jonathan Gray
2020-07-02drm/amdgpu/display: Unlock mutex on errorJonathan Gray
From John van der Kamp 6b5d1b40a668add6275072a71d0e17fb9e15de67 in linux 5.7.y/5.7.7 ee434a4f9f5ea15b0f84bddd8c012838cf9472c5 in mainline linux
2020-07-02drm/amdgpu: add fw release for sdma v5_0Jonathan Gray
From Wenhui Sheng cfece0241468bc49d339c3c90ead98278063ae0f in linux 5.7.y/5.7.7 edfaf6fa73f15568d4337f208b2333f647c35810 in mainline linux
2020-07-02drm/fb-helper: Fix vt restoreJonathan Gray
From Daniel Vetter 7b6902118146835fa67b52f624576d30b1c9e09f in linux 5.7.y/5.7.7 dc5bdb68b5b369d5bc7d1de96fa64cc1737a6320 in mainline linux
2020-07-02drm/radeon: fix fb_div check in ni_init_smc_spll_table()Jonathan Gray
From Denis Efremov 02e8880ca700a561947b0a136ddf749df6b8f9fa in linux 5.7.y/5.7.7 35f760b44b1b9cb16a306bdcc7220fbbf78c4789 in mainline linux
2020-07-02drm/amd: fix potential memleak in err branchJonathan Gray
From Bernard Zhao 27998cb2e9c678cb65698c1965a7d7b931e0a671 in linux 5.7.y/5.7.7 b5b78a6c8d8cb9c307bc6b16a754603424459d6e in mainline linux
2020-07-02drm/amd/display: Enable output_bpc property on all outputsJonathan Gray
From Stylon Wang 937007f09e254ee46a1cacc1d71be2381848f5a8 in linux 5.7.y/5.7.7 5ae9c378c3d88b40af72f8e8f961808e29f3e70b in mainline linux
2020-07-02drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()Jonathan Gray
From Denis Efremov 7f5ee8efd85ec10914b324e4f2722dc4d22b12da in linux 5.7.y/5.7.7 43a562774fceba867e8eebba977d7d42f8a2eac7 in mainline linux
2020-07-01Bring boot() in line with other architectures such that we actuallyMark Kettenis
sync disks when we reboot and don't end up with dirty filesystems.
2020-07-01atomic_swap_uint should still use a lwarx/stwcx. pair.Mark Kettenis
2020-07-01Implement CLKF_INTR, CLKF_USERMODE and CLKF_PC.Mark Kettenis
2020-07-01Increase/decrease ci_idepth before/after calling interrupt handlers.Mark Kettenis
2020-07-01Switch to using a fixed segment for the copyin(9) functions.Mark Kettenis
2020-07-01Make kcopy(9) copy (32-bit) words when possible such that copyin(9) andMark Kettenis
copyout(9) of futex variables becomes atomic.
2020-07-01disable logical ring contexts on cherryview/braswellJonathan Gray
avoids gpu hangs seen when starting Xorg seen with 4.19 and 5.7 drm 'intel_engine_reset *NOTICE* Resetting rcs0 for stopped heartbeat on rcs0' reported by multiple people on bugs@ workaround tested by Martin Ziemer and myself
2020-07-01If the adapter card needs to keep track of its own id on the bus, orKenneth R Westerback
the width of the bus it is providing, it should rely on info in its softc. i.e. not on info in the prototype scsi_link that is passed out for other bits of the kernel to fiddle with. Most drivers already do this. Make it so for the laggards iha(4) and siop(4). Actually use the existing softc value in wd33c93.c. No intentional functional change.
2020-06-30Fix two places where carp backup state is misspelled in comments.Sebastian Benoit
ok claudio@
2020-06-30When we sleep during one of the copyin(9) functions, another process mayMark Kettenis
come in and steal the SLB entry that we use to temporarily map userland adresses in the kernel. Handle this case by reinserting the entry when we get a data segment interrupt.
2020-06-30No need to do anything FPU-related when we exit.Mark Kettenis
2020-06-30Use a lone stdcx. instruction to clear possible userland reservations uponMark Kettenis
context switch.
2020-06-30Flush OPAL console when writing kernel messages. Removes annoying delayMark Kettenis
before kernel messages show up on the serial console.
2020-06-30Nuke unneeded 'sa_inqbuf' member of struct scsi_attach_args. It alwaysKenneth R Westerback
points to the inquiry data contained in the struct scsi_link pointed to by the other member, sa_sc_link.
2020-06-30Garbage collect SDEV_S_WAITING, last used in scsi_base.c r1.167 inKenneth R Westerback
2010. Part of matthew@'s reverted scsiconf.h r1.146.
2020-06-30Remove obsolete <machine/stdarg.h> header. Nowadays the varargVisa Hankala
functionality is provided by <sys/stdarg.h> using compiler builtins. Tested in a ports bulk build on amd64 by naddy@ OK naddy@ mpi@
2020-06-30Retire unused <mips64/dev/clockvar.h> interface.Visa Hankala
2020-06-30Use <dev/clock_subr.h> in octrtc(4).Visa Hankala
OK pirofti@
2020-06-30Remove unused declaration.mvs
ok deraadt yasuoka
2020-06-30use intr_restore() when restoring interruptsJonathan Gray
ok kettenis@
2020-06-30don't warn on entry to drm_fb_helper_set_suspend_unlocked()Jonathan Gray
we don't have a console lock like linux does
2020-06-30When a transfer times out, the TRB should be aborted, too. But stillGerhard Roth
the completion interrupt may already be pending while aborting. Hence, in xhci_event_command() ignore events from a TRB that is not the expected one. And don't let xhci_abort_command() yield the CPU. ok mpi@
2009-07-31By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2020-06-30Add size to free(9) callkn
Size taken from if_creategroup(); OK mvs
2020-06-30attach on ConnectX-6 Dx, tested by Hrvoje PopovskiJonathan Matthew
2020-06-30regenJonathan Matthew
2020-06-30add Mellanox ConnectX-6 Dx, from Hrvoje PopovskiJonathan Matthew