Linux 5.0-rc5
ndez Mancera (1): netfilter: nfnetlink_osf: add missing fmatch check Filipe Manana (1): Btrfs: fix deadlock when allocating tree block during leaf/node split Florian Westphal (12): selftests: xfrm: add block rules with adjacent/overlapping subnets xfrm: policy: use hlist rcu variants on inexact insert, part 2 xfrm: policy: increment xfrm_hash_generation on hash rebuild xfrm: policy: delete inexact policies from inexact list on hash rebuild xfrm: policy: fix reinsertion on node merge selftests: xfrm: alter htresh to trigger move of policies to hash table xfrm: policy: fix infinite loop when merging src-nodes xfrm: refine validation of template and selector families netfilter: nft_compat: use refcnt_t type for nft_xt reference count netfilter: nft_compat: make lists per netns netfilter: nft_compat: destroy function must not have side effects netfilter: ebtables: compat: un-break 32bit setsockopt when no rules are present Gerald Schaefer (1): iommu/vt-d: Fix memory leak in intel_iommu_put_resv_regions() Guo Ren (1): riscv: fixup max_low_pfn with PFN_DOWN. Harini Katakam (1): net: macb: Apply RXUBR workaround only to versions with errata He Kuang (1): perf top: Fix wrong hottest instruction highlighted Ian Kent (1): autofs: fix error return in autofs_fill_super() Jack Morgenstein (1): IB/mlx4: Fix using wrong function to destroy sqp AHs under SRIOV James Morse (3): arm64: kprobe: Always blacklist the KVM world-switch code arm64: hyp-stub: Forbid kprobing of the hyp-stub arm64: hibernate: Clean the __hyp_text to PoC after resume Jan Kara (2): mm: migrate: make buffer_migrate_page_norefs() actually succeed fs/drop_caches.c: avoid softlockups in drop_pagecache_sb() Jason Gunthorpe (2): RDMA/device: Expose ib_device_try_get(() IB/mlx5: Fix how advise_mr() launches async work Jason Wang (1): vhost: fix OOB in get_rx_bufs() Jens Axboe (1): ide: ensure atapi sense request aren't preempted Jerry Snitselaar (2): iommu/amd: Call free_iova_fast with pfn in map_sg iommu/amd: Unmap all mapped pages in error path of map_sg Jesper Dangaard Brouer (1): MAINTAINERS: Add entry for XDP (eXpress Data Path) Jianchao Wang (1): blk-mq: fix a hung issue when fsync Jiri Olsa (1): perf ordered_events: Fix crash in ordered_events__free Jisheng Zhang (2): i3c: fix missing detach if failed to retrieve i3c dev i3c: master: dw: fix deadlock Joerg Roedel (1): iommu/mediatek: Use correct fwspec in mtk_iommu_add_device() Johannes Berg (1): decnet: fix DN_IFREQ_SIZE Johannes Weiner (3): psi: fix aggregation idle shut-off psi: clarify the Kconfig text for the default-disable option x86/resctrl: Avoid confusion over the new X86_RESCTRL config John Johansen (1): apparmor: Fix aa_label_build() error handling for failed merges Jonathan Neuschäfer (1): init/Kconfig: fix grammar by moving a closing parenthesis Josef Bacik (1): btrfs: don't end the transaction for delayed refs in throttle Josh Elsasser (1): net: set default network namespace in init_dummy_netdev() Josh Poimboeuf (1): cpu/hotplug: Fix "SMT disabled by BIOS" detection for KVM Kailang Yang (1): ALSA: hda/realtek - Fixed hp_pin no value Kairui Song (1): x86/kexec: Don't setup EFI info if EFI runtime is not enabled Kan Liang (1): x86/cpu: Add Atom Tremont (Jacobsville) Kees Cook (1): selftests/seccomp: Enhance per-arch ptrace syscall skip tests Koen Vandeputte (2): ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment ARM: cns3xxx: Use actual size reads for PCIe Leonard Crestez (2): PCI: imx: Fix probe failure without power domain PCI: imx: Fix checking pd_pcie_phy device link addition Lijun Ou (1): RDMA/hns: Update the kernel header file of hns Linus Torvalds (2): x86: explicitly align IO accesses in memcpy_{to,from}io Linux 5.0-rc5 Lubomir Rintel (3): Revert "Input: olpc_apsp - enable the SP clock" Revert "clk: mmp2: add SP clock" Revert "dt-bindings: marvell,mmp2: Add clock id for the SP clock" Lukas Wunner (1): mmc: bcm2835: Fix DMA channel leak on probe error Manish Chopra (5): qed: Fix bug in tx promiscuous mode settings qed: Fix LACP pdu drops for VFs qed: Fix VF probe failure while FLR qed: Fix system crash in ll2 xmit qed: Fix stack out of bounds bug Mark Bloch (2): RDMA/mlx5: Fix check for supported user flags when creating a QP RDMA/mlx5: Fix flow creation on representors Masahiro Yamada (1): arch: unexport asm/shmparam.h for all architectures Max Filippov (7): xtensa: SMP: fix ccount_timer_shutdown xtensa: SMP: fix secondary CPU initialization xtensa: sm
Re: [GIT PULL] Kselftest update for Linux 5.0-rc5
The pull request you sent on Thu, 31 Jan 2019 11:35:36 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux-kselftest-5.0-rc5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9f789567142c0cd1ffd6c28c56eed40cb36495ca Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker
[GIT PULL] Kselftest update for Linux 5.0-rc5
Hi Linus, Please pull the following Kselftest updated for Linux 5.0-rc5 This Kselftest update for Linux 5.0-rc5 consists of run-time fixes to cpu-hotplug, and seccomp tests, compile fixes to ir, net, and timers Makefiles. diff is attached. thanks, -- Shuah The following changes since commit 3d244c192afeee7dd4f5fb1b916ea4e47420d401: selftests/seccomp: Abort without user notification support (2019-01-17 11:00:23 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-5.0-rc5 for you to fetch changes up to 7d4e591bc051d3382c45caaa2530969fb42ed23d: selftests: timers: use LDLIBS instead of LDFLAGS (2019-01-28 08:02:12 -0700) linux-kselftest-5.0-rc5 This Kselftest update for Linux 5.0-rc5 consists of run-time fixes to cpu-hotplug, and seccomp tests, compile fixes to ir, net, and timers Makefiles. Colin Ian King (1): selftests: cpu-hotplug: fix case where CPUs offline > CPUs present Fathi Boudra (2): selftests: net: use LDLIBS instead of LDFLAGS selftests: timers: use LDLIBS instead of LDFLAGS Kees Cook (1): selftests/seccomp: Enhance per-arch ptrace syscall skip tests Sean Young (1): selftests: Use lirc.h from kernel tree, not from system .../selftests/cpu-hotplug/cpu-on-off-test.sh | 13 +++- tools/testing/selftests/ir/Makefile| 2 + tools/testing/selftests/net/Makefile | 2 +- tools/testing/selftests/seccomp/seccomp_bpf.c | 72 +- tools/testing/selftests/timers/Makefile| 2 +- 5 files changed, 71 insertions(+), 20 deletions(-) diff --git a/tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh b/tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh index bab13dd025a6..0d26b5e3f966 100755 --- a/tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh +++ b/tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh @@ -37,6 +37,10 @@ prerequisite() exit $ksft_skip fi + present_cpus=`cat $SYSFS/devices/system/cpu/present` + present_max=${present_cpus##*-} + echo "present_cpus = $present_cpus present_max = $present_max" + echo -e "\t Cpus in online state: $online_cpus" offline_cpus=`cat $SYSFS/devices/system/cpu/offline` @@ -151,6 +155,8 @@ online_cpus=0 online_max=0 offline_cpus=0 offline_max=0 +present_cpus=0 +present_max=0 while getopts e:ahp: opt; do case $opt in @@ -190,9 +196,10 @@ if [ $allcpus -eq 0 ]; then online_cpu_expect_success $online_max if [[ $offline_cpus -gt 0 ]]; then - echo -e "\t offline to online to offline: cpu $offline_max" - online_cpu_expect_success $offline_max - offline_cpu_expect_success $offline_max + echo -e "\t offline to online to offline: cpu $present_max" + online_cpu_expect_success $present_max + offline_cpu_expect_success $present_max + online_cpu $present_max fi exit 0 else diff --git a/tools/testing/selftests/ir/Makefile b/tools/testing/selftests/ir/Makefile index f4ba8eb84b95..ad06489c22a5 100644 --- a/tools/testing/selftests/ir/Makefile +++ b/tools/testing/selftests/ir/Makefile @@ -1,5 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 TEST_PROGS := ir_loopback.sh TEST_GEN_PROGS_EXTENDED := ir_loopback +APIDIR := ../../../include/uapi +CFLAGS += -Wall -O2 -I$(APIDIR) include ../lib.mk diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index f8f3e90700c0..1e6d14d2825c 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -21,6 +21,6 @@ TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls KSFT_KHDR_INSTALL := 1 include ../lib.mk -$(OUTPUT)/reuseport_bpf_numa: LDFLAGS += -lnuma +$(OUTPUT)/reuseport_bpf_numa: LDLIBS += -lnuma $(OUTPUT)/tcp_mmap: LDFLAGS += -lpthread $(OUTPUT)/tcp_inq: LDFLAGS += -lpthread diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c b/tools/testing/selftests/seccomp/seccomp_bpf.c index 496a9a8c773a..7e632b465ab4 100644 --- a/tools/testing/selftests/seccomp/seccomp_bpf.c +++ b/tools/testing/selftests/seccomp/seccomp_bpf.c @@ -1608,7 +1608,16 @@ TEST_F(TRACE_poke, getpid_runs_normally) #ifdef SYSCALL_NUM_RET_SHARE_REG # define EXPECT_SYSCALL_RETURN(val, action) EXPECT_EQ(-1, action) #else -# define EXPECT_SYSCALL_RETURN(val, action) EXPECT_EQ(val, action) +# define EXPECT_SYSCALL_RETURN(val, action) \ + do { \ + errno = 0;\ + if (val < 0) {\ + EXPECT_EQ(-1, action); \ + EXPECT_EQ(-(val), errno); \ + } else {\ + EXPECT_EQ(val, action); \ + } \ + } while (0) #endif /* Use PTRACE_GETREGS and PTRACE_SETREGS when available. This is useful for @@ -1647,7 +1656,7 @@ int