Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from base #14

Merged
merged 1,262 commits into from
Feb 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1262 commits
Select commit Hold shift + click to select a range
1b8f516
tools headers: Sync {tools/,}arch/powerpc/include/uapi/asm/kvm.h
acmel Feb 2, 2018
7a16c7e
tools headers: Synchronize uapi/linux/sched.h
acmel Feb 2, 2018
4053717
tools headers: Synchoronize x86 features UAPI headers
acmel Feb 2, 2018
23fbd7c
acpi, nfit: fix register dimm error handling
toshikani Feb 2, 2018
0911287
bpf: fix bpf_prog_array_copy_to_user() issues
Feb 2, 2018
dc2b9f1
tools: add netlink.h and if_link.h in tools uapi
regit Jan 30, 2018
949abbe
libbpf: add function to setup XDP
regit Jan 30, 2018
bbf48c1
libbpf: add error reporting in XDP
regit Jan 30, 2018
6061a3d
libbpf: add missing SPDX-License-Identifier
regit Jan 30, 2018
b259c2f
samples/bpf: use bpf_set_link_xdp_fd
regit Jan 30, 2018
09c0656
Merge branch 'libbpf-xdp-support'
Feb 3, 2018
59858d3
libnvdimm, namespace: remove redundant initialization of 'nd_mapping'
Jan 30, 2018
d121f07
Merge branch 'for-4.16/dax' into libnvdimm-for-next
Feb 3, 2018
ee95f40
Merge branch 'for-4.16/nfit' into libnvdimm-for-next
Feb 3, 2018
71ea98f
documentation: watchdog: remove documentation of at32ap700x_wdt
montjoie Feb 1, 2018
7171b13
documentation: watchdog: remove documentation for ixp2000
montjoie Feb 1, 2018
592a547
documentation: watchdog: remove documentation of w83697hf_wdt/w83697u…
montjoie Feb 1, 2018
9383bba
ACPI / LPIT: Export lpit_read_residency_count_address()
spandruvada Feb 2, 2018
745698c
platform/x86: intel_pmc_core: Read base address from LPIT
spandruvada Feb 2, 2018
850eb9f
x86/cpu: Add Cannonlake to Intel family
Feb 2, 2018
291101f
platform/x86: intel_pmc_core: Add CannonLake PCH support
Feb 2, 2018
661405b
platform/x86: intel_pmc_core: Special case for Coffeelake
Feb 2, 2018
46adb17
IB: Update references to libibverbs
jgunthorpe Feb 2, 2018
e9d1e38
IB/uverbs: Use the standard kConfig format for experimental
jgunthorpe Feb 2, 2018
a6b8881
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
davem330 Feb 4, 2018
2aed489
ovl: fix regression in fsnotify of overlay merge dir
amir73il Jan 28, 2018
9b6faee
ovl: check ERR_PTR() return value from ovl_encode_fh()
amir73il Jan 30, 2018
9a9ab30
MIPS: generic: Fix machine compatible matching
amalon Feb 2, 2018
e17ae5c
MIPS: generic: Fix ranchu_of_match[] termination
amalon Feb 2, 2018
0ef1559
MIPS: generic: Fix Makefile alignment
amalon Feb 2, 2018
8dbc186
MIPS: CPS: Fix MIPS_ISA_LEVEL_RAW fallout
amalon Feb 2, 2018
0cde5b4
MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS
mpredfearn Jan 29, 2018
7bf8b16
MIPS: Generic: Support GIC in EIC mode
mpredfearn Jan 5, 2018
91d9f8f
MIPS: SMP-CPS: Remove duplicate assignment of core in play_dead
mpredfearn Dec 15, 2017
a61a86f
doc: Change the min default value of tcp_wmem/tcp_rmem.
xpu22 Feb 5, 2018
23ddd26
dwc-xlgmac: remove Jie Deng as co-maintainer
Feb 5, 2018
49c0ae8
perf evsel: Fix period/freq terms setup
olsajiri Feb 1, 2018
f290aa1
perf record: Fix period option handling
olsajiri Feb 1, 2018
8b9b8d1
RDMA/hns: Fix the endian problem for hns
oulijun Feb 5, 2018
2572cf5
mlx5: fix mlx5_get_vector_affinity to start from completion vector 0
sagigrimberg Feb 5, 2018
03ecdd2
net/mlx5: increase async EQ to avoid EQ overrun
Feb 5, 2018
1197491
x86/events/intel/ds: Add PERF_SAMPLE_PERIOD into PEBS_FREERUNNING_FLAGS
olsajiri Feb 1, 2018
3a9e9a4
perf trace: Fix call-graph output
Jan 30, 2018
2fe2230
perf tools: Add trace/beauty/generated/ into .gitignore
Jan 30, 2018
567af7f
pinctrl: files should directly include apis they use
sfrothwell Feb 4, 2018
1c16a9c
drm/rockchip: lvds: Explicitly include pinctrl headers
thierryreding Feb 5, 2018
8fb572a
mmc: meson-gx-mmc: Explicitly include pinctr/consumer.h
thierryreding Feb 5, 2018
140995c
net: mediatek: Explicitly include pinctrl headers
thierryreding Feb 5, 2018
20f9aa2
Merge tag 'pwm/for-4.16-rc1' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Feb 5, 2018
ae77c95
Merge tag 'mmc-v4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Feb 5, 2018
67fb3b9
Merge tag 'rpmsg-v4.16' of git://github.com/andersson/remoteproc
torvalds Feb 5, 2018
2deb41b
Merge tag 'rproc-v4.16' of git://github.com/andersson/remoteproc
torvalds Feb 5, 2018
667ca1e
membarrier/selftest: Test private expedited command
compudj Jan 29, 2018
3ccfebe
powerpc, membarrier: Skip memory barrier in switch_mm()
compudj Jan 29, 2018
306e060
membarrier: Document scheduler barrier requirements
compudj Jan 29, 2018
c5f58bd
membarrier: Provide GLOBAL_EXPEDITED command
compudj Jan 29, 2018
9248548
membarrier/selftest: Test global expedited command
compudj Jan 29, 2018
e61938a
locking: Introduce sync_core_before_usermode()
compudj Jan 29, 2018
ac1ab12
lockin/x86: Implement sync_core_before_usermode()
compudj Jan 29, 2018
70216e1
membarrier: Provide core serializing command, *_SYNC_CORE
compudj Jan 29, 2018
10bcc80
membarrier/x86: Provide core serializing command
compudj Jan 29, 2018
f1e3a12
membarrier/arm64: Provide core serializing command
compudj Jan 29, 2018
460e8c3
membarrier/selftest: Test private expedited sync core command
compudj Jan 29, 2018
139351f
Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/…
torvalds Feb 5, 2018
59410f5
Merge tag 'perf-urgent-for-mingo-4.16-20180205' of git://git.kernel.o…
Feb 5, 2018
e237f98
Merge tag 'xfs-4.16-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/x…
torvalds Feb 5, 2018
957d761
sctp: fix dst refcnt leak in sctp_v6_get_dst()
akodanev Feb 5, 2018
4a31a6b
sctp: fix dst refcnt leak in sctp_v4_get_dst
rantala Feb 5, 2018
21a2545
ibmvnic: fix empty firmware version and errors cleanup
Feb 5, 2018
b85c8b7
sched/core: Optimize ttwu_stat()
Jan 16, 2018
2ed41a5
sched/core: Optimize update_stats_*()
Jan 23, 2018
ad0f1d9
sched/rt: Use container_of() to get root domain in rto_push_irq_work_…
rostedt Jan 24, 2018
364f566
sched/rt: Up the root domain ref count when passing it around via IPIs
rostedt Jan 24, 2018
e7ad203
sched/rt: Make update_curr_rt() more accurate
taskset Feb 5, 2018
89a55f5
sched/fair: Remove unnecessary parameters from wake_affine_idle()
gormanm Jan 30, 2018
3b76c4a
sched/fair: Restructure wake_affine*() to return a CPU id
gormanm Jan 30, 2018
806486c
sched/fair: Do not migrate if the prev_cpu is idle
gormanm Jan 30, 2018
32e839d
sched/fair: Use a recently used CPU as an idle candidate and the basi…
gormanm Jan 30, 2018
81dcf89
jump_label: Add branch hints to static_branch_{un,}likely()
Jan 18, 2018
ca66e79
locking/qrwlock: include asm/byteorder.h as needed
arndb Feb 2, 2018
8a0f5b6
platform/x86: mlx-platform: Fix an ERR_PTR vs NULL issue
Feb 6, 2018
a211a08
MIPS: Push ARCH_MIGHT_HAVE_PC_PARPORT down to platform level
ralfbaechle Feb 5, 2018
7a407aa
MIPS: Push ARCH_MIGHT_HAVE_PC_SERIO down to platform level
ralfbaechle Feb 5, 2018
d69153d
MIPS: Update defconfigs after previous patch.
ralfbaechle Feb 5, 2018
8f2256d
MIPS: Malta: Sanitize mouse and keyboard configuration.
ralfbaechle Feb 6, 2018
a56c698
net: phy: Handle not having GPIO enabled in the kernel
lunn Feb 5, 2018
a327689
net: amd-xgbe: fix comparison to bitshift when dealing with a mask
Feb 5, 2018
d7cdee5
cls_u32: fix use after free in u32_destroy_key()
Feb 5, 2018
3df1928
net: erspan: fix metadata extraction
williamtu Feb 5, 2018
39f57f6
net: erspan: fix erspan config overwrite
williamtu Feb 5, 2018
9c33ca4
sample/bpf: fix erspan metadata
williamtu Feb 5, 2018
67ae44e
Merge branch 'net-erspan-fixes'
davem330 Feb 6, 2018
703f578
nfp: fix kdoc warnings on nested structures
Feb 5, 2018
2c0aa08
RDS: IB: Fix null pointer issue
Feb 6, 2018
3df40aa
be2net: Fix HW stall issue in Lancer
be2net Feb 6, 2018
ffc3962
be2net: Handle transmit completion errors in Lancer
be2net Feb 6, 2018
176bfb4
Merge branch 'be2net-patch-set'
davem330 Feb 6, 2018
105cf3c
Merge tag 'pci-v4.16-changes' of git://git.kernel.org/pub/scm/linux/k…
torvalds Feb 6, 2018
3ff1b28
Merge tag 'libnvdimm-for-4.16' of git://git.kernel.org/pub/scm/linux/…
torvalds Feb 6, 2018
2246edf
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Feb 6, 2018
68c5735
Merge tag 'media/v4.16-2' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Feb 6, 2018
8284507
Merge branch 'linus' into sched/urgent, to resolve conflicts
Feb 6, 2018
b46dc8a
media: videobuf2: fix up for "media: annotate ->poll() instances"
sfrothwell Jan 2, 2018
3f551e3
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
torvalds Feb 6, 2018
cbd7b8a
Merge tag 'platform-drivers-x86-v4.16-1' of git://git.infradead.org/l…
torvalds Feb 6, 2018
78ed784
Documentation/process: tweak pgp maintainer guide
mricon Feb 6, 2018
0e410e1
kasan: don't emit builtin calls when sanitization is off
xairy Feb 6, 2018
53a98ed
kasan: add compiler support for clang
PaulLawrenceGoogle Feb 6, 2018
1a69e7c
kasan/Makefile: support LLVM style asan parameters
aryabinin Feb 6, 2018
342061e
kasan: support alloca() poisoning
PaulLawrenceGoogle Feb 6, 2018
00a1429
kasan: add tests for alloca poisoning
PaulLawrenceGoogle Feb 6, 2018
d321599
kasan: add functions for unpoisoning stack variables
ramosian-glider Feb 6, 2018
47adccc
kasan: detect invalid frees for large objects
dvyukov Feb 6, 2018
ee3ce77
kasan: don't use __builtin_return_address(1)
dvyukov Feb 6, 2018
6860f63
kasan: detect invalid frees for large mempool objects
dvyukov Feb 6, 2018
1db0e0f
kasan: unify code between kasan_slab_free() and kasan_poison_kfree()
dvyukov Feb 6, 2018
b1d5728
kasan: detect invalid frees
dvyukov Feb 6, 2018
5f21f3a
kasan: fix prototype author email address
xairy Feb 6, 2018
917538e
kasan: clean up KASAN_SHADOW_SCALE_SHIFT usage
xairy Feb 6, 2018
48c2323
kasan: remove redundant initialization of variable 'real_size'
Feb 6, 2018
e3912ac
proc: use %u for pid printing and slightly less stack
Feb 6, 2018
9f7118b
proc: don't use READ_ONCE/WRITE_ONCE for /proc/*/fail-nth
Feb 6, 2018
ac7f106
proc: fix /proc/*/map_files lookup
Feb 6, 2018
593bc69
fs/proc/vmcore.c: simpler /proc/vmcore cleanup
Feb 6, 2018
20d28cd
proc: less memory for /proc/*/map_files readdir
Feb 6, 2018
171ef91
fs/proc/array.c: delete children_seq_release()
Feb 6, 2018
d0290bc
fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()
heicarst Feb 6, 2018
163cf54
fs/proc/internal.h: rearrange struct proc_dir_entry
Feb 6, 2018
53f6334
fs/proc/internal.h: fix up comment
Feb 6, 2018
efb1a57
fs/proc: use __ro_after_init
Feb 6, 2018
15b158b
proc: spread likely/unlikely a bit
Feb 6, 2018
93ad5bc
proc: rearrange args
Feb 6, 2018
4bf8ba8
fs/proc/consoles.c: use seq_putc() in show_console_dev()
elfring Feb 6, 2018
2b83839
Makefile: move stack-protector compiler breakage test earlier
kees Feb 6, 2018
2bc2f68
Makefile: move stack-protector availability out of Kconfig
kees Feb 6, 2018
44c6dc9
Makefile: introduce CONFIG_CC_STACKPROTECTOR_AUTO
kees Feb 6, 2018
dfbc3c6
uuid: cleanup <uapi/linux/uuid.h>
Feb 6, 2018
ad343a9
tools/lib/subcmd/pager.c: do not alias select() params
sergey-senozhatsky Feb 6, 2018
4f7e988
kernel/async.c: revert "async: simplify lowest_in_progress()"
Villemoes Feb 6, 2018
eed9c24
MAINTAINERS: update sboyd's email address
bebarino Feb 6, 2018
c724f19
bitmap: new bitmap_copy_safe and bitmap_{from,to}_arr32
norov Feb 6, 2018
3aa5688
bitmap: replace bitmap_{from,to}_u32array
norov Feb 6, 2018
ee3527b
lib/test_bitmap.c: add bitmap_zero()/bitmap_clear() test cases
andy-shev Feb 6, 2018
978f369
lib/test_bitmap.c: add bitmap_fill()/bitmap_set() test cases
andy-shev Feb 6, 2018
fe81814
lib/test_bitmap.c: clean up test_zero_fill_copy() test case and rename
andy-shev Feb 6, 2018
334cfa4
include/linux/bitmap.h: make bitmap_fill() and bitmap_zero() consistent
andy-shev Feb 6, 2018
a571b27
lib/stackdepot.c: use a non-instrumented version of memcmp()
ramosian-glider Feb 6, 2018
dceeb3e
lib/test_find_bit.c: rename to find_bit_benchmark.c
norov Feb 6, 2018
15ff67b
lib/find_bit_benchmark.c: improvements
norov Feb 6, 2018
0ade34c
lib: optimize cpumask_next_and()
legrosbuffle Feb 6, 2018
d3deafa
lib/: make RUNTIME_TESTS a menuconfig to ease disabling it all
vincele Feb 6, 2018
92fc7cb
lib/test_sort.c: add module unload support
Feb 6, 2018
2e4bbbc
checkpatch: allow long lines containing URL
abrauchli Feb 6, 2018
7312153
checkpatch: ignore some octal permissions of 0
JoePerches Feb 6, 2018
3f7f335
checkpatch: improve quoted string and line continuation test
JoePerches Feb 6, 2018
0018046
checkpatch: add a few DEVICE_ATTR style tests
JoePerches Feb 6, 2018
a134f8d
checkpatch: improve the TABSTOP test to include declarations
JoePerches Feb 6, 2018
a032aa4
checkpatch: exclude drivers/staging from if with unnecessary parenthe…
JoePerches Feb 6, 2018
bd49111
checkpatch: avoid some false positives for TABSTOP declaration test
JoePerches Feb 6, 2018
2d453e3
checkpatch: improve OPEN_BRACE test
JoePerches Feb 6, 2018
60c9d92
elf: fix NT_FILE integer overflow
Feb 6, 2018
ca3a456
kallsyms: let print_ip_sym() print raw addresses
chenhuacai Feb 6, 2018
fb04b91
nilfs2: use time64_t internally
arndb Feb 6, 2018
b0cd38c
hfsplus: honor setgid flag on directories
eafer Feb 6, 2018
63300ed
<asm-generic/siginfo.h>: fix language in comments
rddunlap Feb 6, 2018
9f5325a
kernel/fork.c: check error and return early
marcosps Feb 6, 2018
667b609
kernel/fork.c: add comment about usage of CLONE_FS flags and namespaces
marcosps Feb 6, 2018
4de373a
cpumask: make cpumask_size() return "unsigned int"
Feb 6, 2018
0c5afca
rapidio: delete an error message for a failed memory allocation in ri…
elfring Feb 6, 2018
93dd49a
rapidio: adjust 12 checks for null pointers
elfring Feb 6, 2018
e1d66d0
rapidio: adjust five function calls together with a variable assignment
elfring Feb 6, 2018
d1509c0
rapidio: improve a size determination in five functions
elfring Feb 6, 2018
002f6f4
rapidio: delete an unnecessary variable initialisation in three funct…
elfring Feb 6, 2018
1acd14b
rapidio: return an error code only as a constant in two functions
elfring Feb 6, 2018
4ba61ec
rapidio: move 12 EXPORT_SYMBOL_GPL() calls to function implementations
elfring Feb 6, 2018
28a5cd5
drivers/rapidio/devices/tsi721_dma.c: delete an error message for a f…
elfring Feb 6, 2018
6d94a03
drivers/rapidio/devices/tsi721_dma.c: delete an unnecessary variable …
elfring Feb 6, 2018
eab216e
drivers/rapidio/devices/tsi721_dma.c: adjust six checks for null poin…
elfring Feb 6, 2018
2ee0826
pids: introduce find_get_task_by_vpid() helper
rppt Feb 6, 2018
28f3a48
pps: parport: use timespec64 instead of timespec
arndb Feb 6, 2018
a1be1f3
kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"
ebiggers Feb 6, 2018
a77660d
kcov: detect double association with a single task
dvyukov Feb 6, 2018
075db40
include/linux/genl_magic_func.h: remove own BUILD_BUG_ON*() defines
masahir0y Feb 6, 2018
32b395a
build_bug.h: remove BUILD_BUG_ON_NULL()
masahir0y Feb 6, 2018
b8fe112
lib/ubsan.c: s/missaligned/misaligned/
akpm00 Feb 6, 2018
42440c1
lib/ubsan: add type mismatch handler for new GCC/Clang
aryabinin Feb 6, 2018
bac7a1f
lib/ubsan: remove returns-nonnull-attribute checks
aryabinin Feb 6, 2018
87ad4b0
ipc: fix ipc data structures inconsistency
Feb 6, 2018
68e34f4
ipc/mqueue.c: have RT tasks queue in by priority in wq_add()
jhaws1982 Feb 6, 2018
b0f7e32
arch/score/kernel/setup.c: combine two seq_printf() calls into one ca…
elfring Feb 6, 2018
1a60e4d
vfs: remove might_sleep() from clear_inode()
shakeelb Feb 6, 2018
4fd39c2
mm/userfaultfd.c: remove duplicate include
Feb 6, 2018
e7c98df
mm: remove unneeded kallsyms include
sergey-senozhatsky Feb 6, 2018
64fce87
hrtimer: remove unneeded kallsyms include
sergey-senozhatsky Feb 6, 2018
22ad305
genirq: remove unneeded kallsyms include
sergey-senozhatsky Feb 6, 2018
937f0c2
mm/memblock: memblock_is_map/region_memory can be boolean
Feb 6, 2018
11209f3
lib/lockref: __lockref_is_dead can be boolean
Feb 6, 2018
77ef80c
kernel/cpuset: current_cpuset_is_being_rebound can be boolean
Feb 6, 2018
9825b45
kernel/resource: iomem_is_exclusive can be boolean
Feb 6, 2018
171d864
kernel/module: module_is_live can be boolean
Feb 6, 2018
db076be
kernel/mutex: mutex_is_locked can be boolean
Feb 6, 2018
2650cb0
crash_dump: is_kdump_kernel can be boolean
Feb 6, 2018
e7c52b8
kasan: rework Kconfig settings
arndb Feb 6, 2018
4c2e4be
pipe, sysctl: drop 'min' parameter from pipe-max-size converter
ebiggers Feb 6, 2018
319e0a2
pipe, sysctl: remove pipe_proc_fn()
ebiggers Feb 6, 2018
85c2dd5
pipe: actually allow root to exceed the pipe buffer limits
ebiggers Feb 6, 2018
9903a91
pipe: fix off-by-one error when checking buffer limits
ebiggers Feb 6, 2018
96e99be
pipe: reject F_SETPIPE_SZ with size over UINT_MAX
ebiggers Feb 6, 2018
c4fed5a
pipe: simplify round_pipe_size()
ebiggers Feb 6, 2018
f734076
pipe: read buffer limits atomically
ebiggers Feb 6, 2018
b7701a5
mm: docs: fixup punctuation
rppt Feb 6, 2018
f144c39
mm: docs: fix parameter names mismatch
rppt Feb 6, 2018
a5d09be
mm: docs: add blank lines to silence sphinx "Unexpected indentation" …
rppt Feb 6, 2018
7732f58
MAINTAINERS: remove ANDROID ION pattern
JoePerches Feb 6, 2018
bdadb60
MAINTAINERS: remove ARM/CLKDEV SUPPORT file pattern
JoePerches Feb 6, 2018
1293f5a
MAINTAINERS: update Cortina/Gemini patterns
JoePerches Feb 6, 2018
aeeb00f
MAINTAINERS: update "ARM/OXNAS platform support" patterns
JoePerches Feb 6, 2018
c660f36
MAINTAINERS: update various PALM patterns
JoePerches Feb 6, 2018
c1dad9a
MAINTAINERS: update ARM/QUALCOMM SUPPORT patterns
JoePerches Feb 6, 2018
60c3e02
Documentation/sysctl/user.txt: fix typo
pr0gr4m Feb 6, 2018
0dc400f
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
torvalds Feb 7, 2018
b3250aa
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/s…
torvalds Feb 7, 2018
4b0dda4
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/…
torvalds Feb 7, 2018
ab2d92a
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm…
torvalds Feb 7, 2018
a2e5790
Merge branch 'akpm' (patches from Andrew)
torvalds Feb 7, 2018
a08f06b
seq_file: Introduce DEFINE_SHOW_ATTRIBUTE() helper macro
andy-shev Jan 22, 2018
b04eb8a
platform/x86: dell-laptop: Re-use DEFINE_SHOW_ATTRIBUTE() macro
andy-shev Jan 22, 2018
334c4ef
platform/x86: ideapad-laptop: Re-use DEFINE_SHOW_ATTRIBUTE() macro
andy-shev Jan 22, 2018
9a7c551
platform/x86: samsung-laptop: Re-use DEFINE_SHOW_ATTRIBUTE() macro
andy-shev Jan 22, 2018
28735af
ASoC: dapm: fix debugfs read using path->connected
Feb 5, 2018
3a0a7b2
ASoC: mt8173-rt5650: fix child-node lookup
jhovold Jan 31, 2018
276d70f
ASoC: stm32: add of dependency for stm32 drivers
Feb 5, 2018
ce8ee02
Merge remote-tracking branches 'asoc/fix/compress', 'asoc/fix/core', …
broonie Feb 7, 2018
aa72645
Merge remote-tracking branch 'asoc/fix/twl-breakage' into asoc-next
broonie Feb 7, 2018
008a03c
Merge remote-tracking branch 'asoc/topic/compress' into asoc-next
broonie Feb 7, 2018
535b218
Merge remote-tracking branches 'asoc/topic/ak4613', 'asoc/topic/core'…
broonie Feb 7, 2018
1712487
Merge remote-tracking branches 'asoc/topic/max98373', 'asoc/topic/mtk…
broonie Feb 7, 2018
3d0a352
Merge remote-tracking branches 'asoc/topic/sam9x5_wm8731', 'asoc/topi…
broonie Feb 7, 2018
e03ab6c
Merge tag 'docs-4.16-2' of git://git.lwn.net/linux
torvalds Feb 7, 2018
8578953
Merge tag 'mips_4.16' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Feb 7, 2018
0bd2afc
Merge tag 'mips_fixes_4.16_1' of git://git.kernel.org/pub/scm/linux/k…
torvalds Feb 7, 2018
413879a
Merge tag 'riscv-for-linus-4.16-merge_window' of git://git.kernel.org…
torvalds Feb 7, 2018
7e6127c
Merge tag 'linux-watchdog-4.16-rc1' of git://www.linux-watchdog.org/l…
torvalds Feb 7, 2018
7590e37
Merge tag 'asoc-v4.16-5' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Feb 7, 2018
cc006a2
Merge tag 'platform-drivers-x86-v4.16-2' of git://git.infradead.org/l…
torvalds Feb 7, 2018
c3611b6
Merge tag 'fbdev-v4.16' of git://github.com/bzolnier/linux
torvalds Feb 7, 2018
ffefb18
Merge tag 'regulator-fix-v4.16-suspend' of git://git.kernel.org/pub/s…
torvalds Feb 7, 2018
fe803f8
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Feb 7, 2018
6fbac20
Merge tag 'iversion-v4.16-2' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Feb 7, 2018
581e400
Merge tag 'modules-for-v4.16' of git://git.kernel.org/pub/scm/linux/k…
torvalds Feb 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/sysfs-driver-samsung-laptop
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Date: January 1, 2010
KernelVersion: 2.6.33
Contact: Greg Kroah-Hartman <[email protected]>
Description: Some Samsung laptops have different "performance levels"
that are can be modified by a function key, and by this
that can be modified by a function key, and by this
sysfs file. These values don't always make a whole lot
of sense, but some users like to modify them to keep
their fans quiet at all costs. Reading from this file
Expand Down
6 changes: 5 additions & 1 deletion Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3711,7 +3711,11 @@
[KNL, SMP] Set scheduler's default relax_domain_level.
See Documentation/cgroup-v1/cpusets.txt.

reserve= [KNL,BUGS] Force the kernel to ignore some iomem area
reserve= [KNL,BUGS] Force kernel to ignore I/O ports or memory
Format: <base1>,<size1>[,<base2>,<size2>,...]
Reserve I/O ports or memory so the kernel won't use
them. If <base> is less than 0x10000, the region
is assumed to be I/O ports; otherwise it is memory.

reservetop= [X86-32]
Format: nn[KMG]
Expand Down
66 changes: 33 additions & 33 deletions Documentation/admin-guide/thunderbolt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
=============
The interface presented here is not meant for end users. Instead there
should be a userspace tool that handles all the low-level details, keeps
database of the authorized devices and prompts user for new connections.
a database of the authorized devices and prompts users for new connections.

More details about the sysfs interface for Thunderbolt devices can be
found in ``Documentation/ABI/testing/sysfs-bus-thunderbolt``.

Those users who just want to connect any device without any sort of
manual work, can add following line to
manual work can add following line to
``/etc/udev/rules.d/99-local.rules``::

ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1"
Expand All @@ -20,7 +20,7 @@ vulnerable to DMA attacks.

Security levels and how to use them
-----------------------------------
Starting from Intel Falcon Ridge Thunderbolt controller there are 4
Starting with Intel Falcon Ridge Thunderbolt controller there are 4
security levels available. The reason for these is the fact that the
connected devices can be DMA masters and thus read contents of the host
memory without CPU and OS knowing about it. There are ways to prevent
Expand All @@ -37,14 +37,14 @@ The security levels are as follows:
user
User is asked whether the device is allowed to be connected.
Based on the device identification information available through
``/sys/bus/thunderbolt/devices``. user then can do the decision.
``/sys/bus/thunderbolt/devices``, the user then can make the decision.
In BIOS settings this is typically called *Unique ID*.

secure
User is asked whether the device is allowed to be connected. In
addition to UUID the device (if it supports secure connect) is sent
a challenge that should match the expected one based on a random key
written to ``key`` sysfs attribute. In BIOS settings this is
written to the ``key`` sysfs attribute. In BIOS settings this is
typically called *One time saved key*.

dponly
Expand Down Expand Up @@ -78,15 +78,15 @@ When a device is plugged in it will appear in sysfs as follows::
/sys/bus/thunderbolt/devices/0-1/unique_id - e0376f00-0300-0100-ffff-ffffffffffff

The ``authorized`` attribute reads 0 which means no PCIe tunnels are
created yet. The user can authorize the device by simply::
created yet. The user can authorize the device by simply entering::

# echo 1 > /sys/bus/thunderbolt/devices/0-1/authorized

This will create the PCIe tunnels and the device is now connected.

If the device supports secure connect, and the domain security level is
set to ``secure``, it has an additional attribute ``key`` which can hold
a random 32 byte value used for authorization and challenging the device in
a random 32-byte value used for authorization and challenging the device in
future connects::

/sys/bus/thunderbolt/devices/0-3/authorized - 0
Expand All @@ -99,12 +99,12 @@ future connects::

Notice the key is empty by default.

If the user does not want to use secure connect it can just ``echo 1``
If the user does not want to use secure connect they can just ``echo 1``
to the ``authorized`` attribute and the PCIe tunnels will be created in
the same way than in ``user`` security level.
the same way as in the ``user`` security level.

If the user wants to use secure connect, the first time the device is
plugged a key needs to be created and send to the device::
plugged a key needs to be created and sent to the device::

# key=$(openssl rand -hex 32)
# echo $key > /sys/bus/thunderbolt/devices/0-3/key
Expand All @@ -121,27 +121,27 @@ device using the same key::

If the challenge the device returns back matches the one we expect based
on the key, the device is connected and the PCIe tunnels are created.
However, if the challenge failed no tunnels are created and error is
However, if the challenge fails no tunnels are created and error is
returned to the user.

If the user still wants to connect the device it can either approve
the device without a key or write new key and write 1 to the
If the user still wants to connect the device they can either approve
the device without a key or write a new key and write 1 to the
``authorized`` file to get the new key stored on the device NVM.

Upgrading NVM on Thunderbolt device or host
-------------------------------------------
Since most of the functionality is handled in a firmware running on a
Since most of the functionality is handled in firmware running on a
host controller or a device, it is important that the firmware can be
upgraded to the latest where possible bugs in it have been fixed.
Typically OEMs provide this firmware from their support site.

There is also a central site which has links where to download firmwares
There is also a central site which has links where to download firmware
for some machines:

`Thunderbolt Updates <https://thunderbolttechnology.net/updates>`_

Before you upgrade firmware on a device or host, please make sure it is
the suitable. Failing to do that may render the device (or host) in a
Before you upgrade firmware on a device or host, please make sure it is a
suitable upgrade. Failing to do that may render the device (or host) in a
state where it cannot be used properly anymore without special tools!

Host NVM upgrade on Apple Macs is not supported.
Expand All @@ -151,7 +151,7 @@ Thunderbolt device so that the host controller appears. It does not
matter which device is connected (unless you are upgrading NVM on a
device - then you need to connect that particular device).

Note OEM-specific method to power the controller up ("force power") may
Note an OEM-specific method to power the controller up ("force power") may
be available for your system in which case there is no need to plug in a
Thunderbolt device.

Expand All @@ -171,46 +171,46 @@ it comes back the driver notices it and initiates a full power cycle.
After a while the host controller appears again and this time it should
be fully functional.

We can verify that the new NVM firmware is active by running following
We can verify that the new NVM firmware is active by running the following
commands::

# cat /sys/bus/thunderbolt/devices/0-0/nvm_authenticate
0x0
# cat /sys/bus/thunderbolt/devices/0-0/nvm_version
18.0

If ``nvm_authenticate`` contains anything else than 0x0 it is the error
If ``nvm_authenticate`` contains anything other than 0x0 it is the error
code from the last authentication cycle, which means the authentication
of the NVM image failed.

Note names of the NVMem devices ``nvm_activeN`` and ``nvm_non_activeN``
depends on the order they are registered in the NVMem subsystem. N in
depend on the order they are registered in the NVMem subsystem. N in
the name is the identifier added by the NVMem subsystem.

Upgrading NVM when host controller is in safe mode
--------------------------------------------------
If the existing NVM is not properly authenticated (or is missing) the
host controller goes into safe mode which means that only available
functionality is flashing new NVM image. When in this mode the reading
host controller goes into safe mode which means that the only available
functionality is flashing a new NVM image. When in this mode, reading
``nvm_version`` fails with ``ENODATA`` and the device identification
information is missing.

To recover from this mode, one needs to flash a valid NVM image to the
host host controller in the same way it is done in the previous chapter.
host controller in the same way it is done in the previous chapter.

Networking over Thunderbolt cable
---------------------------------
Thunderbolt technology allows software communication across two hosts
Thunderbolt technology allows software communication between two hosts
connected by a Thunderbolt cable.

It is possible to tunnel any kind of traffic over Thunderbolt link but
It is possible to tunnel any kind of traffic over a Thunderbolt link but
currently we only support Apple ThunderboltIP protocol.

If the other host is running Windows or macOS only thing you need to
do is to connect Thunderbolt cable between the two hosts, the
``thunderbolt-net`` is loaded automatically. If the other host is also
Linux you should load ``thunderbolt-net`` manually on one host (it does
not matter which one)::
If the other host is running Windows or macOS, the only thing you need to
do is to connect a Thunderbolt cable between the two hosts; the
``thunderbolt-net`` driver is loaded automatically. If the other host is
also Linux you should load ``thunderbolt-net`` manually on one host (it
does not matter which one)::

# modprobe thunderbolt-net

Expand All @@ -220,12 +220,12 @@ is built-in to the kernel image, there is no need to do anything.
The driver will create one virtual ethernet interface per Thunderbolt
port which are named like ``thunderbolt0`` and so on. From this point
you can either use standard userspace tools like ``ifconfig`` to
configure the interface or let your GUI to handle it automatically.
configure the interface or let your GUI handle it automatically.

Forcing power
-------------
Many OEMs include a method that can be used to force the power of a
thunderbolt controller to an "On" state even if nothing is connected.
Thunderbolt controller to an "On" state even if nothing is connected.
If supported by your machine this will be exposed by the WMI bus with
a sysfs attribute called "force_power".

Expand Down
31 changes: 31 additions & 0 deletions Documentation/bpf/bpf_devel_QA.txt
Original file line number Diff line number Diff line change
Expand Up @@ -516,4 +516,35 @@ A: LLVM has a -mcpu selector for the BPF back end in order to allow the
By the way, the BPF kernel selftests run with -mcpu=probe for better
test coverage.

Q: In some cases clang flag "-target bpf" is used but in other cases the
default clang target, which matches the underlying architecture, is used.
What is the difference and when I should use which?

A: Although LLVM IR generation and optimization try to stay architecture
independent, "-target <arch>" still has some impact on generated code:

- BPF program may recursively include header file(s) with file scope
inline assembly codes. The default target can handle this well,
while bpf target may fail if bpf backend assembler does not
understand these assembly codes, which is true in most cases.

- When compiled without -g, additional elf sections, e.g.,
.eh_frame and .rela.eh_frame, may be present in the object file
with default target, but not with bpf target.

- The default target may turn a C switch statement into a switch table
lookup and jump operation. Since the switch table is placed
in the global readonly section, the bpf program will fail to load.
The bpf target does not support switch table optimization.
The clang option "-fno-jump-tables" can be used to disable
switch table generation.

You should use default target when:

- Your program includes a header file, e.g., ptrace.h, which eventually
pulls in some header files containing file scope host assembly codes.
- You can add "-fno-jump-tables" to work around the switch table issue.

Otherwise, you can use bpf target.

Happy BPF hacking!
6 changes: 5 additions & 1 deletion Documentation/devicetree/bindings/media/cec-gpio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The HDMI CEC GPIO module supports CEC implementations where the CEC line
is hooked up to a pull-up GPIO line and - optionally - the HPD line is
hooked up to another GPIO line.

Please note: the maximum voltage for the CEC line is 3.63V, for the HPD
line it is 5.3V. So you may need some sort of level conversion circuitry
when connecting them to a GPIO line.

Required properties:
- compatible: value must be "cec-gpio".
- cec-gpios: gpio that the CEC line is connected to. The line should be
Expand All @@ -21,7 +25,7 @@ the following property is optional:

Example for the Raspberry Pi 3 where the CEC line is connected to
pin 26 aka BCM7 aka CE1 on the GPIO pin header and the HPD line is
connected to pin 11 aka BCM17:
connected to pin 11 aka BCM17 (some level shifter is needed for this!):

#include <dt-bindings/gpio/gpio.h>

Expand Down
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/mt9m111.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ interface.

Required Properties:
- compatible: value should be "micron,mt9m111"
- clocks: reference to the master clock.
- clock-names: shall be "mclk".

For further reading on port node refer to
Documentation/devicetree/bindings/media/video-interfaces.txt.
Expand All @@ -16,6 +18,8 @@ Example:
mt9m111@5d {
compatible = "micron,mt9m111";
reg = <0x5d>;
clocks = <&mclk>;
clock-names = "mclk";

remote = <&pxa_camera>;
port {
Expand Down
46 changes: 44 additions & 2 deletions Documentation/devicetree/bindings/media/i2c/ov5640.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Omnivision OV5640 MIPI CSI-2 sensor
* Omnivision OV5640 MIPI CSI-2 / parallel sensor

Required Properties:
- compatible: should be "ovti,ov5640"
Expand All @@ -18,7 +18,25 @@ The device node must contain one 'port' child node for its digital output
video port, in accordance with the video interface bindings defined in
Documentation/devicetree/bindings/media/video-interfaces.txt.

Example:
OV5640 can be connected to a MIPI CSI-2 bus or a parallel bus endpoint.

Endpoint node required properties for CSI-2 connection are:
- remote-endpoint: a phandle to the bus receiver's endpoint node.
- clock-lanes: should be set to <0> (clock lane on hardware lane 0)
- data-lanes: should be set to <1> or <1 2> (one or two CSI-2 lanes supported)

Endpoint node required properties for parallel connection are:
- remote-endpoint: a phandle to the bus receiver's endpoint node.
- bus-width: shall be set to <8> for 8 bits parallel bus
or <10> for 10 bits parallel bus
- data-shift: shall be set to <2> for 8 bits parallel bus
(lines 9:2 are used) or <0> for 10 bits parallel bus
- hsync-active: active state of the HSYNC signal, 0/1 for LOW/HIGH respectively.
- vsync-active: active state of the VSYNC signal, 0/1 for LOW/HIGH respectively.
- pclk-sample: sample data on rising (1) or falling (0) edge of the pixel clock
signal.

Examples:

&i2c1 {
ov5640: camera@3c {
Expand All @@ -35,6 +53,7 @@ Example:
reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;

port {
/* MIPI CSI-2 bus endpoint */
ov5640_to_mipi_csi2: endpoint {
remote-endpoint = <&mipi_csi2_from_ov5640>;
clock-lanes = <0>;
Expand All @@ -43,3 +62,26 @@ Example:
};
};
};

&i2c1 {
ov5640: camera@3c {
compatible = "ovti,ov5640";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ov5640>;
reg = <0x3c>;
clocks = <&clk_ext_camera>;
clock-names = "xclk";

port {
/* Parallel bus endpoint */
ov5640_to_parallel: endpoint {
remote-endpoint = <&parallel_from_ov5640>;
bus-width = <8>;
data-shift = <2>; /* lines 9:2 are used */
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <1>;
};
};
};
};
Loading