2019-12-03 23:08:47

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 000/321] 4.19.88-stable review

This is the start of the stable review cycle for the 4.19.88 release.
There are 321 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.

Responses should be made by Thu, 05 Dec 2019 22:30:32 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.88-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>
Linux 4.19.88-rc1

Hans de Goede <[email protected]>
platform/x86: hp-wmi: Fix ACPI errors caused by passing 0 as input size

Hans de Goede <[email protected]>
platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer

Pierre-Yves MORDRET <[email protected]>
dmaengine: stm32-dma: check whether length is aligned on FIFO threshold

Wen Yang <[email protected]>
ASoC: stm32: sai: add missing put_device()

Olivier Moysan <[email protected]>
ASoC: stm32: i2s: fix IRQ clearing

Olivier Moysan <[email protected]>
ASoC: stm32: i2s: fix 16 bit format support

Olivier Moysan <[email protected]>
ASoC: stm32: i2s: fix dma configuration

Alexandre Torgue <[email protected]>
pinctrl: stm32: fix memory leak issue

Fabien Dessenne <[email protected]>
mailbox: mailbox-test: fix null pointer if no mmio

Gabriel Fernandez <[email protected]>
clk: stm32mp1: parent clocks update

Gabriel Fernandez <[email protected]>
clk: stm32mp1: add CLK_SET_RATE_NO_REPARENT to Kernel clocks

Gabriel Fernandez <[email protected]>
clk: stm32mp1: fix mcu divider table

Gabriel Fernandez <[email protected]>
clk: stm32mp1: fix HSI divider flag

Lionel Debieve <[email protected]>
hwrng: stm32 - fix unbalanced pm_runtime_enable

Hugues Fruchet <[email protected]>
media: stm32-dcmi: fix check of pm_runtime_get_sync return value

Hugues Fruchet <[email protected]>
media: stm32-dcmi: fix DMA corruption when stopping streaming

Lionel Debieve <[email protected]>
crypto: stm32/hash - Fix hmac issue more than 256 bytes

Candle Sun <[email protected]>
HID: core: check whether Usage Page item is after Usage ID items

Yuchung Cheng <[email protected]>
tcp: exit if nothing to retransmit on RTO timeout

Arnaud Pouliquen <[email protected]>
mailbox: stm32_ipcc: add spinlock to fix channels concurrent access

Claudiu Beznea <[email protected]>
drm/atmel-hlcdc: revert shift by 8

huijin.park <[email protected]>
mtd: spi-nor: cast to u64 to avoid uint overflows

Wen Yang <[email protected]>
mtd: rawnand: atmel: fix possible object reference leak

Miquel Raynal <[email protected]>
mtd: rawnand: atmel: Fix spelling mistake in error message

Paul Thomas <[email protected]>
net: macb driver, check for SKBTX_HW_TSTAMP

Harini Katakam <[email protected]>
net: macb: Fix SUBNS increment and increase resolution

Eugen Hristev <[email protected]>
watchdog: sama5d4: fix WDD value to be always set to max

Theodore Ts'o <[email protected]>
ext4: add more paranoia checking in ext4_expand_extra_isize handling

Chuhong Yuan <[email protected]>
net: macb: add missed tasklet_kill

Dust Li <[email protected]>
net: sched: fix `tc -s class show` no bstats on class with nolock subqueues

Xin Long <[email protected]>
sctp: cache netns in sctp_ep_common

John Rutherford <[email protected]>
tipc: fix link name length check

Jakub Kicinski <[email protected]>
selftests: bpf: test_sockmap: handle file creation failures gracefully

Paolo Abeni <[email protected]>
openvswitch: remove another BUG_ON()

Paolo Abeni <[email protected]>
openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info()

Jouni Hogander <[email protected]>
slip: Fix use-after-free Read in slip_open

Navid Emamdoost <[email protected]>
sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook

Paolo Abeni <[email protected]>
openvswitch: fix flow command message size

Nikolay Aleksandrov <[email protected]>
net: psample: fix skb_over_panic

Menglong Dong <[email protected]>
macvlan: schedule bc_work even if error

Eugen Hristev <[email protected]>
media: atmel: atmel-isc: fix INIT_WORK misplacement

Eugen Hristev <[email protected]>
media: atmel: atmel-isc: fix asd memory allocation

Uwe Kleine-König <[email protected]>
pwm: Clear chip_data in pwm_put()

Luca Ceresoli <[email protected]>
net: macb: fix error format in dev_err()

Eugen Hristev <[email protected]>
media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE

Steffen Klassert <[email protected]>
xfrm: Fix memleak on xfrm state destroy

Mika Westerberg <[email protected]>
thunderbolt: Power cycle the router if NVM authentication fails

Alexander Usyskin <[email protected]>
mei: me: add comet point V device id

Alexander Usyskin <[email protected]>
mei: bus: prefix device names on bus with the bus name

Fabio D'Urso <[email protected]>
USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P

Hans de Goede <[email protected]>
staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids

Hans de Goede <[email protected]>
staging: rtl8723bs: Drop ACPI device ids

Pan Bian <[email protected]>
staging: rtl8192e: fix potential use after free

Mathias Kresin <[email protected]>
usb: dwc2: use a longer core rest timeout in dwc2_core_reset()

Alexandre Belloni <[email protected]>
clk: at91: generated: set audio_pll_allowed in at91_clk_register_generated()

Eugen Hristev <[email protected]>
clk: at91: fix update bit maps on CFG_MOR write

Sean Christopherson <[email protected]>
KVM: nVMX: assimilate nested_vmx_entry_failure() into nested_vmx_enter_non_root_mode()

Sean Christopherson <[email protected]>
KVM: nVMX: rename enter_vmx_non_root_mode to nested_vmx_enter_non_root_mode

Vlastimil Babka <[email protected]>
mm, gup: add missing refcount overflow checks on s390

Boris Brezillon <[email protected]>
mtd: Remove a debug trace in mtdpart.c

Jesper Dangaard Brouer <[email protected]>
xdp: fix cpumap redirect SKB creation bug

Gen Zhang <[email protected]>
powerpc/pseries/dlpar: Fix a missing check in dlpar_parse_cc_property()

Hui Wang <[email protected]>
ASoC: rt5645: Headphone Jack sense inverts on the LattePanda board

YueHaibing <[email protected]>
RDMA/hns: Use GFP_ATOMIC in hns_roce_v2_modify_qp

Yixian Liu <[email protected]>
RDMA/hns: Fix the state of rereg mr

Lijun Ou <[email protected]>
RDMA/hns: Bugfix for the scene without receiver queue

Lijun Ou <[email protected]>
RDMA/hns: Fix the bug with updating rq head pointer when flush cqe

John Garry <[email protected]>
scsi: libsas: Check SMP PHY control function result

Xiang Chen <[email protected]>
scsi: hisi_sas: shutdown axi bus to avoid exception CQ returned

James Morse <[email protected]>
ACPI / APEI: Switch estatus pool to use vmalloc memory

James Morse <[email protected]>
ACPI / APEI: Don't wait to serialise with oops messages when panic()ing

John Garry <[email protected]>
scsi: libsas: Support SATA PHY connection rate unmatch fixing during discovery

Chris Coulson <[email protected]>
apparmor: delete the dentry in aafs_remove() to avoid a leak

Aaron Ma <[email protected]>
iommu/amd: Fix NULL dereference bug in match_hid_uid

Peng Li <[email protected]>
net: hns3: fix an issue for hns3_update_new_int_gl

Peng Li <[email protected]>
net: hns3: fix an issue for hclgevf_ae_get_hdev

Yunsheng Lin <[email protected]>
net: hns3: fix PFC not setting problem for DCB module

Yunsheng Lin <[email protected]>
net: hns3: Change fw error code NOT_EXEC to NOT_SUPPORTED

Peng Sun <[email protected]>
bpf: drop refcount if bpf_map_new_fd() fails in map_create()

Greg Kroah-Hartman <[email protected]>
kvm: properly check debugfs dentry before using it

Andy Shevchenko <[email protected]>
net: dev: Use unsigned integer as an argument to left-shift

Ming Lei <[email protected]>
mmc: core: align max segment size with logical block size

Peng Sun <[email protected]>
bpf: decrease usercnt if bpf_map_new_fd() fails in bpf_map_get_fd_by_id()

Maciej Kwiecien <[email protected]>
sctp: don't compare hb_timer expire date before starting it

Lorenzo Bianconi <[email protected]>
net: ip6_gre: do not report erspan_ver for ip6gre or ip6gretap

Lorenzo Bianconi <[email protected]>
net: ip_gre: do not report erspan_ver for gre or gretap

Eric Dumazet <[email protected]>
net: fix possible overflow in __sk_mem_raise_allocated()

Matteo Croce <[email protected]>
geneve: change NET_UDP_TUNNEL dependency to select

Bert Kenward <[email protected]>
sfc: initialise found bitmap in efx_ef10_mtd_probe

Sylwester Nawrocki <[email protected]>
ASoC: samsung: i2s: Fix prescaler setting for the secondary DAI

Hoang Le <[email protected]>
tipc: fix skb may be leaky in tipc_link_input

Ursula Braun <[email protected]>
net/smc: fix byte_order for rx_curs_confirmed

Jan Kara <[email protected]>
blktrace: Show requests without sector

Ursula Braun <[email protected]>
net/smc: fix sender_free computation

Brian Foster <[email protected]>
xfs: end sync buffer I/O properly on shutdown error

Qian Cai <[email protected]>
mm/hotplug: invalid PFNs from pfn_to_online_page()

Karsten Graul <[email protected]>
net/smc: don't wait for send buffer space when data was already sent

Karsten Graul <[email protected]>
net/smc: prevent races between smc_lgr_terminate() and smc_conn_free()

Johannes Berg <[email protected]>
decnet: fix DN_IFREQ_SIZE

wenxu <[email protected]>
ip_tunnel: Make none-tunnel-dst tunnel port work with lwtunnel

Edward Cree <[email protected]>
sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe

Lucas Stach <[email protected]>
gpu: ipu-v3: pre: don't trigger update if buffer address doesn't change

He Zhe <[email protected]>
serial: 8250: Fix serial8250 initialization crash

Konstantin Khlebnikov <[email protected]>
net/core/neighbour: fix kmemleak minimal reference count for hash tables

Ming Lei <[email protected]>
PCI/MSI: Return -ENOSPC from pci_alloc_irq_vectors_affinity()

Miquel Raynal <[email protected]>
ata: ahci: mvebu: do Armada 38x configuration only on relevant SoCs

Konstantin Khlebnikov <[email protected]>
net/core/neighbour: tell kmemleak about hash tables

Gustavo A. R. Silva <[email protected]>
tipc: fix memory leak in tipc_nl_compat_publ_dump

Boris Brezillon <[email protected]>
mtd: Check add_mtd_device() ret code

Olof Johansson <[email protected]>
lib/genalloc.c: include vmalloc.h

Qian Cai <[email protected]>
drivers/base/platform.c: kmemleak ignore a known leak

Yi Wang <[email protected]>
fork: fix some -Wmissing-prototypes warnings

Huang Shijie <[email protected]>
lib/genalloc.c: use vzalloc_node() to allocate the bitmap

Alexey Skidanov <[email protected]>
lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunk

James Morse <[email protected]>
firmware: arm_sdei: Fix DT platform device creation

Nicolas Saenz Julienne <[email protected]>
firmware: arm_sdei: fix wrong of_node_put() in init function

Aditya Pakki <[email protected]>
infiniband/qedr: Potential null ptr dereference of qp

Aditya Pakki <[email protected]>
infiniband: bnxt_re: qplib: Check the return value of send_message

Chuck Lever <[email protected]>
xprtrdma: Prevent leak of rpcrdma_rep objects

Kangjie Lu <[email protected]>
netfilter: nf_tables: fix a missing check of nla_put_failure

Anthony Yznaga <[email protected]>
tools/vm/page-types.c: fix "kpagecount returned fewer pages than expected" failures

Wentao Wang <[email protected]>
mm/page_alloc.c: deduplicate __memblock_free_early() and memblock_free()

Aaron Lu <[email protected]>
mm/page_alloc.c: use a single function to free page

Aaron Lu <[email protected]>
mm/page_alloc.c: free order-0 pages through PCP in page_frag_free()

Wei Yang <[email protected]>
vmscan: return NODE_RECLAIM_NOSCAN in node_reclaim() when CONFIG_NUMA is n

Junxiao Bi <[email protected]>
ocfs2: clear journal dirty flag after shutdown journal

Wen Yang <[email protected]>
net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe()

Kangjie Lu <[email protected]>
net: marvell: fix a missing check of acpi_match_device

Kangjie Lu <[email protected]>
tipc: fix a missing check of genlmsg_put

Kangjie Lu <[email protected]>
atl1e: checking the status of atl1e_write_phy_reg

Kangjie Lu <[email protected]>
net: dsa: bcm_sf2: Propagate error value from mdio_write

Kangjie Lu <[email protected]>
net: stmicro: fix a missing check of clk_prepare

Kangjie Lu <[email protected]>
net: (cpts) fix a missing check of clk_prepare

Richard Weinberger <[email protected]>
um: Make GCOV depend on !KCOV

Richard Weinberger <[email protected]>
um: Include sys/uio.h to have writev()

Chao Yu <[email protected]>
f2fs: fix to dirty inode synchronously

Qiuyang Sun <[email protected]>
f2fs: fix block address for __check_sit_bitmap

Aditya Pakki <[email protected]>
net/net_namespace: Check the return value of register_pernet_subsys()

Aditya Pakki <[email protected]>
net/netlink_compat: Fix a missing check of nla_parse_nested

Alexander Shiyan <[email protected]>
pwm: clps711x: Fix period calculation

Fabio Estevam <[email protected]>
crypto: mxc-scc - fix build warnings on ARM64

Benjamin Herrenschmidt <[email protected]>
powerpc: Fix HMIs on big-endian with CONFIG_RELOCATABLE=y

Michael Ellerman <[email protected]>
powerpc/pseries: Fix node leak in update_lmb_associativity_index()

Christophe Leroy <[email protected]>
powerpc/83xx: handle machine check caused by watchdog timer

Kangjie Lu <[email protected]>
regulator: tps65910: fix a missing check of return value

Jesper Dangaard Brouer <[email protected]>
bpf/cpumap: make sure frame_size for build_skb is aligned if headroom isn't

Parav Pandit <[email protected]>
IB/rxe: Make counters thread safe

Luc Van Oostenryck <[email protected]>
drbd: fix print_st_err()'s prototype to match the definition

Lars Ellenberg <[email protected]>
drbd: do not block when adjusting "disk-options" while IO is frozen

Lars Ellenberg <[email protected]>
drbd: reject attach of unsuitable uuids even if connected

Lars Ellenberg <[email protected]>
drbd: ignore "all zero" peer volume sizes in handshake

Alexey Kardashevskiy <[email protected]>
powerpc/powernv/eeh/npu: Fix uninitialized variables in opal_pci_eeh_freeze_status

Alexey Kardashevskiy <[email protected]>
vfio/spapr_tce: Get rid of possible infinite loop

Benjamin Herrenschmidt <[email protected]>
powerpc/44x/bamboo: Fix PCI range

Christophe Leroy <[email protected]>
powerpc/mm: Make NULL pointer deferences explicit on bad page faults.

Christophe Leroy <[email protected]>
powerpc/prom: fix early DEBUG messages

Joel Stanley <[email protected]>
powerpc/32: Avoid unsupported flags with clang

Madhavan Srinivasan <[email protected]>
powerpc/perf: Fix unit_sel/cache_sel checks

Kyle Roeschley <[email protected]>
ath6kl: Fix off by one error in scan completion

Kyle Roeschley <[email protected]>
ath6kl: Only use match sets when firmware supports it

Stefan Wahren <[email protected]>
brcmfmac: Fix access point mode

Varun Prakash <[email protected]>
scsi: csiostor: fix incorrect dma device in case of vport

Anatoliy Glagolev <[email protected]>
scsi: qla2xxx: deadlock by configfs_depend_item

Bart Van Assche <[email protected]>
RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer

Geert Uytterhoeven <[email protected]>
openrisc: Fix broken paths to arch/or32

Alexander Shiyan <[email protected]>
serial: max310x: Fix tx_empty() callback

Jonathan Bakker <[email protected]>
Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading

Kangjie Lu <[email protected]>
drivers/regulator: fix a missing check of return value

Christophe Leroy <[email protected]>
powerpc/xmon: fix dump_segments()

Christophe Leroy <[email protected]>
powerpc/book3s/32: fix number of bats in p/v_block_mapped()

Petr Machata <[email protected]>
vxlan: Fix error path in __vxlan_dev_create()

Tao Ren <[email protected]>
clocksource/drivers/fttmr010: Fix invalid interrupt register access

Dan Carpenter <[email protected]>
IB/qib: Fix an error code in qib_sdma_verbs_send()

Nick Bowler <[email protected]>
xfs: Fix bulkstat compat ioctls on x32 userspace.

Nick Bowler <[email protected]>
xfs: Align compat attrlist_by_handle with native implementation.

Heinz Mauelshagen <[email protected]>
dm raid: fix false -EBUSY when handling check/repair message

Bob Peterson <[email protected]>
gfs2: take jdata unstuff into account in do_grow

Sweet Tea <[email protected]>
dm flakey: Properly corrupt multi-page bios.

Peter Hutterer <[email protected]>
HID: doc: fix wrong data structure reference for UHID_OUTPUT

Geert Uytterhoeven <[email protected]>
pinctrl: sh-pfc: sh7734: Fix shifted values in IPSR10

Geert Uytterhoeven <[email protected]>
pinctrl: sh-pfc: sh7264: Fix PFCR3 and PFCR0 register configuration

Geert Uytterhoeven <[email protected]>
pinctrl: sh-pfc: r8a77990: Fix MOD_SEL0 SEL_I2C1 field width

Michael Mueller <[email protected]>
KVM: s390: unregister debug feature on failing arch init

Vasundhara Volam <[email protected]>
bnxt_en: query force speeds before disabling autoneg mode.

Michael Chan <[email protected]>
bnxt_en: Save ring statistics before reset.

Vasundhara Volam <[email protected]>
bnxt_en: Return linux standard errors in bnxt_ethtool.c

Al Viro <[email protected]>
exofs_mount(): fix leaks on failure exits

Alin Nastac <[email protected]>
netfilter: nf_nat_sip: fix RTP/RTCP source port translations

Leon Romanovsky <[email protected]>
net/mlx5: Continue driver initialization despite debugfs failure

Martin Schiller <[email protected]>
pinctrl: xway: fix gpio-hog related boot issues

Linus Walleij <[email protected]>
memory: omap-gpmc: Get the header of the enum

Nathan Chancellor <[email protected]>
vfio-mdev/samples: Use u8 instead of char for handle functions

Masami Hiramatsu <[email protected]>
kprobes/x86: Show x86-64 specific blacklisted symbols correctly

Masami Hiramatsu <[email protected]>
kprobes: Blacklist symbols in arch-defined prohibited area

Ross Lagerwall <[email protected]>
xen/pciback: Check dev_data before using it

Andrea Righi <[email protected]>
kprobes/x86/xen: blacklist non-attachable xen interrupt functions

Darwin Dingel <[email protected]>
serial: 8250: Rate limit serial port rx interrupts during input overruns

Nicolas Saenz Julienne <[email protected]>
gpio: raspberrypi-exp: decrease refcount on firmware dt node

Pan Bian <[email protected]>
HID: intel-ish-hid: fixes incorrect error handling

Geert Uytterhoeven <[email protected]>
serial: sh-sci: Fix crash in rx_timer_fn() on PIO fallback

Josef Bacik <[email protected]>
btrfs: only track ref_heads in delayed_ref_updates

Filipe Manana <[email protected]>
Btrfs: allow clear_extent_dirty() to receive a cached extent state record

Anand Jain <[email protected]>
btrfs: dev-replace: set result code of cancel by status of scrub

Hans van Kranenburg <[email protected]>
btrfs: fix ncopies raid_attr for RAID56

Nikolay Borisov <[email protected]>
btrfs: Check for missing device before bio submission in btrfs_map_bio

Roger Quadros <[email protected]>
usb: ehci-omap: Fix deferred probe for phy handling

Boris Brezillon <[email protected]>
mtd: rawnand: sunxi: Write pageprog related opcodes to WCMD_SET

Jerome Brunet <[email protected]>
mmc: meson-gx: make sure the descriptor is stopped on errors

Lepton Wu <[email protected]>
VSOCK: bind to random port for VMADDR_PORT_ANY

Atul Gupta <[email protected]>
crypto/chelsio/chtls: listen fails with multiadapt

Jim Mattson <[email protected]>
kvm: vmx: Set IA32_TSC_AUX for legacy mode guests

Krzysztof Kozlowski <[email protected]>
gpiolib: Fix return value of gpio_to_desc() stub if !GPIOLIB

Marek Vasut <[email protected]>
gpio: pca953x: Fix AI overflow on PCAL6524

Sara Sharon <[email protected]>
iwlwifi: pcie: set cmd_len in the correct place

Sara Sharon <[email protected]>
iwlwifi: pcie: fix erroneous print

Avraham Stern <[email protected]>
iwlwifi: mvm: force TCM re-evaluation on TCM resume

Luca Coelho <[email protected]>
iwlwifi: move iwl_nvm_check_version() into dvm

Masahiro Yamada <[email protected]>
microblaze: fix multiple bugs in arch/microblaze/boot/Makefile

Masahiro Yamada <[email protected]>
microblaze: move "... is ready" messages to arch/microblaze/Makefile

Masahiro Yamada <[email protected]>
microblaze: adjust the help to the real behavior

Pan Bian <[email protected]>
ubi: Do not drop UBI device reference before using

Pan Bian <[email protected]>
ubi: Put MTD device after it is not used

Gabor Juhos <[email protected]>
ubifs: Fix default compression selection in ubifs

Sagi Grimberg <[email protected]>
nvme: fix kernel paging oops

Darrick J. Wong <[email protected]>
xfs: require both realtime inodes to mount

Shenghui Wang <[email protected]>
bcache: do not mark writeback_running too early

Shenghui Wang <[email protected]>
bcache: do not check if debug dentry is ERR or NULL explicitly on remove

Pan Bian <[email protected]>
rtl818x: fix potential use after free

Madhan Mohan R <[email protected]>
brcmfmac: set SDIO F1 MesBusyCtrl for CYW4373

Wright Feng <[email protected]>
brcmfmac: set F2 watermark to 256 for 4373

Brian Norris <[email protected]>
mwifiex: debugfs: correct histogram spacing, formatting

Pan Bian <[email protected]>
mwifiex: fix potential NULL dereference and use after free

Laurent Pinchart <[email protected]>
arm64: dts: renesas: draak: Fix CVBS input

Eric Biggers <[email protected]>
crypto: user - support incremental algorithm dumps

Harald Freudenberger <[email protected]>
s390/zcrypt: make sysfs reset attribute trigger queue reset

Jens Axboe <[email protected]>
nvme: provide fallback for discard alloc failure

Giridhar Malavali <[email protected]>
scsi: qla2xxx: Fix for FC-NVMe discovery for NPIV port

Himanshu Madhani <[email protected]>
scsi: qla2xxx: Fix NPIV handling for FC-NVMe

James Smart <[email protected]>
scsi: lpfc: Enable Management features for IF_TYPE=6

Hans de Goede <[email protected]>
ACPI / LPSS: Ignore acpi_device_fix_up_power() return value

Arnd Bergmann <[email protected]>
ARM: ks8695: fix section mismatch warning

Dave Chinner <[email protected]>
xfs: zero length symlinks are not valid

Thomas Meyer <[email protected]>
PM / AVS: SmartReflex: NULL check before some freeing functions is not needed

Gal Pressman <[email protected]>
RDMA/vmw_pvrdma: Use atomic memory allocation in create AH

Will Deacon <[email protected]>
arm64: preempt: Fix big-endian when checking preempt count in assembly

Lijun Ou <[email protected]>
RDMA/hns: Fix the bug while use multi-hop of pbl

Aaro Koskinen <[email protected]>
ARM: OMAP1: fix USB configuration for device-only setups

Vadim Pasternak <[email protected]>
platform/x86: mlx-platform: Fix LED configuration

Tony Lindgren <[email protected]>
bus: ti-sysc: Check for no-reset and no-idle flags at the child level

Suzuki K Poulose <[email protected]>
arm64: smp: Handle errors reported by the firmware

Steve Capper <[email protected]>
arm64: mm: Prevent mismatched 52-bit VA support

Tony Lindgren <[email protected]>
ARM: dts: Fix hsi gdd range for omap4

Helge Deller <[email protected]>
parisc: Fix HP SDC hpa address output

Helge Deller <[email protected]>
parisc: Fix serio address output

Fabio Estevam <[email protected]>
ARM: dts: imx53-voipac-dmm-668: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx25: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx27: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx1: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx23: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx50: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx6sl: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx6sx: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx6ul: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx7: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx35: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx31: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx53: Fix memory node duplication

Fabio Estevam <[email protected]>
ARM: dts: imx51: Fix memory node duplication

Uwe Kleine-König <[email protected]>
ARM: debug-imx: only define DEBUG_IMX_UART_PORT if needed

Masami Hiramatsu <[email protected]>
tracing: Lock event_mutex before synth_event_mutex

Linus Walleij <[email protected]>
ARM: dts: Fix up SQ201 flash access

Ding Tao <[email protected]>
arm64: dts: marvell: armada-37xx: Enable emmc on espressobin

James Smart <[email protected]>
scsi: lpfc: Fix dif and first burst use in write commands

James Smart <[email protected]>
scsi: lpfc: Fix kernel Oops due to null pring pointers

Bart Van Assche <[email protected]>
scsi: target/tcmu: Fix queue_cmd_ring() declaration

Uwe Kleine-König <[email protected]>
pwm: bcm-iproc: Prevent unloading the driver module while in use

Dan Carpenter <[email protected]>
block: drbd: remove a stray unlock in __drbd_send_protocol()

Ahmed Zaki <[email protected]>
mac80211: fix station inactive_time shortly after boot

Toke Høiland-Jørgensen <[email protected]>
net/fq_impl: Switch to kvmalloc() for memory allocation

Jeff Layton <[email protected]>
ceph: return -EINVAL if given fsc mount option on kernel w/o support

Vladimir Oltean <[email protected]>
net: mscc: ocelot: fix __ocelot_rmw_ix prototype

Doug Berger <[email protected]>
net: bcmgenet: reapply manual settings to the PHY

Doug Berger <[email protected]>
net: bcmgenet: use RGMII loopback for MAC reset

Ilya Leoshkevich <[email protected]>
scripts/gdb: fix debugging modules compiled with hot/cold partitioning

Olivier Moysan <[email protected]>
ASoC: stm32: sai: add restriction on mmap support

Xingyu Chen <[email protected]>
watchdog: meson: Fix the wrong value of left time

Timo Schlüßler <[email protected]>
can: mcp251x: mcp251x_restart_work_handler(): Fix potential force_quit race condition

Marc Kleine-Budde <[email protected]>
can: flexcan: increase error counters if skb enqueueing via can_rx_offload_queue_sorted() fails

Marc Kleine-Budde <[email protected]>
can: rx-offload: can_rx_offload_irq_offload_fifo(): continue on error

Jeroen Hofstee <[email protected]>
can: rx-offload: can_rx_offload_irq_offload_timestamp(): continue on error

Marc Kleine-Budde <[email protected]>
can: rx-offload: can_rx_offload_offload_one(): use ERR_PTR() to propagate error value in case of errors

Marc Kleine-Budde <[email protected]>
can: rx-offload: can_rx_offload_offload_one(): increment rx_fifo_errors on queue overflow or OOM

Marc Kleine-Budde <[email protected]>
can: rx-offload: can_rx_offload_offload_one(): do not increase the skb_queue beyond skb_queue_len_max

Marc Kleine-Budde <[email protected]>
can: rx-offload: can_rx_offload_queue_tail(): fix error handling, avoid skb mem leak

Jeroen Hofstee <[email protected]>
can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open

Jeroen Hofstee <[email protected]>
can: peak_usb: report bus recovery as well

Florian Westphal <[email protected]>
bridge: ebtables: don't crash when using dnat target in output chains

Chuhong Yuan <[email protected]>
net: fec: add missed clk_disable_unprepare in remove

Tony Lindgren <[email protected]>
clk: ti: clkctrl: Fix failed to enable error with double udelay timeout

Peter Ujfalusi <[email protected]>
clk: ti: dra7-atl-clock: Remove ti_clk_add_alias call

Xiaochen Shen <[email protected]>
x86/resctrl: Prevent NULL pointer dereference when reading mondata

Matthew Wilcox (Oracle) <[email protected]>
idr: Fix idr_alloc_u32 on 32-bit systems

Matthew Wilcox (Oracle) <[email protected]>
idr: Fix integer overflow in idr_for_each_entry

Eric Dumazet <[email protected]>
powerpc/bpf: Fix tail call implementation

Björn Töpel <[email protected]>
samples/bpf: fix build by setting HAVE_ATTR_TEST to zero

Ondrej Jirman <[email protected]>
ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend

Colin Ian King <[email protected]>
clk: sunxi-ng: a80: fix the zero'ing of bits 16 and 18

Nathan Chancellor <[email protected]>
clk: sunxi: Fix operator precedence in sunxi_divs_clk_setup

Alexandre Belloni <[email protected]>
clk: at91: avoid sleeping early

Randy Dunlap <[email protected]>
reset: fix reset_control_ops kerneldoc comment

Fabio Estevam <[email protected]>
ARM: dts: imx6qdl-sabreauto: Fix storm of accelerometer interrupts

Andy Shevchenko <[email protected]>
pinctrl: cherryview: Allocate IRQ chip dynamic

Marek Szyprowski <[email protected]>
clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume

Russell King <[email protected]>
ASoC: kirkwood: fix device remove ordering

Russell King <[email protected]>
ASoC: kirkwood: fix external clock probe defer

Marek Szyprowski <[email protected]>
clk: samsung: exynos5433: Fix error paths

Kishon Vijay Abraham I <[email protected]>
reset: Fix memory leak in reset_control_array_put()

Xiaojun Sang <[email protected]>
ASoC: compress: fix unsigned integer overflow check

Stephan Gerhold <[email protected]>
ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX

Fabien Parent <[email protected]>
clocksource/drivers/mediatek: Fix error handling

Martin Blumenstingl <[email protected]>
clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate


-------------

Diffstat:

Documentation/hid/uhid.txt | 2 +-
Makefile | 4 +-
arch/arm/Kconfig.debug | 28 +++----
arch/arm/boot/dts/gemini-sq201.dts | 37 ++-------
arch/arm/boot/dts/imx1-ads.dts | 1 +
arch/arm/boot/dts/imx1-apf9328.dts | 1 +
arch/arm/boot/dts/imx1.dtsi | 2 -
arch/arm/boot/dts/imx23-evk.dts | 1 +
arch/arm/boot/dts/imx23-olinuxino.dts | 1 +
arch/arm/boot/dts/imx23-sansa.dts | 1 +
arch/arm/boot/dts/imx23-stmp378x_devb.dts | 1 +
arch/arm/boot/dts/imx23-xfi3.dts | 1 +
arch/arm/boot/dts/imx23.dtsi | 2 -
arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi | 1 +
arch/arm/boot/dts/imx25-karo-tx25.dts | 1 +
arch/arm/boot/dts/imx25-pdk.dts | 1 +
arch/arm/boot/dts/imx25.dtsi | 2 -
arch/arm/boot/dts/imx27-apf27.dts | 1 +
arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi | 1 +
arch/arm/boot/dts/imx27-pdk.dts | 1 +
arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi | 1 +
arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi | 1 +
arch/arm/boot/dts/imx27.dtsi | 2 -
arch/arm/boot/dts/imx31-bug.dts | 1 +
arch/arm/boot/dts/imx31-lite.dts | 1 +
arch/arm/boot/dts/imx31.dtsi | 2 -
arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi | 1 +
arch/arm/boot/dts/imx35-pdk.dts | 1 +
arch/arm/boot/dts/imx35.dtsi | 2 -
arch/arm/boot/dts/imx50-evk.dts | 1 +
arch/arm/boot/dts/imx50.dtsi | 2 -
arch/arm/boot/dts/imx51-apf51.dts | 1 +
arch/arm/boot/dts/imx51-babbage.dts | 1 +
arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 1 +
arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi | 1 +
arch/arm/boot/dts/imx51-ts4800.dts | 1 +
arch/arm/boot/dts/imx51-zii-rdu1.dts | 1 +
arch/arm/boot/dts/imx51-zii-scu2-mezz.dts | 1 +
arch/arm/boot/dts/imx51-zii-scu3-esb.dts | 1 +
arch/arm/boot/dts/imx51.dtsi | 2 -
arch/arm/boot/dts/imx53-ard.dts | 1 +
arch/arm/boot/dts/imx53-cx9020.dts | 1 +
arch/arm/boot/dts/imx53-m53.dtsi | 1 +
arch/arm/boot/dts/imx53-qsb-common.dtsi | 1 +
arch/arm/boot/dts/imx53-smd.dts | 1 +
arch/arm/boot/dts/imx53-tqma53.dtsi | 1 +
arch/arm/boot/dts/imx53-tx53.dtsi | 1 +
arch/arm/boot/dts/imx53-usbarmory.dts | 1 +
arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi | 8 +-
arch/arm/boot/dts/imx53.dtsi | 2 -
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 8 ++
arch/arm/boot/dts/imx6sl-evk.dts | 1 +
arch/arm/boot/dts/imx6sl-warp.dts | 1 +
arch/arm/boot/dts/imx6sl.dtsi | 2 -
arch/arm/boot/dts/imx6sll-evk.dts | 1 +
arch/arm/boot/dts/imx6sx-nitrogen6sx.dts | 1 +
arch/arm/boot/dts/imx6sx-sabreauto.dts | 1 +
arch/arm/boot/dts/imx6sx-sdb.dtsi | 1 +
arch/arm/boot/dts/imx6sx-softing-vining-2000.dts | 1 +
arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts | 1 +
arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts | 1 +
arch/arm/boot/dts/imx6sx-udoo-neo-full.dts | 1 +
arch/arm/boot/dts/imx6sx.dtsi | 2 -
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 1 +
arch/arm/boot/dts/imx6ul-geam.dts | 1 +
arch/arm/boot/dts/imx6ul-isiot.dtsi | 1 +
arch/arm/boot/dts/imx6ul-litesom.dtsi | 1 +
arch/arm/boot/dts/imx6ul-opos6ul.dtsi | 1 +
arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 1 +
arch/arm/boot/dts/imx6ul-tx6ul.dtsi | 1 +
arch/arm/boot/dts/imx6ul.dtsi | 2 -
arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi | 1 +
arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 1 +
arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 3 +-
arch/arm/boot/dts/imx7d-colibri-emmc.dtsi | 1 +
arch/arm/boot/dts/imx7d-colibri.dtsi | 1 +
arch/arm/boot/dts/imx7d-nitrogen7.dts | 1 +
arch/arm/boot/dts/imx7d-pico.dtsi | 1 +
arch/arm/boot/dts/imx7d-sdb.dts | 1 +
arch/arm/boot/dts/imx7s-colibri.dtsi | 1 +
arch/arm/boot/dts/imx7s-warp.dts | 1 +
arch/arm/boot/dts/imx7s.dtsi | 2 -
arch/arm/boot/dts/omap4-l4.dtsi | 4 +-
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 1 +
arch/arm/mach-ks8695/board-acs5k.c | 2 +-
arch/arm/mach-omap1/Makefile | 2 +-
arch/arm/mach-omap1/include/mach/usb.h | 2 +-
.../boot/dts/marvell/armada-3720-espressobin.dts | 22 +++++
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 2 +-
arch/arm64/include/asm/assembler.h | 8 +-
arch/arm64/kernel/entry.S | 6 +-
arch/arm64/kernel/head.S | 26 ++++++
arch/arm64/kernel/smp.c | 6 ++
arch/microblaze/Makefile | 14 ++--
arch/microblaze/boot/Makefile | 23 ++----
arch/openrisc/kernel/entry.S | 2 +-
arch/openrisc/kernel/head.S | 2 +-
arch/powerpc/Makefile | 9 +-
arch/powerpc/boot/dts/bamboo.dts | 4 +-
arch/powerpc/include/asm/cputable.h | 1 +
arch/powerpc/include/asm/reg.h | 2 +
arch/powerpc/kernel/cputable.c | 10 ++-
arch/powerpc/kernel/exceptions-64s.S | 2 +-
arch/powerpc/kernel/prom.c | 6 +-
arch/powerpc/mm/fault.c | 17 ++--
arch/powerpc/mm/ppc_mmu_32.c | 4 +-
arch/powerpc/net/bpf_jit_comp64.c | 13 +++
arch/powerpc/perf/isa207-common.c | 25 ++++--
arch/powerpc/perf/isa207-common.h | 4 +-
arch/powerpc/platforms/83xx/misc.c | 17 ++++
arch/powerpc/platforms/powernv/eeh-powernv.c | 8 +-
arch/powerpc/platforms/powernv/pci-ioda.c | 4 +-
arch/powerpc/platforms/powernv/pci.c | 4 +-
arch/powerpc/platforms/pseries/dlpar.c | 4 +
arch/powerpc/platforms/pseries/hotplug-memory.c | 1 +
arch/powerpc/xmon/xmon.c | 2 +-
arch/s390/kvm/kvm-s390.c | 17 +++-
arch/s390/mm/gup.c | 9 +-
arch/um/Kconfig.debug | 1 +
arch/um/drivers/vector_user.c | 1 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 4 +
arch/x86/kernel/kprobes/core.c | 6 ++
arch/x86/kvm/vmx.c | 86 +++++++++----------
arch/x86/xen/xen-asm_64.S | 2 +
crypto/crypto_user.c | 37 +++++----
drivers/acpi/acpi_lpss.c | 7 +-
drivers/acpi/apei/ghes.c | 32 ++++----
drivers/ata/ahci_mvebu.c | 68 +++++++++++----
drivers/base/platform.c | 3 +
drivers/block/drbd/drbd_main.c | 1 -
drivers/block/drbd/drbd_nl.c | 43 +++++++---
drivers/block/drbd/drbd_receiver.c | 52 +++++++++++-
drivers/block/drbd/drbd_state.h | 2 +-
drivers/bluetooth/hci_bcm.c | 22 +++++
drivers/bus/ti-sysc.c | 32 ++++++--
drivers/char/hw_random/stm32-rng.c | 8 ++
drivers/clk/at91/clk-generated.c | 28 +++----
drivers/clk/at91/clk-main.c | 7 +-
drivers/clk/at91/sckc.c | 20 ++++-
drivers/clk/clk-stm32mp1.c | 28 ++++---
drivers/clk/meson/gxbb.c | 1 +
drivers/clk/samsung/clk-exynos5420.c | 6 ++
drivers/clk/samsung/clk-exynos5433.c | 14 +++-
drivers/clk/sunxi-ng/ccu-sun9i-a80.c | 2 +-
drivers/clk/sunxi/clk-sunxi.c | 4 +-
drivers/clk/ti/clk-dra7-atl.c | 6 --
drivers/clk/ti/clkctrl.c | 5 +-
drivers/clocksource/timer-fttmr010.c | 73 +++++++++-------
drivers/clocksource/timer-mediatek.c | 10 +--
drivers/crypto/chelsio/chtls/chtls.h | 5 ++
drivers/crypto/chelsio/chtls/chtls_main.c | 50 ++++++-----
drivers/crypto/mxc-scc.c | 12 +--
drivers/crypto/stm32/stm32-hash.c | 2 +-
drivers/dma/stm32-dma.c | 20 ++---
drivers/firmware/arm_sdei.c | 6 --
drivers/gpio/gpio-pca953x.c | 2 +-
drivers/gpio/gpio-raspberrypi-exp.c | 1 +
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 2 +-
drivers/gpu/ipu-v3/ipu-pre.c | 6 ++
drivers/hid/hid-core.c | 51 ++++++++++--
drivers/hid/intel-ish-hid/ishtp-hid.c | 2 +-
drivers/infiniband/hw/bnxt_re/qplib_sp.c | 5 +-
drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 15 +++-
drivers/infiniband/hw/hns/hns_roce_mr.c | 4 +-
drivers/infiniband/hw/hns/hns_roce_qp.c | 3 +-
drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 +
drivers/infiniband/hw/qib/qib_sdma.c | 4 +-
drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c | 2 +-
drivers/infiniband/sw/rxe/rxe_hw_counters.c | 2 +-
drivers/infiniband/sw/rxe/rxe_verbs.h | 6 +-
drivers/infiniband/ulp/srp/ib_srp.c | 1 +
drivers/input/serio/gscps2.c | 4 +-
drivers/input/serio/hp_sdc.c | 4 +-
drivers/iommu/amd_iommu.c | 8 +-
drivers/mailbox/mailbox-test.c | 14 ++--
drivers/mailbox/stm32-ipcc.c | 37 ++++++---
drivers/md/bcache/debug.c | 3 +-
drivers/md/bcache/super.c | 3 +-
drivers/md/bcache/writeback.c | 3 +-
drivers/md/dm-flakey.c | 33 +++++---
drivers/md/dm-raid.c | 3 +-
drivers/media/platform/atmel/atmel-isc.c | 12 ++-
drivers/media/platform/stm32/stm32-dcmi.c | 23 +++++-
drivers/media/v4l2-core/v4l2-ctrls.c | 1 +
drivers/memory/omap-gpmc.c | 1 +
drivers/misc/mei/bus.c | 9 +-
drivers/misc/mei/hw-me-regs.h | 1 +
drivers/misc/mei/pci-me.c | 1 +
drivers/mmc/core/block.c | 6 --
drivers/mmc/core/queue.c | 9 +-
drivers/mmc/host/meson-gx-mmc.c | 73 +++++++++++++---
drivers/mtd/mtdcore.h | 2 +-
drivers/mtd/mtdpart.c | 35 ++++++--
drivers/mtd/nand/raw/atmel/nand-controller.c | 2 +-
drivers/mtd/nand/raw/atmel/pmecc.c | 21 +++--
drivers/mtd/nand/raw/sunxi_nand.c | 2 +-
drivers/mtd/spi-nor/spi-nor.c | 2 +-
drivers/mtd/ubi/build.c | 2 +-
drivers/mtd/ubi/kapi.c | 2 +-
drivers/net/Kconfig | 4 +-
drivers/net/can/c_can/c_can.c | 26 ++++++
drivers/net/can/flexcan.c | 10 ++-
drivers/net/can/rx-offload.c | 96 ++++++++++++++++++----
drivers/net/can/spi/mcp251x.c | 2 +-
drivers/net/can/usb/peak_usb/pcan_usb.c | 15 ++--
drivers/net/dsa/bcm_sf2.c | 7 +-
drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 4 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 57 +++++++++----
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 +
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 78 ++++++++++++++----
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 7 +-
drivers/net/ethernet/broadcom/genet/bcmmii.c | 33 ++++++++
drivers/net/ethernet/cadence/macb.h | 6 +-
drivers/net/ethernet/cadence/macb_main.c | 19 +++--
drivers/net/ethernet/cadence/macb_ptp.c | 5 +-
drivers/net/ethernet/freescale/fec_main.c | 2 +
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 2 +
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 2 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 7 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 +
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 2 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 7 +-
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +
drivers/net/ethernet/mellanox/mlx5/core/main.c | 8 +-
drivers/net/ethernet/mscc/ocelot.h | 2 +-
drivers/net/ethernet/sfc/ef10.c | 29 +++++--
drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 4 +-
drivers/net/ethernet/ti/cpts.c | 4 +-
drivers/net/macvlan.c | 3 +-
drivers/net/slip/slip.c | 1 +
drivers/net/vxlan.c | 13 ++-
drivers/net/wan/fsl_ucc_hdlc.c | 1 -
drivers/net/wireless/ath/ath6kl/cfg80211.c | 4 +-
.../broadcom/brcm80211/brcmfmac/cfg80211.c | 10 +++
.../wireless/broadcom/brcm80211/brcmfmac/sdio.c | 29 ++++++-
.../wireless/broadcom/brcm80211/brcmfmac/sdio.h | 9 +-
drivers/net/wireless/intel/iwlwifi/dvm/main.c | 17 ++++
.../net/wireless/intel/iwlwifi/iwl-eeprom-parse.c | 19 -----
.../net/wireless/intel/iwlwifi/iwl-eeprom-parse.h | 5 +-
drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 4 +-
drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 14 ++++
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c | 24 +++---
drivers/net/wireless/intel/iwlwifi/pcie/tx.c | 10 +--
drivers/net/wireless/marvell/mwifiex/debugfs.c | 14 ++--
drivers/net/wireless/marvell/mwifiex/scan.c | 18 ++--
drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c | 3 +-
drivers/nvme/host/core.c | 41 +++++++--
drivers/nvme/host/nvme.h | 3 +
drivers/pci/msi.c | 22 +++--
drivers/pinctrl/intel/pinctrl-cherryview.c | 24 +++---
drivers/pinctrl/pinctrl-xway.c | 39 ++++++---
drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 2 +-
drivers/pinctrl/sh-pfc/pfc-sh7264.c | 9 +-
drivers/pinctrl/sh-pfc/pfc-sh7734.c | 16 ++--
drivers/pinctrl/stm32/pinctrl-stm32.c | 26 +++---
drivers/platform/x86/hp-wmi.c | 10 +--
drivers/platform/x86/mlx-platform.c | 4 +-
drivers/power/avs/smartreflex.c | 3 +-
drivers/pwm/core.c | 1 +
drivers/pwm/pwm-bcm-iproc.c | 1 +
drivers/pwm/pwm-berlin.c | 1 -
drivers/pwm/pwm-clps711x.c | 4 +-
drivers/pwm/pwm-pca9685.c | 1 -
drivers/pwm/pwm-samsung.c | 1 -
drivers/regulator/palmas-regulator.c | 5 +-
drivers/regulator/tps65910-regulator.c | 4 +-
drivers/reset/core.c | 1 +
drivers/s390/crypto/ap_queue.c | 23 +++++-
drivers/scsi/csiostor/csio_init.c | 2 +-
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 12 +++
drivers/scsi/libsas/sas_expander.c | 29 ++++++-
drivers/scsi/lpfc/lpfc.h | 6 ++
drivers/scsi/lpfc/lpfc_attr.c | 4 +-
drivers/scsi/lpfc/lpfc_bsg.c | 6 +-
drivers/scsi/lpfc/lpfc_els.c | 4 +-
drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +-
drivers/scsi/lpfc/lpfc_init.c | 7 +-
drivers/scsi/lpfc/lpfc_scsi.c | 18 ++++
drivers/scsi/lpfc/lpfc_sli.c | 2 +
drivers/scsi/qla2xxx/qla_attr.c | 2 +
drivers/scsi/qla2xxx/qla_init.c | 10 +--
drivers/scsi/qla2xxx/qla_nvme.c | 16 +---
drivers/scsi/qla2xxx/qla_os.c | 2 +
drivers/scsi/qla2xxx/tcm_qla2xxx.c | 48 ++---------
drivers/scsi/qla2xxx/tcm_qla2xxx.h | 3 -
drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 5 +-
drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 7 +-
drivers/target/target_core_user.c | 2 +-
drivers/thunderbolt/switch.c | 54 +++++++++---
drivers/tty/serial/8250/8250_core.c | 26 ++++++
drivers/tty/serial/8250/8250_fsl.c | 23 +++++-
drivers/tty/serial/8250/8250_of.c | 5 ++
drivers/tty/serial/max310x.c | 7 +-
drivers/tty/serial/sh-sci.c | 2 +-
drivers/usb/dwc2/core.c | 2 +-
drivers/usb/host/ehci-omap.c | 7 +-
drivers/usb/serial/ftdi_sio.c | 3 +
drivers/usb/serial/ftdi_sio_ids.h | 7 ++
drivers/vfio/vfio_iommu_spapr_tce.c | 10 +--
drivers/watchdog/meson_gxbb_wdt.c | 4 +-
drivers/watchdog/sama5d4_wdt.c | 4 +-
drivers/xen/xen-pciback/pci_stub.c | 3 +-
fs/btrfs/delayed-ref.c | 3 -
fs/btrfs/dev-replace.c | 21 +++--
fs/btrfs/disk-io.c | 7 +-
fs/btrfs/extent-tree.c | 7 +-
fs/btrfs/extent_io.h | 4 +-
fs/btrfs/volumes.c | 13 +--
fs/ceph/super.c | 11 ++-
fs/exofs/super.c | 37 +++++++--
fs/ext4/inode.c | 15 ++++
fs/ext4/super.c | 21 +++--
fs/f2fs/file.c | 2 +-
fs/f2fs/segment.c | 2 +-
fs/gfs2/bmap.c | 2 +
fs/ocfs2/journal.c | 6 +-
fs/ubifs/sb.c | 13 ++-
fs/xfs/libxfs/xfs_symlink_remote.c | 14 +++-
fs/xfs/xfs_buf.c | 3 +-
fs/xfs/xfs_ioctl32.c | 40 ++++++++-
fs/xfs/xfs_rtalloc.c | 4 +-
fs/xfs/xfs_symlink.c | 33 ++++----
include/linux/blktrace_api.h | 8 +-
include/linux/genalloc.h | 13 +--
include/linux/gpio/consumer.h | 2 +-
include/linux/idr.h | 2 +-
include/linux/kprobes.h | 3 +
include/linux/memory_hotplug.h | 18 ++--
include/linux/netdevice.h | 2 +-
include/linux/reset-controller.h | 2 +-
include/linux/sched/task.h | 2 +
include/linux/serial_8250.h | 4 +
include/linux/swap.h | 6 --
include/linux/trace_events.h | 2 +
include/net/fq_impl.h | 4 +-
include/net/sctp/structs.h | 3 +
include/net/sock.h | 2 +-
include/trace/events/rpcrdma.h | 28 +++++++
init/main.c | 1 -
kernel/bpf/cpumap.c | 13 ++-
kernel/bpf/syscall.c | 6 +-
kernel/fork.c | 5 --
kernel/kprobes.c | 67 +++++++++++----
kernel/trace/trace_events.c | 34 ++++++--
kernel/trace/trace_events_hist.c | 24 +++---
lib/genalloc.c | 25 +++---
lib/radix-tree.c | 2 +-
mm/internal.h | 10 +++
mm/memblock.c | 7 +-
mm/page_alloc.c | 29 +++----
net/bridge/netfilter/ebt_dnat.c | 19 ++++-
net/core/neighbour.c | 13 ++-
net/core/net_namespace.c | 3 +-
net/core/sock.c | 2 +-
net/decnet/dn_dev.c | 2 +-
net/ipv4/ip_gre.c | 33 ++++----
net/ipv4/ip_tunnel.c | 8 +-
net/ipv4/tcp_timer.c | 6 +-
net/ipv6/ip6_gre.c | 36 ++++----
net/mac80211/sta_info.c | 3 +-
net/netfilter/nf_nat_sip.c | 39 ++++++++-
net/netfilter/nf_tables_api.c | 2 +
net/openvswitch/datapath.c | 17 +++-
net/psample/psample.c | 2 +-
net/sched/sch_mq.c | 3 +-
net/sched/sch_mqprio.c | 4 +-
net/sched/sch_multiq.c | 2 +-
net/sched/sch_prio.c | 2 +-
net/sctp/associola.c | 1 +
net/sctp/endpointola.c | 1 +
net/sctp/input.c | 4 +-
net/sctp/sm_statefuns.c | 4 +-
net/sctp/transport.c | 3 +-
net/smc/smc_cdc.c | 7 +-
net/smc/smc_cdc.h | 45 +++++++---
net/smc/smc_core.c | 4 +
net/smc/smc_tx.c | 10 +--
net/sunrpc/xprtrdma/rpc_rdma.c | 4 +
net/tipc/link.c | 2 +-
net/tipc/netlink_compat.c | 15 +++-
net/vmw_vsock/af_vsock.c | 7 +-
net/xfrm/xfrm_state.c | 2 +
samples/bpf/Makefile | 1 +
samples/vfio-mdev/mtty.c | 26 +++---
scripts/gdb/linux/symbols.py | 3 +-
security/apparmor/apparmorfs.c | 1 +
sound/core/compress_offload.c | 2 +-
sound/soc/codecs/msm8916-wcd-analog.c | 4 +-
sound/soc/codecs/rt5645.c | 14 ++++
sound/soc/kirkwood/kirkwood-i2s.c | 11 +--
sound/soc/samsung/i2s.c | 8 +-
sound/soc/stm/stm32_i2s.c | 29 ++++---
sound/soc/stm/stm32_sai.c | 11 ++-
sound/soc/stm/stm32_sai_sub.c | 12 ++-
tools/testing/selftests/bpf/test_sockmap.c | 9 ++
tools/vm/page-types.c | 2 +-
virt/kvm/kvm_main.c | 2 +-
398 files changed, 2626 insertions(+), 1216 deletions(-)



2019-12-03 23:08:49

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 059/321] ARM: dts: imx6ul: Fix memory node duplication

From: Fabio Estevam <[email protected]>

[ Upstream commit 750d8df6e7b269b828f66631a1d39ea027afc92a ]

Boards based on imx6ul have duplicate memory nodes:

- One coming from the board dts file: memory@

- One coming from the imx6ul.dtsi file.

Fix the duplication by removing the memory node from the dtsi file
and by adding 'device_type = "memory";' in the board dts.

Reported-by: Rob Herring <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 1 +
arch/arm/boot/dts/imx6ul-geam.dts | 1 +
arch/arm/boot/dts/imx6ul-isiot.dtsi | 1 +
arch/arm/boot/dts/imx6ul-litesom.dtsi | 1 +
arch/arm/boot/dts/imx6ul-opos6ul.dtsi | 1 +
arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 1 +
arch/arm/boot/dts/imx6ul-tx6ul.dtsi | 1 +
arch/arm/boot/dts/imx6ul.dtsi | 2 --
arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi | 1 +
arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 1 +
10 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
index 32a07232c0345..8180211265592 100644
--- a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
+++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
@@ -12,6 +12,7 @@
};

memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0x20000000>;
};

diff --git a/arch/arm/boot/dts/imx6ul-geam.dts b/arch/arm/boot/dts/imx6ul-geam.dts
index d81d20f8fc8dd..85cfad080f15c 100644
--- a/arch/arm/boot/dts/imx6ul-geam.dts
+++ b/arch/arm/boot/dts/imx6ul-geam.dts
@@ -51,6 +51,7 @@
compatible = "engicam,imx6ul-geam", "fsl,imx6ul";

memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0x08000000>;
};

diff --git a/arch/arm/boot/dts/imx6ul-isiot.dtsi b/arch/arm/boot/dts/imx6ul-isiot.dtsi
index cd99285511544..1cb52744f58ad 100644
--- a/arch/arm/boot/dts/imx6ul-isiot.dtsi
+++ b/arch/arm/boot/dts/imx6ul-isiot.dtsi
@@ -46,6 +46,7 @@

/ {
memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0x20000000>;
};

diff --git a/arch/arm/boot/dts/imx6ul-litesom.dtsi b/arch/arm/boot/dts/imx6ul-litesom.dtsi
index 8f775f6974d1c..8d6893210842b 100644
--- a/arch/arm/boot/dts/imx6ul-litesom.dtsi
+++ b/arch/arm/boot/dts/imx6ul-litesom.dtsi
@@ -48,6 +48,7 @@
compatible = "grinn,imx6ul-litesom", "fsl,imx6ul";

memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0x20000000>;
};
};
diff --git a/arch/arm/boot/dts/imx6ul-opos6ul.dtsi b/arch/arm/boot/dts/imx6ul-opos6ul.dtsi
index a031bee311df4..cf7faf4b9c47e 100644
--- a/arch/arm/boot/dts/imx6ul-opos6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul-opos6ul.dtsi
@@ -49,6 +49,7 @@

/ {
memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0>; /* will be filled by U-Boot */
};

diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
index 0c09420f99512..797262d2f27fd 100644
--- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
+++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
@@ -53,6 +53,7 @@

/* Will be filled by the bootloader */
memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0>;
};

diff --git a/arch/arm/boot/dts/imx6ul-tx6ul.dtsi b/arch/arm/boot/dts/imx6ul-tx6ul.dtsi
index 02b5ba42cd591..bb6dbfd5546b4 100644
--- a/arch/arm/boot/dts/imx6ul-tx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul-tx6ul.dtsi
@@ -71,6 +71,7 @@
};

memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0>; /* will be filled by U-Boot */
};

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 336cdead3da54..50834a43e5fb2 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -15,10 +15,8 @@
* The decompressor and also some bootloaders rely on a
* pre-existing /chosen node to be available to insert the
* command line and merge other ATAGS info.
- * Also for U-Boot there must be a pre-existing /memory node.
*/
chosen {};
- memory { device_type = "memory"; };

aliases {
ethernet0 = &fec1;
diff --git a/arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi b/arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi
index 10ab4697950f5..fb213bec46543 100644
--- a/arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi
+++ b/arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi
@@ -7,6 +7,7 @@

/ {
memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0x10000000>;
};
};
diff --git a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi
index 183193e8580dd..038d8c90f6dfe 100644
--- a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi
+++ b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi
@@ -7,6 +7,7 @@

/ {
memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0x20000000>;
};

--
2.20.1



2019-12-03 23:08:51

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 027/321] can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open

From: Jeroen Hofstee <[email protected]>

[ Upstream commit 23c5a9488f076bab336177cd1d1a366bd8ddf087 ]

When the CAN interface is closed it the hardwre is put in power down
mode, but does not reset the error counters / state. Reset the D_CAN on
open, so the reported state and the actual state match.

According to [1], the C_CAN module doesn't have the software reset.

[1] http://www.bosch-semiconductors.com/media/ip_modules/pdf_2/c_can_fd8/users_manual_c_can_fd8_r210_1.pdf

Signed-off-by: Jeroen Hofstee <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/net/can/c_can/c_can.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

diff --git a/drivers/net/can/c_can/c_can.c b/drivers/net/can/c_can/c_can.c
index 9b61bfbea6cd1..24c6015f6c92b 100644
--- a/drivers/net/can/c_can/c_can.c
+++ b/drivers/net/can/c_can/c_can.c
@@ -52,6 +52,7 @@
#define CONTROL_EX_PDR BIT(8)

/* control register */
+#define CONTROL_SWR BIT(15)
#define CONTROL_TEST BIT(7)
#define CONTROL_CCE BIT(6)
#define CONTROL_DISABLE_AR BIT(5)
@@ -572,6 +573,26 @@ static void c_can_configure_msg_objects(struct net_device *dev)
IF_MCONT_RCV_EOB);
}

+static int c_can_software_reset(struct net_device *dev)
+{
+ struct c_can_priv *priv = netdev_priv(dev);
+ int retry = 0;
+
+ if (priv->type != BOSCH_D_CAN)
+ return 0;
+
+ priv->write_reg(priv, C_CAN_CTRL_REG, CONTROL_SWR | CONTROL_INIT);
+ while (priv->read_reg(priv, C_CAN_CTRL_REG) & CONTROL_SWR) {
+ msleep(20);
+ if (retry++ > 100) {
+ netdev_err(dev, "CCTRL: software reset failed\n");
+ return -EIO;
+ }
+ }
+
+ return 0;
+}
+
/*
* Configure C_CAN chip:
* - enable/disable auto-retransmission
@@ -581,6 +602,11 @@ static void c_can_configure_msg_objects(struct net_device *dev)
static int c_can_chip_config(struct net_device *dev)
{
struct c_can_priv *priv = netdev_priv(dev);
+ int err;
+
+ err = c_can_software_reset(dev);
+ if (err)
+ return err;

/* enable automatic retransmission */
priv->write_reg(priv, C_CAN_CTRL_REG, CONTROL_ENABLE_AR);
--
2.20.1



2019-12-03 23:08:54

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 006/321] clk: samsung: exynos5433: Fix error paths

From: Marek Szyprowski <[email protected]>

[ Upstream commit faac3604d05e8015567124e5ee79edc3f1568a89 ]

Add checking the value returned by samsung_clk_alloc_reg_dump() and
devm_kcalloc(). While fixing this, also release all gathered clocks.

Fixes: 523d3de41f02 ("clk: samsung: exynos5433: Add support for runtime PM")
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Chanwoo Choi <[email protected]>
[s.nawrocki: squashed patch from K. Kozlowski adding missing slab.h header]
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/clk/samsung/clk-exynos5433.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c
index 426980514e679..302596dc79a2c 100644
--- a/drivers/clk/samsung/clk-exynos5433.c
+++ b/drivers/clk/samsung/clk-exynos5433.c
@@ -16,6 +16,7 @@
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
+#include <linux/slab.h>

#include <dt-bindings/clock/exynos5433.h>

@@ -5527,6 +5528,8 @@ static int __init exynos5433_cmu_probe(struct platform_device *pdev)

data->clk_save = samsung_clk_alloc_reg_dump(info->clk_regs,
info->nr_clk_regs);
+ if (!data->clk_save)
+ return -ENOMEM;
data->nr_clk_save = info->nr_clk_regs;
data->clk_suspend = info->suspend_regs;
data->nr_clk_suspend = info->nr_suspend_regs;
@@ -5535,12 +5538,19 @@ static int __init exynos5433_cmu_probe(struct platform_device *pdev)
if (data->nr_pclks > 0) {
data->pclks = devm_kcalloc(dev, sizeof(struct clk *),
data->nr_pclks, GFP_KERNEL);
-
+ if (!data->pclks) {
+ kfree(data->clk_save);
+ return -ENOMEM;
+ }
for (i = 0; i < data->nr_pclks; i++) {
struct clk *clk = of_clk_get(dev->of_node, i);

- if (IS_ERR(clk))
+ if (IS_ERR(clk)) {
+ kfree(data->clk_save);
+ while (--i >= 0)
+ clk_put(data->pclks[i]);
return PTR_ERR(clk);
+ }
data->pclks[i] = clk;
}
}
--
2.20.1



2019-12-03 23:08:55

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 021/321] x86/resctrl: Prevent NULL pointer dereference when reading mondata

From: Xiaochen Shen <[email protected]>

[ Upstream commit 26467b0f8407cbd628fa5b7bcfd156e772004155 ]

When a mon group is being deleted, rdtgrp->flags is set to RDT_DELETED
in rdtgroup_rmdir_mon() firstly. The structure of rdtgrp will be freed
until rdtgrp->waitcount is dropped to 0 in rdtgroup_kn_unlock() later.

During the window of deleting a mon group, if an application calls
rdtgroup_mondata_show() to read mondata under this mon group,
'rdtgrp' returned from rdtgroup_kn_lock_live() is a NULL pointer when
rdtgrp->flags is RDT_DELETED. And then 'rdtgrp' is passed in this path:
rdtgroup_mondata_show() --> mon_event_read() --> mon_event_count().
Thus it results in NULL pointer dereference in mon_event_count().

Check 'rdtgrp' in rdtgroup_mondata_show(), and return -ENOENT
immediately when reading mondata during the window of deleting a mon
group.

Fixes: d89b7379015f ("x86/intel_rdt/cqm: Add mon_data")
Signed-off-by: Xiaochen Shen <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Fenghua Yu <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Cc: Reinette Chatre <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
---
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c b/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
index c8b72aff55e00..2052e1e6a11c9 100644
--- a/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
+++ b/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
@@ -459,6 +459,10 @@ int rdtgroup_mondata_show(struct seq_file *m, void *arg)
int ret = 0;

rdtgrp = rdtgroup_kn_lock_live(of->kn);
+ if (!rdtgrp) {
+ ret = -ENOENT;
+ goto out;
+ }

md.priv = of->kn->priv;
resid = md.u.rid;
--
2.20.1



2019-12-03 23:09:04

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 038/321] scripts/gdb: fix debugging modules compiled with hot/cold partitioning

From: Ilya Leoshkevich <[email protected]>

[ Upstream commit 8731acc5068eb3f422a45c760d32198175c756f8 ]

gcc's -freorder-blocks-and-partition option makes it group frequently
and infrequently used code in .text.hot and .text.unlikely sections
respectively. At least when building modules on s390, this option is
used by default.

gdb assumes that all code is located in .text section, and that .text
section is located at module load address. With such modules this is no
longer the case: there is code in .text.hot and .text.unlikely, and
either of them might precede .text.

Fix by explicitly telling gdb the addresses of code sections.

It might be tempting to do this for all sections, not only the ones in
the white list. Unfortunately, gdb appears to have an issue, when
telling it about e.g. loadable .note.gnu.build-id section causes it to
think that non-loadable .note.Linux section is loaded at address 0,
which in turn causes NULL pointers to be resolved to bogus symbols. So
keep using the white list approach for the time being.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ilya Leoshkevich <[email protected]>
Reviewed-by: Jan Kiszka <[email protected]>
Cc: Kieran Bingham <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
scripts/gdb/linux/symbols.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/gdb/linux/symbols.py b/scripts/gdb/linux/symbols.py
index 004b0ac7fa72d..4644f1a83b578 100644
--- a/scripts/gdb/linux/symbols.py
+++ b/scripts/gdb/linux/symbols.py
@@ -99,7 +99,8 @@ lx-symbols command."""
attrs[n]['name'].string(): attrs[n]['address']
for n in range(int(sect_attrs['nsections']))}
args = []
- for section_name in [".data", ".data..read_mostly", ".rodata", ".bss"]:
+ for section_name in [".data", ".data..read_mostly", ".rodata", ".bss",
+ ".text", ".text.hot", ".text.unlikely"]:
address = section_name_to_address.get(section_name)
if address:
args.append(" -s {name} {addr}".format(
--
2.20.1



2019-12-03 23:09:07

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 018/321] powerpc/bpf: Fix tail call implementation

From: Eric Dumazet <[email protected]>

[ Upstream commit 7de086909365cd60a5619a45af3f4152516fd75c ]

We have seen many crashes on powerpc hosts while loading bpf programs.

The problem here is that bpf_int_jit_compile() does a first pass
to compute the program length.

Then it allocates memory to store the generated program and
calls bpf_jit_build_body() a second time (and a third time
later)

What I have observed is that the second bpf_jit_build_body()
could end up using few more words than expected.

If bpf_jit_binary_alloc() put the space for the program
at the end of the allocated page, we then write on
a non mapped memory.

It appears that bpf_jit_emit_tail_call() calls
bpf_jit_emit_common_epilogue() while ctx->seen might not
be stable.

Only after the second pass we can be sure ctx->seen wont be changed.

Trying to avoid a second pass seems quite complex and probably
not worth it.

Fixes: ce0761419faef ("powerpc/bpf: Implement support for tail calls")
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Cc: Naveen N. Rao <[email protected]>
Cc: Sandipan Das <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
---
arch/powerpc/net/bpf_jit_comp64.c | 13 +++++++++++++
1 file changed, 13 insertions(+)

diff --git a/arch/powerpc/net/bpf_jit_comp64.c b/arch/powerpc/net/bpf_jit_comp64.c
index 279a51bf94d05..7e3ab477f67fe 100644
--- a/arch/powerpc/net/bpf_jit_comp64.c
+++ b/arch/powerpc/net/bpf_jit_comp64.c
@@ -949,6 +949,19 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
goto out_addrs;
}

+ /*
+ * If we have seen a tail call, we need a second pass.
+ * This is because bpf_jit_emit_common_epilogue() is called
+ * from bpf_jit_emit_tail_call() with a not yet stable ctx->seen.
+ */
+ if (cgctx.seen & SEEN_TAILCALL) {
+ cgctx.idx = 0;
+ if (bpf_jit_build_body(fp, 0, &cgctx, addrs, false)) {
+ fp = org_fp;
+ goto out_addrs;
+ }
+ }
+
/*
* Pretend to build prologue, given the features we've seen. This will
* update ctgtx.idx as it pretends to output instructions, then we can
--
2.20.1



2019-12-03 23:09:16

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 015/321] clk: sunxi-ng: a80: fix the zeroing of bits 16 and 18

From: Colin Ian King <[email protected]>

[ Upstream commit cdfc2e2086bf9c465f44e2db25561373b084a113 ]

The zero'ing of bits 16 and 18 is incorrect. Currently the code
is masking with the bitwise-and of BIT(16) & BIT(18) which is
0, so the updated value for val is always zero. Fix this by bitwise
and-ing value with the correct mask that will zero bits 16 and 18.

Addresses-Coverity: (" Suspicious &= or |= constant expression")
Fixes: b8eb71dcdd08 ("clk: sunxi-ng: Add A80 CCU")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/clk/sunxi-ng/ccu-sun9i-a80.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/sunxi-ng/ccu-sun9i-a80.c b/drivers/clk/sunxi-ng/ccu-sun9i-a80.c
index 8936ef87652c0..c14bf782b2b33 100644
--- a/drivers/clk/sunxi-ng/ccu-sun9i-a80.c
+++ b/drivers/clk/sunxi-ng/ccu-sun9i-a80.c
@@ -1231,7 +1231,7 @@ static int sun9i_a80_ccu_probe(struct platform_device *pdev)

/* Enforce d1 = 0, d2 = 0 for Audio PLL */
val = readl(reg + SUN9I_A80_PLL_AUDIO_REG);
- val &= (BIT(16) & BIT(18));
+ val &= ~(BIT(16) | BIT(18));
writel(val, reg + SUN9I_A80_PLL_AUDIO_REG);

/* Enforce P = 1 for both CPU cluster PLLs */
--
2.20.1



2019-12-03 23:09:23

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 057/321] ARM: dts: imx35: Fix memory node duplication

From: Fabio Estevam <[email protected]>

[ Upstream commit 8721610a6c2b8c42fc57819d8c3bfbb9166f95a3 ]

Boards based on imx35 have duplicate memory nodes:

- One coming from the board dts file: memory@

- One coming from the imx35.dtsi file.

Fix the duplication by removing the memory node from the dtsi file
and by adding 'device_type = "memory";' in the board dts.

Reported-by: Rob Herring <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi | 1 +
arch/arm/boot/dts/imx35-pdk.dts | 1 +
arch/arm/boot/dts/imx35.dtsi | 2 --
3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi b/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi
index ba39d938f2891..5f8a47a9fcd40 100644
--- a/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi
+++ b/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi
@@ -18,6 +18,7 @@
compatible = "eukrea,cpuimx35", "fsl,imx35";

memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0x8000000>; /* 128M */
};
};
diff --git a/arch/arm/boot/dts/imx35-pdk.dts b/arch/arm/boot/dts/imx35-pdk.dts
index df613e88fd2c1..ddce0a844758b 100644
--- a/arch/arm/boot/dts/imx35-pdk.dts
+++ b/arch/arm/boot/dts/imx35-pdk.dts
@@ -11,6 +11,7 @@
compatible = "fsl,imx35-pdk", "fsl,imx35";

memory@80000000 {
+ device_type = "memory";
reg = <0x80000000 0x8000000>,
<0x90000000 0x8000000>;
};
diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi
index 1c50b785cad47..b36b97b655dda 100644
--- a/arch/arm/boot/dts/imx35.dtsi
+++ b/arch/arm/boot/dts/imx35.dtsi
@@ -13,10 +13,8 @@
* The decompressor and also some bootloaders rely on a
* pre-existing /chosen node to be available to insert the
* command line and merge other ATAGS info.
- * Also for U-Boot there must be a pre-existing /memory node.
*/
chosen {};
- memory { device_type = "memory"; };

aliases {
ethernet0 = &fec;
--
2.20.1



2019-12-03 23:09:25

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 012/321] reset: fix reset_control_ops kerneldoc comment

From: Randy Dunlap <[email protected]>

[ Upstream commit f430c7ed8bc22992ed528b518da465b060b9223f ]

Add a missing short description to the reset_control_ops documentation.

Signed-off-by: Randy Dunlap <[email protected]>
[[email protected]: rebased and updated commit message]
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
include/linux/reset-controller.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h
index 9326d671b6e6c..8675ec64987bb 100644
--- a/include/linux/reset-controller.h
+++ b/include/linux/reset-controller.h
@@ -7,7 +7,7 @@
struct reset_controller_dev;

/**
- * struct reset_control_ops
+ * struct reset_control_ops - reset controller driver callbacks
*
* @reset: for self-deasserting resets, does all necessary
* things to reset the device
--
2.20.1



2019-12-03 23:09:36

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 035/321] can: mcp251x: mcp251x_restart_work_handler(): Fix potential force_quit race condition

From: Timo Schlüßler <[email protected]>

[ Upstream commit 27a0e54bae09d2dd023a01254db506d61cc50ba1 ]

In mcp251x_restart_work_handler() the variable to stop the interrupt
handler (priv->force_quit) is reset after the chip is restarted and thus
a interrupt might occur.

This patch fixes the potential race condition by resetting force_quit
before enabling interrupts.

Signed-off-by: Timo Schlüßler <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/net/can/spi/mcp251x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/can/spi/mcp251x.c b/drivers/net/can/spi/mcp251x.c
index de8d9dceb1236..0b0dd3f096dc6 100644
--- a/drivers/net/can/spi/mcp251x.c
+++ b/drivers/net/can/spi/mcp251x.c
@@ -773,6 +773,7 @@ static void mcp251x_restart_work_handler(struct work_struct *ws)
if (priv->after_suspend) {
mcp251x_hw_reset(spi);
mcp251x_setup(net, spi);
+ priv->force_quit = 0;
if (priv->after_suspend & AFTER_SUSPEND_RESTART) {
mcp251x_set_normal_mode(spi);
} else if (priv->after_suspend & AFTER_SUSPEND_UP) {
@@ -784,7 +785,6 @@ static void mcp251x_restart_work_handler(struct work_struct *ws)
mcp251x_hw_sleep(spi);
}
priv->after_suspend = 0;
- priv->force_quit = 0;
}

if (priv->restart_tx) {
--
2.20.1



2019-12-03 23:09:43

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 004/321] ASoC: compress: fix unsigned integer overflow check

From: Xiaojun Sang <[email protected]>

[ Upstream commit d3645b055399538415586ebaacaedebc1e5899b0 ]

Parameter fragments and fragment_size are type of u32. U32_MAX is
the correct check.

Signed-off-by: Xiaojun Sang <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
sound/core/compress_offload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c
index 516ec35873256..509038d6bccdb 100644
--- a/sound/core/compress_offload.c
+++ b/sound/core/compress_offload.c
@@ -529,7 +529,7 @@ static int snd_compress_check_input(struct snd_compr_params *params)
{
/* first let's check the buffer parameter's */
if (params->buffer.fragment_size == 0 ||
- params->buffer.fragments > INT_MAX / params->buffer.fragment_size ||
+ params->buffer.fragments > U32_MAX / params->buffer.fragment_size ||
params->buffer.fragments == 0)
return -EINVAL;

--
2.20.1



2019-12-03 23:09:45

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 029/321] can: rx-offload: can_rx_offload_offload_one(): do not increase the skb_queue beyond skb_queue_len_max

From: Marc Kleine-Budde <[email protected]>

[ Upstream commit a2dc3f5e1022a5ede8af9ab89a144f1e69db8636 ]

The skb_queue is a linked list, holding the skb to be processed in the
next NAPI call.

Without this patch, the queue length in can_rx_offload_offload_one() is
limited to skb_queue_len_max + 1. As the skb_queue is a linked list, no
array or other resources are accessed out-of-bound, however this
behaviour is counterintuitive.

This patch limits the rx-offload skb_queue length to skb_queue_len_max.

Fixes: d254586c3453 ("can: rx-offload: Add support for HW fifo based irq offloading")
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/net/can/rx-offload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/can/rx-offload.c b/drivers/net/can/rx-offload.c
index a90005eac8b17..e32b65599a5f2 100644
--- a/drivers/net/can/rx-offload.c
+++ b/drivers/net/can/rx-offload.c
@@ -124,7 +124,7 @@ static struct sk_buff *can_rx_offload_offload_one(struct can_rx_offload *offload
int ret;

/* If queue is full or skb not available, read to discard mailbox */
- if (likely(skb_queue_len(&offload->skb_queue) <=
+ if (likely(skb_queue_len(&offload->skb_queue) <
offload->skb_queue_len_max))
skb = alloc_can_skb(offload->dev, &cf);

--
2.20.1



2019-12-03 23:09:49

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 026/321] can: peak_usb: report bus recovery as well

From: Jeroen Hofstee <[email protected]>

[ Upstream commit 128a1b87d3ceb2ba449d5aadb222fe22395adeb0 ]

While the state changes are reported when the error counters increase
and decrease, there is no event when the bus recovers and the error
counters decrease again. So add those as well.

Change the state going downward to be ERROR_PASSIVE -> ERROR_WARNING ->
ERROR_ACTIVE instead of directly to ERROR_ACTIVE again.

Signed-off-by: Jeroen Hofstee <[email protected]>
Cc: Stephane Grosjean <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
drivers/net/can/usb/peak_usb/pcan_usb.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/drivers/net/can/usb/peak_usb/pcan_usb.c b/drivers/net/can/usb/peak_usb/pcan_usb.c
index 61f33c2fb1cd7..215cd74800df4 100644
--- a/drivers/net/can/usb/peak_usb/pcan_usb.c
+++ b/drivers/net/can/usb/peak_usb/pcan_usb.c
@@ -444,8 +444,8 @@ static int pcan_usb_decode_error(struct pcan_usb_msg_context *mc, u8 n,
}
if ((n & PCAN_USB_ERROR_BUS_LIGHT) == 0) {
/* no error (back to active state) */
- mc->pdev->dev.can.state = CAN_STATE_ERROR_ACTIVE;
- return 0;
+ new_state = CAN_STATE_ERROR_ACTIVE;
+ break;
}
break;

@@ -468,9 +468,9 @@ static int pcan_usb_decode_error(struct pcan_usb_msg_context *mc, u8 n,
}

if ((n & PCAN_USB_ERROR_BUS_HEAVY) == 0) {
- /* no error (back to active state) */
- mc->pdev->dev.can.state = CAN_STATE_ERROR_ACTIVE;
- return 0;
+ /* no error (back to warning state) */
+ new_state = CAN_STATE_ERROR_WARNING;
+ break;
}
break;

@@ -509,6 +509,11 @@ static int pcan_usb_decode_error(struct pcan_usb_msg_context *mc, u8 n,
mc->pdev->dev.can.can_stats.error_warning++;
break;

+ case CAN_STATE_ERROR_ACTIVE:
+ cf->can_id |= CAN_ERR_CRTL;
+ cf->data[1] = CAN_ERR_CRTL_ACTIVE;
+ break;
+
default:
/* CAN_STATE_MAX (trick to handle other errors) */
cf->can_id |= CAN_ERR_CRTL;
--
2.20.1



2019-12-03 23:09:52

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 020/321] idr: Fix idr_alloc_u32 on 32-bit systems

From: Matthew Wilcox (Oracle) <[email protected]>

[ Upstream commit b7e9728f3d7fc5c5c8508d99f1675212af5cfd49 ]

Attempting to allocate an entry at 0xffffffff when one is already
present would succeed in allocating one at 2^32, which would confuse
everything. Return -ENOSPC in this case, as expected.

Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
lib/radix-tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index bc03ecc4dfd2f..e5cab5c4e3830 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -2172,7 +2172,7 @@ void __rcu **idr_get_free(struct radix_tree_root *root,
offset = radix_tree_find_next_bit(node, IDR_FREE,
offset + 1);
start = next_index(start, node, offset);
- if (start > max)
+ if (start > max || start == 0)
return ERR_PTR(-ENOSPC);
while (offset == RADIX_TREE_MAP_SIZE) {
offset = node->offset + 1;
--
2.20.1



2019-12-03 23:10:04

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 019/321] idr: Fix integer overflow in idr_for_each_entry

From: Matthew Wilcox (Oracle) <[email protected]>

[ Upstream commit f6341c5af4e6e15041be39976d16deca789555fa ]

If there is an entry at INT_MAX then idr_for_each_entry() will increment
id after handling it. This is undefined behaviour, and is caught by
UBSAN. Adding 1U to id forces the operation to be carried out as an
unsigned addition which (when assigned to id) will result in INT_MIN.
Since there is never an entry stored at INT_MIN, idr_get_next() will
return NULL, ending the loop as expected.

Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
include/linux/idr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/idr.h b/include/linux/idr.h
index 3ec8628ce17f0..b6c6151c7446f 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -185,7 +185,7 @@ static inline void idr_preload_end(void)
* is convenient for a "not found" value.
*/
#define idr_for_each_entry(idr, entry, id) \
- for (id = 0; ((entry) = idr_get_next(idr, &(id))) != NULL; ++id)
+ for (id = 0; ((entry) = idr_get_next(idr, &(id))) != NULL; id += 1U)

/**
* idr_for_each_entry_ul() - Iterate over an IDR's elements of a given type.
--
2.20.1



2019-12-03 23:21:58

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 4.19 311/321] clk: stm32mp1: add CLK_SET_RATE_NO_REPARENT to Kernel clocks

From: Gabriel Fernandez <[email protected]>

commit 72cfd1ad1057f16fc614861b3c271597995e57ba upstream.

STM32MP1 clock IP offers lots of Kernel clocks that are shared
by multiple IP's at the same time.
Then boot loader applies a clock tree that allows to use all IP's
at same time and with the maximum of performance.
Not change parents on a change rate on kernel clocks ensures
the integrity of the system.

Signed-off-by: Gabriel Fernandez <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
drivers/clk/clk-stm32mp1.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

--- a/drivers/clk/clk-stm32mp1.c
+++ b/drivers/clk/clk-stm32mp1.c
@@ -1286,10 +1286,11 @@ _clk_stm32_register_composite(struct dev
MGATE_MP1(_id, _name, _parent, _flags, _mgate)

#define KCLK(_id, _name, _parents, _flags, _mgate, _mmux)\
- COMPOSITE(_id, _name, _parents, CLK_OPS_PARENT_ENABLE | _flags,\
- _MGATE_MP1(_mgate),\
- _MMUX(_mmux),\
- _NO_DIV)
+ COMPOSITE(_id, _name, _parents, CLK_OPS_PARENT_ENABLE |\
+ CLK_SET_RATE_NO_REPARENT | _flags,\
+ _MGATE_MP1(_mgate),\
+ _MMUX(_mmux),\
+ _NO_DIV)

enum {
G_SAI1,
@@ -1952,7 +1953,8 @@ static const struct clock_config stm32mp
MGATE_MP1(GPU_K, "gpu_k", "pll2_q", 0, G_GPU),
MGATE_MP1(DAC12_K, "dac12_k", "ck_lsi", 0, G_DAC12),

- COMPOSITE(ETHPTP_K, "ethptp_k", eth_src, CLK_OPS_PARENT_ENABLE,
+ COMPOSITE(ETHPTP_K, "ethptp_k", eth_src, CLK_OPS_PARENT_ENABLE |
+ CLK_SET_RATE_NO_REPARENT,
_NO_GATE,
_MMUX(M_ETHCK),
_DIV(RCC_ETHCKSELR, 4, 4, CLK_DIVIDER_ALLOW_ZERO, NULL)),


2019-12-04 09:34:31

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 4.19 004/321] ASoC: compress: fix unsigned integer overflow check

On Tue 2019-12-03 23:31:10, Greg Kroah-Hartman wrote:
> From: Xiaojun Sang <[email protected]>
>
> [ Upstream commit d3645b055399538415586ebaacaedebc1e5899b0 ]
>
> Parameter fragments and fragment_size are type of u32. U32_MAX is
> the correct check.

Why is this in stable? I doubt raising limit from 2GB to 4GB can be
called bugfix... kmalloc() will have problems allocating huge ammount
of memory, anyway.

Best regards,

Pavel

> +++ b/sound/core/compress_offload.c
> @@ -529,7 +529,7 @@ static int snd_compress_check_input(struct snd_compr_params *params)
> {
> /* first let's check the buffer parameter's */
> if (params->buffer.fragment_size == 0 ||
> - params->buffer.fragments > INT_MAX / params->buffer.fragment_size ||
> + params->buffer.fragments > U32_MAX / params->buffer.fragment_size ||
> params->buffer.fragments == 0)
> return -EINVAL;
>

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


Attachments:
(No filename) (1.03 kB)
signature.asc (188.00 B)
Digital signature
Download all attachments

2019-12-04 09:39:59

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 4.19 012/321] reset: fix reset_control_ops kerneldoc comment

On Tue 2019-12-03 23:31:18, Greg Kroah-Hartman wrote:
> From: Randy Dunlap <[email protected]>
>
> [ Upstream commit f430c7ed8bc22992ed528b518da465b060b9223f ]
>
> Add a missing short description to the reset_control_ops
> documentation.

Why is it pending for stable? It does not break anything, but neither
it fixes anything, it adds to reviewer load...

Sasha, what is your process for selecting commits for stable?

Best regards,

Pavel

> +++ b/include/linux/reset-controller.h
> @@ -7,7 +7,7 @@
> struct reset_controller_dev;
>
> /**
> - * struct reset_control_ops
> + * struct reset_control_ops - reset controller driver callbacks
> *
> * @reset: for self-deasserting resets, does all necessary
> * things to reset the device

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


Attachments:
(No filename) (932.00 B)
signature.asc (188.00 B)
Digital signature
Download all attachments

2019-12-04 09:47:47

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 4.19 000/321] 4.19.88-stable review


On 03/12/2019 22:31, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.19.88 release.
> There are 321 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 05 Dec 2019 22:30:32 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.88-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
> -------------
> Pseudo-Shortlog of commits:

...

> Ding Tao <[email protected]>
> arm64: dts: marvell: armada-37xx: Enable emmc on espressobin

The above commit is causing the following build failure for ARM64 ...

DTC arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb: ERROR
(phandle_references): /soc/internal-regs@d0000000/sdhci@d0000: Reference
to non-existent node or label "sdio_pins"

arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb: ERROR
(phandle_references): /soc/internal-regs@d0000000/sdhci@d8000: Reference
to non-existent node or label "mmc_pins"

Cheers
Jon

--
nvpublic

2019-12-04 11:30:21

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 4.19 000/321] 4.19.88-stable review

On Wed, Dec 04, 2019 at 09:45:31AM +0000, Jon Hunter wrote:
>
> On 03/12/2019 22:31, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 4.19.88 release.
> > There are 321 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Thu, 05 Dec 2019 22:30:32 +0000.
> > Anything received after that time might be too late.
> >
> > The whole patch series can be found in one patch at:
> > https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.88-rc1.gz
> > or in the git tree and branch at:
> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
> >
> > -------------
> > Pseudo-Shortlog of commits:
>
> ...
>
> > Ding Tao <[email protected]>
> > arm64: dts: marvell: armada-37xx: Enable emmc on espressobin
>
> The above commit is causing the following build failure for ARM64 ...
>
> DTC arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb
> arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb: ERROR
> (phandle_references): /soc/internal-regs@d0000000/sdhci@d0000: Reference
> to non-existent node or label "sdio_pins"
>
> arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb: ERROR
> (phandle_references): /soc/internal-regs@d0000000/sdhci@d8000: Reference
> to non-existent node or label "mmc_pins"

Thanks for letting me know, I'll go drop this one and push out a -rc2
with that removed.

greg k-h

2019-12-04 14:54:18

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 4.19 000/321] 4.19.88-stable review


On 04/12/2019 11:29, Greg Kroah-Hartman wrote:
> On Wed, Dec 04, 2019 at 09:45:31AM +0000, Jon Hunter wrote:
>>
>> On 03/12/2019 22:31, Greg Kroah-Hartman wrote:
>>> This is the start of the stable review cycle for the 4.19.88 release.
>>> There are 321 patches in this series, all will be posted as a response
>>> to this one. If anyone has any issues with these being applied, please
>>> let me know.
>>>
>>> Responses should be made by Thu, 05 Dec 2019 22:30:32 +0000.
>>> Anything received after that time might be too late.
>>>
>>> The whole patch series can be found in one patch at:
>>> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.88-rc1.gz
>>> or in the git tree and branch at:
>>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
>>> and the diffstat can be found below.
>>>
>>> thanks,
>>>
>>> greg k-h
>>>
>>> -------------
>>> Pseudo-Shortlog of commits:
>>
>> ...
>>
>>> Ding Tao <[email protected]>
>>> arm64: dts: marvell: armada-37xx: Enable emmc on espressobin
>>
>> The above commit is causing the following build failure for ARM64 ...
>>
>> DTC arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb
>> arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb: ERROR
>> (phandle_references): /soc/internal-regs@d0000000/sdhci@d0000: Reference
>> to non-existent node or label "sdio_pins"
>>
>> arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb: ERROR
>> (phandle_references): /soc/internal-regs@d0000000/sdhci@d8000: Reference
>> to non-existent node or label "mmc_pins"
>
> Thanks for letting me know, I'll go drop this one and push out a -rc2
> with that removed.


Great! All tests now passing for Tegra ...

Test results for stable-v4.19:
13 builds: 13 pass, 0 fail
22 boots: 22 pass, 0 fail
32 tests: 32 pass, 0 fail

Linux version: 4.19.88-rc2-gba731ec12c66
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra20-ventana,
tegra210-p2371-2180, tegra30-cardhu-a04

Cheers
Jon

--
nvpublic

2019-12-04 17:33:18

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 4.19 000/321] 4.19.88-stable review

On Wed, Dec 04, 2019 at 02:53:24PM +0000, Jon Hunter wrote:
>
> On 04/12/2019 11:29, Greg Kroah-Hartman wrote:
> > On Wed, Dec 04, 2019 at 09:45:31AM +0000, Jon Hunter wrote:
> >>
> >> On 03/12/2019 22:31, Greg Kroah-Hartman wrote:
> >>> This is the start of the stable review cycle for the 4.19.88 release.
> >>> There are 321 patches in this series, all will be posted as a response
> >>> to this one. If anyone has any issues with these being applied, please
> >>> let me know.
> >>>
> >>> Responses should be made by Thu, 05 Dec 2019 22:30:32 +0000.
> >>> Anything received after that time might be too late.
> >>>
> >>> The whole patch series can be found in one patch at:
> >>> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.88-rc1.gz
> >>> or in the git tree and branch at:
> >>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
> >>> and the diffstat can be found below.
> >>>
> >>> thanks,
> >>>
> >>> greg k-h
> >>>
> >>> -------------
> >>> Pseudo-Shortlog of commits:
> >>
> >> ...
> >>
> >>> Ding Tao <[email protected]>
> >>> arm64: dts: marvell: armada-37xx: Enable emmc on espressobin
> >>
> >> The above commit is causing the following build failure for ARM64 ...
> >>
> >> DTC arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb
> >> arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb: ERROR
> >> (phandle_references): /soc/internal-regs@d0000000/sdhci@d0000: Reference
> >> to non-existent node or label "sdio_pins"
> >>
> >> arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb: ERROR
> >> (phandle_references): /soc/internal-regs@d0000000/sdhci@d8000: Reference
> >> to non-existent node or label "mmc_pins"
> >
> > Thanks for letting me know, I'll go drop this one and push out a -rc2
> > with that removed.
>
>
> Great! All tests now passing for Tegra ...
>
> Test results for stable-v4.19:
> 13 builds: 13 pass, 0 fail
> 22 boots: 22 pass, 0 fail
> 32 tests: 32 pass, 0 fail
>
> Linux version: 4.19.88-rc2-gba731ec12c66
> Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
> tegra194-p2972-0000, tegra20-ventana,
> tegra210-p2371-2180, tegra30-cardhu-a04

Wonderful, thanks for testing all of these and letting me know.

greg k-h

2019-12-04 19:35:24

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 4.19 000/321] 4.19.88-stable review

> Thanks for letting me know, I'll go drop this one and push out a -rc2
> with that removed.

Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.

Summary
------------------------------------------------------------------------

kernel: 4.19.88-rc2
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-4.19.y
git commit: ba731ec12c667db0f1f85e4bfe11387587feb243
git describe: v4.19.87-322-gba731ec12c66
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-4.19-oe/build/v4.19.87-322-gba731ec12c66


No regressions (compared to build v4.19.87)

No fixes (compared to build v4.19.87)

Ran 21276 total tests in the following environments and test suites.

Environments
--------------
- dragonboard-410c - arm64
- hi6220-hikey - arm64
- i386
- juno-r2 - arm64
- qemu_arm64
- qemu_i386
- qemu_x86_64
- x15 - arm
- x86_64

Test Suites
-----------
* build
* kvm-unit-tests
* libhugetlbfs
* linux-log-parser
* ltp-containers-tests
* ltp-commands-tests
* ltp-dio-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-math-tests
* ltp-sched-tests
* ltp-cap_bounds-tests
* ltp-cpuhotplug-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-securebits-tests
* perf
* v4l2-compliance

--
Linaro LKFT
https://lkft.linaro.org

2019-12-04 19:49:41

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 4.19 000/321] 4.19.88-stable review

On Tue, Dec 03, 2019 at 11:31:06PM +0100, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.19.88 release.
> There are 321 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 05 Dec 2019 22:30:32 +0000.
> Anything received after that time might be too late.
>
Build results:
total: 156 pass: 156 fail: 0
Qemu test results:
total: 390 pass: 390 fail: 0

Guenter

2019-12-05 00:08:22

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 4.19 000/321] 4.19.88-stable review

On 12/3/19 3:31 PM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.19.88 release.
> There are 321 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 05 Dec 2019 22:30:32 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.88-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>

Compiled and booted on my test system. No dmesg regressions.

thanks,
-- Shuah