Linux 4.19.280
Greg Kroah-Hartman
maintainerI'm announcing the release of the 4.19.280 kernel.
All users of the 4.19 kernel series must upgrade.
The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/networking/00-INDEX | 4 Documentation/networking/i40evf.txt | 54 Documentation/networking/iavf.txt | 56 MAINTAINERS | 2 Makefile | 2 arch/m68k/kernel/traps.c | 4 arch/riscv/include/uapi/asm/setup.h | 8 arch/s390/lib/uaccess.c | 2 arch/sh/include/asm/processor_32.h | 1 arch/sh/kernel/signal_32.c | 3 drivers/atm/idt77252.c | 11 drivers/bluetooth/btqcomsmd.c | 17 drivers/bluetooth/btsdio.c | 1 drivers/bus/imx-weim.c | 2 drivers/firmware/arm_scmi/driver.c | 37 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 10 drivers/hwmon/it87.c | 4 drivers/i2c/busses/i2c-imx-lpi2c.c | 4 drivers/i2c/busses/i2c-xgene-slimpro.c | 3 drivers/input/mouse/alps.c | 16 drivers/input/mouse/focaltech.c | 8 drivers/md/dm-crypt.c | 1 drivers/md/dm-stats.c | 7 drivers/md/dm-stats.h | 2 drivers/md/dm-thin.c | 2 drivers/md/dm.c | 4 drivers/md/md.c | 3 drivers/net/dsa/mv88e6xxx/chip.c | 9 drivers/net/ethernet/intel/Kconfig | 15 drivers/net/ethernet/intel/Makefile | 2 drivers/net/ethernet/intel/i40e/i40e_diag.c | 11 drivers/net/ethernet/intel/i40e/i40e_diag.h | 2 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 8 drivers/net/ethernet/intel/i40evf/Makefile | 16 drivers/net/ethernet/intel/i40evf/i40e_adminq.c | 967 ---- drivers/net/ethernet/intel/i40evf/i40e_adminq.h | 136 drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h | 2717 ------------- drivers/net/ethernet/intel/i40evf/i40e_alloc.h | 35 drivers/net/ethernet/intel/i40evf/i40e_common.c | 1320 ------ drivers/net/ethernet/intel/i40evf/i40e_devids.h | 34 drivers/net/ethernet/intel/i40evf/i40e_hmc.h | 215 - drivers/net/ethernet/intel/i40evf/i40e_lan_hmc.h | 158 drivers/net/ethernet/intel/i40evf/i40e_osdep.h | 52 drivers/net/ethernet/intel/i40evf/i40e_prototype.h | 130 drivers/net/ethernet/intel/i40evf/i40e_register.h | 313 - drivers/net/ethernet/intel/i40evf/i40e_status.h | 78 drivers/net/ethernet/intel/i40evf/i40e_trace.h | 209 - drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 2513 ------------ drivers/net/ethernet/intel/i40evf/i40e_txrx.h | 524 -- drivers/net/ethernet/intel/i40evf/i40e_type.h | 1496 ------- drivers/net/ethernet/intel/i40evf/i40evf.h | 427 -- drivers/net/ethernet/intel/i40evf/i40evf_client.c | 579 -- drivers/net/ethernet/intel/i40evf/i40evf_client.h | 169 drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c | 820 ---- drivers/net/ethernet/intel/i40evf/i40evf_main.c | 3989 ------------------- drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c | 1458 ------- drivers/net/ethernet/intel/iavf/Makefile | 15 drivers/net/ethernet/intel/iavf/i40e_adminq.c | 940 ++++ drivers/net/ethernet/intel/iavf/i40e_adminq.h | 136 drivers/net/ethernet/intel/iavf/i40e_adminq_cmd.h | 528 ++ drivers/net/ethernet/intel/iavf/i40e_alloc.h | 35 drivers/net/ethernet/intel/iavf/i40e_common.c | 982 ++++ drivers/net/ethernet/intel/iavf/i40e_devids.h | 34 drivers/net/ethernet/intel/iavf/i40e_osdep.h | 52 drivers/net/ethernet/intel/iavf/i40e_prototype.h | 71 drivers/net/ethernet/intel/iavf/i40e_register.h | 68 drivers/net/ethernet/intel/iavf/i40e_status.h | 78 drivers/net/ethernet/intel/iavf/i40e_trace.h | 209 + drivers/net/ethernet/intel/iavf/i40e_txrx.c | 2513 ++++++++++++ drivers/net/ethernet/intel/iavf/i40e_txrx.h | 524 ++ drivers/net/ethernet/intel/iavf/i40e_type.h | 719 +++ drivers/net/ethernet/intel/iavf/i40evf.h | 427 ++ drivers/net/ethernet/intel/iavf/i40evf_client.c | 579 ++ drivers/net/ethernet/intel/iavf/i40evf_client.h | 169 drivers/net/ethernet/intel/iavf/i40evf_ethtool.c | 820 ++++ drivers/net/ethernet/intel/iavf/i40evf_main.c | 3990 ++++++++++++++++++++ drivers/net/ethernet/intel/iavf/i40evf_virtchnl.c | 1465 +++++++ drivers/net/ethernet/intel/igb/igb_main.c | 2 drivers/net/ethernet/intel/igbvf/netdev.c | 8 drivers/net/ethernet/intel/igbvf/vf.c | 13 drivers/net/ethernet/marvell/mvneta.c | 66 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c | 6 drivers/net/ethernet/natsemi/sonic.c | 4 drivers/net/ethernet/qlogic/qed/qed_sriov.c | 5 drivers/net/ethernet/qualcomm/emac/emac.c | 6 drivers/net/ethernet/toshiba/ps3_gelic_net.c | 41 drivers/net/ethernet/toshiba/ps3_gelic_net.h | 5 drivers/net/ethernet/xircom/xirc2ps_cs.c | 5 drivers/net/ieee802154/ca8210.c | 5 drivers/net/phy/mdio-thunder.c | 1 drivers/net/tun.c | 109 drivers/net/usb/cdc_mbim.c | 5 drivers/net/usb/qmi_wwan.c | 1 drivers/net/usb/smsc95xx.c | 6 drivers/net/xen-netback/common.h | 2 drivers/net/xen-netback/netback.c | 25 drivers/pinctrl/pinctrl-at91-pio4.c | 1 drivers/power/supply/da9150-charger.c | 1 drivers/scsi/device_handler/scsi_dh_alua.c | 6 drivers/scsi/megaraid/megaraid_sas_fusion.c | 4 drivers/scsi/scsi_devinfo.c | 1 drivers/scsi/ufs/ufshcd.c | 1 drivers/target/iscsi/iscsi_target_parameters.c | 12 drivers/thunderbolt/nhi.c | 2 drivers/tty/hvc/hvc_xen.c | 19 drivers/usb/chipidea/ci.h | 2 drivers/usb/chipidea/core.c | 11 drivers/usb/chipidea/otg.c | 5 drivers/usb/gadget/function/u_audio.c | 2 drivers/usb/host/ohci-pxa27x.c | 2 drivers/usb/storage/unusual_uas.h | 7 drivers/video/fbdev/au1200fb.c | 3 drivers/video/fbdev/geode/lxfb_core.c | 3 drivers/video/fbdev/intelfb/intelfbdrv.c | 3 drivers/video/fbdev/nvidia/nvidia.c | 2 drivers/video/fbdev/tgafb.c | 3 fs/cifs/cifsfs.h | 5 fs/cifs/cifssmb.c | 9 fs/cifs/smb2ops.c | 2 fs/ext4/inode.c | 3 fs/gfs2/aops.c | 2 fs/gfs2/bmap.c | 3 fs/gfs2/glops.c | 3 fs/nilfs2/ioctl.c | 2 fs/ocfs2/aops.c | 18 include/linux/cpuset.h | 8 kernel/bpf/core.c | 2 kernel/cgroup/cgroup-v1.c | 3 kernel/cgroup/cgroup.c | 50 kernel/cgroup/cpuset.c | 25 kernel/compat.c | 2 kernel/sched/core.c | 7 kernel/sched/fair.c | 54 net/can/bcm.c | 16 net/ipv4/ip_gre.c | 4 net/ipv6/ip6_gre.c | 4 net/sched/sch_cbq.c | 4 sound/pci/asihpi/hpi6205.c | 2 sound/pci/hda/patch_ca0132.c | 4 sound/pci/hda/patch_conexant.c | 6 sound/usb/format.c | 8 141 files changed, 15039 insertions(+), 18636 deletions(-)
Adrien Thierry (1):
scsi: ufs: core: Add soft dependency on governor_simpleondemand
Akihiko Odaki (1):
igbvf: Regard vf reset nack as success
Al Viro (1):
sh: sanitize the flags on sigreturn
Alexander Aring (1):
ca8210: fix mac_len negative array access
Alexander Lobakin (1):
iavf: fix inverted Rx hash condition leading to disabled hash
Alexander Stein (1):
i2c: imx-lpi2c: check only for enabled interrupt flags
Alexandre Ghiti (1):
riscv: Bump COMMAND_LINE_SIZE value to 1024
Alvin Šipraga (1):
usb: gadget: u_audio: don't let userspace block driver unbind
Andreas Gruenbacher (1):
gfs2: Always check inode size of inline inodes
Coly Li (1):
dm thin: fix deadlock when swapping to thin device
Cristian Marussi (1):
firmware: arm_scmi: Fix device node validation for mailbox transport
Dan Carpenter (1):
usb: host: ohci-pxa27x: Fix and & vs | typo
Daniel Borkmann (1):
bpf: Adjust insufficient default bpf_jit_limit
Daniil Tatianin (1):
qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
David Disseldorp (1):
cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
Enrico Sau (2):
net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
net: usb: qmi_wwan: add Telit 0x1080 composition
Eric Dumazet (1):
erspan: do not use skb_mac_header() in ndo_start_xmit()
Frank Crawford (1):
hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
Gaosheng Cui (1):
intel/igbvf: free irq on the error path in igbvf_request_msix()
Geoff Levand (2):
net/ps3_gelic_net: Fix RX sk_buff length
net/ps3_gelic_net: Use dma_mapping_error
George Kennedy (1):
tun: avoid double free in tun_free_netdev
Greg Kroah-Hartman (1):
Linux 4.19.280
Harshit Mogalapalli (1):
ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
Heiko Carstens (1):
s390/uaccess: add missing earlyclobber annotations to __clear_user()
Ivan Bornyakov (1):
bus: imx-weim: fix branch condition evaluates to a garbage value
Ivan Orlov (1):
can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
Jamal Hadi Salim (1):
net: sched: cbq: dont intepret cls results when asked to drop
Jan Kara via Ocfs2-devel (1):
ocfs2: fix data corruption after failed write
Jason A. Donenfeld (1):
Input: focaltech - use explicitly signed char type
Jesse Brandeburg (2):
intel-ethernet: rename i40evf to iavf
iavf: diet and reformat
Jiasheng Jiang (1):
dm stats: check for and propagate alloc_percpu failure
Joel Selvaraj (1):
scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
Johan Hovold (1):
pinctrl: at91-pio4: fix domain name assignment
Juergen Gross (1):
xen/netback: don't do grant copy across page boundary
Juri Lelli (1):
cgroup/cpuset: Change cpuset_rwsem and hotplug lock order
Kuninori Morimoto (2):
ALSA: asihpi: check pao in control_message()
ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
Li Zetao (1):
atm: idt77252: fix kmemleak when rmmod idt77252
Liang He (1):
net: mdio: thunder: Add missing fwnode_handle_put()
Lin Ma (1):
igb: revert rtnl_lock() that causes deadlock
Linus Torvalds (1):
sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
Lorenzo Bianconi (1):
net: mvneta: make tx buffer array agnostic
Lucas Stach (1):
drm/etnaviv: fix reference leak when mmaping imported buffer
Maher Sanalla (1):
net/mlx5: Read the TC mapping of all priorities on ETS query
Mario Limonciello (1):
thunderbolt: Use const qualifier for ring_interrupt_index
Maurizio Lombardi (1):
scsi: target: iscsi: Fix an error message in iscsi_check_key()
Michael Schmitz (1):
m68k: Only force 030 bus error if PC not in exception table
Mikulas Patocka (1):
dm crypt: add cond_resched() to dmcrypt_write()
NeilBrown (1):
md: avoid signed overflow in slot_store()
Paulo Alcantara (1):
cifs: prevent infinite recursion in CIFSGetDFSRefer()
Paweł Jabłoński (1):
i40evf: Change a VF mac without reloading the VF driver
Radoslaw Tyl (1):
i40e: fix registers dump after run ethtool adapter self test
Roger Pau Monne (1):
hvc/xen: prevent concurrent accesses to the shared ring
Ryusuke Konishi (1):
nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
Shyam Prasad N (1):
cifs: empty interface list when server doesn't support query interfaces
Steffen Bätz (1):
net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
Stephan Gerhold (1):
Bluetooth: btqcomsmd: Fix command timeout after setting BD address
Szymon Heidrich (1):
net: usb: smsc95xx: Limit packet length to skb->len
Takashi Iwai (2):
ALSA: hda/conexant: Partial revert of a quirk for Lenovo
ALSA: usb-audio: Fix regression on detection of Roland VS-100
Tejun Heo (1):
cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock
Tetsuo Handa (1):
cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
Tomas Henzl (1):
scsi: megaraid_sas: Fix crash after a double completion
Vincent Guittot (1):
sched/fair: Sanitize vruntime of entity being migrated
Wei Chen (6):
i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
fbdev: tgafb: Fix potential divide by zero
fbdev: nvidia: Fix potential divide by zero
fbdev: intelfb: Fix potential divide by zero
fbdev: lxfb: Fix potential divide by zero
fbdev: au1200fb: Fix potential divide by zero
Xu Yang (2):
usb: chipdea: core: fix return -EINVAL if request role is the same with current role
usb: chipidea: core: fix possible concurrent when switch role
Yaroslav Furman (1):
uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
Ye Bin (1):
ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
Yu Kuai (1):
scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
Zhang Changzhong (1):
net/sonic: use dma_mapping_error() for error check
Zhang Qiao (1):
sched/fair: sanitize vruntime of entity being placed
Zheng Wang (4):
power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
xirc2ps_cs: Fix use after free bug in xirc2ps_detach
net: qcom/emac: Fix use after free bug in emac_remove due to race condition
Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
msizanoen (1):
Input: alps - fix compatibility with -funsigned-char
Greg Kroah-Hartman
maintainerDocumentation/networking/00-INDEX +2 -2
@@ -94,8 +94,8 @@ gianfar.txt - Gianfar Ethernet Driver. i40e.txt - README for the Intel Ethernet Controller XL710 Driver (i40e). -i40evf.txt - - Short note on the Driver for the Intel(R) XL710 X710 Virtual Function +iavf.txt + - README for the Intel Ethernet Adaptive Virtual Function Driver (iavf). ieee802154.txt - Linux IEEE 802.15.4 implementation, API and drivers igb.txt
Documentation/networking/i40evf.txt deleted +0 -54
54 lines not on this page · raw message
Documentation/networking/iavf.txt new file +56 -0
56 lines not on this page · raw message
MAINTAINERS +1 -1
@@ -7377,7 +7377,7 @@ F: Documentation/networking/ixgb.txt F: Documentation/networking/ixgbe.txt F: Documentation/networking/ixgbevf.txt F: Documentation/networking/i40e.txt -F: Documentation/networking/i40evf.txt +F: Documentation/networking/iavf.txt F: Documentation/networking/ice.txt F: drivers/net/ethernet/intel/ F: drivers/net/ethernet/intel/*/
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 279 +SUBLEVEL = 280 EXTRAVERSION = NAME = "People's Front"
arch/m68k/kernel/traps.c +3 -1
@@ -30,6 +30,7 @@#include <linux/init.h> #include <linux/ptrace.h> #include <linux/kallsyms.h> +#include <linux/extable.h> #include <asm/setup.h> #include <asm/fpu.h>
@@ -550,7 +551,8 @@ static inline void bus_error030 (struct frame *fp) errorcode |=2 ;if (mmusr & (MMU_I |MMU_WP )) { -if (ssw &4 ) { +/* We might have an exception table for this PC */ +if (ssw &4 && !search_exception_tables (fp->ptregs.pc)) { pr_err("Data %s fault at %#010lx in %s (pc=%#lx)\n", ssw & RW ? "read" : "write", fp->un.fmtb.daddr,
arch/riscv/include/uapi/asm/setup.h new file +8 -0
@@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ + +#ifndef _UAPI_ASM_RISCV_SETUP_H +#define _UAPI_ASM_RISCV_SETUP_H + +#define COMMAND_LINE_SIZE 1024 + +#endif /* _UAPI_ASM_RISCV_SETUP_H */
arch/s390/lib/uaccess.c +1 -1
@@ -339,7 +339,7 @@ static inline unsigned long clear_user_mvcos(void __user *to, unsigned long size"4: slgr %0,%0\n" "5:\n" EX_TABLE(0b,2b) EX_TABLE(3b,5b) - : "+a" (size), "+a" (to), "+a" (tmp1), "=a" (tmp2) + : "+&a" (size), "+&a" (to), "+a" (tmp1), "=&a" (tmp2) : "a" (empty_zero_page), "d" (reg0) : "cc", "memory");return size; }
arch/sh/include/asm/processor_32.h +1 -0
@@ -57,6 +57,7 @@#define SR_FD 0x00008000#define SR_MD 0x40000000 +#define SR_USER_MASK 0x00000303 // M, Q, S, T bits/* * DSP structure and data */
arch/sh/kernel/signal_32.c +3 -0
@@ -116,6 +116,7 @@ static int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *r0_p) { unsigned int err = 0; +unsigned int sr = regs->sr & ~SR_USER_MASK ;#define COPY (x) err |= __get_user(regs->x, &sc->sc_##x)COPY (regs[1 ]);
@@ -131,6 +132,8 @@ restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *r0_pCOPY (sr);COPY (pc);#undef COPY + regs->sr = (regs->sr &SR_USER_MASK ) | sr; +#ifdef CONFIG_SH_FPU if (boot_cpu_data.flags &CPU_HAS_FPU ) {int owned_fp;
drivers/atm/idt77252.c +11 -0
@@ -2915,6 +2915,7 @@ close_card_oam(struct idt77252_dev *card)recycle_rx_pool_skb (card, &vc->rcv.rx_pool); } +kfree (vc); } } }
@@ -2958,6 +2959,15 @@ open_card_ubr0(struct idt77252_dev *card)return 0 ; } +static void +close_card_ubr0 (struct idt77252_dev *card) +{ +struct vc_map *vc = card->vcs[0 ]; + +free_scq (card, vc->scq); +kfree (vc); +} +static int idt77252_dev_open (struct idt77252_dev *card) {
@@ -3007,6 +3017,7 @@ static void idt77252_dev_close(struct atm_dev *dev)struct idt77252_dev *card = dev->dev_data;u32 conf; +close_card_ubr0 (card);close_card_oam (card); conf = SAR_CFG_RXPTH | /* enable receive path */
drivers/bluetooth/btqcomsmd.c +16 -1
@@ -146,6 +146,21 @@ static int btqcomsmd_setup(struct hci_dev *hdev)return 0 ; } +static int btqcomsmd_set_bdaddr (struct hci_dev *hdev,const bdaddr_t *bdaddr) +{ +int ret; + + ret =qca_set_bdaddr_rome (hdev, bdaddr); +if (ret) +return ret; + +/* The firmware stops responding for a while after setting the bdaddr, +* causing timeouts for subsequent commands. Sleep a bit to avoid this. +*/ +usleep_range (1000 ,10000 ); +return 0 ; +} +static int btqcomsmd_probe (struct platform_device *pdev) {struct btqcomsmd *btq;
@@ -195,7 +210,7 @@ static int btqcomsmd_probe(struct platform_device *pdev) hdev->close = btqcomsmd_close; hdev->send = btqcomsmd_send; hdev->setup = btqcomsmd_setup; - hdev->set_bdaddr = qca_set_bdaddr_rome; + hdev->set_bdaddr = btqcomsmd_set_bdaddr; ret =hci_register_dev (hdev);if (ret <0 )
drivers/bluetooth/btsdio.c +1 -0
@@ -353,6 +353,7 @@ static void btsdio_remove(struct sdio_func *func)BT_DBG ("func %p" , func); +cancel_work_sync (&data->work);if (!data)return ;
drivers/bus/imx-weim.c +1 -1
@@ -146,8 +146,8 @@ static int __init weim_parse_dt(struct platform_device *pdev,const struct of_device_id *of_id =of_match_device (weim_id_table, &pdev->dev);const struct imx_weim_devtype *devtype = of_id->data; +int ret =0 , have_child =0 ;struct device_node *child; -int ret, have_child =0 ;if (devtype == &imx50_weim_devtype) { ret =imx_weim_gpr_setup (pdev);
drivers/firmware/arm_scmi/driver.c +37 -0
@@ -705,6 +705,39 @@ static int scmi_remove(struct platform_device *pdev)return ret; } +static int scmi_mailbox_chan_validate (struct device *cdev) +{ +int num_mb, num_sh, ret =0 ; +struct device_node *np = cdev->of_node; + + num_mb =of_count_phandle_with_args (np,"mboxes" ,"#mbox-cells" ); + num_sh =of_count_phandle_with_args (np,"shmem" ,NULL ); +/* Bail out if mboxes and shmem descriptors are inconsistent */ +if (num_mb <=0 || num_sh >2 || num_mb != num_sh) { +dev_warn (cdev,"Invalid channel descriptor for '%s'\n" , +of_node_full_name (np)); +return -EINVAL ; + } + +if (num_sh >1 ) { +struct device_node *np_tx, *np_rx; + + np_tx =of_parse_phandle (np,"shmem" ,0 ); + np_rx =of_parse_phandle (np,"shmem" ,1 ); +/* SCMI Tx and Rx shared mem areas have to be distinct */ +if (!np_tx || !np_rx || np_tx == np_rx) { +dev_warn (cdev,"Invalid shmem descriptor for '%s'\n" , +of_node_full_name (np)); + ret = -EINVAL ; + } + +of_node_put (np_tx); +of_node_put (np_rx); + } + +return ret; +} +static inline int scmi_mbox_chan_setup (struct scmi_info *info,struct device *dev,int prot_id) {
@@ -720,6 +753,10 @@ scmi_mbox_chan_setup(struct scmi_info *info, struct device *dev, int prot_id) goto idr_alloc; } + ret =scmi_mailbox_chan_validate (dev); +if (ret) +return ret; + cinfo =devm_kzalloc (info->dev,sizeof (*cinfo),GFP_KERNEL );if (!cinfo)return -ENOMEM ;
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c +9 -1
@@ -91,7 +91,15 @@ static void *etnaviv_gem_prime_vmap_impl(struct etnaviv_gem_object *etnaviv_obj)static int etnaviv_gem_prime_mmap_obj (struct etnaviv_gem_object *etnaviv_obj,struct vm_area_struct *vma) { -return dma_buf_mmap (etnaviv_obj->base.dma_buf, vma,0 ); +int ret; + + ret =dma_buf_mmap (etnaviv_obj->base.dma_buf, vma,0 ); +if (!ret) { +/* Drop the reference acquired by drm_gem_mmap_obj(). */ +drm_gem_object_put (&etnaviv_obj->base); + } + +return ret; }static const struct etnaviv_gem_ops etnaviv_gem_prime_ops = {
drivers/hwmon/it87.c +3 -1
@@ -495,6 +495,8 @@ static const struct it87_devices it87_devices[] = {#define has_pwm_freq2 (data) ((data)->features & FEAT_PWM_FREQ2)#define has_six_temp (data) ((data)->features & FEAT_SIX_TEMP)#define has_vin3_5v (data) ((data)->features & FEAT_VIN3_5V) +#define has_scaling (data) ((data)->features & (FEAT_12MV_ADC | \ + FEAT_10_9MV_ADC))struct it87_sio_data {int sioaddr;
@@ -3107,7 +3109,7 @@ static int it87_probe(struct platform_device *pdev) "Detected broken BIOS defaults, disabling PWM interface\n");/* Starting with IT8721F, we handle scaling of internal voltages */ -if (has_12mv_adc (data)) { +if (has_scaling (data)) {if (sio_data->internal &BIT (0 )) data->in_scaled |=BIT (3 );/* in3 is AVCC */ if (sio_data->internal &BIT (1 ))
drivers/i2c/busses/i2c-imx-lpi2c.c +4 -0
@@ -508,10 +508,14 @@ static int lpi2c_imx_xfer(struct i2c_adapter *adapter,static irqreturn_t lpi2c_imx_isr (int irq,void *dev_id) {struct lpi2c_imx_struct *lpi2c_imx = dev_id; +unsigned int enabled;unsigned int temp; + enabled =readl (lpi2c_imx->base +LPI2C_MIER ); +lpi2c_imx_intctrl (lpi2c_imx,0 ); temp =readl (lpi2c_imx->base +LPI2C_MSR ); + temp &= enabled;if (temp &MSR_RDF )lpi2c_imx_read_rxfifo (lpi2c_imx);
drivers/i2c/busses/i2c-xgene-slimpro.c +3 -0
@@ -321,6 +321,9 @@ static int slimpro_i2c_blkwr(struct slimpro_i2c_dev *ctx, u32 chip,u32 msg[3 ];int rc; +if (writelen >I2C_SMBUS_BLOCK_MAX ) +return -EINVAL ; +memcpy (ctx->dma_buffer, data, writelen); paddr =dma_map_single (ctx->dev, ctx->dma_buffer, writelen,DMA_TO_DEVICE );
drivers/input/mouse/alps.c +8 -8
@@ -855,8 +855,8 @@ static void alps_process_packet_v6(struct psmouse *psmouse) x = y = z =0 ;/* Divide 4 since trackpoint's speed is too fast */ -input_report_rel (dev2,REL_X , (char )x /4 ); -input_report_rel (dev2,REL_Y , -((char )y /4 )); +input_report_rel (dev2,REL_X , (s8 )x /4 ); +input_report_rel (dev2,REL_Y , -((s8 )y /4 ));psmouse_report_standard_buttons (dev2, packet[3 ]);
@@ -1107,8 +1107,8 @@ static void alps_process_trackstick_packet_v7(struct psmouse *psmouse) ((packet[3 ] &0x20 ) <<1 ); z = (packet[5 ] &0x3f ) | ((packet[3 ] &0x80 ) >>1 ); -input_report_rel (dev2,REL_X , (char )x); -input_report_rel (dev2,REL_Y , -((char )y)); +input_report_rel (dev2,REL_X , (s8 )x); +input_report_rel (dev2,REL_Y , -((s8 )y));input_report_abs (dev2,ABS_PRESSURE , z);psmouse_report_standard_buttons (dev2, packet[1 ]);
@@ -2297,20 +2297,20 @@ static int alps_get_v3_v7_resolution(struct psmouse *psmouse, int reg_pitch)if (reg <0 )return reg; - x_pitch = (char )(reg <<4 ) >>4 ;/* sign extend lower 4 bits */ + x_pitch = (s8)(reg <<4 ) >>4 ;/* sign extend lower 4 bits */ x_pitch =50 +2 * x_pitch;/* In 0.1 mm units */ - y_pitch = (char )reg >>4 ;/* sign extend upper 4 bits */ + y_pitch = (s8 )reg >>4 ;/* sign extend upper 4 bits */ y_pitch =36 +2 * y_pitch;/* In 0.1 mm units */ reg =alps_command_mode_read_reg (psmouse, reg_pitch +1 );if (reg <0 )return reg; - x_electrode = (char )(reg <<4 ) >>4 ;/* sign extend lower 4 bits */ + x_electrode = (s8)(reg <<4 ) >>4 ;/* sign extend lower 4 bits */ x_electrode =17 + x_electrode; - y_electrode = (char )reg >>4 ;/* sign extend upper 4 bits */ + y_electrode = (s8 )reg >>4 ;/* sign extend upper 4 bits */ y_electrode =13 + y_electrode; x_phys = x_pitch * (x_electrode -1 );/* In 0.1 mm units */
drivers/input/mouse/focaltech.c +4 -4
@@ -206,8 +206,8 @@ static void focaltech_process_rel_packet(struct psmouse *psmouse, state->pressed = packet[0 ] >>7 ; finger1 = ((packet[0 ] >>4 ) &0x7 ) -1 ;if (finger1 <FOC_MAX_FINGERS ) { - state->fingers[finger1].x += (char )packet[1 ]; - state->fingers[finger1].y += (char )packet[2 ]; + state->fingers[finger1].x += (s8 )packet[1 ]; + state->fingers[finger1].y += (s8 )packet[2 ]; }else {psmouse_err (psmouse,"First finger in rel packet invalid: %d\n" , finger1);
@@ -222,8 +222,8 @@ static void focaltech_process_rel_packet(struct psmouse *psmouse,*/ finger2 = ((packet[3 ] >>4 ) &0x7 ) -1 ;if (finger2 <FOC_MAX_FINGERS ) { - state->fingers[finger2].x += (char )packet[4 ]; - state->fingers[finger2].y += (char )packet[5 ]; + state->fingers[finger2].x += (s8 )packet[4 ]; + state->fingers[finger2].y += (s8 )packet[5 ]; } }
drivers/md/dm-crypt.c +1 -0
@@ -1661,6 +1661,7 @@ static int dmcrypt_write(void *data) io =crypt_io_from_node (rb_first (&write_tree));rb_erase (&io->rb_node, &write_tree);kcryptd_io_write (io); +cond_resched (); }while (!RB_EMPTY_ROOT (&write_tree));blk_finish_plug (&plug); }
drivers/md/dm-stats.c +6 -1
@@ -188,7 +188,7 @@ static int dm_stat_in_flight(struct dm_stat_shared *shared)atomic_read (&shared->in_flight[WRITE ]); } -void dm_stats_init (struct dm_stats *stats) +int dm_stats_init (struct dm_stats *stats) {int cpu;struct dm_stats_last_position *last;
@@ -196,11 +196,16 @@ void dm_stats_init(struct dm_stats *stats)mutex_init (&stats->mutex);INIT_LIST_HEAD (&stats->list); stats->last = alloc_percpu(struct dm_stats_last_position); +if (!stats->last) +return -ENOMEM ; +for_each_possible_cpu (cpu) { last =per_cpu_ptr (stats->last, cpu); last->last_sector = (sector_t )ULLONG_MAX ; last->last_rw =UINT_MAX ; } + +return 0 ; }void dm_stats_cleanup (struct dm_stats *stats)
drivers/md/dm-stats.h +1 -1
@@ -22,7 +22,7 @@ struct dm_stats_aux {unsigned long long duration_ns; }; -void dm_stats_init (struct dm_stats *st); +int dm_stats_init (struct dm_stats *st);void dm_stats_cleanup (struct dm_stats *st);struct mapped_device ;
drivers/md/dm-thin.c +2 -0
@@ -3365,6 +3365,7 @@ static int pool_ctr(struct dm_target *ti, unsigned argc, char **argv) pt->low_water_blocks = low_water_blocks; pt->adjusted_pf = pt->requested_pf = pf; ti->num_flush_bios =1 ; + ti->limit_swap_bios = true;/* * Only need to enable discards if the pool should pass
@@ -4245,6 +4246,7 @@ static int thin_ctr(struct dm_target *ti, unsigned argc, char **argv) goto bad; ti->num_flush_bios =1 ; + ti->limit_swap_bios = true; ti->flush_supported = true; ti->per_io_data_size =sizeof (struct dm_thin_endio_hook );
drivers/md/dm.c +3 -1
@@ -2021,7 +2021,9 @@ static struct mapped_device *alloc_dev(int minor)bio_set_dev (&md->flush_bio, md->bdev); md->flush_bio.bi_opf =REQ_OP_WRITE |REQ_PREFLUSH |REQ_SYNC ; -dm_stats_init (&md->stats); + r =dm_stats_init (&md->stats); +if (r <0 ) + goto bad;/* Populate the mapping, nobody knows we exist yet */ spin_lock (&_minor_lock);
drivers/md/md.c +3 -0
@@ -2991,6 +2991,9 @@ slot_store(struct md_rdev *rdev, const char *buf, size_t len) err =kstrtouint (buf,10 , (unsigned int *)&slot);if (err <0 )return err; +if (slot <0 ) +/* overflow */ +return -ENOSPC ; }if (rdev->mddev->pers && slot ==-1 ) {/* Setting 'slot' on an active array requires also
drivers/net/dsa/mv88e6xxx/chip.c +7 -2
@@ -2237,9 +2237,14 @@ static int mv88e6xxx_setup_port(struct mv88e6xxx_chip *chip, int port)* If this is the upstream port for this switch, enable * forwarding of unknown unicasts and multicasts. */ - reg =MV88E6XXX_PORT_CTL0_IGMP_MLD_SNOOP | -MV88E6185_PORT_CTL0_USE_TAG |MV88E6185_PORT_CTL0_USE_IP | + reg =MV88E6185_PORT_CTL0_USE_TAG |MV88E6185_PORT_CTL0_USE_IP |MV88E6XXX_PORT_CTL0_STATE_FORWARDING ; +/* Forward any IPv4 IGMP or IPv6 MLD frames received +* by a USER port to the CPU port to allow snooping. +*/ +if (dsa_is_user_port (ds, port)) + reg |=MV88E6XXX_PORT_CTL0_IGMP_MLD_SNOOP ; + err =mv88e6xxx_port_write (chip, port,MV88E6XXX_PORT_CTL0 , reg);if (err)return err;
drivers/net/ethernet/intel/Kconfig +11 -4
@@ -235,20 +235,27 @@ config I40E_DCB If unsure, say N. +# this is here to allow seamless migration from I40EVF --> IAVF name +# so that CONFIG_IAVF symbol will always mirror the state of CONFIG_I40EVF +config IAVF + tristate config I40EVF tristate "Intel(R) Ethernet Adaptive Virtual Function support" + select IAVF depends on PCI_MSI ---help--- This driver supports virtual functions for Intel XL710, - X710, X722, and all devices advertising support for Intel - Ethernet Adaptive Virtual Function devices. For more + X710, X722, XXV710, and all devices advertising support for + Intel Ethernet Adaptive Virtual Function devices. For more information on how to identify your adapter, go to the Adapter & Driver ID Guide that can be located at: - <http://support.intel.com> + <https://support.intel.com> + + This driver was formerly named i40evf. To compile this driver as a module, choose M here. The module - will be called i40evf. MSI-X interrupt support is required + will be called iavf. MSI-X interrupt support is required for this driver to work correctly. config ICE
drivers/net/ethernet/intel/Makefile +1 -1
@@ -12,6 +12,6 @@ obj-$(CONFIG_IXGBE) += ixgbe/ obj-$(CONFIG_IXGBEVF) += ixgbevf/ obj-$(CONFIG_I40E) += i40e/ obj-$(CONFIG_IXGB) += ixgb/ -obj-$(CONFIG_I40EVF) += i40evf/ +obj-$(CONFIG_IAVF) += iavf/ obj-$(CONFIG_FM10K) += fm10k/ obj-$(CONFIG_ICE) += ice/
drivers/net/ethernet/intel/i40e/i40e_diag.c +6 -5
@@ -44,7 +44,7 @@ static i40e_status i40e_diag_reg_pattern_test(struct i40e_hw *hw,return 0 ; } -struct i40e_diag_reg_test_info i40e_reg_list[] = { +const struct i40e_diag_reg_test_info i40e_reg_list[] = {/* offset mask elements stride */ {I40E_QTX_CTL (0 ),0x0000FFBF ,1 ,I40E_QTX_CTL (1 ) -I40E_QTX_CTL (0 )},
@@ -78,27 +78,28 @@ i40e_status i40e_diag_reg_test(struct i40e_hw *hw) {i40e_status ret_code =0 ;u32 reg, mask; +u32 elements;u32 i, j;for (i =0 ; i40e_reg_list[i].offset !=0 && !ret_code; i++) { + elements = i40e_reg_list[i].elements;/* set actual reg range for dynamically allocated resources */ if (i40e_reg_list[i].offset ==I40E_QTX_CTL (0 ) && hw->func_caps.num_tx_qp !=0 ) - i40e_reg_list[i].elements = hw->func_caps.num_tx_qp; + elements = hw->func_caps.num_tx_qp;if ((i40e_reg_list[i].offset ==I40E_PFINT_ITRN (0 ,0 ) || i40e_reg_list[i].offset ==I40E_PFINT_ITRN (1 ,0 ) || i40e_reg_list[i].offset ==I40E_PFINT_ITRN (2 ,0 ) || i40e_reg_list[i].offset ==I40E_QINT_TQCTL (0 ) || i40e_reg_list[i].offset ==I40E_QINT_RQCTL (0 )) && hw->func_caps.num_msix_vectors !=0 ) - i40e_reg_list[i].elements = - hw->func_caps.num_msix_vectors -1 ; + elements = hw->func_caps.num_msix_vectors -1 ;/* test register access */ mask = i40e_reg_list[i].mask; -for (j =0 ; j < i40e_reg_list[i].elements && !ret_code; j++) { +for (j =0 ; j < elements && !ret_code; j++) { reg = i40e_reg_list[i].offset + (j * i40e_reg_list[i].stride); ret_code =i40e_diag_reg_pattern_test (hw, reg, mask);
drivers/net/ethernet/intel/i40e/i40e_diag.h +1 -1
@@ -20,7 +20,7 @@ struct i40e_diag_reg_test_info {u32 stride;/* bytes between each element */ }; -extern struct i40e_diag_reg_test_info i40e_reg_list[]; +extern const struct i40e_diag_reg_test_info i40e_reg_list[];i40e_status i40e_diag_reg_test (struct i40e_hw *hw);i40e_status i40e_diag_eeprom_test (struct i40e_hw *hw);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +5 -3
@@ -2595,7 +2595,7 @@ static inline int i40e_check_vf_permission(struct i40e_vf *vf, !is_multicast_ether_addr(addr) && vf->pf_set_mac && !ether_addr_equal(addr, vf->default_lan_addr.addr)) {dev_err (&pf->pdev->dev, -"VF attempting to override administratively set MAC address, reload the VF driver to resume normal operation\n" ); +"VF attempting to override administratively set MAC address, bring down and up the VF interface to resume normal operation\n" );return -EPERM ; } }
@@ -4019,9 +4019,11 @@ int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac) mac, vf_id); } -/* Force the VF driver stop so it has to reload with new MAC address */ +/* Force the VF interface down so it has to bring up with new MAC +* address +*/ i40e_vc_disable_vf (vf); -dev_info (&pf->pdev->dev,"Reload the VF driver to make this change effective.\n" ); +dev_info (&pf->pdev->dev,"Bring down and up the VF interface to make this change effective.\n" ); error_param:return ret;
drivers/net/ethernet/intel/i40evf/Makefile deleted +0 -16
@@ -1,16 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright(c) 2013 - 2018 Intel Corporation. - -# -## Makefile for the Intel(R) 40GbE VF driver -# -# - -ccflags-y += -I$(src) -subdir-ccflags-y += -I$(src) - -obj-$(CONFIG_I40EVF) += i40evf.o - -i40evf-objs := i40evf_main.o i40evf_ethtool.o i40evf_virtchnl.o \ - i40e_txrx.o i40e_common.o i40e_adminq.o i40evf_client.o -
drivers/net/ethernet/intel/i40evf/i40e_adminq.c deleted +0 -967
967 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_adminq.h deleted +0 -136
136 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h deleted +0 -2717
1,254 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_alloc.h deleted +0 -35
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40evf/i40e_common.c deleted +0 -1320
1,320 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_devids.h deleted +0 -34
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40evf/i40e_hmc.h deleted +0 -215
215 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_lan_hmc.h deleted +0 -158
158 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_osdep.h deleted +0 -52
52 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_prototype.h deleted +0 -130
130 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_register.h deleted +0 -313
313 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_status.h deleted +0 -78
78 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_trace.h deleted +0 -209
209 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_txrx.c deleted +0 -2513
2,513 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_txrx.h deleted +0 -524
524 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_type.h deleted +0 -1496
1,496 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40evf.h deleted +0 -427
427 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40evf_client.c deleted +0 -579
579 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40evf_client.h deleted +0 -169
169 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c deleted +0 -820
820 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40evf_main.c deleted +0 -3989
3,989 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c deleted +0 -1458
1,458 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/Makefile new file +15 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/i40e_adminq.c new file +940 -0
940 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_adminq.h new file +136 -0
136 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_adminq_cmd.h new file +528 -0
528 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_alloc.h new file +35 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/i40e_common.c new file +982 -0
982 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_devids.h new file +34 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/i40e_osdep.h new file +52 -0
52 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_prototype.h new file +71 -0
71 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_register.h new file +68 -0
68 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_status.h new file +78 -0
78 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_trace.h new file +209 -0
209 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_txrx.c new file +2513 -0
2,513 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_txrx.h new file +524 -0
524 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40e_type.h new file +719 -0
719 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40evf.h new file +427 -0
427 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40evf_client.c new file +579 -0
579 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40evf_client.h new file +169 -0
169 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40evf_ethtool.c new file +820 -0
820 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40evf_main.c new file +3990 -0
3,990 lines not on this page · raw message
drivers/net/ethernet/intel/iavf/i40evf_virtchnl.c new file +1465 -0
1,465 lines not on this page · raw message
drivers/net/ethernet/intel/igb/igb_main.c +0 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igbvf/netdev.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvneta.c +43 -23
66 lines not on this page · raw message
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qed/qed_sriov.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/emac/emac.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/toshiba/ps3_gelic_net.c +22 -19
41 lines not on this page · raw message
drivers/net/ethernet/toshiba/ps3_gelic_net.h +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/xircom/xirc2ps_cs.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/tun.c +59 -50
109 lines not on this page · raw message
drivers/scsi/device_handler/scsi_dh_alua.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/scsi/megaraid/megaraid_sas_fusion.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/target/iscsi/iscsi_target_parameters.c +7 -5
Lines of this file are not shown. View the raw message.
drivers/video/fbdev/intelfb/intelfbdrv.c +3 -0
Lines of this file are not shown. View the raw message.
kernel/cgroup/cgroup.c +45 -5
50 lines not on this page · raw message
kernel/sched/fair.c +49 -5
54 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.