diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-12 15:56:02 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-12 15:56:02 -0400 |
| commit | 763f96944c954ce0e00a10a7bdfe29adbe4f92eb (patch) | |
| tree | 9ff48f1952b6b682845c195542fd55bf588271a1 /lib | |
| parent | ea8781e5e70c14a98d62bc2bd19b57e71e773717 (diff) | |
| parent | 9ed8b56b80c11ef7c25230b93f2c486fe6b41c4d (diff) | |
Merge tag 'mips_4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
Pull MIPS updates from James Hogan:
"These are the main MIPS changes for 4.18.
Rough overview:
- MAINTAINERS: Add Paul Burton as MIPS co-maintainer
- Misc: Generic compiler intrinsics, Y2038 improvements, Perf+MT fixes
- Platform support: Netgear WNR1000 V3, Microsemi Ocelot integrated
switch, Ingenic watchdog cleanups
More detailed summary:
Maintainers:
- Add Paul Burton as MIPS co-maintainer, as I soon won't have access
to much MIPS hardware, nor enough time to properly maintain MIPS on
my own.
Miscellaneous:
- Use generic GCC library routines from lib/
- Add notrace to generic ucmpdi2 implementation
- Rename compiler intrinsic selects to GENERIC_LIB_*
- vmlinuz: Use generic ashldi3
- y2038: Convert update/read_persistent_clock() to *_clock64()
- sni: Remove read_persistent_clock()
- perf: Fix perf with MT counting other threads
- Probe for per-TC perf counters in cpu-probe.c
- Use correct VPE ID for VPE tracing
Minor cleanups:
- Avoid unneeded built-in.a in DTS dirs
- sc-debugfs: Re-use kstrtobool_from_user
- memset.S: Reinstate delay slot indentation
- VPE: Fix spelling "uneeded" -> "Unneeded"
Platform support:
BCM47xx:
- Add support for Netgear WNR1000 V3
- firmware: Support small NVRAM partitions
- Use __initdata for LEDs platform data
Ingenic:
- Watchdog driver & platform code improvements:
- Disable clock after stopping counter
- Use devm_* functions
- Drop module remove function
- Move platform reset code to restart handler in driver
- JZ4740: Convert watchdog instantiation to DT
- JZ4780: Fix watchdog DT node
- qi_lb60_defconfig: Enable watchdog driver
Microsemi:
- Ocelot: Add support for integrated switch
- pcb123: Connect phys to ports"
* tag 'mips_4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (30 commits)
MAINTAINERS: Add Paul Burton as MIPS co-maintainer
MIPS: ptrace: Make FPU context layout comments match reality
MIPS: memset.S: Reinstate delay slot indentation
MIPS: perf: Fix perf with MT counting other threads
MIPS: perf: Use correct VPE ID when setting up VPE tracing
MIPS: perf: More robustly probe for the presence of per-tc counters
MIPS: Probe for MIPS MT perf counters per TC
MIPS: mscc: Connect phys to ports on ocelot_pcb123
MIPS: mscc: Add switch to ocelot
MIPS: JZ4740: Drop old platform reset code
MIPS: qi_lb60: Enable the jz4740-wdt driver
MIPS: JZ4780: dts: Fix watchdog node
MIPS: JZ4740: dts: Add bindings for the jz4740-wdt driver
watchdog: JZ4740: Drop module remove function
watchdog: JZ4740: Register a restart handler
watchdog: JZ4740: Use devm_* functions
watchdog: JZ4740: Disable clock after stopping counter
MIPS: VPE: Fix spelling mistake: "uneeded" -> "unneeded"
MIPS: Re-use kstrtobool_from_user()
MIPS: Convert update_persistent_clock() to update_persistent_clock64()
...
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig | 12 | ||||
| -rw-r--r-- | lib/Makefile | 12 | ||||
| -rw-r--r-- | lib/ucmpdi2.c | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index abc111eb5054..809fdd155739 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
| @@ -642,20 +642,20 @@ config STRING_SELFTEST | |||
| 642 | 642 | ||
| 643 | endmenu | 643 | endmenu |
| 644 | 644 | ||
| 645 | config GENERIC_ASHLDI3 | 645 | config GENERIC_LIB_ASHLDI3 |
| 646 | bool | 646 | bool |
| 647 | 647 | ||
| 648 | config GENERIC_ASHRDI3 | 648 | config GENERIC_LIB_ASHRDI3 |
| 649 | bool | 649 | bool |
| 650 | 650 | ||
| 651 | config GENERIC_LSHRDI3 | 651 | config GENERIC_LIB_LSHRDI3 |
| 652 | bool | 652 | bool |
| 653 | 653 | ||
| 654 | config GENERIC_MULDI3 | 654 | config GENERIC_LIB_MULDI3 |
| 655 | bool | 655 | bool |
| 656 | 656 | ||
| 657 | config GENERIC_CMPDI2 | 657 | config GENERIC_LIB_CMPDI2 |
| 658 | bool | 658 | bool |
| 659 | 659 | ||
| 660 | config GENERIC_UCMPDI2 | 660 | config GENERIC_LIB_UCMPDI2 |
| 661 | bool | 661 | bool |
diff --git a/lib/Makefile b/lib/Makefile index 84c6dcb31fbb..956b320292fe 100644 --- a/lib/Makefile +++ b/lib/Makefile | |||
| @@ -261,9 +261,9 @@ obj-$(CONFIG_SBITMAP) += sbitmap.o | |||
| 261 | obj-$(CONFIG_PARMAN) += parman.o | 261 | obj-$(CONFIG_PARMAN) += parman.o |
| 262 | 262 | ||
| 263 | # GCC library routines | 263 | # GCC library routines |
| 264 | obj-$(CONFIG_GENERIC_ASHLDI3) += ashldi3.o | 264 | obj-$(CONFIG_GENERIC_LIB_ASHLDI3) += ashldi3.o |
| 265 | obj-$(CONFIG_GENERIC_ASHRDI3) += ashrdi3.o | 265 | obj-$(CONFIG_GENERIC_LIB_ASHRDI3) += ashrdi3.o |
| 266 | obj-$(CONFIG_GENERIC_LSHRDI3) += lshrdi3.o | 266 | obj-$(CONFIG_GENERIC_LIB_LSHRDI3) += lshrdi3.o |
| 267 | obj-$(CONFIG_GENERIC_MULDI3) += muldi3.o | 267 | obj-$(CONFIG_GENERIC_LIB_MULDI3) += muldi3.o |
| 268 | obj-$(CONFIG_GENERIC_CMPDI2) += cmpdi2.o | 268 | obj-$(CONFIG_GENERIC_LIB_CMPDI2) += cmpdi2.o |
| 269 | obj-$(CONFIG_GENERIC_UCMPDI2) += ucmpdi2.o | 269 | obj-$(CONFIG_GENERIC_LIB_UCMPDI2) += ucmpdi2.o |
diff --git a/lib/ucmpdi2.c b/lib/ucmpdi2.c index 25ca2d4c1e19..597998169a96 100644 --- a/lib/ucmpdi2.c +++ b/lib/ucmpdi2.c | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
| 18 | #include <linux/libgcc.h> | 18 | #include <linux/libgcc.h> |
| 19 | 19 | ||
| 20 | word_type __ucmpdi2(unsigned long long a, unsigned long long b) | 20 | word_type notrace __ucmpdi2(unsigned long long a, unsigned long long b) |
| 21 | { | 21 | { |
| 22 | const DWunion au = {.ll = a}; | 22 | const DWunion au = {.ll = a}; |
| 23 | const DWunion bu = {.ll = b}; | 23 | const DWunion bu = {.ll = b}; |
