summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump the version of config to the latest (3 year old, so upgradeimp2014-02-048-23/+8
| | | | | | worries are long past). Also remove redundant MACHINE= declarations and passing MACHINE/MACHINE_ARCH to module builds. That's now done in common code.
* Add a tunable "hw.mfi.mrsas_enable" to allow mfi(4) to drop priority andambrisko2014-02-043-13/+36
| | | | | | | | | | | | | | | | | | | | allow mrsas(4) from LSI to attach to newer LSI cards that are support by mrsas(4). If mrsas(4) is not loaded into the system at boot then mfi(4) will always attach. If a modified mrsas(4) is loaded in the system. That modification is return "-30" in it's probe since that is between BUS_PROBE_DEFAULT and BUS_PROBE_LOW_PRIORITY. This option is controller by a new probe flag "MFI_FLAGS_MRSAS" in mfi_ident that denotes cards that should work with mrsas(4). New entries that should have this option. This is the first step to get mrsas(4) checked into FreeBSD and to avoid collision with people that use mrsas(4) from LSI. Since mfi(4) takes priority, then mrsas(4) users need to rebuild GENERIC. Using the .disabled="1" method doesn't work since that blocks attaching and the probe gave it to mfi(4). Discussed with: LSI (Kashyap Desai)
* Add qlxgbe(4) and qlxge(4) to the hardware notes.brueffer2014-02-042-0/+6
| | | | MFC after: 1 week
* Regenerate usb.confhselasky2014-02-041-19/+35
| | | | MFC after: 2 days
* Pass MACHINE and MACHINE_ARCH down into the modulesimp2014-02-041-0/+1
|
* Remove trailing tabs causing false grep positivesimp2014-02-041-2/+2
|
* s/standard/optional/ for ohci and echi, since these files are optionalimp2014-02-041-2/+2
| | | | and not standard.
* Add a prior version compat define.imp2014-02-041-0/+3
|
* libc/net: Fix some issues in inet6_opt_init() (from RFC 3542):eadler2014-02-041-4/+1
| | | | | | | | | | | | | | * The RFC says (in section 10.1) that only when extbuf is not NULL, extlen shall be checked, so don't perform this check when NULL is passed. * socklen_t is unsigned, so checking extlen for less than zero is not needed. Submitted by: swildner@dragonflybsd.org Reviewed by: Mark Martinec <Mark.Martinec+freebsd@ijs.si> Reviewed by: hrs Obtained by: DragonFlyBSD
* Avoid doing unnecessary nested TLB invalidations.neel2014-02-044-31/+39
| | | | | | | | | | | | | | | | | Prior to this change the cached value of 'pm_eptgen' was tracked per-vcpu and per-hostcpu. In the degenerate case where 'N' vcpus were sharing a single hostcpu this could result in 'N - 1' unnecessary TLB invalidations. Since an 'invept' invalidates mappings for all VPIDs the first 'invept' is sufficient. Fix this by moving the 'eptgen[MAXCPU]' array from 'vmxctx' to 'struct vmx'. If it is known that an 'invept' is going to be done before entering the guest then it is safe to skip the 'invvpid'. The stat VPU_INVVPID_SAVED counts the number of 'invvpid' invalidations that were avoided because they were subsumed by an 'invept'. Discussed with: grehan
* Fix lock acquisition in case no request space available, missed in r260097.mav2014-02-041-1/+1
| | | | MFC after: 3 days
* Fix a typo.brueffer2014-02-031-1/+1
| | | | MFC after: 1 week
* Convert the loop by gotos into a for loop to improve readability. Iimp2014-02-031-124/+122
| | | | | | did this only with the inner loop for the token parsing, and not the outer loop which was understandable enough when the extra layers of looping went away...
* Fix a bug introduced in r261437 that failed to honor "optionalimp2014-02-031-5/+6
| | | | | profiling-routine" to work, since profiling-routine is not really an option or a device, but a special case elsewhere in the code.
* Slight cleanup to the error messaging to compress code vertically...imp2014-02-031-57/+38
|
* OpenSSH been updated to 6.5p1.skreuzer2014-02-031-0/+9
| | | | | | bmake has been updated to version 20140101. Approved by: hrs (mentor)
* Better error messages when EOF is hit in the middle of a phrase.imp2014-02-031-18/+6
|
* Fix a logic error. Because of this inflateReset() wasn't being called andloos2014-02-031-1/+1
| | | | | | | | | | the output buffer wasn't being cleared between the inflate() calls, producing zeroed output after the first inflate() call. This fixes the read of mkuzip(8) images with geom_uncompress(4). Reviewed by: ray Approved by: adrian (mentor)
* Remove some unnecessary code. The offsets read from the first block areloos2014-02-031-10/+4
| | | | | | | overwritten a few lines bellow. Reviewed by: ray Approved by: adrian (mentor)
* Move the check for standard keyword + optional inclusion specifier toimp2014-02-031-6/+6
| | | | | | its proper location. Otherwise you could have 'file.c standard pci' without an error. This construct isn't in our tree, and has no well defined meaning.
* Don't believe we have a requirement until after we've checked all theimp2014-02-031-1/+1
| | | | | known key words. This will make error messages slightly better in weird corner cases, but should otherwise be a nop.
* In the 17 years since r30796, the mandatory keyword has never been usedimp2014-02-031-16/+4
| | | | in any files as far as I can tell, and is currently unused. Retire it.
* Slightly deobfuscate read_file() and likely pessimize the runtimeimp2014-02-031-57/+49
| | | | | | | performance by epsilon. (Translation: elminate bogus macros that hid 'returns' making it hard to read and moved a block of code inline rather than at the end of the fuction where it was effectively a 'gosub' kind of goto).
* Fix the definition of hg_cmd.rpaulo2014-02-031-1/+1
| | | | MFC after: 3 days
* Apply patch for CVE-2013-6393 [1] to fix heap-based buffer overflow whenbapt2014-02-032-9/+61
| | | | | | | | | | | | parsing YAML tags. Also apply a patch for hardenning the guards againt the issue The only user in base in yaml is pkg(7) which uses the library a way that it is not affected Submitted by: delphij Obtained from: https://bugzilla.redhat.com/show_bug.cgi?id=1033990 MFC after: 3 days Security: CVE-2013-6393
* dhclient: change the pidfile's permissions to 644eadler2014-02-031-1/+1
| | | | | | | This change permits non-root users to determine if dhclient is running ('service dhclient status wlan0'). Discussed with: mjg, cperciva
* Sort the list.ian2014-02-031-3/+4
|
* Add the imx sdhci controller.ian2014-02-031-0/+1
|
* Make gas accept any PowerPC instruction by default. This is a local change,jhibbits2014-02-031-1/+1
| | | | | | | and will not be submitted upstream. Discussed with: nwhitehorn,rdivacky MFC after: 1 month
* Add driver for the ADT7460/ADT7467 fan controller found in later PowerBooksjhibbits2014-02-033-0/+666
| | | | | | and iBooks. Original work by andreast. MFC after: 1 month
* Add missing file to Makefile.jhibbits2014-02-031-1/+1
| | | | | MFC after: 1 month X-MFC-with: 261342
* Only use the CPU ID register if SMP is defined. Some non-MPCore armv6 cpu,cognet2014-02-022-3/+6
| | | | | such as the one found in the RPi, don't have it, and just hang when we try to access it.
* Invalidate cachelines for bounce pages on PREREAD too, there may still becognet2014-02-021-0/+11
| | | | stale entries from a previous transfer.
* Add missing semicolon.ian2014-02-021-1/+1
|
* o Add prototype for tcon_bypass() used by dcu4br2014-02-022-1/+4
| | | | o Add register definition
* Change the way pcpu and curthread are stored per-core:cognet2014-02-0211-37/+69
| | | | | | | | | the old way was to store pcpu in a register, and get curthread from pcpu, which is not very atomic, and led to issues if the thread was migrated to another core between the time we got the pcpu address and the time we got curthread. Instead, we now store curthread where pcpu used to be store, and we calculate the pcpu address based on the cpu id.
* Don't call device_set_ivars() for the mmchs, it doesn't seem to be used,cognet2014-02-021-1/+0
| | | | and it overrides the ivars set by the simplebus.
* Add driver for Display Control Unit (DCU4).br2014-02-024-0/+505
|
* Make prefaulting more aggressive on hard faults. Previously, we would onlyalc2014-02-021-24/+32
| | | | | | | | | | map a fraction of the pages that were fetched by vm_pager_get_pages() from secondary storage. Now, we map them all in order to avoid future soft faults. This effect is most evident when a memory-mapped file is accessed sequentially. Previously, there were 6 soft faults for every hard fault. Now, these soft faults are eliminated. Sponsored by: EMC / Isilon Storage Division
* Add support for Colibri VF50 Evaluation Board.br2014-02-022-0/+99
| | | | | | | Colibri VF50 is a SODIMM200 Vybrid Family core module and development board produced by Toradex AG. Sponsored by: Machdep, Inc.
* Follow r261352 by updating all drivers which are children of simplebusian2014-02-02119-0/+393
| | | | | | | | | | | | | to check the status property in their probe routines. Simplebus used to only instantiate its children whose status="okay" but that was improper behavior, fixed in r261352. Now that it doesn't check anymore and probes all its children; the children all have to do the check because really only the children know how to properly interpret their status property strings. Right now all existing drivers only understand "okay" versus something- that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
* Split kernel configuration to chip common and board specific parts.br2014-02-022-115/+140
|
* Assert input arguments to buf_send() and buf_recv().pjd2014-02-021-0/+7
| | | | Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
* Fix sending empty nvlist.pjd2014-02-021-2/+2
| | | | Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
* o Expand device tree informationbr2014-02-024-35/+583
| | | | | o Export iomuxc (pins) configuration to DTS o Allow devices to assign clocks in DTS
* Be more robust with malformed interrupt config data. Instead of crashingian2014-02-021-5/+17
| | | | | or going into a near-infinite loop, warn and make potentially-reasonable assumptions.
* Fix one remnant endian flaw here. The back-and-forth endian conversions arenwhitehorn2014-02-021-1/+1
| | | | confusing.
* Add a set of helpers (ofw_bus_get_status() and ofw_bus_status_okay()) tonwhitehorn2014-02-023-0/+32
| | | | | | | | | process "status" properties of OF nodes. I've avoided adding new KOBJ methods here so that we don't have to modify every ofw_bus in the tree. Since 100% of implementations of ofw_bus use only ofw_bus_gen_*(), it might be worth garbage-collecting the other methods as well.
* Add back reference to buf(9) removed in r32223 as buf(9) was addedbdrewery2014-02-021-2/+2
| | | | | | in r42016. Approved by: bapt (mentor)
* Fix newsyslog(8) to use the size of the file instead of the blocks itbdrewery2014-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | takes on disk, as advertised in newsyslog.conf(5). This fixes newsyslog(8) on ZFS with compression enabled to not have large files compared to the expected rotation size. # grep remotes/messages /etc/newsyslog.conf /var/log/remote/messages root:info 640 5 500 * JC # ls -alh /var/log/remote/messages -rw-r----- 1 root info 3.2M Jan 31 20:02 /var/log/remote/messages # newsyslog -vN|grep remote/messages /var/log/remote/messages <5J>: size (Kb): 464 [500] --> skipping # stat -f "st_size: %z st_blocks: %b" /var/log/remote/messages st_size: 3372627 st_blocks: 928 # zfs get -H compressratio zroot/syslogs zroot/syslogs compressratio 3.77x - With fix: # newsyslog -v | grep remote/messages /var/log/remote/messages <5J>: size (Kb): 3338 [500] --> trimming log.... Approved by: bapt (mentor) PR: docs/150877 Reported by: Joshua Isom <jrisom@gmail.com> MFC after: 2 weeks
OpenPOWER on IntegriCloud