summaryrefslogtreecommitdiffstats
path: root/sys/arm
Commit message (Collapse)AuthorAgeFilesLines
* Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all theimp2010-04-081-0/+2
| | | | other platforms.
* Oops! Wrong copy-paste in r206053.mav2010-04-011-1/+1
|
* Fill extended ATA command registers in cPRD to support 48bit commands.mav2010-04-011-0/+5
|
* Build modules for this config to make sure they stay buildable...imp2010-03-291-1/+1
|
* Pass the correct pointer to fled_cb().rpaulo2010-03-261-1/+1
|
* Change the arguments of exec_setregs() so that it receives a pointernwhitehorn2010-03-251-3/+3
| | | | | | | | to the image_params struct instead of several members of that struct individually. This makes it easier to expand its arguments in the future without touching all platforms. Reviewed by: jhb
* Make sure we insert and remove the PV entries related to unmanaged kernelcognet2010-03-211-3/+5
| | | | | mappings into the kernel pmap, not into the pmap related to the pmap_enter_pv()/pmap_remove_pv() call.
* Add support for the Samsung S3C2xx0 family of ARM SoCs written byimp2010-03-2021-0/+3664
| | | | | | | | Andrew Turner. The kernel supports the LN2410SBC evaluation board, and likely others. These parts (or similar ones) are in some open hardware designs for phones. Submitted by: Andrew Turner
* fix type in commentticso2010-03-121-1/+1
|
* Fix ARM cache handling yet more.raj2010-03-112-2/+9
| | | | | | | | | | | | 1) vm_machdep.c: remove the dangling allocations so they do not un-necessarily turn off the cache upon consecutive access. 2) busdma_machdep.c: remove the same amount than shadow mapped. Reported by: Maks Verver Submitted by: Mark Tinguely Reviewed by: Grzegorz Bernacki MFC after: 3 days
* Let detailed info about CPU features print on Marvell Sheeva CPU as well.raj2010-03-111-0/+2
| | | | | | | Provide missing entry in the cpu_classes[]. Reported by: Maks Verver MFC after: 1 week
* Provide correct TCLK value for Kirkwood A1 silicon revision.raj2010-03-052-2/+4
| | | | | | | While there improve SOC ID output accordingly. Obtained from: Semihalf MFC after: 1 week
* simplify hash calculationticso2010-02-281-5/+1
|
* remove debug leftoverticso2010-02-281-1/+0
|
* Fix multicast hashes.ticso2010-02-281-2/+17
| | | | Atmel uses a simple xor hash instead of the typical crc based one.
* Do not force verbose and single mode in non-metadata boot case.raj2010-02-241-2/+1
| | | | We want to go multi-user by default also in case of booting without loader(8).
* Update the commented out option for omitting the sysctl descriptions; itbrucec2010-02-243-3/+3
| | | | | | was committed as NO_SYSCTL_DESCR. Approved by: rrs (mentor)
* Fix previous commit: led_func() doesn't exist, it should be fled_cb().rpaulo2010-02-221-1/+1
| | | | Pointed out by: bz
* Show the cpu info for fa526kevlo2010-02-203-1/+7
| | | | Submitted by: Yohanes Nugroho <yohanes at gmail dot com>
* Correct both FA526/FA626TE cpu ids since the cpu id is alwayskevlo2010-02-201-2/+2
| | | | masked with 0xfffffff0
* The NetBSD Foundation has granted permission to remove clauses 3 and 4.imp2010-02-1616-112/+0
| | | | Obtained from: NetBSD
* Adjust style (following the already existing rules) for the newlyattilio2010-02-1514-14/+14
| | | | | | introduced option DEADLKRES. Reported by: danfe, julian, avg
* Correct cpu id for FA526.kevlo2010-02-141-1/+2
| | | | While I'm here, add cpu id for FA626TE.
* Add the options DEADLKRES (introducing the deadlock resolver thread) inattilio2010-02-1016-0/+16
| | | | | | | | | | the 'debugging' section of any HEAD kernel and enable for the mainstream ones, excluding the embedded architectures. It may, of course, enabled on a case-by-case basis. Sponsored by: Sandvine Incorporated Requested by: emaste Discussed with: kib
* Turn on the front LED at boot time like we do with the Avila.rpaulo2010-02-101-0/+2
|
* Improve checking whether an ARM VA has a valid mapping before performing cacheraj2010-02-071-74/+42
| | | | | | | | | | | | | | | | | | | | sync. VIPT/PIPT caches need valid VA-PA mapping in PTE for a cache operation to succeed (unlike VIVT). Prior to this fix pmap was using l2pte_valid() for that check, but this is not sufficient as the function merely checks if a PTE exists (there can be existing but _invalid_ entries in the table). A new pmap_has_valid_mapping() routine is introduced to do this job right by checking proper PTE flags. Among other potential problems this cures coherency issues with L2 caches on MV-78100. Submitted by: Grzegorz Bernacki, Piotr Ziecik Reviewed, tested by: marcel Obtained from: Semihalf MFC after: 1 week
* When backtracing self, start with the current frame (i.e. themarcel2010-01-291-1/+1
| | | | | | frame of db_trace_self()) and not the caller's frame. The use of builtin_frame_address(1) to get the caller's frame is not reliable and can cause panics.
* Move the examples for the 'hints' and 'env' keywords from various GENERICjhb2010-01-196-12/+0
| | | | | | kernel configs into NOTES. Reviewed by: imp
* Do not free the dmamap if it is still busy.cognet2010-01-151-1/+1
| | | | | Submitted by: Mark Tinguely MFC after: 3 days
* Revert 200594. This file isn't intended for these sorts of things.imp2010-01-041-7/+0
|
* Remove CNS11XXNAS.hints.rpaulo2010-01-042-3/+0
|
* Add support for Cavium Econa CNS11XX ARM boards. These boards wererpaulo2010-01-0422-3/+5368
| | | | | | | | | | previously know by StarSemi STR9104. Tested by the submitter on an Emprex NSD-100 board. Submitted by: Yohanes Nugroho <yohanes at gmail.com> Reviewed by: freebsd-arm, stas Obtained from: //depot/projects/str91xx/...
* Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.rnoland2009-12-291-2/+2
| | | | | | | | | | | | | This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t. Purge d_mmap2(). All driver modules will need to be rebuilt since D_VERSION is also bumped. Reviewed by: jhb@ MFC after: Not in this lifetime...
* Intel XScale hwpmc(4) support.rpaulo2009-12-234-6/+51
| | | | | | | | | | | This brings hwpmc(4) support for 2nd and 3rd generation XScale cores. Right now it's enabled by default to make sure we test this a bit. When the time comes it can be disabled by default. Tested on Gateworks boards. A man page is coming. Obtained from: //depot/user/rpaulo/xscalepmc/...
* Add INCLUDE_CONFIG_FILE, and a note in comments about how to alsodougb2009-12-161-0/+7
| | | | include the comments with CONFIGARGS
* Fix the build.mav2009-12-081-2/+13
|
* MFp4:mav2009-12-061-10/+4
| | | | | | | | | | | | | | | | | | Introduce ATA_CAM kernel option, turning ata(4) controller drivers into cam(4) interface modules. When enabled, this options deprecates all ata(4) peripheral drivers (ad, acd, ...) and interfaces and allows cam(4) drivers (ada, cd, ...) and interfaces to be natively used instead. As side effect of this, ata(4) mode setting code was completely rewritten to make controller API more strict and permit above change. While doing this, SATA revision was separated from PATA mode. It allows DMA-incapable SATA devices to operate and makes hw.ata.atapi_dma tunable work again. Also allow ata(4) controller drivers (except some specific or broken ones) to handle larger data transfers. Previous constraint of 64K was artificial and is not really required by PCI ATA BM specification or hardware. Submitted by: nwitehorn (powerpc part)
* Add missing ath_ar9* ath hal entries.thompsa2009-12-021-0/+1
|
* Remove unknown ath hal device entries.thompsa2009-12-021-3/+0
|
* Simplify the invocation of vm_fault(). Specifically, eliminate the flagalc2009-11-271-2/+1
| | | | | | | VM_FAULT_DIRTY. The information provided by this flag can be trivially inferred by vm_fault(). Discussed with: kib
* - Initialize callout before it is used in atestop() during attach.jhb2009-11-191-9/+5
| | | | | | | | - Reorder detach so that ether_ifdetach() is called first. This removes the race that ATE_FLAG_DETACHING closed, so that flag can be removed. - Trim a duplicate clearing of IFF_DRV_RUNNING. Reviewed by: imp
* These drivers only set if_timer but never set if_watchdog. Just removejhb2009-11-191-2/+0
| | | | the assignments to if_timer.
* Extract the code that records syscall results in the frame into MDkib2009-11-102-36/+54
| | | | | | | | | | | function cpu_set_syscall_retval(). Suggested by: marcel Reviewed by: marcel, davidxu PowerPC, ARM, ia64 changes: marcel Sparc64 tested and reviewed by: marius, also sunv reviewed MIPS tested by: gonzo MFC after: 1 month
* Fix gdb_cpu_getreg() to actually match GDB's registermarcel2009-11-051-3/+7
| | | | definition.
* Implement db_trace_thread() by calling db_stack_trace_cmd() andmarcel2009-11-051-6/+3
| | | | | passing a frame pointer that comes from the thread context. This fixes DDB backtraces by not unwinding debugger functions first.
* Implement db_trace_self() by calling db_stack_trace_cmd()marcel2009-11-051-1/+4
| | | | and not db_trace_thread().
* Eliminate an unnecessary vm include file.alc2009-11-044-4/+0
|
* MFp4:mav2009-10-311-7/+6
| | | | | | | | - Remove most of direct relations between ATA(4) peripherial and controller levels. It makes logic more transparent and is a mandatory step to wrap ATA(4) controller level into ATA-native CAM SIM. - Tune AHCI and SATA2 SiI drivers memory allocation a bit to allow bigger I/O transaction sizes without additional cost.
* In r197963, a race with thread being selected for signal deliverykib2009-10-271-6/+1
| | | | | | | | | | | | | while in kernel mode, and later changing signal mask to block the signal, was fixed for sigprocmask(2) and ptread_exit(3). The same race exists for sigreturn(2), setcontext(2) and swapcontext(2) syscalls. Use kern_sigprocmask() instead of direct manipulation of td_sigmask to reschedule newly blocked signals, closing the race. Reviewed by: davidxu Tested by: pho MFC after: 1 month
* Review previous change. It has no relation to the I-cache coherencymarcel2009-10-211-1/+1
| | | | | | changes and thus unintentional. Spotted by: rdivacky@
OpenPOWER on IntegriCloud