summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update tests after sizing changes to the fixed VHD format.marcel2015-06-1128-309/+314
|
* Handle the case in which ncyls is 0.marcel2015-06-111-3/+5
| | | | While here, update copyright.
* For the fixed VHD format, round the raw image size to the nextmarcel2015-06-111-42/+59
| | | | | | | multiple of the cylinder size. This is what qemu-img seems to be doing. Make sure to handle boundary cases where increasing the image size by 1 cyclinder's worth would also result in a change of geometry.
* Use INCLUDEDIR rather than hard coded /usr/includesjg2015-06-112-4/+4
| | | | | Differential Revision: D2748 Reviewed by: brooks imp
* Pass the ACPI table pointer to the arm64 kernel from loader.efi.andrew2015-06-111-1/+39
| | | | Sponsored by: The FreeBSD Foundation
* Stop using VFP in pcpu.h when we mean ARMv6 and later.andrew2015-06-111-3/+3
|
* Fix the spelling of __ARM_ARCH >= 6 in sys/arm/arm.andrew2015-06-116-7/+11
|
* pf: Save the protocol number in the pf_fragmentkp2015-06-111-0/+1
| | | | | | | | | When we try to look up a pf_fragment with pf_find_fragment() we compare (see pf_frag_compare()) addresses (and family), id but also protocol. We failed to save the protocol to the pf_fragment in pf_fragcache(), resulting in failing reassembly. Differential Revision: https://reviews.freebsd.org/D2772
* drop key_sa_stir_iv as it isn't used...jmg2015-06-112-9/+0
| | | | Reviewed by: eri, ae
* Consider sorting.br2015-06-111-1/+1
|
* Split out db_unwind_frame() so it can be used by DTrace.br2015-06-114-23/+63
| | | | | Sponsored by: ARM Ltd. Differential Revision: https://reviews.freebsd.org/D2741
* Tweaks for r284178:kib2015-06-111-3/+2
| | | | | | | | | | | | | Do not include machine/atomic.h explicitely, the header is already included by sys/systm.h. Force inlining of tc_getgen() and tc_setgen(). The functions are used more than once, which causes compilers with non-aggressive inlining policies to generate calls. Suggested by: bde Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Remove NO_OBJsjg2015-06-1120-27/+0
| | | | | | | For meta mode we will want objdirs. Differential Revision: D2748 Reviewed by: brooks imp
* Merge bmake-20150606sjg2015-06-1114-41/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only change to bmake is man page - document .OBJDIR target. We also get latest dirdeps.mk and friends. > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Differential Revision: https://reviews.freebsd.org/D### (*full* phabric URL needed). > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > MFH: Ports tree branch name. Request approval for merge. > Relnotes: Set to 'yes' for mention in release notes. > Security: Vulnerability reference (one per line) or description. > Sponsored by: If the change was sponsored by an organization. > Empty fields above will be automatically removed. _M contrib/bmake M contrib/bmake/ChangeLog M contrib/bmake/Makefile M contrib/bmake/bmake.1 M contrib/bmake/bmake.cat1 M contrib/bmake/make.1 M contrib/bmake/mk/ChangeLog M contrib/bmake/mk/dirdeps.mk M contrib/bmake/mk/gendirdeps.mk M contrib/bmake/mk/install-mk M contrib/bmake/mk/meta.stage.mk M contrib/bmake/mk/meta.sys.mk M contrib/bmake/mk/mkopt.sh M contrib/bmake/targ.c M usr.bin/bmake/Makefile
* Add accessor functions for iterating over segments. A segmentmarcel2015-06-115-12/+245
| | | | | can be in bus address space, physical memory space or virtual memory space.
* r284198 seems to have left a null format string printf that gcc does *not*sbruno2015-06-111-1/+0
| | | | | | | like breaking mips builds. Submitted by: Shawn Webb <shawn.webb@hardenedbsd.org> Obtained from: HardenedBSD
* Remove unnecessary variable and fix the usage of sysctl(3).araujo2015-06-111-7/+5
| | | | | Differential Revision: D2733 Reviewed by: ngie, kib
* Consistently use trailing whitespace in passphrase prompts.brueffer2015-06-111-1/+1
| | | | | | PR: 193496 Submitted by: Fabian Keil MFC after: 1 week
* Correct Hawaii's admission day.brueffer2015-06-111-1/+1
| | | | | PR: 192651 MFC after: 1 week
* ichsmb: add Intel Wellsburg device ID.rpaulo2015-06-101-0/+4
| | | | | | Submitted by: Michael Allen <mallen pi-coral.com> MFC after: 1 week Sponsored by: Pi-Coral, Inc.
* ichsmb: remove whitespace.rpaulo2015-06-101-2/+2
|
* Load the allocated memory and return both the physicalmarcel2015-06-102-4/+24
| | | | address and the bus address to the application.
* Fix a callout race condition introduced in TCP timers callouts with r281599.jch2015-06-102-16/+45
| | | | | | | | | | | | In TCP timer context, it is not enough to check callout_stop() return value to decide if a callout is still running or not, previous callout_reset() return values have also to be checked. Differential Revision: https://reviews.freebsd.org/D2763 Reviewed by: hiren Approved by: hiren MFC after: 1 day Sponsored by: Verisign, Inc.
* MFV r284234:delphij2015-06-1070-532/+1294
|\ | | | | | | | | | | Update file to 5.23. MFC after: 2 weeks
| * Vendor import of file 5.23.delphij2015-06-1069-529/+1279
| |
* | Bump FreeBSD_version due to lim_* API changes in r284215mjg2015-06-101-1/+1
| |
* | Add support for '_' occurring at the beginning or end of a nameume2015-06-101-3/+3
| | | | | | | | | | | | | | | | component. PR: 176093 Submitted by: landonf__at__bikemonkey.org MFC after: 1 week
* | Rename bus_space to bus (i.e. drop _space). This makes themarcel2015-06-108-29/+29
| | | | | | | | | | API match the convenience macros in <sys/bus.h>. Bus space can now reference both bus and busdma.
* | Allow DTrace to be compiled-in to the kernel.br2015-06-1011-23/+150
| | | | | | | | | | | | | | | | This will require for AArch64 as we dont have modules yet. Sponsored by: HEIF5 Sponsored by: ARM Ltd. Differential Revision: https://reviews.freebsd.org/D1997
* | linux: make sure to grab all cow structs when creating a threadmjg2015-06-101-1/+1
| | | | | | | | | | | | This is a fixup for r284214. Reported and tested by: Ivan Klymenko <fidaj ukr.net>
* | List kinfo_getfile.c only once.brooks2015-06-101-1/+1
| | | | | | | | | | MFC after: 3 days Sponsored by: DARPA, AFRL
* | pf: address family must be set when creating a pf_fragmentkp2015-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a panic when handling fragmented ip4 packets with 'drop-ovl' set. In that scenario we take a different branch in pf_normalize_ip(), taking us to pf_fragcache() (rather than pf_reassemble()). In pf_fragcache() we create a pf_fragment, but do not set the address family. This leads to a panic when we try to insert that into pf_frag_tree because pf_addr_cmp(), which is used to compare the pf_fragments doesn't know what to do if the address family is not set. Simply ensure that the address family is set correctly (always AF_INET in this path). PR: 200330 Differential Revision: https://reviews.freebsd.org/D2769 Approved by: philip (mentor), gnn (mentor)
* | Fix build after converting ls(1) to use libxo(3).marcel2015-06-101-1/+1
| |
* | o Rework ARMv7 events list using aliases - same way as we have for arm64.br2015-06-105-110/+424
| | | | | | | | o Extend it with Cortex A9-specific events.
* | Fixup the build after r284215.mjg2015-06-102-3/+3
| | | | | | | | Submitted by: Ivan Klymenko <fidaj ukr.net> [slighly modified]
* | Implement lockless resource limits.mjg2015-06-1037-173/+152
| | | | | | | | | | | | | | | | | | | | Use the same scheme implemented to manage credentials. Code needing to look at process's credentials (as opposed to thred's) is provided with *_proc variants of relevant functions. Places which possibly had to take the proc lock anyway still use the proc pointer to access limits.
* | Generalised support for copy-on-write structures shared by threads.mjg2015-06-1016-31/+85
| | | | | | | | | | | | | | | | | | Thread credentials are maintained as follows: each thread has a pointer to creds and a reference on them. The pointer is compared with proc's creds on userspace<->kernel boundary and updated if needed. This patch introduces a counter which can be compared instead, so that more structures can use this scheme without adding more comparisons on the boundary.
* | Don't re-define LOCORE when dtrace is built-in to the kernel.br2015-06-101-1/+0
| |
* | fd: remove fdesc_mtxmjg2015-06-101-4/+0
| |
* | fd: use atomics to manage fd_refcnt and fd_holcntmjg2015-06-102-29/+27
| | | | | | | | This gets rid of fdesc_mtx.
* | Correct a type error in kmem_unback(). Previously, kmem_unback() did notalc2015-06-101-2/+1
| | | | | | | | | | | | | | | | | | correctly handle deallocation requests of two or more gigabytes in size. Eventually, this would lead to a panic elsewhere in the kernel, such as "vm_radix_insert: key <vm_pindex_t> is already present". Reported by: Ilias Marinos MFC after: 1 week
* | Convert ls(1) to use libxo(3).marcel2015-06-106-104/+190
| | | | | | | | | | Obtained from: Phil Shafer <phil@juniper.net> Sponsored by: Juniper Networks, Inc.
* | Add options to dmb() and dsb() macros on ARM64zbb2015-06-093-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | Using plain dsb()/dmb() as full system barriers is usually to much. Adding proper options to those barriers (instead of full system - sy) will most likely reduce the cost of the instructions and will benefit in performance improvement. This commit adds options to barrier macro definitions. Obtained from: Semihalf Reviewed by: andrew, ian Sponsored by: The FreeBSD Foundation
* | Check status of AcpiReadBitRegister() calls.jkim2015-06-091-4/+6
| | | | | | | | | | Reported by: Coverity CID: 1306132
* | Add support for reading MAM attributes to camcontrol(8) and libcam(3).ken2015-06-0916-8/+2036
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAM is Medium Auxiliary Memory and is most commonly found as flash chips on tapes. This includes support for reading attributes and decoding most known attributes, but does not yet include support for writing attributes or reporting attributes in XML format. libsbuf/Makefile: Add subr_prf.c for the new sbuf_hexdump() function. This function is essentially the same function. libsbuf/Symbol.map: Add a new shared library minor version, and include the sbuf_hexdump() function. libsbuf/Version.def: Add version 1.4 of the libsbuf library. libutil/hexdump.3: Document sbuf_hexdump() alongside hexdump(3), since it is essentially the same function. camcontrol/Makefile: Add attrib.c. camcontrol/attrib.c: Implementation of READ ATTRIBUTE support for camcontrol(8). camcontrol/camcontrol.8: Document the new 'camcontrol attrib' subcommand. camcontrol/camcontrol.c: Add the new 'camcontrol attrib' subcommand. camcontrol/camcontrol.h: Add a function prototype for scsiattrib(). share/man/man9/sbuf.9: Document the existence of sbuf_hexdump() and point users to the hexdump(3) man page for more details. sys/cam/scsi/scsi_all.c: Add a table of known attributes, text descriptions and handler functions. Add a new scsi_attrib_sbuf() function along with a number of other related functions that help decode attributes. scsi_attrib_ascii_sbuf() decodes ASCII format attributes. scsi_attrib_int_sbuf() decodes binary format attributes, and will pass them off to scsi_attrib_hexdump_sbuf() if they're bigger than 8 bytes. scsi_attrib_vendser_sbuf() decodes the vendor and drive serial number attribute. scsi_attrib_volcoh_sbuf() decodes the Volume Coherency Information attribute that LTFS writes out. sys/cam/scsi/scsi_all.h: Add a number of attribute-related structure definitions and other defines. Add function prototypes for all of the functions added in scsi_all.c. sys/kern/subr_prf.c: Add a new function, sbuf_hexdump(). This is the same as the existing hexdump(9) function, except that it puts the result in an sbuf. This also changes subr_prf.c so that it can be compiled in userland for includsion in libsbuf. We should work to change this so that the kernel hexdump implementation is a wrapper around sbuf_hexdump() with a statically allocated sbuf with a drain. That will require a drain function that goes to the kernel printf() buffer that can take a non-NUL terminated string as input. That is because an sbuf isn't NUL-terminated until it is finished, and we don't want to finish it while we're still using it. We should also work to consolidate the userland hexdump and kernel hexdump implemenatations, which are currently separate. This would also mean making applications that currently link in libutil link in libsbuf. sys/sys/sbuf.h: Add the prototype for sbuf_hexdump(), and add another copy of the hexdump flag values if they aren't already defined. Ideally the flags should be defined in one place but the implemenation makes it difficult to do properly. (See above.) Sponsored by: Spectra Logic Corporation MFC after: 1 week
* | "status_reg.acpwr ? 1 : 0" is now the same as just "status_reg.acpwr".sobomax2015-06-091-1/+1
| |
* | Fix a typo in a comment that has been carried over from am335x_pmic.c.sobomax2015-06-091-1/+1
| |
* | Use tab to do identation consistently.sobomax2015-06-091-1/+1
| |
* | Extend TPS65217 support to be able to pull and decode batterysobomax2015-06-092-41/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | charger configuration and provide some basic control knobs to set charger voltage and dump config on boot. Two loader tunables have been added: o hw.am335x_pmic.bootverbose set to 1 to get more info on the boot; o hw.am335x_pmic.vo: set to charger voltage to be applied on kernel initialization time, supported values are "4.10V", "4.15V", "4.20V" and "4.25V". Cleanup code a bit in general, move TPS65217 register definitions into a separate header, convert bit-banging defines into bitmap structures. Also threat the case when power source is neither "AC" nor "USB" as "Battery", not "Unknown".
* | Account for superpage mappings that are created by pmap_copy().alc2015-06-093-0/+3
| |
OpenPOWER on IntegriCloud