Author: kib
Date: Tue Feb 3 13:43:03 2015
New Revision: 278152
URL: https://svnweb.freebsd.org/changeset/base/278152
Log:
Do not access gmbus_ports array past its end.
Reported and tested by: hselasky
Sponsored by: The FreeBSD Foundation
Modified:
Author: kib
Date: Wed Feb 4 14:49:47 2015
New Revision: 278209
URL: https://svnweb.freebsd.org/changeset/base/278209
Log:
Add ddb command 'show clocksource' to display state of the per-cpu
clock events.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
Author: kib
Date: Fri Jan 30 15:32:35 2015
New Revision: 277936
URL: https://svnweb.freebsd.org/changeset/base/277936
Log:
Use powerof2(). Remove single-use variable.
Submitted by: Conrad Meyer
Differential Revision:https://reviews.freebsd.org/D1724
MFC after:1 week
On Fri, Feb 06, 2015 at 09:23:47PM -0800, Garrett Cooper wrote:
pgrep uses /proc to determine whether or not a process is running. If it?s
not properly mounted or the jail isn?t started properly, that could cause the
issues seen here. I know because I?ve tried running these tests before in an
Author: kib
Date: Tue Feb 3 11:34:18 2015
New Revision: 278148
URL: https://svnweb.freebsd.org/changeset/base/278148
Log:
Followup to r278147. Two more sign errors.
Noted by: hps
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/drm2/i915/intel_dp.c
Modified:
Author: kib
Date: Tue Feb 3 12:09:48 2015
New Revision: 278151
URL: https://svnweb.freebsd.org/changeset/base/278151
Log:
Remove duplicated assignment.
CID: 1267988
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Modified:
head/sys/fs/tmpfs/tmpfs_subr.c
Modified:
Author: kib
Date: Tue Feb 3 13:45:06 2015
New Revision: 278153
URL: https://svnweb.freebsd.org/changeset/base/278153
Log:
If the vm_page_alloc_contig() failed in the ttm page allocators, do
what other callers of vm_page_alloc_contig() do, retry after
vm_pageout_grow_cache().
Sponsored
Author: kib
Date: Thu Feb 5 13:00:27 2015
New Revision: 278257
URL: https://svnweb.freebsd.org/changeset/base/278257
Log:
Partially revert r277922, avoid sleeping and do flush if we a awaken,
instead of waiting for the FLUSH_* flags. Also, when requesting
flush, do the wakeups
Author: kib
Date: Fri Feb 6 12:18:38 2015
New Revision: 278313
URL: https://svnweb.freebsd.org/changeset/base/278313
Log:
Fully initialize allocated memory for the new barrier. The
b_destroying member was left uninitialized, which caused spurious
EBUSY.
PR: 197365
Noted by:
Author: kib
Date: Tue Feb 3 10:46:07 2015
New Revision: 278147
URL: https://svnweb.freebsd.org/changeset/base/278147
Log:
Fix sign for the error code returned from the driver-specific code.
Noted by: hps
Sponsored by: The FreeBSD Foundation
Modified:
Author: kib
Date: Tue Feb 3 10:29:40 2015
New Revision: 278145
URL: https://svnweb.freebsd.org/changeset/base/278145
Log:
Fix use after free in pipe_dtor(). PIPE_NAMED flag must be tested
before pipeclose() is called, since for !PIPE_NAMED case, when peer is
already closed, the pipe pair
Author: kib
Date: Tue Feb 3 10:30:41 2015
New Revision: 278146
URL: https://svnweb.freebsd.org/changeset/base/278146
Log:
Do not attach to the unsupported chipsets, unless magic tunable is
frobbed.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/drm2/i915/i915_drv.c
On Mon, Feb 09, 2015 at 05:00:49PM +1100, Bruce Evans wrote:
On Mon, 9 Feb 2015, Oleksandr Tymoshenko wrote:
Log:
Do not mark shared structures as __packed, it leads to race condition
If structure packed as __packed clang (and probably gcc) generates
code that loads word fields
On Tue, Jan 20, 2015 at 08:58:34AM +0100, Hans Petter Selasky wrote:
On 01/20/15 08:51, Konstantin Belousov wrote:
On Tue, Jan 20, 2015 at 05:30:25AM +0100, Hans Petter Selasky wrote:
On 01/19/15 22:59, Adrian Chadd wrote:
Hi,
Would you please check what the results of this are with CPU
On Tue, Jan 20, 2015 at 05:30:25AM +0100, Hans Petter Selasky wrote:
On 01/19/15 22:59, Adrian Chadd wrote:
Hi,
Would you please check what the results of this are with CPU specific
callwheels?
I'm doing some 10+ gig traffic testing on -HEAD with RSS enabled (on
ixgbe) and with this
On Tue, Jan 20, 2015 at 10:37:52AM +0100, Hans Petter Selasky wrote:
On 01/20/15 10:00, Konstantin Belousov wrote:
On Tue, Jan 20, 2015 at 08:58:34AM +0100, Hans Petter Selasky wrote:
On 01/20/15 08:51, Konstantin Belousov wrote:
On Tue, Jan 20, 2015 at 05:30:25AM +0100, Hans Petter Selasky
Author: kib
Date: Wed Jan 21 16:32:54 2015
New Revision: 277489
URL: https://svnweb.freebsd.org/changeset/base/277489
Log:
Do not assert that the new pipepair mutex is not initialized. The
backing memory contains garbage and might trigger the assertion.
Reported and tested by: pho
Author: kib
Date: Wed Jan 21 16:13:37 2015
New Revision: 277488
URL: https://svnweb.freebsd.org/changeset/base/277488
Log:
Fix bug in r276630. Do not allow pthread_sigmask() to block SIGCANCEL.
Reported and tested by: royger
Sponsored by: The FreeBSD Foundation
MFC after:3
Author: kib
Date: Wed Jan 21 16:10:37 2015
New Revision: 277487
URL: https://svnweb.freebsd.org/changeset/base/277487
Log:
An update for the i915 GPU driver, which brings the code up to Linux
commit 4d93914ae3db4a897ead4b. Some related drm infrastructure
changes are imported as needed.
On Thu, Jan 22, 2015 at 08:14:26AM +0100, Hans Petter Selasky wrote:
On 01/22/15 06:26, Warner Losh wrote:
The code simply needs an update. It is not broken in any ways - right? If
it is not broken, fixing it is not that urgent.
Radically changing the performance characteristics is
On Wed, Jan 21, 2015 at 09:24:44PM +0300, Gleb Smirnoff wrote:
On Wed, Jan 21, 2015 at 04:32:55PM +, Konstantin Belousov wrote:
K Author: kib
K Date: Wed Jan 21 16:32:54 2015
K New Revision: 277489
K URL: https://svnweb.freebsd.org/changeset/base/277489
K
K Log:
K Do not assert
On Wed, Jan 21, 2015 at 06:04:57PM -0700, Warner Losh wrote:
On Jan 21, 2015, at 12:54 AM, Konstantin Belousov kostik...@gmail.com
wrote:
On Tue, Jan 20, 2015 at 07:59:08PM -0800, Nathan Whitehorn wrote:
On 01/20/15 11:14, Konstantin Belousov wrote:
On Tue, Jan 20, 2015 at 04:21
On Wed, Jan 21, 2015 at 01:45:47PM -0500, Shawn Webb wrote:
On Wed, 2015-01-21 at 16:10 +, Konstantin Belousov wrote:
Author: kib
Date: Wed Jan 21 16:10:37 2015
New Revision: 277487
URL: https://svnweb.freebsd.org/changeset/base/277487
Log:
An update for the i915 GPU driver
Author: kib
Date: Mon Jan 19 17:24:52 2015
New Revision: 277390
URL: https://svnweb.freebsd.org/changeset/base/277390
Log:
Ignore devfs directory entries for devices either being destroyed or
delisted. The check is racy.
Tested by:pho
Sponsored by: The FreeBSD Foundation
MFC
Author: kib
Date: Mon Jan 19 17:36:52 2015
New Revision: 277391
URL: https://svnweb.freebsd.org/changeset/base/277391
Log:
Stop enforcing additional reference on all cdevs, which was introduced
in r277199. Acquire the neccessary reference in delist_dev_locked()
and inform destroy_devl()
Author: kib
Date: Fri Jan 16 07:06:58 2015
New Revision: 277236
URL: https://svnweb.freebsd.org/changeset/base/277236
Log:
For sigaction(2), ignore possible garbage in sa_flags for sa_handler
== SIG_DFL or SIG_IGN. Sloppy code does not fully initialize struct
sigaction for such cases, and
On Thu, Jan 15, 2015 at 01:14:39PM +0100, Hans Petter Selasky wrote:
On 01/15/15 12:51, Konstantin Belousov wrote:
On Thu, Jan 15, 2015 at 11:49:09AM +0100, Hans Petter Selasky wrote:
I see no leakage in that case either!
Because these cases come through destroy_dev
On Wed, Jan 14, 2015 at 10:07:13PM +, Hans Petter Selasky wrote:
Author: hselasky
Date: Wed Jan 14 22:07:13 2015
New Revision: 277199
URL: https://svnweb.freebsd.org/changeset/base/277199
Log:
Avoid race with dev_rel() when using the recently added
delist_dev() function. Make sure
Author: kib
Date: Thu Jan 15 10:43:58 2015
New Revision: 277211
URL: https://svnweb.freebsd.org/changeset/base/277211
Log:
fcntl F_O{GET,SET}LK take pointer as the arg, handle them properly for
compat32.
Reported and tested by: Alex Tutubalin l...@lexa.ru
Sponsored by: The
On Thu, Jan 15, 2015 at 08:41:31AM +0100, Hans Petter Selasky wrote:
On 01/15/15 04:31, Konstantin Belousov wrote:
On Wed, Jan 14, 2015 at 10:07:13PM +, Hans Petter Selasky wrote:
Author: hselasky
Date: Wed Jan 14 22:07:13 2015
New Revision: 277199
URL: https://svnweb.freebsd.org
On Thu, Jan 15, 2015 at 11:49:09AM +0100, Hans Petter Selasky wrote:
On 01/15/15 10:38, Konstantin Belousov wrote:
On Thu, Jan 15, 2015 at 08:41:31AM +0100, Hans Petter Selasky wrote:
On 01/15/15 04:31, Konstantin Belousov wrote:
On Wed, Jan 14, 2015 at 10:07:13PM +, Hans Petter Selasky
On Wed, Jan 21, 2015 at 09:32:11AM +0100, Hans Petter Selasky wrote:
On 01/21/15 00:53, Sean Bruno wrote:
Unkown to me. Nor am I aware of anyone else who ever hit our panics
either. Our environment, and the failure, was only seen in the Intel
10GE space (ixgbe). This is an artifact of
On Tue, Jan 20, 2015 at 04:37:44PM -0800, K. Macy wrote:
I would pick stability over performance any day. However, it _seems_
to me, and maybe I simply don't understand some key details, that the
fix consisted of largely single-threading the callout system. And as I
say I may simply not
On Tue, Jan 20, 2015 at 07:59:08PM -0800, Nathan Whitehorn wrote:
On 01/20/15 11:14, Konstantin Belousov wrote:
On Tue, Jan 20, 2015 at 04:21:59PM +, Nathan Whitehorn wrote:
Author: nwhitehorn
Date: Tue Jan 20 16:21:59 2015
New Revision: 277421
URL: https://svnweb.freebsd.org
On Tue, Jan 20, 2015 at 04:21:59PM +, Nathan Whitehorn wrote:
Author: nwhitehorn
Date: Tue Jan 20 16:21:59 2015
New Revision: 277421
URL: https://svnweb.freebsd.org/changeset/base/277421
Log:
There does not seem to be any reason to acquire GIANT here. Follow amd64
in removing it.
Author: kib
Date: Sun Jan 18 15:03:26 2015
New Revision: 277321
URL: https://svnweb.freebsd.org/changeset/base/277321
Log:
Make SIGSTOP working for sleeps done while waiting for fifo readers or
writers in open(2), when the fifo is located on an NFS mount.
Reported by: bde
Sponsored
Author: kib
Date: Sun Jan 18 15:13:11 2015
New Revision: 277322
URL: https://svnweb.freebsd.org/changeset/base/277322
Log:
Add procctl(2) PROC_TRACE_CTL command to enable or disable debugger
attachment to the process. Note that the command is not intended to
be a security measure, rather
On Fri, Jan 16, 2015 at 10:00:11AM +0100, Hans Petter Selasky wrote:
Hi Konstantin,
On 01/16/15 09:03, Konstantin Belousov wrote:
My opinion is that you should have tried to handle the issue at the driver
level, instead of making this devfs issue. I.e., if you already have
cdev node
On Sun, Jan 18, 2015 at 12:08:26PM +0100, Hans Petter Selasky wrote:
Hi Konstantin,
On 01/18/15 11:54, Konstantin Belousov wrote:
On Fri, Jan 16, 2015 at 10:00:11AM +0100, Hans Petter Selasky wrote:
Hi Konstantin,
On 01/16/15 09:03, Konstantin Belousov wrote:
My opinion is that you
On Wed, Feb 11, 2015 at 10:20:03AM -0500, John Baldwin wrote:
On Wednesday, February 11, 2015 10:32:00 AM Konstantin Belousov wrote:
On Wed, Feb 11, 2015 at 12:43:39AM +, Rui Paulo wrote:
On Feb 09, 2015, at 01:01 PM, Konstantin Belousov k...@freebsd.org
wrote:
Author: kib
Author: kib
Date: Wed Feb 11 23:28:28 2015
New Revision: 278605
URL: https://svnweb.freebsd.org/changeset/base/278605
Log:
vm_page_lookup() accepts read-locked object.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/x86/iommu/intel_utils.c
Modified:
by Konstantin Belousov k...@freebsd.org
@@ -79,6 +79,47 @@ typedef struct dmar_pte {
#defineDMAR_PTE_ADDR_MASK 0xff000 /* Address Mask */
#defineDMAR_PTE_TM (1ULL 62)/* Transient Mapping */
+typedef struct dmar_irte {
+ uint64_t irte1;
+ uint64_t
Author: kib
Date: Tue Feb 10 18:00:32 2015
New Revision: 278523
URL: https://svnweb.freebsd.org/changeset/base/278523
Log:
Mountd iterating over the mount points may race with the parallel
unmount, which causes error from nmount(2) call when performing
MNT_DELEXPORT over the directory which
On Mon, Feb 16, 2015 at 03:21:04PM +0100, Koop Mast wrote:
On 9-2-2015 22:00, Konstantin Belousov wrote:
Author: kib
Date: Mon Feb 9 21:00:56 2015
New Revision: 278473
URL: https://svnweb.freebsd.org/changeset/base/278473
Log:
Add x2APIC support. Enable it by default if CPU
Author: kib
Date: Wed Feb 18 10:51:48 2015
New Revision: 278954
URL: https://svnweb.freebsd.org/changeset/base/278954
Log:
Fix UP build.
Sponsored by: The FreeBSD Foundation
MFC after:2 months
Modified:
head/sys/x86/acpica/acpi_wakeup.c
Modified: head/sys/x86/acpica/acpi_wakeup.c
Author: kib
Date: Wed Feb 18 18:12:06 2015
New Revision: 278963
URL: https://svnweb.freebsd.org/changeset/base/278963
Log:
If malloc() sleeps, Giant is dropped. Recheck for another thread
doing our work.
Remove unneeded check for failed M_WAITOK allocation.
Reviewed by: alc
Author: kib
Date: Sun Feb 15 08:43:19 2015
New Revision: 278794
URL: https://svnweb.freebsd.org/changeset/base/278794
Log:
Return with the process locked, caller expects p still locked after
the call.
Reported and tested by: bapt
Sponsored by: The FreeBSD Foundation
MFC after:
Author: kib
Date: Mon Feb 16 21:56:19 2015
New Revision: 278869
URL: https://svnweb.freebsd.org/changeset/base/278869
Log:
Initialize x2APIC mode on the resume path before accessing LAPIC.
Remove unneeded disable of LAPIC in the native_lapic_xapic_mode(). We
attempt to send wakeup IPI
Author: kib
Date: Mon Feb 16 22:18:43 2015
New Revision: 278871
URL: https://svnweb.freebsd.org/changeset/base/278871
Log:
Array cannot be NULL, remove always true comparision. ACPI spec
identifies the tested condition for _PRT as BYTE value of 0, so the
remaining part of the conditionals
On Thu, Feb 19, 2015 at 11:58:48AM +1100, Bruce Evans wrote:
On Wed, 18 Feb 2015, Bryan Drewery wrote:
On 2/17/2015 2:54 AM, Konstantin Belousov wrote:
...
Log:
Restore the extern qualifier on __cleanup.
...
Modified: head/lib/libc/include/libc_private.h
Author: kib
Date: Thu Feb 19 15:41:23 2015
New Revision: 279007
URL: https://svnweb.freebsd.org/changeset/base/279007
Log:
Fix build with KTR after r278978.
Modified:
head/sys/netinet/in_mcast.c
Modified: head/sys/netinet/in_mcast.c
Author: kib
Date: Tue Feb 17 08:54:03 2015
New Revision: 278889
URL: https://svnweb.freebsd.org/changeset/base/278889
Log:
Restore the extern qualifier on __cleanup.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/lib/libc/include/libc_private.h
Modified:
by
-.An Bruce M Simpson Aq Mt b...@spc.org .
+This manual page was first written by
+.An Bruce M Simpson Aq Mt b...@spc.org
+and then rewritten by
+.An Alan Cox Aq Mt a...@freebsd.org
+and
+.An Konstantin Belousov Aq Mt k...@freebsd.org .
___
svn-src-head
Author: kib
Date: Tue Jan 27 10:32:49 2015
New Revision: 277794
URL: https://svnweb.freebsd.org/changeset/base/277794
Log:
The sys_quotactl() contract demands that the mount point is
vfs_unbusy()ed when the cmd is Q_QUOTAON, regardless of other input
parameters or error return.
Author: kib
Date: Wed Jan 28 10:25:35 2015
New Revision: 277827
URL: https://svnweb.freebsd.org/changeset/base/277827
Log:
tmpfs does not use UVM on FreeBSD.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/sys/fs/tmpfs/tmpfs_vfsops.c
Modified:
Author: kib
Date: Wed Jan 28 10:37:23 2015
New Revision: 277828
URL: https://svnweb.freebsd.org/changeset/base/277828
Log:
Update mtime for tmpfs files modified through memory mapping. Similar
to UFS, perform updates during syncer scans, which in particular means
that tmpfs now performs
On Wed, Jan 28, 2015 at 09:41:06AM -0800, Don Lewis wrote:
On 28 Jan, Konstantin Belousov wrote:
Author: kib
Date: Wed Jan 28 10:37:23 2015
New Revision: 277828
URL: https://svnweb.freebsd.org/changeset/base/277828
Log:
Update mtime for tmpfs files modified through memory mapping
On Wed, Jan 28, 2015 at 03:53:34PM +0200, Andriy Gapon wrote:
On 27/01/2015 19:47, Konstantin Belousov wrote:
On Tue, Jan 27, 2015 at 05:33:19PM +, Andriy Gapon wrote:
+EVENTHANDLER_INVOKE(power_suspend_early);
+stop_all_proc();
It also makes sense to call syncer_suspend
Author: kib
Date: Sat Jan 31 21:31:53 2015
New Revision: 278000
URL: https://svnweb.freebsd.org/changeset/base/278000
Log:
Update directory times immediately after an entry is created or
removed. Postponing it until tmpfs_getattr() is called causes
discordant values reported for file times
Author: kib
Date: Sat Jan 31 21:43:46 2015
New Revision: 278001
URL: https://svnweb.freebsd.org/changeset/base/278001
Log:
Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as
const. On x86, even after the machine context is supposedly read into
the struct ucontext, lazy FPU
On Sun, Jan 25, 2015 at 10:07:00AM -0700, Warner Losh wrote:
On Jan 24, 2015, at 8:51 AM, Konstantin Belousov kostik...@gmail.com
wrote:
On Sat, Jan 24, 2015 at 05:42:40PM +0200, Konstantin Belousov wrote:
On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote:
On Sat, 2015-01
On Sun, Jan 25, 2015 at 03:49:27PM +0100, Dag-Erling Sm??rgrav wrote:
Sergey Kandaurov pluk...@freebsd.org writes:
Dag-Erling Sm??rgrav d...@freebsd.org writes:
Log:
Remove ISA NICs. Anyone still using these on amd64 can build their
own kernel.
If so, what about i386? (I'd
Author: kib
Date: Sat Jan 24 15:33:42 2015
New Revision: 277646
URL: https://svnweb.freebsd.org/changeset/base/277646
Log:
Avoid calling vmspace_free() while owning the process lock. Freeing
of an vm space may require obtaining sleepable locks. Hold the
process to keep the pointer valid,
On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote:
On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote:
Author: kib
Date: Sat Jan 24 12:51:15 2015
New Revision: 277643
URL: https://svnweb.freebsd.org/changeset/base/277643
Log:
Remove Giant from /dev/mem and /dev
On Sat, Jan 24, 2015 at 05:42:40PM +0200, Konstantin Belousov wrote:
On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote:
On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote:
Author: kib
Date: Sat Jan 24 12:51:15 2015
New Revision: 277643
URL: https
Author: kib
Date: Mon Jan 26 10:11:55 2015
New Revision: 277743
URL: https://svnweb.freebsd.org/changeset/base/277743
Log:
Ensure that _tmppt KVA is used exclusively by providing exclusive sx
lock around the mapping and uiomove(). Before r277643, it was
partially protected by Giant (but
Author: kib
Date: Sat Jan 24 12:51:15 2015
New Revision: 277643
URL: https://svnweb.freebsd.org/changeset/base/277643
Log:
Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed
for i386, and from the code inspection, nothing in the
arm/mips/sparc64 implementations depends
On Tue, Jan 27, 2015 at 05:33:19PM +, Andriy Gapon wrote:
Author: avg
Date: Tue Jan 27 17:33:18 2015
New Revision: 277796
URL: https://svnweb.freebsd.org/changeset/base/277796
Log:
hook userland threads suspend + resume into acpi suspend code
Also, split power_suspend into
Author: kib
Date: Sat Jan 31 12:27:18 2015
New Revision: 277969
URL: https://svnweb.freebsd.org/changeset/base/277969
Log:
POSIX states that write(2) shall mark for update the last data
modification and last file status change timestamps of the file.
Currently, tmpfs only modifies ctime
Author: kib
Date: Sat Jan 31 12:27:40 2015
New Revision: 277970
URL: https://svnweb.freebsd.org/changeset/base/277970
Log:
The dependency chain for priority-inheritance mutexes could be
subverted by userspace into cycle. Both umtx_propagate_priority() and
umtx_repropagate_priority() would
Author: kib
Date: Sat Jan 31 12:58:04 2015
New Revision: 277972
URL: https://svnweb.freebsd.org/changeset/base/277972
Log:
Remove single-use boolean.
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Modified:
head/sys/fs/tmpfs/tmpfs_vnops.c
Modified:
Author: kib
Date: Sat Jan 10 22:57:08 2015
New Revision: 276948
URL: https://svnweb.freebsd.org/changeset/base/276948
Log:
Print rid when announcing DMAR context creation. Print sid when fault
occurs. This allows to connect dots in case the requester is
calculated erronously.
Author: kib
Date: Sat Jan 10 23:12:49 2015
New Revision: 276949
URL: https://svnweb.freebsd.org/changeset/base/276949
Log:
Fix calculation of requester for PCI device behind PCIe/PCI bridge.
In my case on the test machine, I have hierarchy of
pcib2 (PCIe port on host bridge with PCIe
Author: kib
Date: Sun Jan 11 20:27:15 2015
New Revision: 277023
URL: https://svnweb.freebsd.org/changeset/base/277023
Log:
Right now, for non-coherent DMARs, page table update code flushes the
cache for whole page containing modified pte, and more, only last page
in the series of the
On Sun, Jan 11, 2015 at 09:25:02AM +, Baptiste Daroussin wrote:
Author: bapt
Date: Sun Jan 11 09:25:01 2015
New Revision: 276962
URL: https://svnweb.freebsd.org/changeset/base/276962
Log:
Do not regenerate and install liblzma.pc when only build libraries
aka do not regenerate
Author: kib
Date: Sun Jan 11 22:16:31 2015
New Revision: 277032
URL: https://svnweb.freebsd.org/changeset/base/277032
Log:
Reduce the size of the interposing table and amount of
cancellation-handling code in the libthr. Translate some syscalls
into their more generic counterpart, and
Author: kib
Date: Mon Jan 12 07:50:55 2015
New Revision: 277052
URL: https://svnweb.freebsd.org/changeset/base/277052
Log:
Revert r276600: PHYS_TO_DMAP_RAW() and DMAP_TO_PHYS_RAW() are no
longer used, remove them.
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after:1
Author: kib
Date: Mon Jan 12 08:58:07 2015
New Revision: 277055
URL: https://svnweb.freebsd.org/changeset/base/277055
Log:
Revert r263475: TDP_DEVMEMIO no longer needed, since amd64 /dev/kmem
does not access kernel mappings directly.
Reviewed by: alc
Sponsored by: The FreeBSD
Author: kib
Date: Mon Jan 12 07:48:22 2015
New Revision: 277051
URL: https://svnweb.freebsd.org/changeset/base/277051
Log:
Fix several issues with /dev/mem and /dev/kmem devices on amd64.
For /dev/mem, when requested physical address is not accessible by the
direct map, do temporal
Author: kib
Date: Mon Jan 12 07:36:25 2015
New Revision: 277047
URL: https://svnweb.freebsd.org/changeset/base/277047
Log:
For x86, read MAXPHYADDR, defined in SDM vol 3 4.1.4 Enumeration of Paging
Features by CPUID as CPUID.8008H:EAX[7:0], into variable cpu_maxphyaddr.
Reviewed by:
Author: kib
Date: Fri Jan 9 02:10:44 2015
New Revision: 276867
URL: https://svnweb.freebsd.org/changeset/base/276867
Log:
Fix DMAR context allocations for the devices behind PCIe-PCI bridges
after dmar driver was converted to use rids. The bus component to
calculate context page must be
Author: kib
Date: Tue Jan 13 00:11:56 2015
New Revision: 277100
URL: https://svnweb.freebsd.org/changeset/base/277100
Log:
Add quirk to override default BAR(5) rid for AHCI.
Use it for Cavium AHCI.
Submitted by: Michaе┌ Stanek
Reviewed by: imp (previous version)
MFC after:1 week
On Tue, Jan 13, 2015 at 01:21:00AM +, Steven Hartland wrote:
Looks like this missed the addition of the new quirk to AHCI_Q_BIT_STRING.
Thank you for noting.
See the patch below. Is anything else amiss ?
Index: sys/dev/ahci/ahci.h
Author: kib
Date: Tue Jan 13 09:50:15 2015
New Revision: 277126
URL: https://svnweb.freebsd.org/changeset/base/277126
Log:
Complete r277100: add AHCI_Q_ABAR0 tp AHCI_Q_BIT_STRING.
Noted and reviewed by:smh
MFC after:6 days
Modified:
head/sys/dev/ahci/ahci.h
Modified:
On Tue, Feb 10, 2015 at 04:34:40AM +, Rui Paulo wrote:
Author: rpaulo
Date: Tue Feb 10 04:34:39 2015
New Revision: 278494
URL: https://svnweb.freebsd.org/changeset/base/278494
Log:
Sanitise the coredump file names sent to devd.
While there, add a sysctl to turn this feature
On Mon, Feb 09, 2015 at 06:35:55PM -0800, Rui Paulo wrote:
On Feb 9, 2015, at 15:28, Konstantin Belousov kostik...@gmail.com wrote:
Arguably, there should be a knob, probably sysctl, to turn the
functionality off. I definitely do not want this on crash boxes used for
userspace debugging
Author: kib
Date: Sat Feb 14 11:47:40 2015
New Revision: 278751
URL: https://svnweb.freebsd.org/changeset/base/278751
Log:
Properly interpose libc spinlocks, was missed in r276630. In
particular, stdio locking was affected.
Reported and tested by: Matthew D. Fuller
On Wed, Feb 11, 2015 at 12:43:39AM +, Rui Paulo wrote:
On Feb 09, 2015, at 01:01 PM, Konstantin Belousov k...@freebsd.org wrote:
Author: kib
Date: Mon Feb 9 21:00:56 2015
New Revision: 278473
URL: https://svnweb.freebsd.org/changeset/base/278473
Log:
Add x2APIC support. Enable
Author: kib
Date: Mon Feb 9 21:00:56 2015
New Revision: 278473
URL: https://svnweb.freebsd.org/changeset/base/278473
Log:
Add x2APIC support. Enable it by default if CPU is capable. The
hw.x2apic_enable tunable allows disabling it from the loader prompt.
To closely repeat effects of
On Mon, Feb 09, 2015 at 08:51:02PM +1100, Bruce Evans wrote:
On Mon, 9 Feb 2015, Konstantin Belousov wrote:
On Mon, Feb 09, 2015 at 05:00:49PM +1100, Bruce Evans wrote:
On Mon, 9 Feb 2015, Oleksandr Tymoshenko wrote:
...
I think the full bugs only occur when arch has strict alignment
On Mon, Feb 09, 2015 at 11:13:51PM +, Rui Paulo wrote:
Author: rpaulo
Date: Mon Feb 9 23:13:50 2015
New Revision: 278479
URL: https://svnweb.freebsd.org/changeset/base/278479
Log:
Notify devd(8) when a process crashed.
This change implements a notification (via devctl) to
Author: kib
Date: Thu Feb 12 17:16:54 2015
New Revision: 278627
URL: https://svnweb.freebsd.org/changeset/base/278627
Log:
Update libthr(3) man page to reflect the work done to support dlopen.
Noted and reviewed by:bdrewery
Sponsored by: The FreeBSD Foundation
MFC after:1
Author: kib
Date: Sat Feb 14 09:00:12 2015
New Revision: 278749
URL: https://svnweb.freebsd.org/changeset/base/278749
Log:
Detect whether x2APIC on VMWare is usable without interrupt
redirection support. Older versions of the hypervisor mis-interpret
the cpuid format in ioapic registers
Author: kib
Date: Sun Feb 15 08:44:30 2015
New Revision: 278795
URL: https://svnweb.freebsd.org/changeset/base/278795
Log:
Reparenting done by debugger attach can leave reaper without direct
children. Handle the situation instead asserting that it is
impossible.
Reported and tested
Author: kib
Date: Sun Jan 4 00:33:41 2015
New Revision: 276646
URL: https://svnweb.freebsd.org/changeset/base/276646
Log:
Do not erronously export 'openat' symbol from rtld.
The symbol leaked after r276630 since lib/libc/sys/openat.c defines
versions for openat using .symver (version
Author: kib
Date: Mon Jan 5 01:06:54 2015
New Revision: 276681
URL: https://svnweb.freebsd.org/changeset/base/276681
Log:
Avoid calling internal libc function through PLT or accessing data
though GOT, by staticizing and hiding. Add setter for
__error_selector to hide it as well.
On Thu, Jan 08, 2015 at 01:27:44AM +, Craig Rodrigues wrote:
@@ -43,11 +43,11 @@
.Sh DESCRIPTION
The
.Fn sleep
-function suspends execution of the calling process until either
+function suspends execution of the calling thread until either
.Fa seconds
-seconds have elapsed or a
On Wed, Mar 18, 2015 at 10:33:45AM -0400, John Baldwin wrote:
On Wednesday, March 18, 2015 01:59:05 PM Andrew Turner wrote:
Author: andrew
Date: Wed Mar 18 13:59:04 2015
New Revision: 280220
URL: https://svnweb.freebsd.org/changeset/base/280220
Log:
Allowus to exclude a.out
Author: kib
Date: Sun Mar 22 09:09:26 2015
New Revision: 280342
URL: https://svnweb.freebsd.org/changeset/base/280342
Log:
msdosfs: mark unused compat-mount fields
The magic number MSDOSFS_ARGSMAGIC, which used to distinguish
old vs new msdosfs mount arguments, has not been used since
On Sun, Mar 22, 2015 at 09:41:53AM +1100, Bruce Evans wrote:
On Sat, 21 Mar 2015, John Baldwin wrote:
On 3/21/15 12:35 PM, Konstantin Belousov wrote:
X static int
X popcnt_pc_map_elem(uint64_t elem)
X {
X int count;
X
X /*
X * This simple method of counting the one bits
1 - 100 of 4863 matches
Mail list logo