summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Keep IPv6 address specified by IPV6_PKTINFO socket option in kernelae2015-07-031-4/+7
| | | | | | | | | | | | | | internal form to be able handle link-local IPv6 addresses. Reported by: kp Tested by: kp
* | Add the routines to activate the GMAC clock and setup the GMAC mode.loos2015-07-032-0/+45
| | | | | | | | Tested on Cubieboard 2 and Banana pi.
* | Rename a10_emac_gpio_config() to a10_gpio_ethernet_activate() to make theloos2015-07-033-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | change to GMAC easier on A20 SoCs. On A10 only the EMAC controller is available (fast ethernet), but on A20 there is also GMAC a high (or better) performant controller (gigabit ethernet). On A20 the both controllers uses the same pins to talk to the ethernet PHY (MII or RGMII) and they can be selected by the GPIO pin mux. There is work in progress to bring in GMAC support.
* | Grammar and language fixes.kib2015-07-031-36/+50
| | | | | | | | | | | | Submitted by: wblock Review: https://reviews.freebsd.org/D2969 MFC after: 12 days
* | Remove duplicate and unnecessary includes.loos2015-07-032-11/+0
| | | | | | | | While here remove an unused and wrong define.
* | Make ctl(4) appear in "man -k iscsi" results.trasz2015-07-031-2/+2
| | | | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* | Minor update to the proto(4) man page:marcel2015-07-031-18/+55
| | | | | | | | | | 1. We now support ISA devices 2. DMA support has been added
* | Remove commented-out and non-existent cbus(4) attachment for uart(4).marcel2015-07-031-1/+0
| |
* | Allow proto(4) to be compiled into the kernel.marcel2015-07-031-0/+4
| |
* | Reduce overhead of IPSEC for traffic generated from hosteri2015-07-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | When IPSEC is enabled on the kernel the forwarding path has an optimization to not enter the code paths for checking security policies but first checks if there is any security policy active at all. The patch introduces the same optimization but for traffic generated from the host itself. This reduces the overhead by 50% on my tests for generated host traffic without and SP active. Differential Revision: https://reviews.freebsd.org/D2980 Reviewed by: ae, gnn Approved by: gnn(mentor)
* | o Add a description for virtio block device implementedbr2015-07-032-0/+32
| | | | | | | | | | | | | | in PISM (Bluespec C-interface device) o Add a kernel config Sponsored by: HEIF5
* | Allow BERI virtio-platform code to operate with no PIO devices specified.br2015-07-031-23/+69
| | | | | | | | | | We will use it with Bluespec simulator of CHERI processor for invalidating caches only.
* | Add 'prewrite' method allowing us to run some platform-specificbr2015-07-032-0/+22
| | | | | | | | | | code before each write happens, e.g. write-back caches. This will help booting in Bluespec simulator of CHERI processor.
* | Add AHCI attachment code for Allwinner A10/A20 SoCs.loos2015-07-0311-5/+431
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Allwinner SoC has an AHCI device on its internal main bus rather than the PCI bus. This SoC is somewhat underdocumented, and its SATA controller is no exception. The methods to support this chip were harvested from the Linux Allwinner SDK, and then constants invented to describe what's going on based on low-level constants contained in the SATA standard and guess work. This SoC requires a specific AHCI channel setup in order to start the operations on the channel properly. Clock setup and AHCI channel setup idea came from NetBSD. Tested on Cubieboard 2 and Banana pi (and attachment on Cubieboard by Pratik Singhal). Differential Revision: https://reviews.freebsd.org/D737 Submitted by: imp Reviewed by: imp, ganbold, mav, andrew
* | netfront: preserve configuration across migrationsroyger2015-07-031-5/+24
| | | | | | | | | | | | | | | | | | | | | | Try to preserve the xn configuration when migrating. This is not always possible since the backend might not have the same set of options available, in which case we will try to preserve as many as possible. MFC after: 2 weeks PR: 183139 Reported by: mcdouga9@egr.msu.edu Sponsored by: Citrix Systems R&D
* | Fix broken implementation of "kvasprintf()" function by adding missinghselasky2015-07-032-16/+19
| | | | | | | | | | | | | | | | | | kmalloc() call. Make function global instead of static inline to fix compiler warnings about passing variable argument lists to inline functions. MFC after: 1 week Sponsored by: Mellanox Technologies
* | Remove OpenSSL dependency from iscsid(8) and ctld(8).trasz2015-07-036-56/+30
| | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2866 Submitted by: Tony Morlan <tony at scroner.com> (earlier version) Reviewed by: bapt@, delphij@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* | User proper terminology - iSCSI sessions, not iSCSI connections.trasz2015-07-031-7/+7
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | Move comment to the right position.bz2015-07-031-1/+2
| | | | | | | | | | | | PR: 152791 Submitted by: vangyzen (as part of the functional change) MFC after: 3 days
* | Oops - fix typo.adrian2015-07-031-2/+2
| |
* | Test for loader.rc existence before attempting to creategjb2015-07-031-2/+5
| | | | | | | | | | | | | | | | | | | | | | the symlink from loader.rc.sample. Fix paths relative to the CHROOTDIR. MFC after: 3 days X-MFC-With: r285076, r285078 X-MFC-Before: 10.2-BETA1 Sponsored by: The FreeBSD Foundation
* | Updated dependssjg2015-07-034-2/+36
| |
* | Fix generation of src.conf.5sjg2015-07-031-1/+3
| | | | | | | | | | Since makeman turns all options on, we need to guard somethings from make(showconfig)
* | Add initial support for the TP-Link Archer C7 v2.adrian2015-07-032-0/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SoC, the flash, the ethernet ports and ethernet switch all work. The USB works. The 11ac PCIe NIC internally is at least seen by the PCIE RC, but I haven't tried using it yet. There's no driver and I haven't yet swapped it out for a non-11ac chip. The on-chip 2GHz wifi works, but there are some data errors that get thrown up in STA mode when scanning. I have a feeling I have to finish the DDR flush code out and have it run correctly on the shared interrupts; that'll take a bit of time to get right. But if you're after an updated piece of hardware, the Archer C7 v2 is certainly there, and you can replace the 11ac NIC with a 3x3 Atheros PCIe device (eg AR9380, AR9390, AR9580, etc) and it'll "just work". Tested: * TP-Link archer c7v2.
* | Revert r285018 and r285019, which attempted to resolvegjb2015-07-031-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | UFS/MSDOSFS label issues on FreeBSD/arm builds, however the real problem was addressed in r285076, which is due to two separate issues, unrelated to md(4) stale device existence. MFC after: 3 days X-MFC-With: r285076 X-MFC-Before: 10.2-BETA1 Sponsored by: The FreeBSD Foundation
* | Add pcb1 to the QCA955x.adrian2015-07-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | The Tp-link Archer-C7v2 unit has a QCA9558 internally but hangs the QCA988x 11ac PCIe NIC off of PCI RC #1, not #0. So I actually finally /do/ have a board to verify whether PCIe is working. Grr. Tested: * TP-Link Archer-C7v2.
* | Fix the real problem with missing UFS/MSDOSFS labels on thegjb2015-07-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD/arm builds. The problem stems from the loader.rc file not existing, as well as geom_label not being loaded at boot. For now, add the geom_label_load entry to loader.conf, and symlink loader.rc.sample to loader.rc, both of which allowed my BeagleBone Black to boot fine with a UFS label reference in fstab(5). MFC after: 3 days X-MFC-Before: 10.2-BETA1 Sponsored by: The FreeBSD Foundation
* | Implement busdma_md_unload() and busdma_sync().marcel2015-07-035-25/+147
| | | | | | | | | | | | | | | | While here: 1. have the Python bindings contain constants for the space identifiers and the sync operation. 2. change the segment iterators to return None when done, not ENXIO.
* | Implement unload and sync operations.marcel2015-07-032-0/+45
| |
* | Enable setting the QCA955x GPIO output mux configuration.adrian2015-07-031-4/+2
| | | | | | | | | | It's not used by any boards yet, but it's going to creep up soon as more boards show up.
* | Add register defines for the QCA955x DDR flush and GPIO control.adrian2015-07-031-0/+11
| |
* | Add busdma_md_create, busdma_md_destroy and busdma_md_load.marcel2015-07-035-47/+212
| |
* | more word smithing wrt the crd_inject field...jmg2015-07-031-5/+7
| | | | | | | | | | We've already defined IV earlier, so no need to expand it a second time here...
* | Add create, destroy and load of memory descriptors.marcel2015-07-034-18/+162
| |
* | Kill MFILES and find things automatically. It turned out to be onlyimp2015-07-0331-109/+16
| | | | | | | | | | | | | | | | | | lightly used. Find the proper .m file when we depend on *_if.[ch] in the srcs line, with seat-belts for false positive matches. This uses make's path mechanism. A further refinement would be to calculate this once, and then pass the resulting _MPATH to modules submakes. Differential Revision: https://reviews.freebsd.org/D2327
* | mfiutil: increase buffer size to accommodate sprintf stringemaste2015-07-031-1/+1
| | | | | | | | | | PR: 201289 MFC after: 1 week
* | Alex Burlyga reported a POLA violation for the new NFS client asrmacklem2015-07-031-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | compared to the old NFS client via email to the freebsd-fs@ mailing list. For the new client, when multiple clients attempted to create a symbolic link concurrently, more that one client would report success instead of EEXIST. This was caused by code in the new client that mapped EEXIST to OK assuming it was caused by a retried RPC request. Since the old client did not do this, the patch defaults to the old behaviour and permits the new behaviour to be enabled via a sysctl. Reported by: alex.burlyga.ietf@gmail.com Tested by: alex.burlyga.ietf@gmail.com MFC after: 2 weeks
* | update the documentation of the _IV_ flags... _IV_PRESENT doesn'tjmg2015-07-031-11/+10
| | | | | | | | | | | | | | | | mean what you think it should... This will be fixed in the future with a flag rename, but document what the flag really does and make the _IV_ flags clear what their presents (or lack there of) means... Reviewed by: gnn, eri (both earlier version)
* | Add repository.callsign, to help arcanist figure out what repo it'smat2015-07-021-0/+1
| | | | | | | | | | | | | | doing things on when not using Subversion. With hat: phabric-admin@ Sponsored by: Absolight
* | Let the nv.h and dnv.h includes be only in sys directory.oshogbo2015-07-0231-49/+51
| | | | | | | | | | | | | | Change consumers to include those files from sys. Add duplicated files to ObsoleteFiles. Approved by: pjd (mentor)
* | Add stddef.h for size_t typedef.oshogbo2015-07-021-0/+1
| | | | | | | | Approved by: pjd (mentor)
* | Bump .Dd due to changes made in r285050 and r285053garga2015-07-021-1/+1
| | | | | | | | | | Spotted by: loos Approved by: loos
* | Add an ISA/ACPI bus attachment to proto(4).marcel2015-07-023-1/+134
| |
* | sysvshm: fix up some whitespace issues and spurious initialisationmjg2015-07-021-25/+21
| |
* | sysvshm: don't lock proc when calculating attach_vamjg2015-07-021-3/+1
| | | | | | | | | | vm_daddr is constant and RLIMIT_DATA can be obtained from thread's copy of rlimits.
* | sysvshm: fix shmreallocmjg2015-07-021-3/+3
| | | | | | | | | | The code was supposed to initialize new segs in newsegs array, but used the old pointer.
* | vm: don't lock proc around accesses to vm_{t,d}addr and RLIMIT_DATA in sys_mmapmjg2015-07-021-4/+2
| | | | | | | | vm_{t,d}addr are constant and we can use thread's copy of resource limits
* | Improve pw_lock.3 text changed in r285050garga2015-07-021-2/+2
| | | | | | | | | | Suggested by: wblock Approved by: gnn
* | Avoid doing multiple route lookups for the same destination IP during forwardingeri2015-07-021-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | ip_forward() does a route lookup for testing this packet can be sent to a known destination, it also can do another route lookup if it detects that an ICMP redirect is needed, it forgets all of this and handovers to ip_output() to do the same lookup yet again. This optimisation just does one route lookup during the forwarding path and handovers that to be considered by ip_output(). Differential Revision: https://reviews.freebsd.org/D2964 Approved by: ae, gnn(mentor) MFC after: 1 week
* | When passwd or group information is changed (by pw, vipw, chpass, ...)garga2015-07-024-9/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | temporary file is created and then a rename() call move it to official file. This operation didn't have any check to make sure data was written to disk and if a power cycle happens system could end up with a 0 length passwd or group database. There is a pfSense bug with more infor about it: https://redmine.pfsense.org/issues/4523 The following changes were made to protect passwd and group operations: * lib/libutil/gr_util.c: - Replace mkstemp() by mkostemp() with O_SYNC flag to create temp file - After rename(), fsync() call on directory for faster result * lib/libutil/pw_util.c - Replace mkstemp() by mkostemp() with O_SYNC flag to create temp file * usr.sbin/pwd_mkdb/pwd_mkdb.c - Added O_SYNC flag on dbopen() calls - After rename(), fsync() call on directory for faster result * lib/libutil/pw_util.3 - pw_lock() returns a file descriptor to master password file on success Differential Revision: https://reviews.freebsd.org/D2978 Approved by: bapt Sponsored by: Netgate
OpenPOWER on IntegriCloud