2017-12-11 02:08:07

by Linus Torvalds

[permalink] [raw]
Subject: Linux 4.15-rc3

Another week, another rc.

I'm not thrilled about how big the early 4.15 rc's are, but rc3 is
often the biggest rc because it's still fairly early in the
calming-down period, and yet people have had some time to start
finding problems. That said, this rc3 is big even by rc3 standards.
Not good.

Most of the changes by far are drivers (with a big chunk of it being
just syntactic changes for some doc warnings) with some perf tooling
updates also being noticeable. But there are changes all over: core
kernel and networking, kvm, arch updates and Documentation.

Anyway, I sincerely hope that things are really starting to calm down now.

Also, there's a known issue with x86 32-bit suspend/resume that I just
didn't get a good patch for in time for this rc. Soon.

Shortlog appended.

Linus

---

Aaro Koskinen (1):
staging: octeon-usb: use __delay() instead of cvmx_wait()

Adam Ford (2):
ARM: dts: logicpd-som-lv: Fix gpmc addresses for NAND and enet
ARM: dts: logicpd-somlv: Fix wl127x pinmux

Adrian Hunter (1):
perf intel-pt: Bring instruction decoder files into line with the kernel

Al Viro (3):
fix kcm_clone()
socketpair(): allocate descriptors first
make sock_alloc_file() do sock_release() on failures

Alex Bennée (5):
KVM: arm/arm64: debug: Introduce helper for single-step
kvm: arm64: handle single-stepping trapped instructions
kvm: arm64: handle single-step of userspace mmio instructions
kvm: arm64: handle single-step during SError exceptions
kvm: arm64: handle single-step of hyp emulated mmio instructions

Alex Deucher (2):
drm/amdgpu: add license to Makefiles
drm/amdgpu: add license to files where it was missing

Andi Kleen (1):
perf record: Fix -c/-F options for cpu event aliases

Andre Przywara (4):
KVM: arm/arm64: VGIC: extend !vgic_is_initialized guard
pinctrl: sunxi: Fix A80 interrupt pin bank
pinctrl: sunxi: Fix A64 UART mux value
pinctrl: sunxi: Disable strict mode for H5 driver

Andrei Vagin (1):
perf trace: Fix an exit code of trace__symbols_init

Andrew Honig (1):
KVM: VMX: remove I/O port 0x80 bypass on Intel hosts

Andrew Jones (1):
KVM: arm/arm64: kvm_arch_destroy_vm cleanups

Andrew Lunn (2):
net: dsa: mv88e6xxx: Fix interrupt masking on removal
net: dsa: mv88e6xxx: Unregister MDIO bus on error path

Andy Lutomirski (1):
x86/power: Fix some ordering bugs in __restore_processor_context()

Andy Shevchenko (3):
pinctrl: denverton: Fix UART2 RTS pin mode
iio: proximity: sx9500: Assign interrupt from GpioIo()
brcmfmac: Avoid build error with make W=1

Angelo Dureghello (1):
m68k/defconfig: fix stmark2 broken local compilation

Antoine Tenart (1):
net: mvpp2: fix the RSS table entry offset

Ard Biesheuvel (1):
kvm: arm: don't treat unavailable HYP mode as an error

Arend Van Spriel (1):
brcmfmac: change driver unbind order of the sdio function devices

Arnaldo Carvalho de Melo (16):
perf evlist: Set the correct idx when adding dummy events
perf record: Generate PERF_RECORD_{MMAP,COMM,EXEC} with --delay
perf evsel: Fix up leftover perf_evsel_stat usage via evsel->priv
perf script: Fix --per-event-dump for auxtrace synth evsels
perf machine: Guard against NULL in machine__exit()
perf evlist: Add helper to check if attr.exclude_kernel is set
in all evsels
perf report: Ignore kptr_restrict when not sampling the kernel
perf record: Ignore kptr_restrict when not sampling the kernel
perf top: Ignore kptr_restrict when not sampling the kernel
tools headers: Synchronize kernel ABI headers wrt SPDX tags
tools headers: Synchronize perf_event.h header
tools headers uapi: Synchronize drm/drm.h
tools headers: Synchronize drm/i915_drm.h
tools headers: Synchronize KVM arch ABI headers
tools headers: Synchronize prctl.h ABI header
tools headers: Syncronize mman.h ABI header

Arnaud Patard (1):
meson-gx-socinfo: Fix package id parsing

Arnd Bergmann (7):
ARM: dts: r8a779x: Add '#reset-cells' in cpg-mssr
debugfs: fix debugfs_real_fops() build error
media: et8ek8: select V4L2_FWNODE
iio: stm32: fix adc/trigger link error
s390/dasd: remove 'struct timespec' usage
x86/vdso: Change time() prototype to match __vdso_time()
ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds

Arvind Yadav (1):
bus: arm-ccn: constify attribute_group structures.

Bart Van Assche (1):
usb: gadget: allow to enable legacy drivers without USB_ETH

Bert Kenward (1):
sfc: pass valid pointers from efx_enqueue_unwind

Bjørn Mork (1):
usbnet: fix alignment for frames with no ethernet header

Boris Brezillon (1):
drm/vc4: Fix false positive WARN() backtrace on refcount_inc() usage

Branislav Radocaj (1):
net: ethernet: arc: fix error handling in emac_rockchip_probe

Brendan Jackman (1):
cpu/hotplug: Fix state name in takedown_cpu() comment

Calvin Owens (1):
bnxt_en: Fix sources of spurious netpoll warnings

Changbin Du (1):
drm/i915/gvt: Emulate PCI expansion ROM base address register

Chien Tin Tung (1):
i40iw: Allocate a sdbuf per CQP WQE

Chris Dion (1):
net_sched: use macvlan real dev trans_start in dev_trans_start()

Chris Metcalf (1):
arch/tile: mark as orphaned

Chris Wilson (2):
drm/i915: Skip switch-to-kernel-context on suspend when wedged
drm/i915: Call i915_gem_init_userptr() before taking struct_mutex

Christian Borntraeger (1):
KVM: s390: mark irq_state.flags as non-usable

Christian König (2):
drm/ttm: swap consecutive allocated cached pages v3
drm/ttm: swap consecutive allocated pooled pages v4

Christoffer Dall (3):
KVM: arm/arm64: Don't enable/disable physical timer access on VHE
KVM: arm/arm64: Avoid attempting to load timer vgic state without a vgic
KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion

Christoph Hellwig (1):
scsi: dma-mapping: always provide dma_get_cache_alignment

Christophe JAILLET (2):
bus: arm-ccn: Check memory allocation failure
bus: arm-ccn: Simplify code

Chunyu Hu (1):
x86/idt: Load idt early in start_secondary

Claudiu Manoil (1):
gianfar: Disable EEE autoneg by default

Colin Ian King (6):
usb: gadget: don't dereference g until after it has been null checked
usb: host: fix incorrect updating of offset
ARM: meson: fix spelling mistake: "Couln't" -> "Couldn't"
liquidio: fix incorrect indentation of assignment statement
x86: Fix Sparse warnings about non-static functions
security: keys: remove redundant assignment to key_ref

Cong Wang (2):
act_sample: get rid of tcf_sample_cleanup_rcu()
tipc: fix a null pointer deref on error path

Corentin Labbe (1):
net: stmmac: dwmac-sun8i: fix allwinner,leds-active-low handling

Dai Okamura (1):
arm64: dts: uniphier: correct on-board device IRQ number for PXs3

Dan Carpenter (3):
ARM: OMAP2+: Missing error code in omap_device_build()
xen/pvcalls: check for xenbus_read() errors
xen/pvcalls: Fix a check in pvcalls_front_remove()

Daniel Jurgens (1):
IB/core: Only enforce security for InfiniBand

Daniel Thompson (1):
kdb: Fix handling of kallsyms_symbol_next() return value

Daniel Vetter (1):
drm: safely free connectors from connector_iter

Dave Martin (3):
arm64: fpsimd: Prevent registers leaking from dead tasks
arm64: fpsimd: Abstract out binding of task's fpsimd context to the cpu.
arm64/sve: Avoid dereference of dead task_struct in KVM guest entry

Dave Young (1):
efi: Add comment to avoid future expanding of sysfs systab

David Ahern (2):
tcp: use IPCB instead of TCP_SKB_CB in inet_exact_dif_match()
netlink: Relax attr validation for fixed length types

David Gibson (1):
Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier"

David Howells (4):
rxrpc: Clean up whitespace
rxrpc: Fix ACK generation from the connection event processor
rxrpc: Use correct netns source in rxrpc_release_sock()
rxrpc: Fix the MAINTAINERS record

David Spinadel (1):
iwlwifi: mvm: enable RX offloading with TKIP and WEP

Dennis Dalessandro (1):
IB/hfi1: Initialize bth1 in 16B rc ack builder

Dmitry Monakhov (1):
IB/core: Init subsys if compiled to vmlinuz-core

Emmanuel Grumbach (3):
iwlwifi: mvm: don't use transmit queue hang detection when it is
not possible
iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
iwlwifi: mvm: fix packet injection

Eric Biggers (14):
KEYS: remove unnecessary get/put of explicit dest_keyring
KEYS: add missing permission check for request_key() destination
ASN.1: fix out-of-bounds read when parsing indefinite length item
ASN.1: check for error from ASN1_OP_END__ACT actions
X.509: reject invalid BIT STRING for subjectPublicKey
X.509: fix buffer overflow detection in sprint_oid()
509: fix printing uninitialized stack memory when OID is empty
pkcs7: return correct error code if pkcs7_check_authattrs() fails
pkcs7: fix check for self-signed certificate
pkcs7: use crypto_shash_digest()
KEYS: be careful with error codes in public_key_verify_signature()
X.509: use crypto_shash_digest()
KEYS: reject NULL restriction string when type is specified
X.509: fix comparisons of ->pkey_algo

Eric Dumazet (6):
tcp: remove buggy call to tcp_v6_restore_cb()
tcp/dccp: block bh before arming time_wait timer
tcp: add tcp_v4_fill_cb()/tcp_v4_restore_cb()
Revert "tcp: must block bh in __inet_twsk_hashdance()"
net: remove hlist_nulls_add_tail_rcu()
tcp: use current time in tcp_rcv_space_adjust()

Fabio Estevam (2):
ARM: dts: vf610-zii-dev-rev-c: Fix the I2C EEPROM address
Revert "ARM: dts: imx53: add srtc node"

Florian Fainelli (3):
ARM: dts: NSP: Disable AHCI controller for HR NSP boards
ARM: dts: NSP: Fix PPI interrupt types
net: dsa: bcm_sf2: Set correct CHAIN_ID and slice number mask

Florian Westphal (1):
net: thunderx: Fix TCP/UDP checksum offload for IPv4 pkts

Gao Feng (1):
ipvlan: Add the skb->mark as flow4's member to lookup route

Geert Uytterhoeven (12):
skbuff: Grammar s/are can/can/, s/change/changes/
gpio: 74x164: Fix crash during .remove()
IB: INFINIBAND should depend on HAS_DMA
of: unittest: Remove bogus overlay mutex release from overlay_data_add()
of: Spelling s/changset/changeset/
of: overlay: Remove else after goto
dt-bindings: eeprom: at25: Grammar s/are can/can/
dt-bindings: eeprom: at25: Document device-specific compatible values
of: overlay: Fix memory leak in of_overlay_apply() error path
of: overlay: Fix (un)locking in of_overlay_apply()
of: overlay: Fix out-of-bounds write in init_overlay_changeset()
of: overlay: Make node skipping in init_overlay_changeset() clearer

George Cherian (1):
ACPI / CPPC: Fix KASAN global out of bounds warning

Gilad Ben-Yossef (1):
staging: ccree: fix leak of import() after init()

Greg Kroah-Hartman (3):
KVM: s390: add SPDX identifiers to the remaining files
KVM: s390: Remove redundant license text
efi: Move some sysfs files to be read-only by root

Greg Ungerer (1):
m68k: add missing SOFTIRQENTRY_TEXT linker section

Gregory CLEMENT (1):
pinctrl: armada-37xx: Fix direction_output() callback behavior

Guenter Roeck (3):
firmware: vpd: Destroy vpd sections in remove function
firmware: vpd: Tie firmware kobject to device lifetime
firmware: vpd: Fix platform driver and device registration/unregistration

Guilherme G. Piccoli (3):
scsi: aacraid: Check for PCI state of device in a generic way
scsi: aacraid: Perform initialization reset only once
scsi: aacraid: Prevent crash in case of free interrupt during scsi EH path

Gustavo A. R. Silva (2):
scsi: ufs: ufshcd: fix potential NULL pointer dereference in
ufshcd_config_vreg
rxrpc: Fix variable overwrite

Hangbin Liu (1):
sit: update frag_off info

Hans de Goede (1):
uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices

Heikki Krogerus (1):
usb: add user selectable option for the whole USB Type-C Support

Heiko Carstens (3):
s390: always save and restore all registers on context switch
s390/mm: fix off-by-one bug in 5-level page table handling
s390: fix compat system call table

Hendrik Brueckner (6):
bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
s390/bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
arm64/bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
s390/uapi: correct whitespace & coding style in asm/ptrace.h
selftests/bpf: sync kernel headers and introduce arch support in Makefile
perf s390: add regs_query_register_offset()

Henry Orosco (1):
i40iw: Notify user of established connection after QP in RTS

Huacai Chen (2):
scsi: use dma_get_cache_alignment() as minimum DMA alignment
scsi: libsas: align sata_device's rps_resp on a cacheline

Håkon Bugge (1):
rds: Fix NULL pointer dereference in __rds_rdma_map

Icenowy Zheng (1):
media: usbtv: add a new usbid

Ihab Zhaika (1):
iwlwifi: add new cards for 9260 and 22000 series

Ingo Molnar (2):
tools/headers: Synchronize kernel x86 UAPI headers
tooling/headers: Synchronize updated s390 and x86 UAPI headers

Inki Dae (2):
drm/exynos: remove unnecessary descrptions
drm/exynos: remove unnecessary function declaration

Jaejoong Kim (2):
ALSA: usb-audio: Fix out-of-bound error
ALSA: usb-audio: Add check return value for usb_string()

Jakub Kicinski (1):
bpf: offload: add a license header

James Ausmus (1):
drm/i915/cnl: Mask previous DDI - PLL mapping

Jan Stancek (1):
virtio_balloon: fix increment of vb->num_pfns in fill_balloon()

Janosch Frank (1):
KVM: s390: Fix skey emulation permission check

Jason Wessel (1):
kgdb/kdb/debug_core: Add co-maintainer Daniel Thompson

Jeff Layton (1):
hpfs: don't bother with the i_version counter or f_version

Jeff Mahoney (2):
btrfs: handle errors while updating refcounts in update_ref_for_cow
btrfs: fix missing error return in btrfs_drop_snapshot

Jens Wiklander (1):
optee: fix invalid of_node_put() in optee_driver_init()

Jim Mattson (1):
KVM: VMX: fix page leak in hardware_setup()

Jimmy Assarsson (3):
can: kvaser_usb: free buf in error paths
can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
can: kvaser_usb: ratelimit errors if incomplete messages are received

Jiri Olsa (3):
perf: Fix header.size for namespace events
perf top: Fix window dimensions change handling
perf top: Use signal interface for SIGWINCH handler

Jiri Slaby (1):
futex: futex_wake_op, fix sign_extend32 sign bits

Joe Perches (1):
xen-netback: Fix logging message with spurious period after newline

Johan Hovold (5):
USB: ulpi: fix bus-node lookup
serdev: ttyport: add missing receive_buf sanity checks
serdev: fix receive_buf return value when no callback
serdev: ttyport: fix NULL-deref on hangup
serdev: ttyport: fix tty locking in close

Johannes Berg (2):
iwlwifi: mvm: flush queue before deleting ROC
Revert "net: core: maybe return -EEXIST in __dev_alloc_name"

John Keeping (1):
usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT

John Pittman (1):
scsi: documentation: Fix case of 'scsi_device' struct mention(s)

Jon Maloy (1):
tipc: fix memory leak in tipc_accept_from_sock()

Jonathan Neuschäfer (1):
genericirq.rst: Remove :c:func:`...` in code blocks

Juergen Gross (1):
x86/xen: Support early interrupts in xen pv guests

Julian Wiedmann (5):
s390/qeth: fix thinko in IPv4 multicast address tracking
s390/qeth: fix GSO throughput regression
s390/qeth: build max size GSO skbs on L2 devices
s390/qdio: consider ERROR buffers for inbound-full condition
s390/qdio: restrict target-full handling to IQDIO

Justin Maggard (1):
btrfs: Fix quota reservation leak on preallocated files

K. Y. Srinivasan (1):
Drivers: hv: vmbus: Fix a rescind issue

Kai-Heng Feng (1):
usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub

Kailang Yang (1):
ALSA: hda/realtek - New codec support for ALC257

Keerthy (2):
ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function
gpio: davinci: Assign first bank regs for unbanked case

Kees Cook (1):
locking/refcounts: Do not force refcount_t usage as GPL-only export

Kim Phillips (1):
bus: arm-ccn: fix module unloading Error: Removing state 147
which has instances left.

Kristina Martsenko (1):
arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one

Lai Jiangshan (1):
smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place

Larry Finger (1):
staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID

Lars Persson (1):
stmmac: reset last TSO segment size after device open

Laurent Caumont (1):
media: dvb: i2c transfers over usb cannot be done from stack

Linus Torvalds (4):
remove task and stack pointer printout from oops dump
x86: don't hash faulting address in oops printout
proc: show si_ptr in /proc/<pid>/timers without hashing
Linux 4.15-rc3

Linus Walleij (1):
pinctrl: gemini: Fix usage of 3512 groups

Lu Baolu (1):
USB: serial: usb_debug: add new USB device id

Marc Kleine-Budde (2):
can: flexcan: Update IRQ Err Passive information
can: flexcan: fix VF610 state transition issue

Marc Zyngier (9):
KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
KVM: arm/arm64: vgic: Preserve the revious read from the pending table
KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
KVM: arm/arm64: vgic-its: Check result of allocation before use
KVM: arm/arm64: vgic-v4: Only perform an unmap for valid vLPIs
arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
KVM: arm/arm64: Fix spinlock acquisition in vgic_set_owner
bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
bus: arm-cci: Fix use of smp_processor_id() in preemptible context

Marc-André Lureau (1):
fw_cfg: fix driver remove

Marek Szyprowski (3):
drm/exynos: Fix dma-buf import
drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
drm/bridge: analogix dp: Fix runtime PM state in get_modes() callback

Martijn Coenen (2):
ANDROID: binder: fix transaction leak.
MAINTAINERS: update Android driver maintainers.

Martin Blumenstingl (5):
ARM: dts: meson: correct the sort order for the the gpio_intc node
ARM: dts: meson: fix the memory region of the GPIO interrupt controller
iio: adc: meson-saradc: fix the bit_idx of the adc_en clock
iio: adc: meson-saradc: initialize the bandgap correctly on older SoCs
iio: adc: meson-saradc: Meson8 and Meson8b do not have REG11 and REG13

Martin Kelly (7):
can: mcba_usb: fix typo
can: mcba_usb: fix device disconnect bug
can: mcba_usb: cancel urb on -EPROTO
can: ems_usb: cancel urb on -EPIPE and -EPROTO
can: esd_usb2: cancel urb on -EPIPE and -EPROTO
can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
can: usb_8dev: cancel urb on -EPIPE and -EPROTO

Martin Schwidefsky (2):
s390: add a few more SPDX identifiers
s390: Remove redudant license text

Masahiro Yamada (3):
arm64: dts: uniphier: remove unnecessary interrupt-parent
MAINTAINERS: exclude other Socionext SoC DT files from ARM/UNIPHIER entry
arm64: dts: sort vendor subdirectories in Makefile alphabetically

Masakazu Mokuno (1):
USB: core: Add type-specific length check of BOS descriptors

Masanari Iida (1):
dmaengine: doc : Fix warning "Title underline too short" while
make xmldocs

Mathias Nyman (1):
xhci: Don't show incorrect WARN message about events for empty rings

Mathieu Malaterre (1):
dt-bindings: Remove leading 0x from bindings notation

Matt Redfearn (2):
serial: 8250_early: Only set divisor if valid clk & baud
MIPS: Add custom serial.h with BASE_BAUD override for generic kernel

Matt Wilson (1):
serial: 8250_pci: Add Amazon PCI serial device ID

Matthew Giassa (1):
staging: comedi: ni_atmio: fix license warning.

Mauro Carvalho Chehab (41):
media: dvb_ca_en50221: fix lots of documentation warnings
media: rc: fix lots of documentation warnings
media: siano: get rid of documentation warnings
media: img-ir-hw: fix one kernel-doc comment
media: drxj and drxk: don't produce kernel-doc warnings
media: vpif: don't generate a kernel-doc warning on a constant
media: dvb_frontend fix kernel_doc markups
media: rc-ir-raw: cleanup kernel-doc markups
media: dvb_net: stop abusing /** for comments
media: ir-nec-decoder: fix kernel-doc parameters
media: imon: don't use kernel-doc "/**" markups
media: videobuf2: don't use kernel-doc "/**" markups
media: atomisp: stop producing hundreds of kernel-doc warnings
media: rc: fix kernel-doc parameter names
media: v4l2-core: Fix kernel-doc markups
media: davinci: fix kernel-doc warnings
media: venc: don't use kernel-doc for undescribed enums
media: exynos4-is: fix kernel-doc warnings
media: m5mols: fix some kernel-doc markups
media: sta2x11: document missing function parameters
media: pxa_camera: get rid of kernel_doc warnings
media: tw68: fix kernel-doc markups
media: ix2505v: get rid of /** comments
media: radio-si476x: fix kernel-doc markups
media: s5k6a3: document some fields at struct s5k6a3
media: s5k6aa: describe some function parameters
media: netup_unidvb: fix a bad kernel-doc markup
media: tvp514x: fix kernel-doc parameters
media: vdec: fix some kernel-doc warnings
media: mtk-vpu: add description for wdt fields at struct mtk_vpu
media: s3c-camif: add missing description at s3c_camif_find_format()
media: radio-wl1273: fix a parameter name at kernel-doc macro
media: mt2063: fix some kernel-doc warnings
media: soc_camera: fix a kernel-doc markup
media: vsp1: add a missing kernel-doc parameter
media: rcar_jpu: fix two kernel-doc markups
media: lm3560: add a missing kernel-doc parameter
media: drivers: remove "/**" from non-kernel-doc comments
media: dvb_frontends: fix kernel-doc macros
media: docs: add documentation for frontend attach info
media: dvb-frontends: complete kernel-doc markups

Max Uvarov (1):
net: phy-micrel: check return code in flp center function

Michael Ellerman (1):
powerpc/xmon: Don't print hashed pointers in xmon

Michael S. Tsirkin (1):
s390/virtio: add BSD license to virtio-ccw

Michal Hocko (1):
kmemcheck: rip it out for real

Mike Looijmans (1):
usb: hub: Cycle HUB power when initialization fails

Mikulas Patocka (1):
objtool: Fix 64-bit build on 32-bit host

Mohamed Ghannam (1):
dccp: CVE-2017-8824: use-after-free in DCCP code

Moni Shoua (1):
RDMA/cma: Make sure that PSN is not over max allowed

Mustafa Ismail (2):
i40iw: Do not free sqbuf when event is I40IW_TIMER_TYPE_CLOSE
i40iw: Correct ARP index mask

Nadav Amit (2):
x86/tlb: Refactor CR4 setting and shadow write
x86/tlb: Disable interrupts when changing CR4

Namhyung Kim (1):
perf help: Fix a bug during strstart() conversion

Nate Dailey (1):
md: limit mdstat resync progress to max_sectors

Neal Cardwell (3):
tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
tcp_bbr: reset full pipe detection on loss recovery undo
tcp_bbr: reset long-term bandwidth sampling on loss recovery undo

Neil Armstrong (1):
ARM64: dts: meson-gx: fix UART pclk clock name

Nicholas Piggin (1):
powerpc/64s: Initialize ISAv3 MMU registers before setting partition table

Nikita V. Shirokov (1):
adding missing rcu_read_unlock in ipxip6_rcv

Niklas Söderlund (1):
media: v4l: async: use the v4l2_dev from the root notifier when
matching sub-devices

Nikolay Borisov (1):
btrfs: Fix possible off-by-one in btrfs_search_path_in_tree

Nogah Frankel (2):
net_sched: red: Avoid devision by zero
net_sched: red: Avoid illegal values

Oliver Neukum (1):
USB: usbfs: Filter flags passed in from user space

Oliver Stäbler (1):
can: ti_hecc: Fix napi poll return value for repoll

Olof Johansson (1):
firmware: arm_scpi: Revert updates made during v4.15 merge window

Omar Sandoval (2):
sched/wait: Fix add_wait_queue() behavioral change
Btrfs: disable FUA if mounted with nobarrier

Pan Bian (2):
iio: adc: cpcap: fix incorrect validation
efi/esrt: Use memunmap() instead of kfree() to free the remapping

Paul Meyer (1):
hv: kvp: Avoid reading past allocated blocks from KVP file

Peter Meerwald-Stadler (1):
iio: health: max30102: Temperature should be in milli Celsius

Peter Ujfalusi (2):
ARM: dts: am4372: Correct the interrupts_properties of McASP
ARM: dts: am437x-cm-t43: Correct the dmas property of spi0

Peter Zijlstra (1):
locking/lockdep: Fix possible NULL deref

Pieter Jansen van Vuuren (1):
nfp: fix port stats for mac representors

Pravin Shedge (1):
drivers: net: dsa: remove duplicate includes

Quentin Monnet (6):
tools: bpftool: fix crash on bad parameters with JSON
tools: bpftool: clean up the JSON writer before exiting in usage()
tools: bpftool: make error message from getopt_long() JSON-friendly
tools: bpftool: remove spurious line break from error message
tools: bpftool: unify installation directories
tools: bpftool: declare phony targets as such

Radhakrishna Sripada (1):
Revert "drm/i915: Display WA #1133 WaFbcSkipSegments:cnl, glk"

Radim Krčmář (1):
KVM: x86: fix APIC page invalidation

Rafael J. Wysocki (2):
PM / runtime: Fix handling of suppliers with disabled runtime PM
x86/PCI: Make broadcom_postcore_init() check acpi_disabled

Randy Dunlap (3):
usb: build drivers/usb/common/ when USB_SUPPORT is set
iio: fix kernel-doc build errors
Documentation: fix docs build error after source file removed

Ravi Bangoria (2):
perf annotate: Do not truncate instruction names at 6 chars
powerpc/perf: Fix oops when grouping different pmu events

Ray Jui (1):
bnxt_en: Need to unconditionally shut down RoCE in bnxt_shutdown

Rik van Riel (2):
x86,kvm: move qemu/guest FPU switching out to vcpu_run
x86,kvm: remove KVM emulator get_fpu / put_fpu

Rob Herring (4):
ARM: dts: omap: Add missing #phy-cells to usb-nop-xceiv
ARM: dts: am33xx: Add missing #phy-cells to ti,am335x-usb-phy
arm: dts: marvell: Add missing #phy-cells to usb-nop-xceiv
arm: dts: nspire: Add missing #phy-cells to usb-nop-xceiv

Robb Glasser (1):
ALSA: pcm: prevent UAF in snd_pcm_info

Robin H. Johnson (1):
firmware: cleanup FIRMWARE_IN_KERNEL message

Robin Murphy (1):
iommu/vt-d: Fix scatterlist offset handling

Roger He (5):
drm/ttm: use NUM_PAGES_TO_ALLOC always
drm/ttm: add page order in page pool
drm/ttm: add set_pages_wb for handling page order more than zero
drm/ttm: add page order support in ttm_pages_put
drm/ttm: roundup the shrink request to prevent skip huge pool

Roger Quadros (1):
usb: gadget: core: Fix ->udc_set_speed() speed handling

Rudolf Marek (1):
x86/cpufeatures: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD

Russell King (4):
sfp: fix RX_LOS signal handling
sfp: improve RX_LOS handling
sfp: warn about modules requiring address change sequence
phylink: ensure we take the link down when phylink_stop() is called

Sakari Ailus (2):
media: ov13858: Select V4L2_FWNODE
media: imx274: Fix error handling, add MAINTAINERS entry

Sara Sharon (3):
iwlwifi: pcie: fix erroneous "Read failed message"
iwlwifi: fix access to prph when transport is stopped
iwlwifi: mvm: mark MIC stripped MPDUs

Satheesh Rajendran (1):
perf bench numa: Fixup discontiguous/sparse numa nodes

Sathya Perla (1):
bnxt_en: fix dst/src fid for vxlan encap/decap actions

Sean Young (2):
media: rc: sir_ir: detect presence of port
media: rc: partial revert of "media: rc: per-protocol repeat period"

Sebastian Sjoholm (1):
USB: serial: option: add Quectel BG96 id

Sergei Shtylyov (1):
gpio: pca953x: fix vendor prefix for PCA9654

Shaohua Li (1):
md/raid1/10: add missed blk plug

Shaul Triebitz (1):
iwlwifi: mvm: set correct chains in Rx status

Shuah Khan (1):
usbip: fix usbip attach to find a port that matches the requested speed

Song Liu (1):
md/r5cache: move mddev_lock() out of r5c_journal_mode_set()

Stefan Haberland (1):
s390/dasd: prevent prefix I/O error

Stefan Hajnoczi (1):
VSOCK: fix outdated sk_state value in hvs_release()

Stefan Wahren (1):
ARM: dts: bcm283x: Fix DTC warnings about missing phy-cells

Stephane Grosjean (2):
can: peak/pci: fix potential bug when probe() fails
can: peak/pcie_fd: fix potential bug in restarting tx queue

Subash Abhinov Kasiviswanathan (2):
net: qualcomm: rmnet: Fix leak on transmit failure
net: qualcomm: rmnet: Fix leak in device creation failure

Sunil Challa (1):
bnxt_en: wildcard smac while creating tunnel decap filter

Takashi Iwai (1):
ALSA: seq: Remove spurious WARN_ON() at timer check

Tatyana Nikolova (1):
i40iw: Move MPA request event for loopback after connect

Tero Kristo (2):
ARM: OMAP3: hwmod_data: add missing module_offs for MMC3
ARM: OMAP2/3: CM: fix cm_split_idlest functionality

Thomas Gleixner (1):
genirq/matrix: Fix the precedence fix for real

Thomas Petazzoni (2):
net: sh_eth: use correct "struct device" when calling DMA
mapping functions
net: sh_eth: don't use NULL as "struct device" for the DMA mapping API

Thomas Richter (3):
perf test shell: Fix check open filename arg using 'perf trace' on s390x
perf test shell: Fix test case probe libc's inet_pton on s390x
perf test: Fix test 21 for s390x

Tobias Jordan (1):
net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case

Tom Lendacky (1):
x86/microcode/AMD: Add support for fam17h microcode loading

Tomasz Figa (1):
media: v4l2-fwnode: Check subdev count after checking port

Tommi Rantala (1):
tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()

Tony Lindgren (6):
ARM: OMAP2+: Fix smatch found issue for omap_device
ARM: dts: Add remote-wakeup-connected for omap OHCI
ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context
ARM: dts: Fix omap4 hang with GPS connected to USB by using wakeupgen
ARM: dts: Fix elm interrupt compiler warning
ARM: dts: Fix dm814x missing phy-cells property

Vasily Averin (1):
perf/core: Fix memory leak triggered by perf --namespace

Vasundhara Volam (1):
bnxt_en: Fix a variable scoping in bnxt_hwrm_do_send_msg()

Vasyl Gomonovych (1):
usb: bdc: fix platform_no_drv_owner.cocci warnings

Ville Syrjälä (1):
drm/i915: Fix vblank timestamp/frame counter jumps on gen2

Vincent Guittot (1):
sched/fair: Update and fix the runnable propagation rule

Vincent Pelletier (1):
usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping

Wei Hu\(Xavier\) (3):
RDMA/hns: Fix the issue of IOVA not page continuous in hip08
RDMA/hns: Get rid of virt_to_page and vmap calls after dma_alloc_coherent
RDMA/hns: Get rid of page operation after dma_alloc_coherent

Wei Xu (3):
vhost: fix skb leak in handle_rx()
tun: free skb in early errors
tap: free skb if flags error

Will Deacon (4):
scripts/kernel-doc: Don't fail with status != 0 if error
encountered with -none
irqdesc: Use bool return type instead of int
arm64: SW PAN: Point saved ttbr0 at the zero page when switching
to init_mm
arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb

William Breathitt Gray (1):
isa: Prevent NULL dereference in isa_bus driver callbacks

Xie XiuQi (1):
trace/xdp: fix compile warning: 'struct bpf_map' declared inside
parameter list

Xin Long (3):
sctp: only update outstanding_bytes for transmitted queue when
doing prsctp_prune
sctp: abandon the whole msg if one part of a fragmented message
is abandoned
sctp: do not abandon the other frags in unsent outq if one msg
has outstanding frags

Xiong Zhang (1):
drm/i915/gvt: Limit read hw reg to active vgpu

Yan Markman (1):
net: mvpp2: allocate zeroed tx descriptors

Yonghong Song (3):
tools/bpf: adjust rlimit RLIMIT_MEMLOCK for test_verifier_log
bpf: set maximum number of attached progs to 64 for a single perf tp
samples/bpf: add error checking for perf ioctl calls in bpf loader

Yoshihiro Shimoda (1):
usb: gadget: udc: renesas_usb3: fix number of the pipes

Yousuk Seung (1):
tcp: invalidate rate samples during SACK reneging

Yu Chen (1):
usb: xhci: fix panic in xhci_free_virt_devices_depth_first

Yuchung Cheng (4):
tcp: correctly test congestion state in RACK
tcp: always evaluate losses in RACK upon undo
tcp: fix off-by-one bug in RACK
tcp: evaluate packet losses upon RTT change

Yunjian Wang (1):
virtio_net: fix return value check in receive_mergeable()

Yuyang Du (1):
usbip: Fix USB device hang due to wrong enabling of scatter-gather

Zhenyu Wang (2):
drm/i915/gvt: Don't mark vgpu context as inactive when preempted
drm/i915/gvt: set max priority for gvt context

Zhi Wang (1):
drm/i915/gvt: Export intel_gvt_render_mmio_to_ring_id()

Zumeng Chen (1):
gianfar: fix a flooded alignment reports because of padding issue.

bingjingc (1):
md/raid5: correct degraded calculation in raid5_error

weiping zhang (3):
virtio: release virtio index when fail to device_register
virtio_mmio: add cleanup for virtio_mmio_probe
virtio_mmio: add cleanup for virtio_mmio_remove


2017-12-11 02:42:16

by Randy Dunlap

[permalink] [raw]
Subject: Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

On 12/10/2017 06:08 PM, Linus Torvalds wrote:
> Another week, another rc.
>

um (uml) won't build on i386 or x86_64:

CC init/main.o
In file included from ../include/linux/perf_event.h:18:0,
from ../include/linux/trace_events.h:10,
from ../include/trace/syscall.h:7,
from ../include/linux/syscalls.h:82,
from ../init/main.c:20:
../include/uapi/linux/bpf_perf_event.h:11:32: fatal error: asm/bpf_perf_event.h: No such file or directory
#include <asm/bpf_perf_event.h>
^
compilation terminated.
../scripts/Makefile.build:310: recipe for target 'init/main.o' failed


Should that be <asm-generic/bpf_perf_event.h> ?

--
~Randy

2017-12-11 08:32:12

by Richard Weinberger

[permalink] [raw]
Subject: Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

Randy,

Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap:
> On 12/10/2017 06:08 PM, Linus Torvalds wrote:
> > Another week, another rc.
>
> um (uml) won't build on i386 or x86_64:
>
> CC init/main.o
> In file included from ../include/linux/perf_event.h:18:0,
> from ../include/linux/trace_events.h:10,
> from ../include/trace/syscall.h:7,
> from ../include/linux/syscalls.h:82,
> from ../init/main.c:20:
> ../include/uapi/linux/bpf_perf_event.h:11:32: fatal error:
> asm/bpf_perf_event.h: No such file or directory #include
> <asm/bpf_perf_event.h>
> ^
> compilation terminated.
> ../scripts/Makefile.build:310: recipe for target 'init/main.o' failed
>

How do you trigger that build failure?
Can you share your .config?

Thanks,
//richard

--
sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria
ATU66964118 - FN 374287y

2017-12-11 10:20:09

by Daniel Borkmann

[permalink] [raw]
Subject: Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ]

On 12/11/2017 09:32 AM, Richard Weinberger wrote:
> Randy,
>
> Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap:
>> On 12/10/2017 06:08 PM, Linus Torvalds wrote:
>>> Another week, another rc.
>>
>> um (uml) won't build on i386 or x86_64:
>>
>> CC init/main.o
>> In file included from ../include/linux/perf_event.h:18:0,
>> from ../include/linux/trace_events.h:10,
>> from ../include/trace/syscall.h:7,
>> from ../include/linux/syscalls.h:82,
>> from ../init/main.c:20:
>> ../include/uapi/linux/bpf_perf_event.h:11:32: fatal error:
>> asm/bpf_perf_event.h: No such file or directory #include
>> <asm/bpf_perf_event.h>
>> ^
>> compilation terminated.
>> ../scripts/Makefile.build:310: recipe for target 'init/main.o' failed
>
> How do you trigger that build failure?
> Can you share your .config?

Hmm, too bad kbuild bot doesn't catch issues on uml. I'm not too familiar
with uml, but looks like it's the only special case where there's no
arch/um/include/uapi/asm/. What is the usual convention to pull in such
headers in this case? Something like the below, would that fix it for you?

Thanks for your help,
Daniel

arch/um/include/asm/bpf_perf_event.h | 1 +
include/asm-generic/bpf_perf_event.h | 1 +
2 files changed, 2 insertions(+)
create mode 100644 arch/um/include/asm/bpf_perf_event.h
create mode 100644 include/asm-generic/bpf_perf_event.h

diff --git a/arch/um/include/asm/bpf_perf_event.h b/arch/um/include/asm/bpf_perf_event.h
new file mode 100644
index 0000000..3097758
--- /dev/null
+++ b/arch/um/include/asm/bpf_perf_event.h
@@ -0,0 +1 @@
+#include <asm-generic/bpf_perf_event.h>
diff --git a/include/asm-generic/bpf_perf_event.h b/include/asm-generic/bpf_perf_event.h
new file mode 100644
index 0000000..67112e5
--- /dev/null
+++ b/include/asm-generic/bpf_perf_event.h
@@ -0,0 +1 @@
+#include <uapi/asm-generic/bpf_perf_event.h>
--
2.9.5

2017-12-11 17:27:46

by Randy Dunlap

[permalink] [raw]
Subject: Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

On 12/11/2017 02:19 AM, Daniel Borkmann wrote:
> Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ]
>
> On 12/11/2017 09:32 AM, Richard Weinberger wrote:
>> Randy,
>>
>> Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap:
>>> On 12/10/2017 06:08 PM, Linus Torvalds wrote:
>>>> Another week, another rc.
>>>
>>> um (uml) won't build on i386 or x86_64:
>>>
>>> CC init/main.o
>>> In file included from ../include/linux/perf_event.h:18:0,
>>> from ../include/linux/trace_events.h:10,
>>> from ../include/trace/syscall.h:7,
>>> from ../include/linux/syscalls.h:82,
>>> from ../init/main.c:20:
>>> ../include/uapi/linux/bpf_perf_event.h:11:32: fatal error:
>>> asm/bpf_perf_event.h: No such file or directory #include
>>> <asm/bpf_perf_event.h>
>>> ^
>>> compilation terminated.
>>> ../scripts/Makefile.build:310: recipe for target 'init/main.o' failed
>>
>> How do you trigger that build failure?
>> Can you share your .config?

Richard, it's just defconfig on both i386 and x86_64.

> Hmm, too bad kbuild bot doesn't catch issues on uml. I'm not too familiar
> with uml, but looks like it's the only special case where there's no
> arch/um/include/uapi/asm/. What is the usual convention to pull in such
> headers in this case? Something like the below, would that fix it for you?
>
> Thanks for your help,
> Daniel

Yes, that patch works. Thanks.

> arch/um/include/asm/bpf_perf_event.h | 1 +
> include/asm-generic/bpf_perf_event.h | 1 +
> 2 files changed, 2 insertions(+)
> create mode 100644 arch/um/include/asm/bpf_perf_event.h
> create mode 100644 include/asm-generic/bpf_perf_event.h
>
> diff --git a/arch/um/include/asm/bpf_perf_event.h b/arch/um/include/asm/bpf_perf_event.h
> new file mode 100644
> index 0000000..3097758
> --- /dev/null
> +++ b/arch/um/include/asm/bpf_perf_event.h
> @@ -0,0 +1 @@
> +#include <asm-generic/bpf_perf_event.h>
> diff --git a/include/asm-generic/bpf_perf_event.h b/include/asm-generic/bpf_perf_event.h
> new file mode 100644
> index 0000000..67112e5
> --- /dev/null
> +++ b/include/asm-generic/bpf_perf_event.h
> @@ -0,0 +1 @@
> +#include <uapi/asm-generic/bpf_perf_event.h>
>


--
~Randy

2017-12-11 17:32:31

by Daniel Borkmann

[permalink] [raw]
Subject: Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

On 12/11/2017 06:27 PM, Randy Dunlap wrote:
> On 12/11/2017 02:19 AM, Daniel Borkmann wrote:
>> Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ]
>>
>> On 12/11/2017 09:32 AM, Richard Weinberger wrote:
>>> Randy,
>>>
>>> Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap:
>>>> On 12/10/2017 06:08 PM, Linus Torvalds wrote:
>>>>> Another week, another rc.
>>>>
>>>> um (uml) won't build on i386 or x86_64:
>>>>
>>>> CC init/main.o
>>>> In file included from ../include/linux/perf_event.h:18:0,
>>>> from ../include/linux/trace_events.h:10,
>>>> from ../include/trace/syscall.h:7,
>>>> from ../include/linux/syscalls.h:82,
>>>> from ../init/main.c:20:
>>>> ../include/uapi/linux/bpf_perf_event.h:11:32: fatal error:
>>>> asm/bpf_perf_event.h: No such file or directory #include
>>>> <asm/bpf_perf_event.h>
>>>> ^
>>>> compilation terminated.
>>>> ../scripts/Makefile.build:310: recipe for target 'init/main.o' failed
>>>
>>> How do you trigger that build failure?
>>> Can you share your .config?
>
> Richard, it's just defconfig on both i386 and x86_64.
>
>> Hmm, too bad kbuild bot doesn't catch issues on uml. I'm not too familiar
>> with uml, but looks like it's the only special case where there's no
>> arch/um/include/uapi/asm/. What is the usual convention to pull in such
>> headers in this case? Something like the below, would that fix it for you?
>>
>> Thanks for your help,
>> Daniel
>
> Yes, that patch works. Thanks.

Thanks, I'd get it out later today, and route it via bpf tree.

2017-12-11 18:19:02

by Richard Weinberger

[permalink] [raw]
Subject: Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

Am Montag, 11. Dezember 2017, 18:27:40 CET schrieb Randy Dunlap:
> On 12/11/2017 02:19 AM, Daniel Borkmann wrote:
> > Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ]
> >
> > On 12/11/2017 09:32 AM, Richard Weinberger wrote:
> >> Randy,
> >>
> >> Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap:
> >>> On 12/10/2017 06:08 PM, Linus Torvalds wrote:
> >>>> Another week, another rc.
> >>>
> >>> um (uml) won't build on i386 or x86_64:
> >>> CC init/main.o
> >>>
> >>> In file included from ../include/linux/perf_event.h:18:0,
> >>>
> >>> from ../include/linux/trace_events.h:10,
> >>> from ../include/trace/syscall.h:7,
> >>> from ../include/linux/syscalls.h:82,
> >>>
> >>> from ../init/main.c:20:
> >>> ../include/uapi/linux/bpf_perf_event.h:11:32: fatal error:
> >>> asm/bpf_perf_event.h: No such file or directory #include
> >>> <asm/bpf_perf_event.h>
> >>>
> >>> ^
> >>>
> >>> compilation terminated.
> >>> ../scripts/Makefile.build:310: recipe for target 'init/main.o' failed
> >>
> >> How do you trigger that build failure?
> >> Can you share your .config?
>
> Richard, it's just defconfig on both i386 and x86_64.

How odd, here it used to build.
...until I did a make mrproper, and tried again. ;-\

Thanks,
//richard

2017-12-11 18:49:19

by Richard Weinberger

[permalink] [raw]
Subject: Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

Am Montag, 11. Dezember 2017, 11:19:54 CET schrieb Daniel Borkmann:
> Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ]
>
> On 12/11/2017 09:32 AM, Richard Weinberger wrote:
> > Randy,
> >
> > Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap:
> >> On 12/10/2017 06:08 PM, Linus Torvalds wrote:
> >>> Another week, another rc.
> >>
> >> um (uml) won't build on i386 or x86_64:
> >> CC init/main.o
> >>
> >> In file included from ../include/linux/perf_event.h:18:0,
> >>
> >> from ../include/linux/trace_events.h:10,
> >> from ../include/trace/syscall.h:7,
> >> from ../include/linux/syscalls.h:82,
> >>
> >> from ../init/main.c:20:
> >> ../include/uapi/linux/bpf_perf_event.h:11:32: fatal error:
> >> asm/bpf_perf_event.h: No such file or directory #include
> >> <asm/bpf_perf_event.h>
> >>
> >> ^
> >>
> >> compilation terminated.
> >> ../scripts/Makefile.build:310: recipe for target 'init/main.o' failed
> >
> > How do you trigger that build failure?
> > Can you share your .config?
>
> Hmm, too bad kbuild bot doesn't catch issues on uml. I'm not too familiar
> with uml, but looks like it's the only special case where there's no
> arch/um/include/uapi/asm/. What is the usual convention to pull in such
> headers in this case? Something like the below, would that fix it for you?
>
> Thanks for your help,
> Daniel
>
> arch/um/include/asm/bpf_perf_event.h | 1 +
> include/asm-generic/bpf_perf_event.h | 1 +
> 2 files changed, 2 insertions(+)
> create mode 100644 arch/um/include/asm/bpf_perf_event.h
> create mode 100644 include/asm-generic/bpf_perf_event.h
>
> diff --git a/arch/um/include/asm/bpf_perf_event.h
> b/arch/um/include/asm/bpf_perf_event.h new file mode 100644
> index 0000000..3097758
> --- /dev/null
> +++ b/arch/um/include/asm/bpf_perf_event.h
> @@ -0,0 +1 @@
> +#include <asm-generic/bpf_perf_event.h>
> diff --git a/include/asm-generic/bpf_perf_event.h
> b/include/asm-generic/bpf_perf_event.h new file mode 100644
> index 0000000..67112e5
> --- /dev/null
> +++ b/include/asm-generic/bpf_perf_event.h
> @@ -0,0 +1 @@
> +#include <uapi/asm-generic/bpf_perf_event.h>

Hmm, what about this?

diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild
index 50a32c33d729..fb35ec000433 100644
--- a/arch/um/include/asm/Kbuild
+++ b/arch/um/include/asm/Kbuild
@@ -27,3 +27,4 @@ generic-y += trace_clock.h
generic-y += word-at-a-time.h
generic-y += xor.h
generic-y += kprobes.h
+generic-y += bpf_perf_event.h

--
sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria
ATU66964118 - FN 374287y

2017-12-11 18:56:46

by Randy Dunlap

[permalink] [raw]
Subject: Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

On 12/11/2017 10:49 AM, Richard Weinberger wrote:
> Am Montag, 11. Dezember 2017, 11:19:54 CET schrieb Daniel Borkmann:
>> Hi Randy, hi Richard, [ +Hendrik for c895f6f703ad7dd2f ]
>>
>> On 12/11/2017 09:32 AM, Richard Weinberger wrote:
>>> Randy,
>>>
>>> Am Montag, 11. Dezember 2017, 03:42:12 CET schrieb Randy Dunlap:
>>>> On 12/10/2017 06:08 PM, Linus Torvalds wrote:
>>>>> Another week, another rc.
>>>>
>>>> um (uml) won't build on i386 or x86_64:
>>>> CC init/main.o
>>>>
>>>> In file included from ../include/linux/perf_event.h:18:0,
>>>>
>>>> from ../include/linux/trace_events.h:10,
>>>> from ../include/trace/syscall.h:7,
>>>> from ../include/linux/syscalls.h:82,
>>>>
>>>> from ../init/main.c:20:
>>>> ../include/uapi/linux/bpf_perf_event.h:11:32: fatal error:
>>>> asm/bpf_perf_event.h: No such file or directory #include
>>>> <asm/bpf_perf_event.h>
>>>>
>>>> ^
>>>>
>>>> compilation terminated.
>>>> ../scripts/Makefile.build:310: recipe for target 'init/main.o' failed
>>>
>>> How do you trigger that build failure?
>>> Can you share your .config?
>>
>> Hmm, too bad kbuild bot doesn't catch issues on uml. I'm not too familiar
>> with uml, but looks like it's the only special case where there's no
>> arch/um/include/uapi/asm/. What is the usual convention to pull in such
>> headers in this case? Something like the below, would that fix it for you?
>>
>> Thanks for your help,
>> Daniel
>>
>> arch/um/include/asm/bpf_perf_event.h | 1 +
>> include/asm-generic/bpf_perf_event.h | 1 +
>> 2 files changed, 2 insertions(+)
>> create mode 100644 arch/um/include/asm/bpf_perf_event.h
>> create mode 100644 include/asm-generic/bpf_perf_event.h
>>
>> diff --git a/arch/um/include/asm/bpf_perf_event.h
>> b/arch/um/include/asm/bpf_perf_event.h new file mode 100644
>> index 0000000..3097758
>> --- /dev/null
>> +++ b/arch/um/include/asm/bpf_perf_event.h
>> @@ -0,0 +1 @@
>> +#include <asm-generic/bpf_perf_event.h>
>> diff --git a/include/asm-generic/bpf_perf_event.h
>> b/include/asm-generic/bpf_perf_event.h new file mode 100644
>> index 0000000..67112e5
>> --- /dev/null
>> +++ b/include/asm-generic/bpf_perf_event.h
>> @@ -0,0 +1 @@
>> +#include <uapi/asm-generic/bpf_perf_event.h>
>
> Hmm, what about this?
>
> diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild
> index 50a32c33d729..fb35ec000433 100644
> --- a/arch/um/include/asm/Kbuild
> +++ b/arch/um/include/asm/Kbuild
> @@ -27,3 +27,4 @@ generic-y += trace_clock.h
> generic-y += word-at-a-time.h
> generic-y += xor.h
> generic-y += kprobes.h
> +generic-y += bpf_perf_event.h
>

That also works for arch/um.

thanks,
--
~Randy