]>
git.karo-electronics.de Git - karo-tx-linux.git/log
Andrew Morton [Wed, 21 Oct 2015 22:13:22 +0000 (09:13 +1100)]
remove-abs64-fix-fix
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Andrew Morton [Wed, 21 Oct 2015 22:13:21 +0000 (09:13 +1100)]
remove-abs64-fix
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Andrew Morton [Wed, 21 Oct 2015 22:13:21 +0000 (09:13 +1100)]
Remove abs64()
Switch everything to the new and more capable implementation of abs().
Mainly to give the new abs() a bit of a workout.
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Michal Nazarewicz [Wed, 21 Oct 2015 22:13:21 +0000 (09:13 +1100)]
kernel.h: make abs() work with 64-bit types
For 64-bit arguments, the abs macro casts it to an int which leads to lost
precision and may cause incorrect results. To deal with 64-bit types
abs64 macro has been introduced but still there are places where abs macro
is used incorrectly.
To deal with the problem, expand abs macro such that it operates on s64
type when dealing with 64-bit types while still returning long when
dealing with smaller types.
This fixes one known bug (per John):
The internal clocksteering done for fine-grained error correction uses a
: logarithmic approximation, so any time adjtimex() adjusts the clock
: steering, timekeeping_freqadjust() quickly approximates the correct clock
: frequency over a series of ticks.
:
: Unfortunately, the logic in timekeeping_freqadjust(), introduced in commit
:
dc491596f639438 (Rework frequency adjustments to work better w/ nohz),
: used the abs() function with a s64 error value to calculate the size of
: the approximated adjustment to be made.
:
: Per include/linux/kernel.h: "abs() should not be used for 64-bit types
: (s64, u64, long long) - use abs64()".
:
: Thus on 32-bit platforms, this resulted in the clocksteering to take a
: quite dampended random walk trying to converge on the proper frequency,
: which caused the adjustments to be made much slower then intended (most
: easily observed when large adjustments are made).
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Reported-by: John Stultz <john.stultz@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Mathieu Desnoyers [Wed, 21 Oct 2015 22:13:21 +0000 (09:13 +1100)]
sparc/sparc64: allocate sys_membarrier system call number
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Eric B Munson [Wed, 21 Oct 2015 22:13:21 +0000 (09:13 +1100)]
mips: add entry for new mlock2 syscall
A previous commit introduced the new mlock2 syscall, add entries for the
MIPS architecture.
Signed-off-by: Eric B Munson <emunson@akamai.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Andrew Morton [Wed, 21 Oct 2015 22:13:20 +0000 (09:13 +1100)]
net/ipv4/route.c: prevent oops
Fix oops in ip_route_input_slow()
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen Rothwell [Mon, 2 Nov 2015 03:45:18 +0000 (14:45 +1100)]
Merge branch 'akpm-current/current'
Stephen Rothwell [Mon, 2 Nov 2015 03:23:28 +0000 (14:23 +1100)]
Merge remote-tracking branch 'nvdimm/libnvdimm-for-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:22:13 +0000 (14:22 +1100)]
Merge remote-tracking branch 'rtc/rtc-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:20:58 +0000 (14:20 +1100)]
Merge remote-tracking branch 'coresight/next'
Stephen Rothwell [Mon, 2 Nov 2015 03:20:56 +0000 (14:20 +1100)]
Merge remote-tracking branch 'livepatching/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:20:51 +0000 (14:20 +1100)]
Merge remote-tracking branch 'access_once/linux-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:19:04 +0000 (14:19 +1100)]
Merge remote-tracking branch 'y2038/y2038'
Stephen Rothwell [Mon, 2 Nov 2015 03:17:40 +0000 (14:17 +1100)]
Merge remote-tracking branch 'kselftest/next'
Stephen Rothwell [Mon, 2 Nov 2015 03:17:26 +0000 (14:17 +1100)]
Merge remote-tracking branch 'llvmlinux/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:15:36 +0000 (14:15 +1100)]
Merge remote-tracking branch 'clk/clk-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:13:40 +0000 (14:13 +1100)]
Merge remote-tracking branch 'userns/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:12:25 +0000 (14:12 +1100)]
Merge remote-tracking branch 'pwm/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:10:24 +0000 (14:10 +1100)]
Merge remote-tracking branch 'gpio/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:09:06 +0000 (14:09 +1100)]
Merge remote-tracking branch 'vhost/linux-next'
Stephen Rothwell [Mon, 2 Nov 2015 03:01:11 +0000 (14:01 +1100)]
Merge remote-tracking branch 'pinctrl/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:59:55 +0000 (13:59 +1100)]
Merge remote-tracking branch 'target-merge/for-next-merge'
Stephen Rothwell [Mon, 2 Nov 2015 02:58:35 +0000 (13:58 +1100)]
Merge remote-tracking branch 'target-updates/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:57:21 +0000 (13:57 +1100)]
Merge remote-tracking branch 'scsi/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:49:04 +0000 (13:49 +1100)]
Merge remote-tracking branch 'cgroup/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:42:19 +0000 (13:42 +1100)]
Merge remote-tracking branch 'char-misc/char-misc-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:39:47 +0000 (13:39 +1100)]
Merge remote-tracking branch 'staging/staging-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:38:32 +0000 (13:38 +1100)]
Merge remote-tracking branch 'usb-chipidea-next/ci-for-usb-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:36:14 +0000 (13:36 +1100)]
Merge remote-tracking branch 'usb/usb-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:34:17 +0000 (13:34 +1100)]
Merge remote-tracking branch 'tty/tty-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:26:10 +0000 (13:26 +1100)]
Merge remote-tracking branch 'driver-core/driver-core-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:24:58 +0000 (13:24 +1100)]
Merge remote-tracking branch 'ipmi/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:23:15 +0000 (13:23 +1100)]
Merge remote-tracking branch 'leds/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:22:03 +0000 (13:22 +1100)]
Merge remote-tracking branch 'hsi/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:20:00 +0000 (13:20 +1100)]
Merge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:11:52 +0000 (13:11 +1100)]
Merge remote-tracking branch 'chrome-platform/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:10:40 +0000 (13:10 +1100)]
Merge remote-tracking branch 'drivers-x86/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:08:57 +0000 (13:08 +1100)]
Merge remote-tracking branch 'workqueues/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 02:01:21 +0000 (13:01 +1100)]
Merge remote-tracking branch 'percpu/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:53:06 +0000 (12:53 +1100)]
Merge remote-tracking branch 'xen-tip/linux-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:51:54 +0000 (12:51 +1100)]
Merge remote-tracking branch 'kvms390/next'
Stephen Rothwell [Mon, 2 Nov 2015 01:50:41 +0000 (12:50 +1100)]
Merge remote-tracking branch 'kvm-ppc-paulus/kvm-ppc-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:49:25 +0000 (12:49 +1100)]
Merge remote-tracking branch 'kvm-arm/next'
Stephen Rothwell [Mon, 2 Nov 2015 01:47:32 +0000 (12:47 +1100)]
Merge remote-tracking branch 'kvm/linux-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:43:54 +0000 (12:43 +1100)]
Merge remote-tracking branch 'ftrace/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:43:48 +0000 (12:43 +1100)]
Merge remote-tracking branch 'irqchip/irqchip/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:42:05 +0000 (12:42 +1100)]
Merge remote-tracking branch 'edac-amd/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:41:59 +0000 (12:41 +1100)]
Merge remote-tracking branch 'clockevents/clockevents/next'
Stephen Rothwell [Mon, 2 Nov 2015 01:33:26 +0000 (12:33 +1100)]
Merge remote-tracking branch 'tip/auto-latest'
Stephen Rothwell [Mon, 2 Nov 2015 01:31:16 +0000 (12:31 +1100)]
Merge remote-tracking branch 'spi/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:27:12 +0000 (12:27 +1100)]
Stephen Rothwell [Mon, 2 Nov 2015 01:23:21 +0000 (12:23 +1100)]
Merge remote-tracking branch 'dt-rh/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:21:25 +0000 (12:21 +1100)]
Merge remote-tracking branch 'audit/next'
Stephen Rothwell [Mon, 2 Nov 2015 01:19:43 +0000 (12:19 +1100)]
Merge remote-tracking branch 'trivial/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:18:30 +0000 (12:18 +1100)]
Merge remote-tracking branch 'jc_docs/docs-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:16:41 +0000 (12:16 +1100)]
Merge remote-tracking branch 'dwmw2-iommu/master'
Stephen Rothwell [Mon, 2 Nov 2015 01:14:46 +0000 (12:14 +1100)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Mon, 2 Nov 2015 01:13:04 +0000 (12:13 +1100)]
Merge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Mon, 2 Nov 2015 01:04:44 +0000 (12:04 +1100)]
Merge remote-tracking branch 'security/next'
Stephen Rothwell [Mon, 2 Nov 2015 01:02:57 +0000 (12:02 +1100)]
Merge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 01:01:46 +0000 (12:01 +1100)]
Merge remote-tracking branch 'omap_dss2/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:59:52 +0000 (11:59 +1100)]
Stephen Rothwell [Mon, 2 Nov 2015 00:57:42 +0000 (11:57 +1100)]
Merge remote-tracking branch 'backlight/for-backlight-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:55:47 +0000 (11:55 +1100)]
Merge remote-tracking branch 'mfd/for-mfd-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:54:33 +0000 (11:54 +1100)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:52:47 +0000 (11:52 +1100)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:51:04 +0000 (11:51 +1100)]
Merge remote-tracking branch 'mmc-uh/next'
Stephen Rothwell [Mon, 2 Nov 2015 00:49:13 +0000 (11:49 +1100)]
Merge remote-tracking branch 'device-mapper/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:46:02 +0000 (11:46 +1100)]
Merge remote-tracking branch 'block/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:43:10 +0000 (11:43 +1100)]
Merge remote-tracking branch 'input/next'
Stephen Rothwell [Mon, 2 Nov 2015 00:41:29 +0000 (11:41 +1100)]
Merge remote-tracking branch 'modules/modules-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:40:15 +0000 (11:40 +1100)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:33:54 +0000 (11:33 +1100)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:32:29 +0000 (11:32 +1100)]
Merge remote-tracking branch 'drm-misc/topic/drm-misc'
Stephen Rothwell [Mon, 2 Nov 2015 00:31:17 +0000 (11:31 +1100)]
Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:30:06 +0000 (11:30 +1100)]
Merge remote-tracking branch 'drm-intel/for-linux-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:28:55 +0000 (11:28 +1100)]
Merge remote-tracking branch 'drm-panel/drm/panel/for-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:26:43 +0000 (11:26 +1100)]
Merge remote-tracking branch 'drm/drm-next'
Stephen Rothwell [Mon, 2 Nov 2015 00:19:41 +0000 (11:19 +1100)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Mon, 2 Nov 2015 00:17:53 +0000 (11:17 +1100)]
Merge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Mon, 2 Nov 2015 00:16:30 +0000 (11:16 +1100)]
Merge remote-tracking branch 'rdma/for-next'
Initial roundup of 4.4 merge window candidates
- "Checksum offload support in user space" enablement
- Misc cxgb4 fixes, add T6 support
- Misc usnic fixes
- 32 bit build warning fixes
- Misc ocrdma fixes
- Multicast loopback prevention extension
- Extend the GID cache to store and return attributes of GIDs
- Misc iSER updates
- iSER clustering update
- Network NameSpace support for rdma CM
- Work Request cleanup series
- New Memory Registration API
Stephen Rothwell [Mon, 2 Nov 2015 00:15:17 +0000 (11:15 +1100)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Mon, 2 Nov 2015 00:07:07 +0000 (11:07 +1100)]
Merge remote-tracking branch 'net-next/master'
Stephen Rothwell [Mon, 2 Nov 2015 00:05:26 +0000 (11:05 +1100)]
Merge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Mon, 2 Nov 2015 00:03:41 +0000 (11:03 +1100)]
Merge remote-tracking branch 'thermal-soc/next'
Stephen Rothwell [Mon, 2 Nov 2015 00:02:01 +0000 (11:02 +1100)]
Merge remote-tracking branch 'thermal/next'
Stephen Rothwell [Mon, 2 Nov 2015 00:01:56 +0000 (11:01 +1100)]
Merge remote-tracking branch 'idle/next'
Stephen Rothwell [Sun, 1 Nov 2015 23:53:48 +0000 (10:53 +1100)]
Merge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Sun, 1 Nov 2015 23:52:33 +0000 (10:52 +1100)]
Merge remote-tracking branch 'libata/for-next'
Stephen Rothwell [Sun, 1 Nov 2015 23:50:48 +0000 (10:50 +1100)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Sun, 1 Nov 2015 23:48:42 +0000 (10:48 +1100)]
Merge remote-tracking branch 'v4l-dvb/master'
Stephen Rothwell [Sun, 1 Nov 2015 23:47:34 +0000 (10:47 +1100)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Sun, 1 Nov 2015 23:46:23 +0000 (10:46 +1100)]
Merge branch 'jdelvare-hwmon/master'
Stephen Rothwell [Sun, 1 Nov 2015 23:44:14 +0000 (10:44 +1100)]
Merge remote-tracking branch 'i2c/i2c/for-next'
Stephen Rothwell [Sun, 1 Nov 2015 23:42:59 +0000 (10:42 +1100)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Sun, 1 Nov 2015 23:39:29 +0000 (10:39 +1100)]
Merge remote-tracking branch 'pci/next'
Stephen Rothwell [Sun, 1 Nov 2015 23:32:44 +0000 (10:32 +1100)]
Merge remote-tracking branch 'file-locks/linux-next'
Stephen Rothwell [Sun, 1 Nov 2015 23:31:32 +0000 (10:31 +1100)]
Merge remote-tracking branch 'xfs/for-next'
Stephen Rothwell [Sun, 1 Nov 2015 23:30:22 +0000 (10:30 +1100)]
Merge remote-tracking branch 'ubifs/linux-next'