summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-02-10Build isp2xxx firmware into separate object files so we only includeJonathan Matthew
one copy when both isp(4) and qla(4) are enabled. This is a temporary measure until qla(4) takes over completely. looked at by miod@ and kettenis@
2014-02-10To prevent lock ordering problems with the kernel lock, we need to make sureMark Kettenis
we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes always raise the ipl to the highest level that has interrupts that grab the kernel lock. This will allow us to have "mpsafe" interrupt handlers at lower priority levels. No change for non-MULTIPROCESSOR kernels. ok miod@
2014-02-10Intel Centrino Wireless-N 2230 support. From Fabian Raetz, with a little bitMark Kettenis
of polishing from yours truly. Tested by Fabian and Benoit Lecocq.
2014-02-10the mac addresses you program with MYXCMD_SET_MCASTGROUP are in a differentDavid Gwynne
format to the one used for MYXCMD_SET_LLADDR. for reasons. this lets ospf work if you dont happen to have PROMISC enabled on your interface like my production firewalls happen to have, which is why i never noticed this before.
2014-02-10drm/ttm: Fix memory type compatibility checkJonathan Gray
From Thomas Hellstrom 04623382c8e829413c2b69f740a9455e2e764ab7 in ubuntu 3.8 59c8e66378fb78adbcd05f0d09783dde6fef282b in mainline linux
2014-02-10drm/ttm: Fix ttm_bo_move_memcpyJonathan Gray
From Thomas Hellstrom 1fe70122dd9b926e84b14d1603202ae2ef2c5edd in ubuntu 3.8 da95c788ef0c645378ffccb7060a0df1a33aee38 in mainline linux
2014-02-10drm/ttm: Handle in-memory region copiesJonathan Gray
From Jakob Bornecrantz f8f0599d88fb76646bdd8b735dc2574ad80c625d in ubuntu 3.8 9a0599ddeae012a771bba5e23393fc52d8a59d89 in mainline linux
2014-02-10drm/ttm: fix the tt_populated check in ttm_tt_destroy()Jonathan Gray
From Ben Skeggs 43a1ab9ba9d7c0d97e7079a09438fe1b4209e318 in ubuntu 3.8 182b17c8dc4e83aab000ce86587b6810e515da87 in mainline linux
2014-02-10drm/radeon: expose render backend mask to the userspaceJonathan Gray
From Marek Olsak 413f46c51b173d8a46135d33fa3adef05f2b1a7e in ubuntu 3.8 439a1cfffe2c1a06e5a6394ccd5d18a8e89b15d3 in mainline linux
2014-02-10arc4random_uniform() returns a value strictly less than its argument; fixPhilip Guenther
arithmetic so that PID_MAX can be reached. ok otto@ zhuk@ miod@
2014-02-10drm/radeon: fix render backend setup for SI and CIKJonathan Gray
From Marek Olsak 88aa6194df73e8dff9f2a1ee47d2775df3d99411 in ubuntu 3.8 9fadb352ed73edd7801a280b552d33a6040c8721 in mainline linux
2014-02-10drm/radeon/atom: fix bus probes when hw_i2c is set (v2)Jonathan Gray
From Alex Deucher 66679b83a6f98615b0e715a156a4cea0456eeb41 in ubuntu 3.8 ffd3d3361d583cb73fa65a5fed3a196ba6f261bb in mainline linux
2014-02-10radeon: workaround pinning failure on low ram gpuJonathan Gray
From Jerome Glisse 9043b83c07a1899bbb094fb4f1c889aab4756a6a in ubuntu 3.8 97b6ff6be9da7675aab339334fda996d6c5077d9 in mainline linux
2014-02-10radeon/i2c: do not count reg index in number of i2c byte we are writing.Jonathan Gray
From Jerome Glisse 9e06f75bc7e94af88c307b6aa8868bea9a782b55 in ubuntu 3.8 fae009d15a44e5f1d938340facf4b8bc7dc69a09 in mainline linux
2014-02-10drm/radeon: don't share PPLLs on DCE4.1Jonathan Gray
From Alex Deucher c1a64c8ef586e888a8d25d994ae8c98f6ef5d563 in ubuntu 3.8 70471860ff9f335c60c004d42ebd48945bfa5403 in mainline linux
2014-02-10drm/radeon: forever loop on error in radeon_do_test_moves()Jonathan Gray
From Dan Carpenter e81db22d989873123a9d9f33d55d86e5db2ff8af in ubuntu 3.8 89cd67b326fa95872cc2b4524cd807128db6071d in mainline linux
2014-02-10drm/radeon: fix typo in CP DMA register headersJonathan Gray
From Alex Deucher 1f549c8c9e500848ac4d79b6069baed001adfd18 in ubuntu 3.8 aa3e146d04b6ae37939daeebaec060562b3db559 in mainline linux
2014-02-10drm/radeon: Make r100_cp_ring_info() and radeon_ring_gfx() safe (v2)Jonathan Gray
From Alex Ivanov 38921933f2075f3c676c1ee1014523f86161b69d in ubuntu 3.8 0eb3448aa6b31fbf24c31756aba7940cac5ad6b8 in mainline linux
2014-02-10drm/radeon: fix panel scaling with eDP and LVDS bridgesJonathan Gray
From Alex Deucher 1746ed29ec8fded44bd8fbc96fe8cd72f55d3031 in ubuntu 3.8 855f5f1d882a34e4e9dd27b299737cd3508a5624 in mainline linux
2014-02-10drm/radeon/si: Add support for CP DMA to CS checker for compute v2Jonathan Gray
From Tom Stellard 0f5c67667c1914c3f133bc2d43199b6d01bfde28 in ubuntu 3.8 e5b9e7503eb1f4884efa3b321d3cc47806779202 in mainline linux
2014-02-10drm/radeon: fix handling of variable sized arrays for router objectsJonathan Gray
From Alex Deucher 34dd5e3b51b02e496c3fb6226b48b1f87fd0dd09 in ubuntu 3.8 fb93df1c2d8b3b1fb16d6ee9e32554e0c038815d in mainline linux
2014-02-10drm/radeon: fix LCD record parsingJonathan Gray
From Alex Deucher ebfd981ed41114cc659e5cefa3d00a88e43c2813 in ubuntu 3.8 95663948ba22a4be8b99acd67fbf83e86ddffba4 in mainline linux
2014-02-10drm/radeon: fix endian bugs in hw i2c atom routinesJonathan Gray
From Alex Deucher c787a54be43fff3f9bd2ad5990ec2c9219417af1 in ubuntu 3.8 4543eda52113d1e2cc0e9bf416f79597e6ef1ec7 in mainline linux
2014-02-10drm/radeon: improve dac adjust heuristics for legacy pdacJonathan Gray
From Alex Deucher f9474faaff4435129181db3000ff57ef2be7ab3e in ubuntu 3.8 03ed8cf9b28d886c64c7e705c7bb1a365fd8fb95 in mainline linux
2014-02-10drm/radeon: Another card with wrong primary dac adjJonathan Gray
From Ondrej Zary e7833340ccf49fcbe2c3b155aa6c51a1f46c2a6c in ubuntu 3.8 f7929f34fa0e0bb6736a2484fdc07d77a1653081 in mainline linux
2014-02-10drm/radeon: fix endian issues with DP handling (v3)Jonathan Gray
From Alex Deucher 65a57d9cbf80a90856ba53e6cee8bfd69f0fc90a in ubuntu 3.8 34be8c9af7b8728465963740fc11136ae90dfc36 in mainline linux
2014-02-09drm/radeon: allow selection of alignment in the sub-allocatorJonathan Gray
From Alex Deucher bc25f63f795ee2c8b7296d0dc1e9afe071dbfa88 in ubuntu 3.8 6c4f978b357bc779c703fda1f200e9179623d3e9 in mainline linux
2014-02-09drm/radeon: allocate SA bo in the requested domainJonathan Gray
From Christian Koenig 1930d5d5f8963e90066412bd39d54b955c09947d in ubuntu 3.8 7220f639c2eca36774dbf65b16fe503bfb40fff5 in mainline linux
2014-02-09Fix copying of the previous pte entries in grow_p1(). Found the hard way byMiod Vallat
sebastia@, this would only affect processes using more than 512KB of stack.
2014-02-09drm/radeon/hdmi: make sure we have an afmt block assignedJonathan Gray
From Alex Deucher 4d178917546b339a5486645f40f32c9cbd1240f1 in ubuntu 3.8 c2b4cacfe9816c1fe378c785ce8a678cf0635ec6 in mainline linux
2014-02-09drm/radeon: update lockup tracking when scheduling in empty ringJonathan Gray
From Jerome Glisse e9273f06f28535968e40f5e58b5018d652c698d2 in ubuntu 3.8 8444d5c69549aa0f0b574cc608742d4669e1cc01 in mainline linux
2014-02-09Make sure to close the default pipe before re-opening it when we wantMartin Pieuchot
to update the address and packet length, fixes a memory leak introduced in revision 1.96.
2014-02-09drm/radeon: do not try to uselessly update virtual memory pagetableJonathan Gray
From Jerome Glisse 015a02ea12ac2be3e53431b763a531c54b277c71 in ubuntu 3.8 3813f5ca9ab7a00e80a17aab34f155453c66c78a in mainline linux
2014-02-09drm/radeon: don't allow audio on DCE6Jonathan Gray
From Alex Deucher 9d34ab597ff1fadbe72bbe5377e208b924d57ef1 in ubuntu 3.8 1cbcca302a318499f20a512847c5d6a510c08c35 in mainline linux
2014-02-09drm/radeon: fix card_posted check for newer asicsJonathan Gray
From Alex Deucher 86330a74c53a09786820c4109ad681e6a62ebd83 in ubuntu 3.8 09fb8bd1a63b0f9f15e655c4fe8d047e5d2bf67a in mainline linux
2014-02-09radeon: Fix system hang issue when using KMS with older cardsJonathan Gray
From Adis Hamzadis c9b986fd9f606cd00492c3c9e95926c654f4e04f in ubuntu 3.8 e49f3959a96dc279860af7e86e6dbcfda50580a5 in mainline linux
2014-02-09Do not allow to unconfigure a device by setting the configurationMartin Pieuchot
number 0, leaving its descriptors pointing to NULL. There's a lot of code in our stack that assumes that the various descriptors are always valid and changing this would be too much work for the moment. Fix an issue reported by Thomas Pfaff, thanks!
2014-02-09Use syncicache() instead of rerolling an almost identical version.Martin Pieuchot
ok miod@
2014-02-09Fix the lock order reversal problem in the code that stops tracedMark Kettenis
multi-threaded processes when they receive a signal: 1. Make the parent of the process (the tracer) wait for all threads to be stopped (in wait4(2)) instead of the thread that received the signal. This prevents us from calling tsleep(9) recursively. 2. Assume that we already hold the kernel lock if the P_SINTR flag is set (just like we already assumed we were holding the scheduler lock) and don't try to grab it again. This should fix the panic that many people reported when debugging multi-threaded programs with gdb(1). ok & lots of help from guenther@
2014-02-09use linux style memory allocations in radeonJonathan Gray
2014-02-09use linux style memory allocations in ttmJonathan Gray
2014-02-09add some more linux compat functions for memory allocationJonathan Gray
2014-02-09regenPhilip Guenther
2014-02-09nanosleep() isn't actually NOLOCK safe yet: tsleep() still requires kernelPhilip Guenther
lock for PCATCH and ktrace(CSW) handling ok kettenis@
2014-02-08Do not bzero() the available memory in pmap_bootstrap(); allocations inMiod Vallat
pmap_bootstrap explicitely bzero them, and there is no need to clear the remaining memory. ok mpi@
2014-02-08For some reason (lack of testing being my #1 candidate), IP32 PROM version 4.18Miod Vallat
ends up with the CKSEG1 function pointer values being wrong. All of them. Wrong, as in, off-by-0x60. Of course, invoking the advertized function pointers leads to interesting results, from bogus panics to invalid pointer dereferences. Attempt to identify this revision by: - checking that all five function pointer values, as set up by bios_ident(), match the 4.18 bogus values; - instructions at said pointer match the 4.18 values. If the test is positive, then the pointer values are replaced with the correct values. This allows O2 systems with 4.18 PROM to correctly powerdown, reboot and halt. Found the hard way by matthieu@ after a PROM upgrade, verified on a second system by me.
2014-02-08Replace ARC_Call2(), used to invoke the `return-to-PROM' routines with aMiod Vallat
PROM-compatible stack, with a sligthly different ARC_Call_Via_Pointer(), which uses a global function pointer variable instead of computing the address from the ARCBios parameter block; said variable being set in bios_ident(). No functional change... yet. Tested on IP22(24), IP30 and IP32.
2014-02-08Use extent_alloc_with_descr(9) and add a mutex to protect the extent.Mark Kettenis
This should make bus_dmamap_load(9) and bus_dmamap_unload(9) "mpsafe".
2014-02-08Add extent_alloc_with_descr(9) as a wrapper aroundMark Kettenis
extent_alloc_subregion_with_descr(9) mirroring extent_alloc(9). ok jmc@
2014-02-08Be conservative about the resources the controller advertises forChris Cappuccio
"type D" Marvel 9580. From Ching Huang, Areca. ok dlg@