diff options
| author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-10 07:19:23 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-10 07:19:23 -0400 |
| commit | 71db1cd7ff4ea3b525ae7d9c97633ea281b7d981 (patch) | |
| tree | 53ff3b8ecfc2869ec919e3423d69e07ddfaddd9a /include/uapi/linux | |
| parent | 7d95fb746c4eece67308f1642a666ea1ebdbd2cc (diff) | |
| parent | 75bc37fefc4471e718ba8e651aa74673d4e0a9eb (diff) | |
Merge tag 'v4.17-rc4' into patchwork
Linux 4.17-rc4
* tag 'v4.17-rc4': (920 commits)
Linux 4.17-rc4
KVM: x86: remove APIC Timer periodic/oneshot spikes
genksyms: fix typo in parse.tab.{c,h} generation rules
kbuild: replace hardcoded bison in cmd_bison_h with $(YACC)
gcc-plugins: fix build condition of SANCOV plugin
MAINTAINERS: Update Kbuild entry with a few paths
Revert "usb: host: ehci: Use dma_pool_zalloc()"
platform/x86: Kconfig: Fix dell-laptop dependency chain.
platform/x86: asus-wireless: Fix NULL pointer dereference
arm64: vgic-v2: Fix proxying of cpuif access
KVM: arm/arm64: vgic_init: Cleanup reference to process_maintenance
KVM: arm64: Fix order of vcpu_write_sys_reg() arguments
MAINTAINERS & files: Canonize the e-mails I use at files
media: imx-media-csi: Fix inconsistent IS_ERR and PTR_ERR
tools: power/acpi, revert to LD = gcc
bdi: Fix oops in wb_workfn()
RDMA/cma: Do not query GID during QP state transition to RTR
IB/mlx4: Fix integer overflow when calculating optimal MTT size
IB/hfi1: Fix memory leak in exception path in get_irq_affinity()
IB/{hfi1, rdmavt}: Fix memory leak in hfi1_alloc_devdata() upon failure
...
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/if_infiniband.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/kvm.h | 7 | ||||
| -rw-r--r-- | include/uapi/linux/perf_event.h | 18 | ||||
| -rw-r--r-- | include/uapi/linux/random.h | 3 | ||||
| -rw-r--r-- | include/uapi/linux/rds.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/sysctl.h | 18 | ||||
| -rw-r--r-- | include/uapi/linux/time.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/tls.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/virtio_balloon.h | 15 |
9 files changed, 43 insertions, 25 deletions
diff --git a/include/uapi/linux/if_infiniband.h b/include/uapi/linux/if_infiniband.h index 050b92dcf8cf..0fc33bf30e45 100644 --- a/include/uapi/linux/if_infiniband.h +++ b/include/uapi/linux/if_infiniband.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ | 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ |
| 2 | /* | 2 | /* |
| 3 | * This software is available to you under a choice of one of two | 3 | * This software is available to you under a choice of one of two |
| 4 | * licenses. You may choose to be licensed under the terms of the GNU | 4 | * licenses. You may choose to be licensed under the terms of the GNU |
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 1065006c9bf5..b02c41e53d56 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h | |||
| @@ -676,6 +676,13 @@ struct kvm_ioeventfd { | |||
| 676 | __u8 pad[36]; | 676 | __u8 pad[36]; |
| 677 | }; | 677 | }; |
| 678 | 678 | ||
| 679 | #define KVM_X86_DISABLE_EXITS_MWAIT (1 << 0) | ||
| 680 | #define KVM_X86_DISABLE_EXITS_HTL (1 << 1) | ||
| 681 | #define KVM_X86_DISABLE_EXITS_PAUSE (1 << 2) | ||
| 682 | #define KVM_X86_DISABLE_VALID_EXITS (KVM_X86_DISABLE_EXITS_MWAIT | \ | ||
| 683 | KVM_X86_DISABLE_EXITS_HTL | \ | ||
| 684 | KVM_X86_DISABLE_EXITS_PAUSE) | ||
| 685 | |||
| 679 | /* for KVM_ENABLE_CAP */ | 686 | /* for KVM_ENABLE_CAP */ |
| 680 | struct kvm_enable_cap { | 687 | struct kvm_enable_cap { |
| 681 | /* in */ | 688 | /* in */ |
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index 912b85b52344..b8e288a1f740 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h | |||
| @@ -650,11 +650,23 @@ struct perf_event_mmap_page { | |||
| 650 | #define PERF_RECORD_MISC_COMM_EXEC (1 << 13) | 650 | #define PERF_RECORD_MISC_COMM_EXEC (1 << 13) |
| 651 | #define PERF_RECORD_MISC_SWITCH_OUT (1 << 13) | 651 | #define PERF_RECORD_MISC_SWITCH_OUT (1 << 13) |
| 652 | /* | 652 | /* |
| 653 | * Indicates that the content of PERF_SAMPLE_IP points to | 653 | * These PERF_RECORD_MISC_* flags below are safely reused |
| 654 | * the actual instruction that triggered the event. See also | 654 | * for the following events: |
| 655 | * perf_event_attr::precise_ip. | 655 | * |
| 656 | * PERF_RECORD_MISC_EXACT_IP - PERF_RECORD_SAMPLE of precise events | ||
| 657 | * PERF_RECORD_MISC_SWITCH_OUT_PREEMPT - PERF_RECORD_SWITCH* events | ||
| 658 | * | ||
| 659 | * | ||
| 660 | * PERF_RECORD_MISC_EXACT_IP: | ||
| 661 | * Indicates that the content of PERF_SAMPLE_IP points to | ||
| 662 | * the actual instruction that triggered the event. See also | ||
| 663 | * perf_event_attr::precise_ip. | ||
| 664 | * | ||
| 665 | * PERF_RECORD_MISC_SWITCH_OUT_PREEMPT: | ||
| 666 | * Indicates that thread was preempted in TASK_RUNNING state. | ||
| 656 | */ | 667 | */ |
| 657 | #define PERF_RECORD_MISC_EXACT_IP (1 << 14) | 668 | #define PERF_RECORD_MISC_EXACT_IP (1 << 14) |
| 669 | #define PERF_RECORD_MISC_SWITCH_OUT_PREEMPT (1 << 14) | ||
| 658 | /* | 670 | /* |
| 659 | * Reserve the last bit to indicate some extended misc field | 671 | * Reserve the last bit to indicate some extended misc field |
| 660 | */ | 672 | */ |
diff --git a/include/uapi/linux/random.h b/include/uapi/linux/random.h index c34f4490d025..26ee91300e3e 100644 --- a/include/uapi/linux/random.h +++ b/include/uapi/linux/random.h | |||
| @@ -35,6 +35,9 @@ | |||
| 35 | /* Clear the entropy pool and associated counters. (Superuser only.) */ | 35 | /* Clear the entropy pool and associated counters. (Superuser only.) */ |
| 36 | #define RNDCLEARPOOL _IO( 'R', 0x06 ) | 36 | #define RNDCLEARPOOL _IO( 'R', 0x06 ) |
| 37 | 37 | ||
| 38 | /* Reseed CRNG. (Superuser only.) */ | ||
| 39 | #define RNDRESEEDCRNG _IO( 'R', 0x07 ) | ||
| 40 | |||
| 38 | struct rand_pool_info { | 41 | struct rand_pool_info { |
| 39 | int entropy_count; | 42 | int entropy_count; |
| 40 | int buf_size; | 43 | int buf_size; |
diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index a66b213de3d7..20c6bd0b0007 100644 --- a/include/uapi/linux/rds.h +++ b/include/uapi/linux/rds.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ | 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-OpenIB) */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2008 Oracle. All rights reserved. | 3 | * Copyright (c) 2008 Oracle. All rights reserved. |
| 4 | * | 4 | * |
diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h index 0f272818a4d2..6b58371b1f0d 100644 --- a/include/uapi/linux/sysctl.h +++ b/include/uapi/linux/sysctl.h | |||
| @@ -780,24 +780,6 @@ enum { | |||
| 780 | NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5, | 780 | NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5, |
| 781 | }; | 781 | }; |
| 782 | 782 | ||
| 783 | /* proc/sys/net/irda */ | ||
| 784 | enum { | ||
| 785 | NET_IRDA_DISCOVERY=1, | ||
| 786 | NET_IRDA_DEVNAME=2, | ||
| 787 | NET_IRDA_DEBUG=3, | ||
| 788 | NET_IRDA_FAST_POLL=4, | ||
| 789 | NET_IRDA_DISCOVERY_SLOTS=5, | ||
| 790 | NET_IRDA_DISCOVERY_TIMEOUT=6, | ||
| 791 | NET_IRDA_SLOT_TIMEOUT=7, | ||
| 792 | NET_IRDA_MAX_BAUD_RATE=8, | ||
| 793 | NET_IRDA_MIN_TX_TURN_TIME=9, | ||
| 794 | NET_IRDA_MAX_TX_DATA_SIZE=10, | ||
| 795 | NET_IRDA_MAX_TX_WINDOW=11, | ||
| 796 | NET_IRDA_MAX_NOREPLY_TIME=12, | ||
| 797 | NET_IRDA_WARN_NOREPLY_TIME=13, | ||
| 798 | NET_IRDA_LAP_KEEPALIVE_TIME=14, | ||
| 799 | }; | ||
| 800 | |||
| 801 | 783 | ||
| 802 | /* CTL_FS names: */ | 784 | /* CTL_FS names: */ |
| 803 | enum | 785 | enum |
diff --git a/include/uapi/linux/time.h b/include/uapi/linux/time.h index 16a296612ba4..4c0338ea308a 100644 --- a/include/uapi/linux/time.h +++ b/include/uapi/linux/time.h | |||
| @@ -73,7 +73,6 @@ struct __kernel_old_timeval { | |||
| 73 | */ | 73 | */ |
| 74 | #define CLOCK_SGI_CYCLE 10 | 74 | #define CLOCK_SGI_CYCLE 10 |
| 75 | #define CLOCK_TAI 11 | 75 | #define CLOCK_TAI 11 |
| 76 | #define CLOCK_MONOTONIC_ACTIVE 12 | ||
| 77 | 76 | ||
| 78 | #define MAX_CLOCKS 16 | 77 | #define MAX_CLOCKS 16 |
| 79 | #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) | 78 | #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) |
diff --git a/include/uapi/linux/tls.h b/include/uapi/linux/tls.h index c6633e97eca4..ff02287495ac 100644 --- a/include/uapi/linux/tls.h +++ b/include/uapi/linux/tls.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */ | 1 | /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-OpenIB) */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved. | 3 | * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved. |
| 4 | * | 4 | * |
diff --git a/include/uapi/linux/virtio_balloon.h b/include/uapi/linux/virtio_balloon.h index 40297a3181ed..13b8cb563892 100644 --- a/include/uapi/linux/virtio_balloon.h +++ b/include/uapi/linux/virtio_balloon.h | |||
| @@ -57,6 +57,21 @@ struct virtio_balloon_config { | |||
| 57 | #define VIRTIO_BALLOON_S_HTLB_PGFAIL 9 /* Hugetlb page allocation failures */ | 57 | #define VIRTIO_BALLOON_S_HTLB_PGFAIL 9 /* Hugetlb page allocation failures */ |
| 58 | #define VIRTIO_BALLOON_S_NR 10 | 58 | #define VIRTIO_BALLOON_S_NR 10 |
| 59 | 59 | ||
| 60 | #define VIRTIO_BALLOON_S_NAMES_WITH_PREFIX(VIRTIO_BALLOON_S_NAMES_prefix) { \ | ||
| 61 | VIRTIO_BALLOON_S_NAMES_prefix "swap-in", \ | ||
| 62 | VIRTIO_BALLOON_S_NAMES_prefix "swap-out", \ | ||
| 63 | VIRTIO_BALLOON_S_NAMES_prefix "major-faults", \ | ||
| 64 | VIRTIO_BALLOON_S_NAMES_prefix "minor-faults", \ | ||
| 65 | VIRTIO_BALLOON_S_NAMES_prefix "free-memory", \ | ||
| 66 | VIRTIO_BALLOON_S_NAMES_prefix "total-memory", \ | ||
| 67 | VIRTIO_BALLOON_S_NAMES_prefix "available-memory", \ | ||
| 68 | VIRTIO_BALLOON_S_NAMES_prefix "disk-caches", \ | ||
| 69 | VIRTIO_BALLOON_S_NAMES_prefix "hugetlb-allocations", \ | ||
| 70 | VIRTIO_BALLOON_S_NAMES_prefix "hugetlb-failures" \ | ||
| 71 | } | ||
| 72 | |||
| 73 | #define VIRTIO_BALLOON_S_NAMES VIRTIO_BALLOON_S_NAMES_WITH_PREFIX("") | ||
| 74 | |||
| 60 | /* | 75 | /* |
| 61 | * Memory statistics structure. | 76 | * Memory statistics structure. |
| 62 | * Driver fills an array of these structures and passes to device. | 77 | * Driver fills an array of these structures and passes to device. |
