freebsd-nq/sys
Konstantin Belousov ecabd74728 Use TSC deadline mode for LAPIC timer, when available. The mode fires
LAPIC timer iinterrupt when TSC reaches the value written to the
IA32_TSC_DEADLINE MSR.  To arm or reset the timer in deadline mode, a
single non-serializing MSR write is enough.  This is an advance from
the one-shot mode of LAPIC, where timer operated with the FSB
frequency and required two (serialized in case of xAPIC) writes to the
APIC registers.

The LVT_TIMER register value is cached to avoid unneeded writes in the
deadline mode.  Unused arguments to specify period (which is passed in
struct lapic as la_timer_period) and interrupt enable (which is always
enabled) are removed from lapic_timer_{oneshot,periodic,deadline}
functions.  Instead, special lapic_timer_oneshot_nointr() function for
interrupt-less one-shot calibration is added.

Reviewed by:	mav (previous version)
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D5738
2016-03-28 09:52:44 +00:00
..
amd64 Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET. 2016-03-27 10:09:10 +00:00
arm Only define the platform methods for the Allwinner platforms we are 2016-03-26 17:49:46 +00:00
arm64 arm64: Fixing user space boudary checking in copyinout.S 2016-03-24 13:28:33 +00:00
boot Do not prompt for GELI passphrase is encrypted with keys only 2016-03-26 15:39:48 +00:00
bsm
cam Add 4k enabled cam quirks for Samsung SM863 Series SSDs 2016-03-24 14:20:33 +00:00
cddl Pass through error code from make_dev_p(). 2016-03-28 08:12:29 +00:00
compat Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET. 2016-03-27 10:09:10 +00:00
conf Adding pci_host_generic unconditionally breaks ARM boards with a PCI(e) interface. 2016-03-22 12:12:01 +00:00
contrib Replace the CloudABI system call table by a machine generated version. 2016-03-24 21:47:15 +00:00
crypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
ddb Add td_swinvoltick to track last involuntary context switch 2016-03-25 19:35:29 +00:00
dev vt: Use textmode when we're running on hypervisors 2016-03-28 07:36:54 +00:00
fs Update superblock and inode structs for ext4. 2016-03-28 07:44:55 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Don't assume that bio_cmd is a bit mask. 2016-03-10 06:25:39 +00:00
gnu Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. We 2016-02-09 16:42:32 +00:00
i386 Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET. 2016-03-27 10:09:10 +00:00
isa Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
kern Plug leak in m_unshare. 2016-03-26 23:39:53 +00:00
kgssapi kcrypto_aes: Use separate sessions for AES and SHA1 2016-02-02 00:14:51 +00:00
libkern libkern: ffs, fls: s/4/3/ the 3rd BSD clause 2015-10-22 21:04:47 +00:00
mips Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
modules [urtwn] migrate urtwn out into sys/dev/urtwn/ . 2016-03-20 03:54:57 +00:00
net Fix compile errors after r297225: 2016-03-24 11:40:10 +00:00
net80211 net80211: fix panic for DWDS vaps 2016-03-26 08:59:56 +00:00
netgraph Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
netinet Improve compilation on windows 64-bit (for the userland stack). 2016-03-27 10:04:25 +00:00
netinet6 FreeBSD previously provided route caching for TCP (and UDP). Re-add 2016-03-24 07:54:56 +00:00
netipsec Fix handling of net.inet.ipsec.dfbit=2 variable. 2016-03-18 09:03:00 +00:00
netnatm
netpfil pf: Improve forwarding detection 2016-03-16 06:42:15 +00:00
netsmb
nfs Do not try to install a default route for each interface found, because 2016-03-27 23:16:37 +00:00
nfsclient
nfsserver
nlm
ofed Add missing curly brackets in for loop. 2016-03-17 12:30:21 +00:00
opencrypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
pc98 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
powerpc Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
riscv Add support for ddb(4). 2016-03-10 15:51:43 +00:00
rpc Fix incorrect (fortunately bigger) malloc size. 2016-03-19 11:48:06 +00:00
security Busy the mount point which is the owner of the audit vnode, around 2016-01-16 10:06:33 +00:00
sparc64 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
sys Add td_swinvoltick to track last involuntary context switch 2016-03-25 19:35:29 +00:00
teken Sync HPA and VPA implementations with CUP. 2015-08-24 07:49:27 +00:00
tests
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs Split the global taskqueue used to process all UFS trim completions, 2016-03-27 08:21:17 +00:00
vm Remove UMA_ZONE_REFCNT feature, now unused. 2016-03-01 00:33:32 +00:00
x86 Use TSC deadline mode for LAPIC timer, when available. The mode fires 2016-03-28 09:52:44 +00:00
xdr
xen xenbus: add a comment with the names of the generated accessors 2016-01-15 14:34:31 +00:00
Makefile Add riscv to the list of architectures for cscope. 2016-02-29 16:39:27 +00:00