aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix undefined behaviour in several gpio_pin_setflags() routines (underDimitry Andric2013-04-138-16/+16
| | | | | | | | | | | | sys/arm and sys/mips), squelching the clang 3.3 warnings about this. Noticed by: tinderbox and many irate spectators Submitted by: Luiz Otavio O Souza <loos.br@gmail.com> PR: kern/177759 MFC after: 3 days Notes: svn path=/head/; revision=249449
* move the error report to a lower log level... Now you can see when itJohn-Mark Gurney2013-04-132-4/+5
| | | | | | | | | returns an error without getting every single io that went through it.. MFC after: 1 week Notes: svn path=/head/; revision=249440
* Fix the name of the pcb member in the comments.Konstantin Belousov2013-04-132-4/+4
| | | | | | | | Submitted by: Oliver Pinter <oliver.pntr@gmail.com> MFC after: 3 days Notes: svn path=/head/; revision=249439
* MFprojects/camlock r248894:Alexander Motin2013-04-131-4/+2
| | | | | | | Use full freeze while PMP does hard reset. This is only cosmetical change. Notes: svn path=/head/; revision=249438
* Fix changes made in r249408.Jayachandran C.2013-04-131-1/+1
| | | | | | | | | | | | | In some cases, kern_envp is set by the architecture code and env_pos does not contain the length of the static kernel environment. In these cases r249408 causes the kernel to discard the environment. Fix this by updating the check for empty static env to *kern_envp != '\0' Reported by: np@ Notes: svn path=/head/; revision=249436
* Use the MAKEDEV_CHECKNAME flag to check for an invalid device name and returnNeel Natu2013-04-131-2/+6
| | | | | | | | | an error instead of panicking. Obtained from: NetApp Notes: svn path=/head/; revision=249435
* Unbreak tinderbox build after r249420.Jung-uk Kim2013-04-122-2/+0
| | | | Notes: svn path=/head/; revision=249432
* Use the CONNECT method to proxy HTTPS connections through HTTP proxies.Dag-Erling Smørgrav2013-04-121-8/+13
| | | | | | | | PR: bin/80176 Submitted by: Yuichiro NAITO <naito.yuichiro@gmail.com> Notes: svn path=/head/; revision=249431
* Fix build.Sergey Kandaurov2013-04-121-2/+2
| | | | | | | | | | - pass a format string to printf - catch up with constifying uz_name MFC after: 3 days Notes: svn path=/head/; revision=249430
* Cosmetic change: make a comment reference Sandy Bridge *Xeon*Ryan Stone2013-04-121-1/+1
| | | | | | | | Reviewed by: sbruno MFC after: 1 week Notes: svn path=/head/; revision=249428
* Although we perform path compression to reduce the height of the trie andAlan Cox2013-04-121-20/+33
| | | | | | | | | | | | | | | the number of interior nodes, we always create a level zero interior node at the root of every non-empty trie, even when that node is not strictly necessary, i.e., it has only one child. This change is the first step in eliminating those unnecessary level zero interior nodes. Specifically, it updates all of the lookup functions so that they do not require a level zero interior node at the root. Reviewed by: attilio, jeff (an earlier version) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=249427
* Dtrace: resolve const types from fbt and other fixes.Pedro F. Giffuni2013-04-1217-23/+160
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge change from illumos: 3519 DTrace fails to resolve const types from fbt 3520 dtrace internal error -- token type 316 is not a valid D compilation token 3521 clean up dtrace unit tests Illumos Revision: e98f46c Reference: https://www.illumos.org/issues/3519 https://www.illumos.org/issues/3520 https://www.illumos.org/issues/3521 Tested by: Fabian Keil Obtained from: Illumos MFC after: 1 month Notes: svn path=/head/; revision=249426
* | libthr: Remove _thr_rtld_fini(), unused since r245630.Jilles Tjoelker2013-04-122-12/+0
| | | | | | | | Notes: svn path=/head/; revision=249425
| |
| \
*-. \ Upgrade our copy of llvm/clang to trunk r178860, in preparation of theDimitry Andric2013-04-122580-119237/+224887
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished. Notes: svn path=/head/; revision=249423
| | * | Vendor import of clang trunk r178860:vendor/clang/clang-trunk-r178860Dimitry Andric2013-04-082316-60669/+146869
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@178860 Notes: svn path=/vendor/clang/dist/; revision=249261 svn path=/vendor/clang/clang-trunk-r178860/; revision=249262; tag=vendor/clang/clang-trunk-r178860
| * | | Vendor import of llvm trunk r178860:vendor/llvm/llvm-trunk-r178860Dimitry Andric2013-04-084182-203079/+418797
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://llvm.org/svn/llvm-project/llvm/trunk@178860 Notes: svn path=/vendor/llvm/dist/; revision=249259 svn path=/vendor/llvm/llvm-trunk-r178860/; revision=249260; tag=vendor/llvm/llvm-trunk-r178860
* | | | Remove the NVME_IDENTIFY_CONTROLLER and NVME_IDENTIFY_NAMESPACE IOCTLs and ↵Jim Harris2013-04-124-84/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replace them with the NVMe passthrough equivalent. Sponsored by: Intel Notes: svn path=/head/; revision=249422
* | | | Add support for passthrough NVMe commands.Jim Harris2013-04-123-0/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes a new IOCTL to support a generic method for nvmecontrol(8) to pass IDENTIFY, GET_LOG_PAGE, GET_FEATURES and other commands to the controller, rather than separate IOCTLs for each. Sponsored by: Intel Notes: svn path=/head/; revision=249421
* | | | Move the busdma mapping functions to nvme_qpair.c.Jim Harris2013-04-125-85/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes nvme_uio.c completely. Sponsored by: Intel Notes: svn path=/head/; revision=249420
* | | | Remove the NVMe-specific physio and associated routines.Jim Harris2013-04-122-165/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were added early on for benchmarking purposes to avoid the mapped I/O penalties incurred in kern_physio. Now that FreeBSD (including kern_physio) supports unmapped I/O, the need for these NVMe-specific routines no longer exists. Sponsored by: Intel Notes: svn path=/head/; revision=249419
* | | | Add a mutex to each namespace, for general locking operations on the namespace.Jim Harris2013-04-122-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: Intel Notes: svn path=/head/; revision=249418
* | | | Rename the controller's fail_req_lock, so that it can be used for otherJim Harris2013-04-122-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | locking operations on the controller. Sponsored by: Intel Notes: svn path=/head/; revision=249417
* | | | Do not panic when a busdma mapping operation fails.Jim Harris2013-04-122-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, print an error message and fail the associated command with DATA_TRANSFER_ERROR NVMe completion status. Sponsored by: Intel Notes: svn path=/head/; revision=249416
* | | | Move MIPS_MAX_TLB_ENTRIES definition from cpuregs.h to tlb.cJayachandran C.2013-04-122-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having MIPS_MAX_TLB_ENTRIES defined to 128 is misleading, since it used to be 64 in older releases of MIPS architecture (where it could be read from Config1) and can be much more than 128 for the newer processors. For now, move the definition to the only file using it (mips/mips/tlb.c) and define MIPS_MAX_TLB_ENTRIES depending on the MIPS cpu defined. Also add few checks so that we do not write beyond the end of the tlb_state array. This fixes a kernel data corruption seen in Netlogic XLP, which was casued by tlb_save() writing beyond the end of tlb_state array when breaking into debugger. Notes: svn path=/head/; revision=249415
* | | | Add some more dates and relationships.Gavin Atkinson2013-04-121-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: jkoshy, gj, dfr Notes: svn path=/head/; revision=249413
* | | | Fix usage for soreceive(9) - uio must always be non-NULL.Edward Tomasz Napierala2013-04-121-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=249412
* | | | Reflect removing of the counter_u64_subtract() function in the macro.Andrey V. Elsukov2013-04-121-2/+2
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=249411
* | | | Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE'Edward Tomasz Napierala2013-04-1213-54/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and kern.cam.ctl.disable tunable; those were introduced as a workaround to make it possible to boot GENERIC on low memory machines. With ctl(4) being built as a module and automatically loaded by ctladm(8), this makes CTL work out of the box. Reviewed by: ken Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=249410
* | | | Fix incorrect KASSERTs in xlpgeJayachandran C.2013-04-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for crash in Netlogic XLP network accelerator driver when invariants are enabled - use correct the condition for KASSERT. Notes: svn path=/head/; revision=249409
* | | | Fix kenv behavior when there is no static environmentJayachandran C.2013-04-121-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case where there are no static kernel environment entries, the function init_dynamic_kenv() adds an incorrect entry at position 0 of the dynamic kernel environment. This in turn causes kenv(1) to print and empty list even though there are dynamic entries added later. Fix this by checking env_pos in init_dynamic_kenv() and adding dynamic entries only if there are static entries. Notes: svn path=/head/; revision=249408
* | | | sh: Don't modify exit status when break/continue/return passes !.Jilles Tjoelker2013-04-123-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This matches what would happen if ! P were to be replaced with if P; then false; else true; fi. Example: f() { ! return 0; }; f Notes: svn path=/head/; revision=249407
* | | | - Do not bail out if stat(2) fails with ENOENT in the spool directory. ThisPietro Cerutti2013-04-121-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | happens if another atrm process removes a job while we're scanning through the directory. - While at it, optimize a bit the directory scanning, so that we quit looping as soon as all jobs specified in argv have been dealt with. Approved by: cognet Notes: svn path=/head/; revision=249406
* | | | - Switch order of setting real uid and gid. If we set uid first, then wePietro Cerutti2013-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't have enough privileges to set gid. This looks like a long standing bug, just recently revealed by r241852. Approved by: cognet Notes: svn path=/head/; revision=249404
* | | | isa_if.h is indirectly included.Bjoern A. Zeeb2013-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Depend on it to unbreak pc98 builds. Notes: svn path=/head/; revision=249403
* | | | Attempt to clean up spacing and long lines.Gleb Smirnoff2013-04-121-98/+112
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=249400
* | | | Update with several early mentor/mentee relationships and dates commitGavin Atkinson2013-04-121-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bits were granted. Relationships have been provided by the mentees, dates have been sourced from either the mentees or the CVS mailing list archives. Obtained from: mux, wilko, msmith, peter, schweikh Obtained from: gallatin, dfr, murray, jkoshy Notes: svn path=/head/; revision=249399
* | | | Free memory after deleting an address policy entry.Andrey V. Elsukov2013-04-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=249398
* | | | Fix a few typos.Xin LI2013-04-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: gjb MFC after: 3 days Notes: svn path=/head/; revision=249397
* | | | If vmm.ko could not be initialized correctly then prevent the creation ofNeel Natu2013-04-123-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | virtual machines subsequently. Submitted by: Chris Torek Notes: svn path=/head/; revision=249396
* | | | If doing buildworld -DWITH_BMAKE make sure bmake does the build.Simon J. Gerraty2013-04-121-2/+6
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=249395
* | | | Add pciids of the T5 based cards. The ones that I haven't tested withNavdeep Parhar2013-04-111-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cxgbe(4) are disabled for now. This will change. MFC after: 2 weeks Notes: svn path=/head/; revision=249393
* | | | Cosmetic change (s/wrwc/wcwr/;s/WRWC/WCWR/).Navdeep Parhar2013-04-113-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days. Notes: svn path=/head/; revision=249392
* | | | Auto-reduce the holdoff timers that are greater than the maximum valueNavdeep Parhar2013-04-111-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allowed by the hardware. MFC after: 3 days Notes: svn path=/head/; revision=249391
* | | | Generate a LINT for powerpc and for powerpc64.Bjoern A. Zeeb2013-04-112-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Discussed with: nwhitehorn Notes: svn path=/head/; revision=249390
* | | | Always enable TXOK interrupts when setting up TX queues for EDMA NICs.Adrian Chadd2013-04-111-1/+7
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=249386
* | | | cxgbe/tom: Slight simplification of code that calculates options2.Navdeep Parhar2013-04-112-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=249385
* | | | Fix bugs in the elapsed time calculation in ctlstat_standard()Kenneth D. Merry2013-04-111-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointed out by bde: - Casting to long double isn't needed. - The division isn't needed, multiplication can be used. "When 1 nanosecond is in a floating point literal, the whole expression is automatically promoted correctly." - non-KNF indentation (1 tab) for the newly split line - different non-KNF indentation (5 spaces) for the previously split line - exessive parentheses around the division operation - bogus blank line which splits up the etime initialization - general verboseness from the above. Submitted by: bde MFC after: 3 days Notes: svn path=/head/; revision=249384
* | | | Get rid of a couple of stray \n's.Navdeep Parhar2013-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days. Notes: svn path=/head/; revision=249383
* | | | There is no need for elaborate queries and error checking when trying toNavdeep Parhar2013-04-111-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set FW4MSG_ENCAP. MFC after: 3 days Notes: svn path=/head/; revision=249382
* | | | Spelling correctionEd Maste2013-04-112-2/+2
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=249381