Linux 5.10.200
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.10.200 kernel.
All users of the 5.10 kernel series must upgrade.
The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.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
------------
Makefile | 2 arch/powerpc/kernel/setup-common.c | 2 arch/powerpc/mm/mem.c | 1 arch/sparc/lib/checksum_32.S | 2 arch/x86/include/asm/i8259.h | 2 arch/x86/include/asm/setup.h | 46 - arch/x86/kernel/acpi/boot.c | 3 arch/x86/kernel/i8259.c | 38 arch/x86/kernel/setup.c | 5 arch/x86/kernel/vmlinux.lds.S | 2 drivers/base/driver.c | 69 + drivers/base/platform.c | 28 drivers/clk/clk.c | 21 drivers/dma/ste_dma40.c | 1 drivers/gpu/drm/drm_dp_mst_topology.c | 6 drivers/i2c/busses/i2c-aspeed.c | 3 drivers/i2c/busses/i2c-stm32f7.c | 9 drivers/i2c/muxes/i2c-demux-pinctrl.c | 2 drivers/i2c/muxes/i2c-mux-gpmux.c | 2 drivers/i2c/muxes/i2c-mux-pinctrl.c | 2 drivers/iio/adc/exynos_adc.c | 24 drivers/iio/adc/xilinx-xadc-core.c | 179 +--- drivers/input/mouse/synaptics.c | 1 drivers/input/rmi4/rmi_smbus.c | 50 - drivers/irqchip/irq-stm32-exti.c | 1 drivers/mcb/mcb-lpc.c | 35 drivers/mcb/mcb-parse.c | 15 drivers/misc/fastrpc.c | 10 drivers/mmc/host/renesas_sdhi_core.c | 3 drivers/mmc/host/tmio_mmc.h | 2 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 2 drivers/net/ethernet/intel/i40e/i40e_txrx.c | 2 drivers/net/ethernet/intel/igb/igb_ethtool.c | 6 drivers/net/ethernet/intel/igc/igc_ethtool.c | 35 drivers/net/ethernet/realtek/r8169_main.c | 4 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c | 2 drivers/net/gtp.c | 5 drivers/net/ieee802154/adf7242.c | 5 drivers/net/usb/r8152.c | 11 drivers/net/usb/smsc95xx.c | 4 drivers/nvmem/imx-ocotp.c | 6 drivers/pci/quirks.c | 8 drivers/platform/mellanox/mlxbf-tmfifo.c | 21 drivers/rpmsg/qcom_glink_native.c | 2 drivers/rpmsg/rpmsg_core.c | 37 drivers/rpmsg/rpmsg_internal.h | 5 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 drivers/spi/spi-npcm-fiu.c | 5 drivers/tty/serial/8250/8250_pci.c | 122 ++ drivers/usb/gadget/legacy/raw_gadget.c | 26 drivers/usb/storage/unusual_cypress.h | 2 drivers/video/fbdev/aty/atyfb_base.c | 4 drivers/video/fbdev/uvesafb.c | 2 drivers/virtio/virtio_balloon.c | 6 drivers/virtio/virtio_mmio.c | 19 fs/cifs/smbdirect.c | 14 fs/ext4/mballoc.c | 51 - fs/ext4/mballoc.h | 14 fs/f2fs/gc.c | 3 include/linux/device/driver.h | 2 include/linux/kasan.h | 6 include/linux/pci_ids.h | 1 include/linux/platform_device.h | 6 include/linux/rpmsg.h | 14 include/uapi/linux/can/isotp.h | 25 include/uapi/linux/gtp.h | 2 kernel/events/core.c | 3 kernel/trace/trace_kprobe.c | 4 lib/kobject.c | 12 mm/kasan/report.c | 4 mm/page_alloc.c | 2 net/can/isotp.c | 434 ++++++---- net/core/neighbour.c | 67 - net/ipv4/tcp_input.c | 9 net/netfilter/nfnetlink_log.c | 2 net/sched/cls_u32.c | 2 sound/hda/intel-dsp-config.c | 6 sound/soc/codecs/rt5645.c | 2 tools/objtool/check.c | 2 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc | 13 80 files changed, 1046 insertions(+), 565 deletions(-)
Al Viro (1):
sparc32: fix a braino in fault handling in csum_and_copy_..._user()
Alain Volmat (1):
i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
Alessandro Carminati (1):
clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
Andrey Konovalov (1):
usb: raw-gadget: properly handle interrupted requests
Arnd Bergmann (1):
fbdev: atyfb: only use ioremap_uc() on i386 and ia64
Baokun Li (3):
ext4: add two helper functions extent_logical_end() and pa_logical_end()
ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
ext4: avoid overlapping preallocations due to overflow
Bartosz Golaszewski (3):
iio: adc: xilinx: use helper variable for &pdev->dev
iio: adc: xilinx: use devm_krealloc() instead of kfree() + kcalloc()
iio: adc: xilinx: use more devres helpers and remove remove()
Ben Wolsieffer (1):
irqchip/stm32-exti: add missing DT IRQ flag translation
Bjorn Andersson (1):
rpmsg: glink: Release driver_override
Cameron Williams (4):
tty: 8250: Remove UC-257 and UC-431
tty: 8250: Add support for additional Brainboxes UC cards
tty: 8250: Add support for Brainboxes UP cards
tty: 8250: Add support for Intashield IS-100
Chao Yu (1):
f2fs: fix to do sanity check on inode type during garbage collection
Christophe JAILLET (1):
net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
Dmitry Torokhov (1):
Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
Douglas Anderson (4):
r8152: Increase USB control msg timeout to 5000ms as per spec
r8152: Run the unload routine if we have errors during probe
r8152: Cancel hw_phy_work if we have an error in probe
r8152: Release firmware if we have an error in probe
Ekansh Gupta (1):
misc: fastrpc: Clean buffers on remote invocation failures
Eric Dumazet (1):
neighbour: fix various data-races
Florian Westphal (1):
netfilter: nfnetlink_log: silence bogus compiler warning
Francis Laniel (1):
selftests/ftrace: Add new test case which checks non unique symbol
Fred Chen (1):
tcp: fix wrong RTO timeout when received SACK reneging
Gavin Shan (1):
virtio_balloon: Fix endless deflation and inflation on arm64
Greg Kroah-Hartman (1):
Linux 5.10.200
Gustavo A. R. Silva (1):
net: sched: cls_u32: Fix allocation size in u32_init()
Haibo Li (1):
kasan: print the original fault addr when access invalid shadow
Hangyu Hua (1):
rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
Herve Codina (3):
i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
Ivan Vecera (1):
i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
Jian Zhang (1):
i2c: aspeed: Fix i2c bus hang in slave read
John Sperbeck (1):
objtool/x86: add missing embedded_insn check
Jorge Maidana (1):
fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
Josh Poimboeuf (2):
x86/mm: Simplify RESERVE_BRK() x86/mm: Fix RESERVE_BRK() for older binutils
Juergen Gross (1):
x86: Fix .brk attribute in linker script
Kemeng Shi (1):
mm/page_alloc: correct start page when guard page debug is enabled
Krzysztof Kozlowski (4):
driver: platform: Add helper for safer setting of driver_override
rpmsg: Constify local variable in field store macro
rpmsg: Fix kfree() of static memory on setting driver_override
rpmsg: Fix calling device_lock() on non-initialized device
Kunwu Chan (1):
treewide: Spelling fix in comment
LihaSika (1):
usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
Liming Sun (1):
platform/mellanox: mlxbf-tmfifo: Fix a warning message
Lukas Magel (1):
can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
Lukasz Majczak (1):
drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
Marek Szyprowski (1):
iio: exynos-adc: request second interupt only when touchscreen mode is used
Mark Hasemeyer (1):
ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
Mateusz Palczewski (1):
igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
Maximilian Heyne (1):
virtio-mmio: fix memory leak of vm_dev
Michael Ellerman (1):
powerpc/mm: Fix boot crash with FLATMEM
Mirsad Goran Todorovac (2):
r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
Oliver Hartkopp (6):
can: isotp: set max PDU size to 64 kByte
can: isotp: isotp_bind(): return -EINVAL on incorrect CAN ID formatting
can: isotp: check CAN address family in isotp_bind()
can: isotp: handle wait_event_interruptible() return values
can: isotp: add local echo tx processing and tx without FC
can: isotp: isotp_bind(): do not validate unused address information
Pablo Neira Ayuso (2):
gtp: uapi: fix GTPA_MAX
gtp: fix fragmentation needed check with gso
Patrick Menschel (3):
can: isotp: change error format from decimal to symbolic error names
can: isotp: add symbolic error message to isotp_module_init()
can: isotp: Add error message if txqueuelen is too small
Peng Fan (3):
nvmem: imx: correct nregs for i.MX6ULL
nvmem: imx: correct nregs for i.MX6SLL
nvmem: imx: correct nregs for i.MX6UL
Peter Zijlstra (1):
perf/core: Fix potential NULL deref
Robert Hancock (1):
iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
Rodríguez Barbarin, José Javier (2):
mcb: Return actual parsed size when reading chameleon table
mcb-lpc: Reallocate memory region to avoid memory overlapping
Sasha Neftin (1):
igc: Fix ambiguity in the ethtool advertising
Shigeru Yoshida (1):
net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
Shuming Fan (1):
ASoC: rt5650: fix the wrong result of key button
Steve French (1):
smbdirect: missing rc checks while waiting for rdma events
Su Hui (1):
net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
Thomas Gleixner (1):
x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
Tomas Henzl (1):
scsi: mpt3sas: Fix in error path
Vicki Pfau (1):
PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
Wang Hai (1):
kobject: Fix slab-out-of-bounds in fill_kobj_path()
William A. Kennington III (1):
spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
Wolfram Sang (1):
mmc: renesas_sdhi: use custom mask for TMIO_MASK_ALL
Yujie Liu (1):
tracing/kprobes: Fix the description of variable length arguments
Zhang Shurong (1):
dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
Greg Kroah-Hartman
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 10 -SUBLEVEL = 199 +SUBLEVEL = 200 EXTRAVERSION = NAME = Dare mighty things
arch/powerpc/kernel/setup-common.c +2 -0
@@ -906,6 +906,8 @@ void __init setup_arch(char **cmdline_p)/* Parse memory topology */ mem_topology_setup (); +/* Set max_mapnr before paging_init() */ +set_max_mapnr (max_pfn);/* * Release secondary cpus out of their spinloops at 0x60 now that
arch/powerpc/mm/mem.c +0 -1
@@ -293,7 +293,6 @@ void __init mem_init(void)#endif high_memory = (void *)__va (max_low_pfn *PAGE_SIZE ); -set_max_mapnr (max_pfn);kasan_late_init ();
arch/sparc/lib/checksum_32.S +1 -1
@@ -463,5 +463,5 @@ ccslow: cmp %g1, 0 * we only bother with faults on loads... */ cc_fault: - ret + retl clr %o0
arch/x86/include/asm/i8259.h +2 -0
@@ -67,6 +67,8 @@ struct legacy_pic {void (*make_irq)(unsigned int irq); }; +void legacy_pic_pcat_compat (void ); +extern struct legacy_pic *legacy_pic;extern struct legacy_pic null_legacy_pic;
arch/x86/include/asm/setup.h +21 -25
60 lines not on this page · raw message
arch/x86/kernel/acpi/boot.c +3 -0
@@ -141,6 +141,9 @@ static int __init acpi_parse_madt(struct acpi_table_header *table) madt->address); } +if (madt->flags &ACPI_MADT_PCAT_COMPAT ) +legacy_pic_pcat_compat (); +default_acpi_madt_oem_check (madt->header.oem_id, madt->header.oem_table_id);
arch/x86/kernel/i8259.c +30 -8
@@ -32,6 +32,7 @@*/ static void init_8259A (int auto_eoi); +static bool pcat_compat__ro_after_init ;static int i8259A_auto_eoi;DEFINE_RAW_SPINLOCK (i8259A_lock);
@@ -301,15 +302,32 @@ static void unmask_8259A(void)static int probe_8259A (void ) { +unsigned char new_val, probe_val = ~(1 <<PIC_CASCADE_IR );unsigned long flags; -unsigned char probe_val = ~(1 <<PIC_CASCADE_IR ); -unsigned char new_val; + +/* +* If MADT has the PCAT_COMPAT flag set, then do not bother probing +* for the PIC. Some BIOSes leave the PIC uninitialized and probing +* fails. +* +* Right now this causes problems as quite some code depends on +* nr_legacy_irqs() > 0 or has_legacy_pic() == true. This is silly +* when the system has an IO/APIC because then PIC is not required +* at all, except for really old machines where the timer interrupt +* must be routed through the PIC. So just pretend that the PIC is +* there and let legacy_pic->init() initialize it for nothing. +* +* Alternatively this could just try to initialize the PIC and +* repeat the probe, but for cases where there is no PIC that's +* just pointless. +*/ +if (pcat_compat) +return nr_legacy_irqs (); +/* -* Check to see if we have a PIC. -* Mask all except the cascade and read -* back the value we just wrote. If we don't -* have a PIC, we will read 0xff as opposed to the -* value we wrote. +* Check to see if we have a PIC. Mask all except the cascade and +* read back the value we just wrote. If we don't have a PIC, we +* will read 0xff as opposed to the value we wrote. */ raw_spin_lock_irqsave (&i8259A_lock, flags);
@@ -431,5 +449,9 @@ static int __init i8259A_init_ops(void)return 0 ; } -device_initcall (i8259A_init_ops); + +void __init legacy_pic_pcat_compat (void ) +{ + pcat_compat = true; +}
arch/x86/kernel/setup.c +0 -5
@@ -64,11 +64,6 @@ RESERVE_BRK(dmi_alloc, 65536);#endif -/* -* Range of the BSS area. The size of the BSS area is determined -* at link time, with RESERVE_BRK*() facility reserving additional -* chunks. -*/ unsigned long _brk_start = (unsigned long )__brk_base;unsigned long _brk_end = (unsigned long )__brk_base;
arch/x86/kernel/vmlinux.lds.S +1 -1
@@ -414,7 +414,7 @@ SECTIONS .brk : AT(ADDR(.brk) - LOAD_OFFSET) { __brk_base = .; . += 64 * 1024; /* 64k alignment slop space */ - *(.brk_reservation) /* areas brk users have reserved */ + *(.bss..brk) /* areas brk users have reserved */ __brk_limit = .; }
drivers/base/driver.c +69 -0
75 lines not on this page · raw message
drivers/base/platform.c +4 -24
@@ -1046,31 +1046,11 @@ static ssize_t driver_override_store(struct device *dev, const char *buf, size_t count) {struct platform_device *pdev =to_platform_device (dev); -char *driver_override, *old, *cp; - -/* We need to keep extra room for a newline */ -if (count >= (PAGE_SIZE -1 )) -return -EINVAL ; - - driver_override =kstrndup (buf, count,GFP_KERNEL ); -if (!driver_override) -return -ENOMEM ; - - cp =strchr (driver_override,'\n' ); -if (cp) - *cp ='\0' ; - -device_lock (dev); - old = pdev->driver_override; -if (strlen (driver_override)) { - pdev->driver_override = driver_override; - }else { -kfree (driver_override); - pdev->driver_override =NULL ; - } -device_unlock (dev); +int ret; -kfree (old); + ret =driver_set_override (dev, &pdev->driver_override, buf, count); +if (ret) +return ret;return count; }
drivers/clk/clk.c +12 -9
@@ -3167,6 +3167,7 @@ static void possible_parent_show(struct seq_file *s, struct clk_core *core, unsigned int i, char terminator) {struct clk_core *parent; +const char *name =NULL ;/* * Go through the following options to fetch a parent's name.
@@ -3181,18 +3182,20 @@ static void possible_parent_show(struct seq_file *s, struct clk_core *core,* registered (yet). */ parent =clk_core_get_parent_by_index (core, i); -if (parent) +if (parent) {seq_puts (s, parent->name); -else if (core->parents[i].name) + }else if (core->parents[i].name) {seq_puts (s, core->parents[i].name); -else if (core->parents[i].fw_name) + }else if (core->parents[i].fw_name) {seq_printf (s,"<%s>(fw)" , core->parents[i].fw_name); -else if (core->parents[i].index >=0 ) -seq_puts (s, -of_clk_get_parent_name (core->of_node, - core->parents[i].index)); -else -seq_puts (s,"(missing)" ); + }else { +if (core->parents[i].index >=0 ) + name =of_clk_get_parent_name (core->of_node, core->parents[i].index); +if (!name) + name ="(missing)" ; + +seq_puts (s, name); + }seq_putc (s, terminator); }
drivers/dma/ste_dma40.c +1 -0
@@ -3698,6 +3698,7 @@ static int __init d40_probe(struct platform_device *pdev)regulator_disable (base->lcpa_regulator);regulator_put (base->lcpa_regulator); } +pm_runtime_disable (base->dev);kfree (base->lcla_pool.alloc_map);kfree (base->lookup_log_chans);
drivers/gpu/drm/drm_dp_mst_topology.c +3 -3
@@ -2612,14 +2612,14 @@ static struct drm_dp_mst_branch *get_mst_branch_device_by_guid_helper(struct drm_dp_mst_branch *found_mstb;struct drm_dp_mst_port *port; +if (!mstb) +return NULL ; +if (memcmp (mstb->guid, guid,16 ) ==0 )return mstb;list_for_each_entry (port, &mstb->ports, next) { -if (!port->mstb) -continue ; - found_mstb =get_mst_branch_device_by_guid_helper (port->mstb, guid);if (found_mstb)
drivers/i2c/busses/i2c-aspeed.c +2 -1
@@ -740,6 +740,8 @@ static void __aspeed_i2c_reg_slave(struct aspeed_i2c_bus *bus, u16 slave_addr) func_ctrl_reg_val =readl (bus->base +ASPEED_I2C_FUN_CTRL_REG ); func_ctrl_reg_val |=ASPEED_I2CD_SLAVE_EN ;writel (func_ctrl_reg_val, bus->base +ASPEED_I2C_FUN_CTRL_REG ); + + bus->slave_state =ASPEED_I2C_SLAVE_INACTIVE ; }static int aspeed_i2c_reg_slave (struct i2c_client *client)
@@ -756,7 +758,6 @@ static int aspeed_i2c_reg_slave(struct i2c_client *client)__aspeed_i2c_reg_slave (bus, client->addr); bus->slave = client; - bus->slave_state =ASPEED_I2C_SLAVE_INACTIVE ;spin_unlock_irqrestore (&bus->lock, flags);return 0 ;
drivers/i2c/busses/i2c-stm32f7.c +6 -3
@@ -1042,9 +1042,10 @@ static int stm32f7_i2c_smbus_xfer_msg(struct stm32f7_i2c_dev *i2c_dev,/* Configure PEC */ if ((flags &I2C_CLIENT_PEC ) && f7_msg->size !=I2C_SMBUS_QUICK ) { cr1 |=STM32F7_I2C_CR1_PECEN ; - cr2 |=STM32F7_I2C_CR2_PECBYTE ; -if (!f7_msg->read_write) +if (!f7_msg->read_write) { + cr2 |=STM32F7_I2C_CR2_PECBYTE ; f7_msg->count++; + } }else { cr1 &= ~STM32F7_I2C_CR1_PECEN ; cr2 &= ~STM32F7_I2C_CR2_PECBYTE ;
@@ -1132,8 +1133,10 @@ static void stm32f7_i2c_smbus_rep_start(struct stm32f7_i2c_dev *i2c_dev) f7_msg->stop = true;/* Add one byte for PEC if needed */ -if (cr1 &STM32F7_I2C_CR1_PECEN ) +if (cr1 &STM32F7_I2C_CR1_PECEN ) { + cr2 |=STM32F7_I2C_CR2_PECBYTE ; f7_msg->count++; + }/* Set number of bytes to be transferred */ cr2 &= ~(STM32F7_I2C_CR2_NBYTES_MASK );
drivers/i2c/muxes/i2c-demux-pinctrl.c +1 -1
@@ -61,7 +61,7 @@ static int i2c_demux_activate_master(struct i2c_demux_pinctrl_priv *priv, u32 neif (ret) goto err; - adap =of_find_i2c_adapter_by_node (priv->chan[new_chan].parent_np); + adap =of_get_i2c_adapter_by_node (priv->chan[new_chan].parent_np);if (!adap) { ret = -ENODEV ; goto err_with_revert;
drivers/i2c/muxes/i2c-mux-gpmux.c +1 -1
@@ -52,7 +52,7 @@ static struct i2c_adapter *mux_parent_adapter(struct device *dev)dev_err (dev,"Cannot parse i2c-parent\n" );return ERR_PTR (-ENODEV ); } - parent =of_find_i2c_adapter_by_node (parent_np); + parent =of_get_i2c_adapter_by_node (parent_np);of_node_put (parent_np);if (!parent)return ERR_PTR (-EPROBE_DEFER );
drivers/i2c/muxes/i2c-mux-pinctrl.c +1 -1
@@ -62,7 +62,7 @@ static struct i2c_adapter *i2c_mux_pinctrl_parent_adapter(struct device *dev)dev_err (dev,"Cannot parse i2c-parent\n" );return ERR_PTR (-ENODEV ); } - parent =of_find_i2c_adapter_by_node (parent_np); + parent =of_get_i2c_adapter_by_node (parent_np);of_node_put (parent_np);if (!parent)return ERR_PTR (-EPROBE_DEFER );
drivers/iio/adc/exynos_adc.c +14 -10
@@ -821,16 +821,26 @@ static int exynos_adc_probe(struct platform_device *pdev) } } +/* leave out any TS related code if unreachable */ +if (IS_REACHABLE (CONFIG_INPUT )) { + has_ts =of_property_read_bool (pdev->dev.of_node, +"has-touchscreen" ) || pdata; + } + irq =platform_get_irq (pdev,0 );if (irq <0 )return irq; info->irq = irq; - irq =platform_get_irq (pdev,1 ); -if (irq == -EPROBE_DEFER ) -return irq; +if (has_ts) { + irq =platform_get_irq (pdev,1 ); +if (irq == -EPROBE_DEFER ) +return irq; - info->tsirq = irq; + info->tsirq = irq; + }else { + info->tsirq =-1 ; + } info->dev = &pdev->dev;
@@ -895,12 +905,6 @@ static int exynos_adc_probe(struct platform_device *pdev)if (info->data->init_hw) info->data->init_hw (info); -/* leave out any TS related code if unreachable */ -if (IS_REACHABLE (CONFIG_INPUT )) { - has_ts =of_property_read_bool (pdev->dev.of_node, -"has-touchscreen" ) || pdata; - } -if (pdata) info->delay = pdata->delay;else
drivers/iio/adc/xilinx-xadc-core.c +71 -108
296 lines not on this page · raw message
drivers/input/mouse/synaptics.c +1 -0
@@ -1749,6 +1749,7 @@ static int synaptics_create_intertouch(struct psmouse *psmouse,psmouse_matches_pnp_id (psmouse, topbuttonpad_pnp_ids) && !SYN_CAP_EXT_BUTTONS_STICK (info->ext_cap_10);const struct rmi_device_platform_data pdata = { + .reset_delay_ms =30 , .sensor_pdata = { .sensor_type = rmi_sensor_touchpad, .axis_align.flip_y = true,
drivers/input/rmi4/rmi_smbus.c +28 -22
76 lines not on this page · raw message
drivers/irqchip/irq-stm32-exti.c +1 -0
@@ -403,6 +403,7 @@ static const struct irq_domain_ops irq_exti_domain_ops = { .map = irq_map_generic_chip, .alloc = stm32_exti_alloc, .free = stm32_exti_free, + .xlate = irq_domain_xlate_twocell, };static void stm32_irq_ack (struct irq_data *d)
drivers/mcb/mcb-lpc.c +31 -4
@@ -23,7 +23,7 @@ static int mcb_lpc_probe(struct platform_device *pdev) {struct resource *res;struct priv *priv; -int ret =0 ; +int ret =0 , table_size; priv =devm_kzalloc (&pdev->dev,sizeof (*priv),GFP_KERNEL );if (!priv)
@@ -58,16 +58,43 @@ static int mcb_lpc_probe(struct platform_device *pdev) ret =chameleon_parse_cells (priv->bus, priv->mem->start, priv->base);if (ret <0 ) { -mcb_release_bus (priv->bus); -return ret; + goto out_mcb_bus; } -dev_dbg (&pdev->dev,"Found %d cells\n" , ret); + table_size = ret; + +if (table_size <CHAM_HEADER_SIZE ) { +/* Release the previous resources */ +devm_iounmap (&pdev->dev, priv->base); +devm_release_mem_region (&pdev->dev, priv->mem->start,resource_size (priv->mem)); + +/* Then, allocate it again with the actual chameleon table size */ + res =devm_request_mem_region (&pdev->dev, priv->mem->start, + table_size, +KBUILD_MODNAME ); +if (!res) { +dev_err (&pdev->dev,"Failed to request PCI memory\n" ); + ret = -EBUSY ; + goto out_mcb_bus; + } + + priv->base =devm_ioremap (&pdev->dev, priv->mem->start, table_size); +if (!priv->base) { +dev_err (&pdev->dev,"Cannot ioremap\n" ); + ret = -ENOMEM ; + goto out_mcb_bus; + } + +platform_set_drvdata (pdev, priv); + }mcb_bus_add_devices (priv->bus);return 0 ; +out_mcb_bus: +mcb_release_bus (priv->bus); +return ret; }static int mcb_lpc_remove (struct platform_device *pdev)
drivers/mcb/mcb-parse.c +10 -5
@@ -128,7 +128,7 @@ static void chameleon_parse_bar(void __iomem *base, } } -static int chameleon_get_bar (char __iomem **base,phys_addr_t mapbase, +static int chameleon_get_bar (void __iomem **base,phys_addr_t mapbase,struct chameleon_bar **cb) {struct chameleon_bar *c;
@@ -177,12 +177,13 @@ int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase, {struct chameleon_fpga_header *header;struct chameleon_bar *cb; -char __iomem *p = base; +void __iomem *p = base;int num_cells =0 ;uint32_t dtype;int bar_count;int ret;u32 hsize; +u32 table_size; hsize =sizeof (struct chameleon_fpga_header );
@@ -237,12 +238,16 @@ int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase, num_cells++; } -if (num_cells ==0 ) - num_cells = -EINVAL ; +if (num_cells ==0 ) { + ret = -EINVAL ; + goto free_bar; + } + table_size = p - base; +pr_debug ("%d cell(s) found. Chameleon table size: 0x%04x bytes\n" , num_cells, table_size);kfree (cb);kfree (header); -return num_cells; +return table_size; free_bar:kfree (cb);
drivers/misc/fastrpc.c +5 -5
@@ -990,11 +990,6 @@ static int fastrpc_internal_invoke(struct fastrpc_user *fl, u32 kernel, err =wait_for_completion_interruptible (&ctx->work); } -if (err) - goto bail; - -/* Check the response from remote dsp */ - err = ctx->retval;if (err) goto bail;
@@ -1007,6 +1002,11 @@ static int fastrpc_internal_invoke(struct fastrpc_user *fl, u32 kernel, goto bail; } +/* Check the response from remote dsp */ + err = ctx->retval; +if (err) + goto bail; + bail:if (err != -ERESTARTSYS && err != -ETIMEDOUT ) {/* We are done with this compute context */
drivers/mmc/host/renesas_sdhi_core.c +2 -1
@@ -571,7 +571,7 @@ static void renesas_sdhi_reset(struct tmio_mmc_host *host)if (host->pdata->flags &TMIO_MMC_MIN_RCAR2 )sd_ctrl_write32_as_16_and_16 (host,CTL_IRQ_MASK , -TMIO_MASK_INIT_RCAR2 ); +TMIO_MASK_ALL_RCAR2 ); }#define SH_MOBILE_SDHI_MIN_TAP_ROW 3
@@ -1012,6 +1012,7 @@ int renesas_sdhi_probe(struct platform_device *pdev, host->ops.start_signal_voltage_switch = renesas_sdhi_start_signal_voltage_switch; host->sdcard_irq_setbit_mask =TMIO_STAT_ALWAYS_SET_27 ; + host->sdcard_irq_mask_all =TMIO_MASK_ALL_RCAR2 ; host->reset = renesas_sdhi_reset; }else { host->sdcard_irq_mask_all =TMIO_MASK_ALL ;
drivers/mmc/host/tmio_mmc.h +1 -1
@@ -97,8 +97,8 @@/* Define some IRQ masks */ /* This is the mask used at reset by the chip */ -#define TMIO_MASK_INIT_RCAR2 0x8b7f031d/* Initial value for R-Car Gen2+ */ #define TMIO_MASK_ALL 0x837f031d +#define TMIO_MASK_ALL_RCAR2 0x8b7f031d#define TMIO_MASK_READOP (TMIO_STAT_RXRDY | TMIO_STAT_DATAEND)#define TMIO_MASK_WRITEOP (TMIO_STAT_TXRQ | TMIO_STAT_DATAEND)#define TMIO_MASK_CMD (TMIO_STAT_CMDRESPEND | TMIO_STAT_CMDTIMEOUT | \
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +2 -0
@@ -3846,6 +3846,8 @@ int t4_load_phy_fw(struct adapter *adap, int win, FW_PARAMS_PARAM_Z_V(FW_PARAMS_PARAM_DEV_PHYFW_DOWNLOAD)); ret =t4_set_params_timeout (adap, adap->mbox, adap->pf,0 ,1 , ¶m, &val,30000 ); +if (ret) +return ret;/* If we have version number support, then check to see that the new * firmware got loaded properly.
drivers/net/ethernet/intel/i40e/i40e_txrx.c +1 -1
@@ -2663,7 +2663,7 @@ int i40e_napi_poll(struct napi_struct *napi, int budget)return budget; } -if (vsi->back->flags &I40E_TXR_FLAGS_WB_ON_ITR ) +if (q_vector->tx.ring[0 ].flags &I40E_TXR_FLAGS_WB_ON_ITR ) q_vector->arm_wb_state = false;/* Exit the polling mode, but don't re-enable interrupts if stack might
drivers/net/ethernet/intel/igb/igb_ethtool.c +5 -1
@@ -2987,11 +2987,15 @@ static int igb_add_ethtool_nfc_entry(struct igb_adapter *adapter,if (err) goto err_out_w_lock; -igb_update_ethtool_nfc_entry (adapter, input, input->sw_idx); + err =igb_update_ethtool_nfc_entry (adapter, input, input->sw_idx); +if (err) + goto err_out_input_filter;spin_unlock (&adapter->nfc_lock);return 0 ; +err_out_input_filter: +igb_erase_filter (adapter, input); err_out_w_lock:spin_unlock (&adapter->nfc_lock); err_out:
drivers/net/ethernet/intel/igc/igc_ethtool.c +25 -10
@@ -1775,7 +1775,7 @@ igc_ethtool_set_link_ksettings(struct net_device *netdev,struct igc_adapter *adapter =netdev_priv (netdev);struct net_device *dev = adapter->netdev;struct igc_hw *hw = &adapter->hw; -u32 advertising; +u16 advertised =0 ;/* When adapter in resetting mode, autoneg/speed/duplex * cannot be changed
@@ -1800,18 +1800,33 @@ igc_ethtool_set_link_ksettings(struct net_device *netdev,while (test_and_set_bit (__IGC_RESETTING, &adapter->state))usleep_range (1000 ,2000 ); -ethtool_convert_link_mode_to_legacy_u32 (&advertising, - cmd->link_modes.advertising); -/* Converting to legacy u32 drops ETHTOOL_LINK_MODE_2500baseT_Full_BIT. -* We have to check this and convert it to ADVERTISE_2500_FULL -* (aka ETHTOOL_LINK_MODE_2500baseX_Full_BIT) explicitly. -*/ - if (ethtool_link_ksettings_test_link_mode(cmd, advertising, 2500baseT_Full)) - advertising |=ADVERTISE_2500_FULL ; +if (ethtool_link_ksettings_test_link_mode (cmd, advertising, + 2500baseT_Full)) + advertised |=ADVERTISE_2500_FULL ; + +if (ethtool_link_ksettings_test_link_mode (cmd, advertising, + 1000baseT_Full)) + advertised |=ADVERTISE_1000_FULL ; + +if (ethtool_link_ksettings_test_link_mode (cmd, advertising, + 100baseT_Full)) + advertised |=ADVERTISE_100_FULL ; + +if (ethtool_link_ksettings_test_link_mode (cmd, advertising, + 100baseT_Half)) + advertised |=ADVERTISE_100_HALF ; + +if (ethtool_link_ksettings_test_link_mode (cmd, advertising, + 10baseT_Full)) + advertised |=ADVERTISE_10_FULL ; + +if (ethtool_link_ksettings_test_link_mode (cmd, advertising, + 10baseT_Half)) + advertised |=ADVERTISE_10_HALF ;if (cmd->base.autoneg ==AUTONEG_ENABLE ) { hw->mac.autoneg =1 ; - hw->phy.autoneg_advertised = advertising; + hw->phy.autoneg_advertised = advertised;if (adapter->fc_autoneg) hw->fc.requested_mode = igc_fc_default; }else {
drivers/net/ethernet/realtek/r8169_main.c +2 -2
@@ -4470,7 +4470,7 @@ static void rtl_tx(struct net_device *dev, struct rtl8169_private *tp,struct sk_buff *skb = tp->tx_skb[entry].skb;u32 status; - status =le32_to_cpu (tp->TxDescArray[entry].opts1); + status =le32_to_cpu (READ_ONCE (tp->TxDescArray[entry].opts1));if (status & DescOwn)break ;
@@ -4544,7 +4544,7 @@ static int rtl_rx(struct net_device *dev, struct rtl8169_private *tp, u32 budgetdma_addr_t addr;u32 status; - status =le32_to_cpu (desc->opts1); + status =le32_to_cpu (READ_ONCE (desc->opts1));if (status & DescOwn)break ;
drivers/net/ethernet/toshiba/ps3_gelic_wireless.c +1 -1
@@ -1217,7 +1217,7 @@ static int gelic_wl_set_encodeext(struct net_device *netdev, key_index = wl->current_key;if (!enc->length && (ext->ext_flags &IW_ENCODE_EXT_SET_TX_KEY )) { -/* reques to change default key index */ +/* request to change default key index */ pr_debug ("%s: request to change default key to %d\n" , __func__, key_index); wl->current_key = key_index;
drivers/net/gtp.c +3 -2
@@ -538,8 +538,9 @@ static int gtp_build_skb_ip4(struct sk_buff *skb, struct net_device *dev, rt->dst.ops->update_pmtu (&rt->dst,NULL , skb, mtu, false); -if (!skb_is_gso (skb) && (iph->frag_off &htons (IP_DF )) && - mtu <ntohs (iph->tot_len)) { +if (iph->frag_off &htons (IP_DF ) && + ((!skb_is_gso (skb) && skb->len > mtu) || + (skb_is_gso (skb) && !skb_gso_validate_network_len (skb, mtu)))) {netdev_dbg (dev,"packet too big, fragmentation needed\n" );icmp_ndo_send (skb,ICMP_DEST_UNREACH ,ICMP_FRAG_NEEDED ,htonl (mtu));
drivers/net/ieee802154/adf7242.c +3 -2
@@ -1162,9 +1162,10 @@ static int adf7242_stats_show(struct seq_file *file, void *offset)static void adf7242_debugfs_init (struct adf7242_local *lp) { -char debugfs_dir_name[DNAME_INLINE_LEN +1 ] ="adf7242-" ; +char debugfs_dir_name[DNAME_INLINE_LEN +1 ]; -strncat (debugfs_dir_name,dev_name (&lp->spi->dev),DNAME_INLINE_LEN ); +snprintf (debugfs_dir_name,sizeof (debugfs_dir_name), +"adf7242-%s" ,dev_name (&lp->spi->dev)); lp->debugfs_root =debugfs_create_dir (debugfs_dir_name,NULL );
drivers/net/usb/r8152.c +8 -3
@@ -1042,7 +1042,7 @@ int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) ret =usb_control_msg (tp->udev,usb_rcvctrlpipe (tp->udev,0 ),RTL8152_REQ_GET_REGS ,RTL8152_REQT_READ , - value, index, tmp, size,500 ); + value, index, tmp, size,USB_CTRL_GET_TIMEOUT );if (ret <0 )memset (data,0xff , size);else
@@ -1065,7 +1065,7 @@ int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) ret =usb_control_msg (tp->udev,usb_sndctrlpipe (tp->udev,0 ),RTL8152_REQ_SET_REGS ,RTL8152_REQT_WRITE , - value, index, tmp, size,500 ); + value, index, tmp, size,USB_CTRL_SET_TIMEOUT );kfree (tmp);
@@ -6615,7 +6615,8 @@ static u8 rtl_get_version(struct usb_interface *intf) ret =usb_control_msg (udev,usb_rcvctrlpipe (udev,0 ),RTL8152_REQ_GET_REGS ,RTL8152_REQT_READ , -PLA_TCR0 ,MCU_TYPE_PLA , tmp,sizeof (*tmp),500 ); +PLA_TCR0 ,MCU_TYPE_PLA , tmp,sizeof (*tmp), +USB_CTRL_GET_TIMEOUT );if (ret >0 ) ocp_data = (__le32_to_cpu (*tmp) >>16 ) &VERSION_MASK ;
@@ -6824,6 +6825,10 @@ static int rtl8152_probe(struct usb_interface *intf, out1:tasklet_kill (&tp->tx_tl); +cancel_delayed_work_sync (&tp->hw_phy_work); +if (tp->rtl_ops.unload) + tp->rtl_ops.unload (tp); +rtl8152_release_firmware (tp);usb_set_intfdata (intf,NULL ); out:free_netdev (netdev);
drivers/net/usb/smsc95xx.c +3 -1
@@ -86,7 +86,9 @@ static int __must_check __smsc95xx_read_reg(struct usbnet *dev, u32 index, ret =fn (dev,USB_VENDOR_REQUEST_READ_REGISTER ,USB_DIR_IN |USB_TYPE_VENDOR |USB_RECIP_DEVICE ,0 , index, &buf,4 ); -if (ret <0 ) { +if (ret <4 ) { + ret = ret <0 ? ret : -ENODATA ; +if (ret != -ENODEV )netdev_warn (dev->net,"Failed to read reg index 0x%08x: %d\n" , index, ret);
drivers/nvmem/imx-ocotp.c +3 -3
@@ -467,7 +467,7 @@ static const struct ocotp_params imx6sl_params = { };static const struct ocotp_params imx6sll_params = { - .nregs =128 , + .nregs =80 , .bank_address_words =0 , .set_timing = imx_ocotp_set_imx6_timing, .ctrl =IMX_OCOTP_BM_CTRL_DEFAULT ,
@@ -481,14 +481,14 @@ static const struct ocotp_params imx6sx_params = { };static const struct ocotp_params imx6ul_params = { - .nregs =128 , + .nregs =144 , .bank_address_words =0 , .set_timing = imx_ocotp_set_imx6_timing, .ctrl =IMX_OCOTP_BM_CTRL_DEFAULT , };static const struct ocotp_params imx6ull_params = { - .nregs =64 , + .nregs =80 , .bank_address_words =0 , .set_timing = imx_ocotp_set_imx6_timing, .ctrl =IMX_OCOTP_BM_CTRL_DEFAULT ,
drivers/pci/quirks.c +5 -3
@@ -597,7 +597,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RS100, quirk_ati_/* * In the AMD NL platform, this device ([1022:7912]) has a class code of * PCI_CLASS_SERIAL_USB_XHCI (0x0c0330), which means the xhci driver will -* claim it. +* claim it. The same applies on the VanGogh platform device ([1022:163a]). * * But the dwc3 driver is a more specific driver for this device, and we'd * prefer to use it instead of xhci. To prevent xhci from claiming the
@@ -605,7 +605,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RS100, quirk_ati_* defines as "USB device (not host controller)". The dwc3 driver can then * claim it based on its Vendor and Device ID. */ -static void quirk_amd_nl_class (struct pci_dev *pdev) +static void quirk_amd_dwc_class (struct pci_dev *pdev) {u32 class = pdev->class;
@@ -615,7 +615,9 @@ static void quirk_amd_nl_class(struct pci_dev *pdev) class, pdev->class); }DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_AMD ,PCI_DEVICE_ID_AMD_NL_USB , - quirk_amd_nl_class); + quirk_amd_dwc_class); +DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_AMD ,PCI_DEVICE_ID_AMD_VANGOGH_USB , + quirk_amd_dwc_class);/* * Synopsys USB 3.x host HAPS platform has a class code of
drivers/platform/mellanox/mlxbf-tmfifo.c +11 -10
@@ -588,24 +588,25 @@ static void mlxbf_tmfifo_rxtx_word(struct mlxbf_tmfifo_vring *vring,if (vring->cur_len +sizeof (u64) <= len) {/* The whole word. */ -if (!IS_VRING_DROP (vring)) { -if (is_rx) +if (is_rx) { +if (!IS_VRING_DROP (vring))memcpy (addr + vring->cur_len, &data,sizeof (u64)); -else -memcpy (&data, addr + vring->cur_len, -sizeof (u64)); + }else { +memcpy (&data, addr + vring->cur_len, +sizeof (u64)); } vring->cur_len +=sizeof (u64); }else {/* Leftover bytes. */ -if (!IS_VRING_DROP (vring)) { -if (is_rx) +if (is_rx) { +if (!IS_VRING_DROP (vring))memcpy (addr + vring->cur_len, &data, len - vring->cur_len); -else -memcpy (&data, addr + vring->cur_len, - len - vring->cur_len); + }else { + data =0 ; +memcpy (&data, addr + vring->cur_len, + len - vring->cur_len); } vring->cur_len = len; }
drivers/rpmsg/qcom_glink_native.c +2 -0
@@ -1379,6 +1379,7 @@ static void qcom_glink_rpdev_release(struct device *dev)struct glink_channel *channel =to_glink_channel (rpdev->ept); channel->rpdev =NULL ; +kfree (rpdev->driver_override);kfree (rpdev); }
@@ -1607,6 +1608,7 @@ static void qcom_glink_device_release(struct device *dev)/* Release qcom_glink_alloc_channel() reference */ kref_put (&channel->refcount, qcom_glink_channel_release); +kfree (rpdev->driver_override);kfree (rpdev); }
drivers/rpmsg/rpmsg_core.c +33 -4
@@ -332,7 +332,8 @@ field##_store(struct device *dev, struct device_attribute *attr, \ const char *buf, size_t sz) \ { \struct rpmsg_device *rpdev =to_rpmsg_device (dev); \ -char *new, *old; \ +const char *old; \ +char *new; \ \ new =kstrndup (buf, sz,GFP_KERNEL ); \if (!new) \
@@ -525,24 +526,52 @@ static struct bus_type rpmsg_bus = { .remove = rpmsg_dev_remove, }; -int rpmsg_register_device (struct rpmsg_device *rpdev) +/* +* A helper for registering rpmsg device with driver override and name. +* Drivers should not be using it, but instead rpmsg_register_device(). +*/ +int rpmsg_register_device_override (struct rpmsg_device *rpdev, +const char *driver_override) {struct device *dev = &rpdev->dev;int ret; +if (driver_override) +strcpy (rpdev->id.name, driver_override); +dev_set_name (&rpdev->dev,"%s.%s.%d.%d" ,dev_name (dev->parent), rpdev->id.name, rpdev->src, rpdev->dst); rpdev->dev.bus = &rpmsg_bus; - ret =device_register (&rpdev->dev); +device_initialize (dev); +if (driver_override) { + ret =driver_set_override (dev, &rpdev->driver_override, + driver_override, +strlen (driver_override)); +if (ret) { +dev_err (dev,"device_set_override failed: %d\n" , ret); +put_device (dev); +return ret; + } + } + + ret =device_add (dev);if (ret) { -dev_err (dev,"device_register failed: %d\n" , ret); +dev_err (dev,"device_add failed: %d\n" , ret); +kfree (rpdev->driver_override); + rpdev->driver_override =NULL ;put_device (&rpdev->dev); }return ret; } +EXPORT_SYMBOL (rpmsg_register_device_override); + +int rpmsg_register_device (struct rpmsg_device *rpdev) +{ +return rpmsg_register_device_override (rpdev,NULL ); +}EXPORT_SYMBOL (rpmsg_register_device);/*
drivers/rpmsg/rpmsg_internal.h +1 -4
@@ -84,10 +84,7 @@ struct device *rpmsg_find_device(struct device *parent,*/ static inline int rpmsg_chrdev_register_device (struct rpmsg_device *rpdev) { -strcpy (rpdev->id.name,"rpmsg_chrdev" ); - rpdev->driver_override ="rpmsg_chrdev" ; - -return rpmsg_register_device (rpdev); +return rpmsg_register_device_override (rpdev,"rpmsg_ctrl" ); }#endif
drivers/scsi/mpt3sas/mpt3sas_scsih.c +3 -1
@@ -11624,8 +11624,10 @@ _mpt3sas_init(void)mpt3sas_ctl_init (hbas_to_enumerate); error =pci_register_driver (&mpt3sas_driver); -if (error) +if (error) { +mpt3sas_ctl_exit (hbas_to_enumerate);scsih_exit (); + }return error; }
drivers/spi/spi-npcm-fiu.c +3 -2
@@ -334,8 +334,9 @@ static int npcm_fiu_uma_read(struct spi_mem *mem, uma_cfg |=ilog2 (op->cmd.buswidth); uma_cfg |=ilog2 (op->addr.buswidth) <<NPCM_FIU_UMA_CFG_ADBPCK_SHIFT ; - uma_cfg |=ilog2 (op->dummy.buswidth) - <<NPCM_FIU_UMA_CFG_DBPCK_SHIFT ; +if (op->dummy.nbytes) + uma_cfg |=ilog2 (op->dummy.buswidth) + <<NPCM_FIU_UMA_CFG_DBPCK_SHIFT ; uma_cfg |=ilog2 (op->data.buswidth) <<NPCM_FIU_UMA_CFG_RDBPCK_SHIFT ; uma_cfg |= op->dummy.nbytes <<NPCM_FIU_UMA_CFG_DBSIZ_SHIFT ;
drivers/tty/serial/8250/8250_pci.c +119 -3
177 lines not on this page · raw message
drivers/usb/gadget/legacy/raw_gadget.c +16 -10
@@ -662,12 +662,12 @@ static int raw_process_ep0_io(struct raw_dev *dev, struct usb_raw_ep_io *io,if (WARN_ON (in && dev->ep0_out_pending)) { ret = -ENODEV ; dev->state =STATE_DEV_FAILED ; - goto out_done; + goto out_unlock; }if (WARN_ON (!in && dev->ep0_in_pending)) { ret = -ENODEV ; dev->state =STATE_DEV_FAILED ; - goto out_done; + goto out_unlock; } dev->req->buf = data;
@@ -682,7 +682,7 @@ static int raw_process_ep0_io(struct raw_dev *dev, struct usb_raw_ep_io *io, "fail, usb_ep_queue returned %d\n", ret);spin_lock_irqsave (&dev->lock, flags); dev->state =STATE_DEV_FAILED ; - goto out_done; + goto out_queue_failed; } ret =wait_for_completion_interruptible (&dev->ep0_done);
@@ -691,13 +691,16 @@ static int raw_process_ep0_io(struct raw_dev *dev, struct usb_raw_ep_io *io,usb_ep_dequeue (dev->gadget->ep0, dev->req);wait_for_completion (&dev->ep0_done);spin_lock_irqsave (&dev->lock, flags); - goto out_done; +if (dev->ep0_status == -ECONNRESET ) + dev->ep0_status = -EINTR ; + goto out_interrupted; }spin_lock_irqsave (&dev->lock, flags); - ret = dev->ep0_status; -out_done: +out_interrupted: + ret = dev->ep0_status; +out_queue_failed: dev->ep0_urb_queued = false; out_unlock:spin_unlock_irqrestore (&dev->lock, flags);
@@ -1059,7 +1062,7 @@ static int raw_process_ep_io(struct raw_dev *dev, struct usb_raw_ep_io *io, "fail, usb_ep_queue returned %d\n", ret);spin_lock_irqsave (&dev->lock, flags); dev->state =STATE_DEV_FAILED ; - goto out_done; + goto out_queue_failed; } ret =wait_for_completion_interruptible (&done);
@@ -1068,13 +1071,16 @@ static int raw_process_ep_io(struct raw_dev *dev, struct usb_raw_ep_io *io,usb_ep_dequeue (ep->ep, ep->req);wait_for_completion (&done);spin_lock_irqsave (&dev->lock, flags); - goto out_done; +if (ep->status == -ECONNRESET ) + ep->status = -EINTR ; + goto out_interrupted; }spin_lock_irqsave (&dev->lock, flags); - ret = ep->status; -out_done: +out_interrupted: + ret = ep->status; +out_queue_failed: ep->urb_queued = false; out_unlock:spin_unlock_irqrestore (&dev->lock, flags);
drivers/usb/storage/unusual_cypress.h +1 -1
@@ -19,7 +19,7 @@ UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999, "Cypress ISD-300LP", USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0), -UNUSUAL_DEV (0x14cd ,0x6116 ,0x0160 ,0x0160 , +UNUSUAL_DEV (0x14cd ,0x6116 ,0x0150 ,0x0160 ,"Super Top" ,"USB 2.0 SATA BRIDGE" , USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
drivers/video/fbdev/aty/atyfb_base.c +4 -0
@@ -3440,11 +3440,15 @@ static int atyfb_setup_generic(struct pci_dev *pdev, struct fb_info *info, } info->fix.mmio_start = raddr; +#if defined(__i386__) || defined(__ia64__)/* * By using strong UC we force the MTRR to never have an * effect on the MMIO region on both non-PAT and PAT systems. */ par->ati_regbase =ioremap_uc (info->fix.mmio_start,0x1000 ); +#else + par->ati_regbase =ioremap (info->fix.mmio_start,0x1000 ); +#endif if (par->ati_regbase ==NULL )return -ENOMEM ;
drivers/video/fbdev/uvesafb.c +1 -1
@@ -1933,10 +1933,10 @@ static void uvesafb_exit(void) } } -cn_del_callback (&uvesafb_cn_id);driver_remove_file (&uvesafb_driver.driver, &driver_attr_v86d);platform_device_unregister (uvesafb_device);platform_driver_unregister (&uvesafb_driver); +cn_del_callback (&uvesafb_cn_id); }module_exit (uvesafb_exit);
drivers/virtio/virtio_balloon.c +5 -1
@@ -402,7 +402,11 @@ static inline s64 towards_target(struct virtio_balloon *vb) virtio_cread_le(vb->vdev, struct virtio_balloon_config, num_pages, &num_pages); - target = num_pages; +/* +* Aligned up to guest page size to avoid inflating and deflating +* balloon endlessly. +*/ + target =ALIGN (num_pages,VIRTIO_BALLOON_PAGES_PER_PAGE );return target - vb->num_pages; }
drivers/virtio/virtio_mmio.c +14 -5
@@ -596,14 +596,17 @@ static int virtio_mmio_probe(struct platform_device *pdev)spin_lock_init (&vm_dev->lock); vm_dev->base =devm_platform_ioremap_resource (pdev,0 ); -if (IS_ERR (vm_dev->base)) -return PTR_ERR (vm_dev->base); +if (IS_ERR (vm_dev->base)) { + rc =PTR_ERR (vm_dev->base); + goto free_vm_dev; + }/* Check magic value */ magic =readl (vm_dev->base +VIRTIO_MMIO_MAGIC_VALUE );if (magic != ('v' |'i' <<8 |'r' <<16 |'t' <<24 )) {dev_warn (&pdev->dev,"Wrong magic value 0x%08lx!\n" , magic); -return -ENODEV ; + rc = -ENODEV ; + goto free_vm_dev; }/* Check device version */
@@ -611,7 +614,8 @@ static int virtio_mmio_probe(struct platform_device *pdev)if (vm_dev->version <1 || vm_dev->version >2 ) {dev_err (&pdev->dev,"Version %ld not supported!\n" , vm_dev->version); -return -ENXIO ; + rc = -ENXIO ; + goto free_vm_dev; } vm_dev->vdev.id.device =readl (vm_dev->base +VIRTIO_MMIO_DEVICE_ID );
@@ -620,7 +624,8 @@ static int virtio_mmio_probe(struct platform_device *pdev)* virtio-mmio device with an ID 0 is a (dummy) placeholder * with no function. End probing now with no error reported. */ -return -ENODEV ; + rc = -ENODEV ; + goto free_vm_dev; } vm_dev->vdev.id.vendor =readl (vm_dev->base +VIRTIO_MMIO_VENDOR_ID );
@@ -650,6 +655,10 @@ static int virtio_mmio_probe(struct platform_device *pdev)put_device (&vm_dev->vdev.dev);return rc; + +free_vm_dev: +kfree (vm_dev); +return rc; }static int virtio_mmio_remove (struct platform_device *pdev)
fs/cifs/smbdirect.c +12 -2
@@ -571,8 +571,13 @@ static struct rdma_cm_id *smbd_create_id(log_rdma_event (ERR ,"rdma_resolve_addr() failed %i\n" , rc); goto out; } -wait_for_completion_interruptible_timeout ( + rc =wait_for_completion_interruptible_timeout ( &info->ri_done,msecs_to_jiffies (RDMA_RESOLVE_TIMEOUT )); +/* e.g. if interrupted returns -ERESTARTSYS */ +if (rc <0 ) { +log_rdma_event (ERR ,"rdma_resolve_addr timeout rc: %i\n" , rc); + goto out; + } rc = info->ri_rc;if (rc) {log_rdma_event (ERR ,"rdma_resolve_addr() completed %i\n" , rc);
@@ -585,8 +590,13 @@ static struct rdma_cm_id *smbd_create_id(log_rdma_event (ERR ,"rdma_resolve_route() failed %i\n" , rc); goto out; } -wait_for_completion_interruptible_timeout ( + rc =wait_for_completion_interruptible_timeout ( &info->ri_done,msecs_to_jiffies (RDMA_RESOLVE_TIMEOUT )); +/* e.g. if interrupted returns -ERESTARTSYS */ +if (rc <0 ) { +log_rdma_event (ERR ,"rdma_resolve_addr timeout rc: %i\n" , rc); + goto out; + } rc = info->ri_rc;if (rc) {log_rdma_event (ERR ,"rdma_resolve_route() completed %i\n" , rc);
fs/ext4/mballoc.c +22 -29
116 lines not on this page · raw message
fs/ext4/mballoc.h +14 -0
@@ -199,6 +199,20 @@ static inline ext4_fsblk_t ext4_grp_offs_to_block(struct super_block *sb, (fex->fe_start <<EXT4_SB (sb)->s_cluster_bits); } +static inline loff_t extent_logical_end (struct ext4_sb_info *sbi, +struct ext4_free_extent *fex) +{ +/* Use loff_t to avoid end exceeding ext4_lblk_t max. */ +return (loff_t )fex->fe_logical +EXT4_C2B (sbi, fex->fe_len); +} + +static inline loff_t pa_logical_end (struct ext4_sb_info *sbi, +struct ext4_prealloc_space *pa) +{ +/* Use loff_t to avoid end exceeding ext4_lblk_t max. */ +return (loff_t )pa->pa_lstart +EXT4_C2B (sbi, pa->pa_len); +} + typedef int (*ext4_mballoc_query_range_fn)( struct super_block *sb, ext4_group_t agno,
fs/f2fs/gc.c +2 -1
@@ -1451,7 +1451,8 @@ static int gc_data_segment(struct f2fs_sb_info *sbi, struct f2fs_summary *sum,if (phase ==3 ) { inode =f2fs_iget (sb, dni.ino); -if (IS_ERR (inode) ||is_bad_inode (inode)) { +if (IS_ERR (inode) ||is_bad_inode (inode) || +special_file (inode->i_mode)) {set_sbi_flag (sbi,SBI_NEED_FSCK );continue ; }
include/linux/device/driver.h +2 -0
@@ -150,6 +150,8 @@ extern int __must_check driver_create_file(struct device_driver *driver,extern void driver_remove_file (struct device_driver *driver,const struct driver_attribute *attr); +int driver_set_override (struct device *dev,const char **override, +const char *s,size_t len); extern int __must_check driver_for_each_device(struct device_driver *drv, struct device *start, void *data,
include/linux/kasan.h +3 -3
@@ -234,10 +234,10 @@ static inline void kasan_release_vmalloc(unsigned long start, unsigned long free_region_end) {}#endif -#ifdef CONFIG_KASAN_INLINE +#ifdef CONFIG_KASAN void kasan_non_canonical_hook (unsigned long addr); -#else /* CONFIG_KASAN_INLINE */ +#else /* CONFIG_KASAN */ static inline void kasan_non_canonical_hook (unsigned long addr) { } -#endif /* CONFIG_KASAN_INLINE */ +#endif /* CONFIG_KASAN */ #endif /* LINUX_KASAN_H */
include/linux/pci_ids.h +1 -0
@@ -555,6 +555,7 @@#define PCI_DEVICE_ID_AMD_17H_M30H_DF_F3 0x1493#define PCI_DEVICE_ID_AMD_17H_M60H_DF_F3 0x144b#define PCI_DEVICE_ID_AMD_17H_M70H_DF_F3 0x1443 +#define PCI_DEVICE_ID_AMD_VANGOGH_USB 0x163a#define PCI_DEVICE_ID_AMD_19H_DF_F3 0x1653#define PCI_DEVICE_ID_AMD_CNB17H_F3 0x1703#define PCI_DEVICE_ID_AMD_LANCE 0x2000
include/linux/platform_device.h +5 -1
@@ -30,7 +30,11 @@ struct platform_device {struct resource *resource;const struct platform_device_id *id_entry; -char *driver_override;/* Driver name to force a match */ +/* +* Driver name to force a match. Do not set directly, because core +* frees it. Use driver_set_override() to set or clear it. +*/ +const char *driver_override;/* MFD cell pointer */ struct mfd_cell *mfd_cell;
include/linux/rpmsg.h +12 -2
@@ -41,7 +41,9 @@ struct rpmsg_channel_info {* rpmsg_device - device that belong to the rpmsg bus * @dev: the device struct * @id: device id (used to match between rpmsg drivers and devices) -* @driver_override: driver name to force a match +* @driver_override: driver name to force a match; do not set directly, +* because core frees it; use driver_set_override() to +* set or clear it. * @src: local address * @dst: destination address * @ept: the rpmsg endpoint of this channel
@@ -50,7 +52,7 @@ struct rpmsg_channel_info {struct rpmsg_device {struct device dev;struct rpmsg_device_id id; -char *driver_override; +const char *driver_override;u32 src;u32 dst;struct rpmsg_endpoint *ept;
@@ -113,6 +115,8 @@ struct rpmsg_driver {#if IS_ENABLED (CONFIG_RPMSG ) +int rpmsg_register_device_override (struct rpmsg_device *rpdev, +const char *driver_override);int register_rpmsg_device (struct rpmsg_device *dev);void unregister_rpmsg_device (struct rpmsg_device *dev);int __register_rpmsg_driver (struct rpmsg_driver *drv,struct module *owner);
@@ -137,6 +141,12 @@ __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp,#else +static inline int rpmsg_register_device_override (struct rpmsg_device *rpdev, +const char *driver_override) +{ +return -ENXIO ; +} +static inline int register_rpmsg_device (struct rpmsg_device *dev) {return -ENXIO ;
include/uapi/linux/can/isotp.h +13 -12
@@ -124,18 +124,19 @@ struct can_isotp_ll_options {/* flags for isotp behaviour */ -#define CAN_ISOTP_LISTEN_MODE 0x001/* listen only (do not send FC) */ -#define CAN_ISOTP_EXTEND_ADDR 0x002/* enable extended addressing */ -#define CAN_ISOTP_TX_PADDING 0x004/* enable CAN frame padding tx path */ -#define CAN_ISOTP_RX_PADDING 0x008/* enable CAN frame padding rx path */ -#define CAN_ISOTP_CHK_PAD_LEN 0x010/* check received CAN frame padding */ -#define CAN_ISOTP_CHK_PAD_DATA 0x020/* check received CAN frame padding */ -#define CAN_ISOTP_HALF_DUPLEX 0x040/* half duplex error state handling */ -#define CAN_ISOTP_FORCE_TXSTMIN 0x080/* ignore stmin from received FC */ -#define CAN_ISOTP_FORCE_RXSTMIN 0x100/* ignore CFs depending on rx stmin */ -#define CAN_ISOTP_RX_EXT_ADDR 0x200/* different rx extended addressing */ -#define CAN_ISOTP_WAIT_TX_DONE 0x400/* wait for tx completion */ -#define CAN_ISOTP_SF_BROADCAST 0x800/* 1-to-N functional addressing */ +#define CAN_ISOTP_LISTEN_MODE 0x0001/* listen only (do not send FC) */ +#define CAN_ISOTP_EXTEND_ADDR 0x0002/* enable extended addressing */ +#define CAN_ISOTP_TX_PADDING 0x0004/* enable CAN frame padding tx path */ +#define CAN_ISOTP_RX_PADDING 0x0008/* enable CAN frame padding rx path */ +#define CAN_ISOTP_CHK_PAD_LEN 0x0010/* check received CAN frame padding */ +#define CAN_ISOTP_CHK_PAD_DATA 0x0020/* check received CAN frame padding */ +#define CAN_ISOTP_HALF_DUPLEX 0x0040/* half duplex error state handling */ +#define CAN_ISOTP_FORCE_TXSTMIN 0x0080/* ignore stmin from received FC */ +#define CAN_ISOTP_FORCE_RXSTMIN 0x0100/* ignore CFs depending on rx stmin */ +#define CAN_ISOTP_RX_EXT_ADDR 0x0200/* different rx extended addressing */ +#define CAN_ISOTP_WAIT_TX_DONE 0x0400/* wait for tx completion */ +#define CAN_ISOTP_SF_BROADCAST 0x0800/* 1-to-N functional addressing */ +#define CAN_ISOTP_CF_BROADCAST 0x1000/* 1-to-N transmission w/o FC */ /* protocol machine default values */
include/uapi/linux/gtp.h +1 -1
@@ -32,6 +32,6 @@ enum gtp_attrs {GTPA_PAD , __GTPA_MAX, }; -#define GTPA_MAX (__GTPA_MAX + 1) +#define GTPA_MAX (__GTPA_MAX - 1)#endif /* _UAPI_LINUX_GTP_H_ */
kernel/events/core.c +2 -1
@@ -12846,7 +12846,8 @@ static int inherit_group(struct perf_event *parent_event, !perf_get_aux_event(child_ctr, leader))return -EINVAL ; } - leader->group_generation = parent_event->group_generation; +if (leader) + leader->group_generation = parent_event->group_generation;return 0 ; }
kernel/trace/trace_kprobe.c +2 -2
@@ -952,7 +952,7 @@ EXPORT_SYMBOL_GPL(kprobe_event_cmd_init);* @name: The name of the kprobe event * @loc: The location of the kprobe event * @kretprobe: Is this a return probe? -* @args: Variable number of arg (pairs), one pair for each field +* @...: Variable number of arg (pairs), one pair for each field * * NOTE: Users normally won't want to call this function directly, but * rather use the kprobe_event_gen_cmd_start() wrapper, which automatically
@@ -1025,7 +1025,7 @@ EXPORT_SYMBOL_GPL(__kprobe_event_gen_cmd_start);/** * __kprobe_event_add_fields - Add probe fields to a kprobe command from arg list * @cmd: A pointer to the dynevent_cmd struct representing the new event -* @args: Variable number of arg (pairs), one pair for each field +* @...: Variable number of arg (pairs), one pair for each field * * NOTE: Users normally won't want to call this function directly, but * rather use the kprobe_event_add_fields() wrapper, which
lib/kobject.c +10 -2
@@ -144,7 +144,7 @@ static int get_kobj_path_length(struct kobject *kobj)return length; } -static void fill_kobj_path (struct kobject *kobj,char *path,int length) +static int fill_kobj_path (struct kobject *kobj,char *path,int length) {struct kobject *parent;
@@ -153,12 +153,16 @@ static void fill_kobj_path(struct kobject *kobj, char *path, int length)int cur =strlen (kobject_name (parent));/* back up enough to print this name with '/' */ length -= cur; +if (length <=0 ) +return -EINVAL ;memcpy (path + length,kobject_name (parent), cur); *(path + --length) ='/' ; }pr_debug ("kobject: '%s' (%p): %s: path = '%s'\n" ,kobject_name (kobj), kobj, __func__, path); + +return 0 ; }/**
@@ -173,13 +177,17 @@ char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask)char *path;int len; +retry: len =get_kobj_path_length (kobj);if (len ==0 )return NULL ; path =kzalloc (len, gfp_mask);if (!path)return NULL ; -fill_kobj_path (kobj, path, len); +if (fill_kobj_path (kobj, path, len)) { +kfree (path); + goto retry; + }return path; }
mm/kasan/report.c +1 -3
@@ -560,9 +560,8 @@ bool kasan_report(unsigned long addr, size_t size, bool is_write,return ret; } -#ifdef CONFIG_KASAN_INLINE /* -* With CONFIG_KASAN_INLINE, accesses to bogus pointers (outside the high +* With CONFIG_KASAN, accesses to bogus pointers (outside the high * canonical half of the address space) cause out-of-bounds shadow memory reads * before the actual access. For addresses in the low canonical half of the * address space, as well as most non-canonical addresses, that out-of-bounds
@@ -598,4 +597,3 @@ void kasan_non_canonical_hook(unsigned long addr)pr_alert ("KASAN: %s in range [0x%016lx-0x%016lx]\n" , bug_type, orig_addr, orig_addr +KASAN_SHADOW_MASK ); } -#endif
mm/page_alloc.c +1 -1
@@ -8932,6 +8932,7 @@ static void break_down_buddy_pages(struct zone *zone, struct page *page, next_page = page; current_buddy = page + size; } + page = next_page;if (set_page_guard (zone, current_buddy, high, migratetype))continue ;
@@ -8939,7 +8940,6 @@ static void break_down_buddy_pages(struct zone *zone, struct page *page,if (current_buddy != target) {add_to_free_list (current_buddy, zone, high, migratetype);set_buddy_order (current_buddy, high); - page = next_page; } } }
net/can/isotp.c +280 -154
696 lines not on this page · raw message
net/core/neighbour.c +35 -32
134 lines not on this page · raw message
net/ipv4/tcp_input.c +5 -4
@@ -2185,16 +2185,17 @@ void tcp_enter_loss(struct sock *sk)* restore sanity to the SACK scoreboard. If the apparent reneging * persists until this RTO then we'll clear the SACK scoreboard. */ -static bool tcp_check_sack_reneging (struct sock *sk,int flag) +static bool tcp_check_sack_reneging (struct sock *sk,int *ack_flag) { -if (flag &FLAG_SACK_RENEGING && - flag &FLAG_SND_UNA_ADVANCED ) { +if (*ack_flag &FLAG_SACK_RENEGING && + *ack_flag &FLAG_SND_UNA_ADVANCED ) {struct tcp_sock *tp =tcp_sk (sk);unsigned long delay =max (usecs_to_jiffies (tp->srtt_us >>4 ),msecs_to_jiffies (10 ));inet_csk_reset_xmit_timer (sk,ICSK_TIME_RETRANS , delay,TCP_RTO_MAX ); + *ack_flag &= ~FLAG_SET_XMIT_TIMER ;return true; }return false;
@@ -2950,7 +2951,7 @@ static void tcp_fastretrans_alert(struct sock *sk, const u32 prior_snd_una, tp->prior_ssthresh =0 ;/* B. In all the states check for reneging SACKs. */ -if (tcp_check_sack_reneging (sk, flag)) +if (tcp_check_sack_reneging (sk, ack_flag))return ;/* C. Check consistency of the current state. */
net/netfilter/nfnetlink_log.c +1 -1
@@ -683,8 +683,8 @@ nfulnl_log_packet(struct net *net,unsigned int plen =0 ;struct nfnl_log_net *log =nfnl_log_pernet (net);const struct nfnl_ct_hook *nfnl_ct =NULL ; +enum ip_conntrack_info ctinfo =0 ;struct nf_conn *ct =NULL ; -enum ip_conntrack_info ctinfo;if (li_user && li_user->type ==NF_LOG_TYPE_ULOG ) li = li_user;
net/sched/cls_u32.c +1 -1
@@ -364,7 +364,7 @@ static int u32_init(struct tcf_proto *tp)idr_init (&root_ht->handle_idr);if (tp_c ==NULL ) { - tp_c =kzalloc (struct_size (tp_c, hlist->ht,1 ),GFP_KERNEL ); + tp_c =kzalloc (sizeof (*tp_c),GFP_KERNEL );if (tp_c ==NULL ) {kfree (root_ht);return -ENOBUFS ;
sound/hda/intel-dsp-config.c +6 -0
@@ -329,6 +329,12 @@ static const struct config_entry config_table[] = { DMI_MATCH(DMI_SYS_VENDOR, "Google"), } }, + { + .ident = "Google firmware", + .matches = { + DMI_MATCH(DMI_BIOS_VERSION, "Google"), + } + }, {} } },
sound/soc/codecs/rt5645.c +2 -0
@@ -3241,6 +3241,8 @@ int rt5645_set_jack_detect(struct snd_soc_component *component, RT5645_GP1_PIN_IRQ, RT5645_GP1_PIN_IRQ);regmap_update_bits (rt5645->regmap,RT5645_GEN_CTRL1 ,RT5645_DIG_GATE_CTRL ,RT5645_DIG_GATE_CTRL ); +regmap_update_bits (rt5645->regmap,RT5645_DEPOP_M1 , +RT5645_HP_CB_MASK ,RT5645_HP_CB_PU ); }rt5645_irq (0 , rt5645);
tools/objtool/check.c +1 -1
@@ -2107,7 +2107,7 @@ static bool is_special_call(struct instruction *insn)if (!dest)return false; -if (dest->fentry) +if (dest->fentry || dest->embedded_insn)return true; }
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc new file +13 -0
@@ -0,0 +1,13 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# description: Test failure of registering kprobe on non unique symbol +# requires: kprobe_events + +SYMBOL='name_show' + +# We skip this test on kernel where SYMBOL is unique or does not exist. +if [ "$(grep -c -E "[[:alnum:]]+ t ${SYMBOL}" /proc/kallsyms)" -le '1' ]; then + exit_unsupported +fi + +! echo "p:test_non_unique ${SYMBOL}" > kprobe_events